Bug#962074: blender: crash in an assertion and doubt about CMAKE_BUILD_TYPE
- To: Fabian Greffrath <fabian@greffrath.com>
- Cc: "Matteo F. Vescovi" <mfv@debian.org>, 962074@bugs.debian.org
- Subject: Bug#962074: blender: crash in an assertion and doubt about CMAKE_BUILD_TYPE
- From: Antonio Ospite <ao2@ao2.it>
- Date: Sat, 4 Jul 2020 20:29:46 +0200
- Message-id: <[🔎] 20200704202946.8e9d7f587c5ea4a0d9cb2b27@ao2.it>
- Reply-to: Antonio Ospite <ao2@ao2.it>, 962074@bugs.debian.org
- In-reply-to: <32f535b9050d675fd33f2f712318acb6@greffrath.com>
- References: <159113317720.5832.7460542202379606203.reportbug@jcn.localdomain> <159345737352.3070.1432854242437195247.reportbug@jcn.localdomain> <159113317720.5832.7460542202379606203.reportbug@jcn.localdomain> <CAKEqyw=QNSXdNSYX7hPM86E7NQit3CjUr-VE048YrYxEO4m-hg@mail.gmail.com> <32f535b9050d675fd33f2f712318acb6@greffrath.com> <159113317720.5832.7460542202379606203.reportbug@jcn.localdomain>
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: