GNU bug report logs -
#49949
[core-updates]: Blender fails to build
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Mon, 9 Aug 2021 01:55:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49949 in the body.
You can then email your comments to 49949 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#49949
; Package
guix
.
(Mon, 09 Aug 2021 01:55:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 09 Aug 2021 01:55:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
On core-updates-frozen, Blender fails to build like this:
------
[ 45%] Building C object source/blender/imbuf/CMakeFiles/bf_imbuf.dir/intern/scaling.c.o
cd /tmp/guix-build-blender-2.92.0.drv-0/build/source/blender/imbuf && /gnu/store/r0y0ll80a350fmfjdpb6m97fk8cm2af1-gcc-10.3.0/bin/gcc -DNDEBUG -DWITH_ASSERT_ABORT -DWITH_AVI -DWITH_CINEON -DWITH_DDS -DWITH_FFMPEG -DWITH_HDR -DWITH_OPENEXR -DWITH_OPENGL -DWITH_OPENIMAGEIO -DWITH_OPENJPEG -DWITH_TIFF -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/imbuf -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/blenkernel -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/blenlib -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/blenloader -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/gpu -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/makesdna -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/makesrna -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/sequencer -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/intern/guardedalloc -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/intern/memutil -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/io/avi -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/intern/ffmpeg -I/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/intern/opencolorio -isystem /gnu/store/zw0qsbf5fk6hk556mcg1dn7vyl6nsl8x-openjpeg-2.4.0/include/openjpeg-2.4 -isystem /usr/include -Wall -Wcast-align -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wrestrict -Wnonnull -Wabsolute-value -Wuninitialized -Wredundant-decls -Wshadow -Wno-error=unused-but-set-variable -Wimplicit-fallthrough=5 -fopenmp -std=gnu11 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -msse2 -fmacro-prefix-map="/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/"="" -fmacro-prefix-map="/tmp/guix-build-blender-2.92.0.drv-0/build/"="" -Wno-maybe-uninitialized -O2 -g -DNDEBUG -MD -MT source/blender/imbuf/CMakeFiles/bf_imbuf.dir/intern/scaling.c.o -MF CMakeFiles/bf_imbuf.dir/intern/scaling.c.o.d -o CMakeFiles/bf_imbuf.dir/intern/scaling.c.o -c /tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/imbuf/intern/scaling.c
/tmp/guix-build-blender-2.92.0.drv-0/blender-2.92.0/source/blender/imbuf/intern/openexr/openexr_api.cpp:35:10: fatal error: Iex.h: No such file or directory
35 | #include <Iex.h>
| ^~~~~~~
compilation terminated.
make[2]: *** [source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/build.make:79: source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/openexr_api.cpp.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-blender-2.92.0.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:5942: source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
cc1: warning: /usr/include: No such file or directory [-Wmissing-include-dirs]
------
Any ideas?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#49949
; Package
guix
.
(Sun, 12 Sep 2021 09:36:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 49949 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I got a similar issue on core-updates-frozen with opencv.
I solved it in 463a47f4d737ad645639ed32a1c97cfc3bf00ff0 with:
--8<---------------cut here---------------start------------->8---
- (search-input-directory inputs "include/OpenEXR")
+ (string-drop-right
+ (search-input-file inputs "include/OpenEXR/ImathVec.h")
+ 11)
--8<---------------cut here---------------end--------------->8---
It guess this will also work for bender, but I can't test right now
because openvdb which bender depends on fails to build.
I suspect it happens because there are several inputs with
a "include/OpenEXR" directory and 'search-input-directory' doesn't
return the one we're looking for.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Sat, 08 Jan 2022 01:52:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Famulari <leo <at> famulari.name>
:
bug acknowledged by developer.
(Sat, 08 Jan 2022 01:52:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 49949-done <at> debbugs.gnu.org (full text, mbox):
On Sun, Sep 12, 2021 at 09:26:31AM +0000, Guillaume Le Vaillant wrote:
> Hi,
>
> I got a similar issue on core-updates-frozen with opencv.
>
> I solved it in 463a47f4d737ad645639ed32a1c97cfc3bf00ff0 with:
>
> --8<---------------cut here---------------start------------->8---
> - (search-input-directory inputs "include/OpenEXR")
> + (string-drop-right
> + (search-input-file inputs "include/OpenEXR/ImathVec.h")
> + 11)
> --8<---------------cut here---------------end--------------->8---
>
> It guess this will also work for bender, but I can't test right now
> because openvdb which bender depends on fails to build.
>
> I suspect it happens because there are several inputs with
> a "include/OpenEXR" directory and 'search-input-directory' doesn't
> return the one we're looking for.
Well, I'm not sure what happened with Blender, but the version that
failed to build in this bug report (2.92) has been replaced in Guix with
version 3. And this new version is building fine. So I'm closing this
bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 05 Feb 2022 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.