[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#962074: blender: crash in an assertion and doubt about CMAKE_BUILD_TYPE



On Tue, 30 Jun 2020 14:01:50 +0200
Fabian Greffrath <fabian@greffrath.com> wrote:

> Hi there,
> 
> Am 2020-06-30 13:49, schrieb Matteo F. Vescovi:
> > I'm spending few days of [VAC] so I'm afk.
> > Feel free to provide me a patch to fix the issue and I'll more than
> > happy to apply it to the package once I'm back, as already done in the
> > past. ;-)
> 
> will adding the line
> 
> export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG
> 
> to debian/rules already do the fix?
> 
>   - Fabian

Thanks Fabian, this is viable as a minimum fix indeed.

The intent of my original report was also to ask Matteo if he had an
opinion about building with CMAKE_BUILD_TYPE=Release instead, since I
may not be familiar with all the implications.

But yeah, let's play it safe and go with the -DNDEBUG fix.

There is another issue with 2.83.0+dfsg as apparently something
changed upstream about fonts installation, I think the following commits
break some assumptions in
debian/patches/0004-locales_directory_install.patch:
https://github.com/blender/blender/commit/68e341e9d59ae917eba992591f4f60660f6c58ff
https://github.com/blender/blender/commit/d7514914894e9c96c9eab21fb625a2021aaa71cb

I opened an MR which should fix both issues:
https://salsa.debian.org/multimedia-team/blender/-/merge_requests/2

Thanks,
   Antonio

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


Reply to: