GNU bug report logs - #49949
[core-updates]: Blender fails to build

Previous Next

Package: guix;

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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Famulari <leo <at> famulari.name>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49949: closed ([core-updates]: Blender fails to build)
Date: Sat, 08 Jan 2022 01:52:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 7 Jan 2022 20:51:19 -0500
with message-id <YdjuF2uc827bQhDt <at> jasmine.lan>
and subject line Re: [bug#49949] [core-updates]: Blender fails to build
has caused the debbugs.gnu.org bug report #49949,
regarding [core-updates]: Blender fails to build
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49949: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49949
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: [core-updates]: Blender fails to build
Date: Sun, 8 Aug 2021 21:54:05 -0400
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?


[Message part 3 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: 49949-done <at> debbugs.gnu.org
Subject: Re: [bug#49949] [core-updates]: Blender fails to build
Date: Fri, 7 Jan 2022 20:51:19 -0500
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.


This bug report was last modified 3 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.