Bug#841571: lightspark: FTBFS: abc.cpp:30:30: fatal error: llvm/PassManager.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Fri Oct 21 13:28:13 UTC 2016


Source: lightspark
Version: 0.7.2+git20150512-2.1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161021 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> cd /<<BUILDDIR>>/lightspark-0.7.2+git20150512/obj-x86_64-linux-gnu/src && /usr/bin/c++   -DAUDIO_BACKEND="\"pulse sdl\"" -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DENABLE_CURL -DENABLE_LIBAVCODEC -DENABLE_RTMP -DGNASH_PATH=\"/usr/bin/gnash\" -DHAVE_ATOMIC -DHAVE_AVCODECID -DHAVE_AVCODEC_ALLOC_CONTEXT3 -DHAVE_AVCODEC_DECODE_AUDIO4 -DHAVE_AVCODEC_DECODE_VIDEO2 -DHAVE_AVCODEC_OPEN2 -DHAVE_AVFORMAT_CLOSE_INPUT -DHAVE_AVFORMAT_FIND_STREAM_INFO -DHAVE_AVIO_ALLOC_CONTEXT -DHAVE_IR_DATALAYOUT_H -DHAVE_IR_VERIFIER_H -DHAVE_NEW_GLIBMM_THREAD_API -DHAVE_SUPPORT_TARGETSELECT_H -DLLVM_31 -DLLVM_34 -DLLVM_35 -DLLVM_36 -DLS_DATADIR=\"/usr/share/lightspark\" -DPRIVATELIBDIR=\"/usr/lib/lightspark\" -DXMLPP_2_35_1 -Dspark_EXPORTS -I/<<BUILDDIR>>/lightspark-0.7.2+git20150512/obj-x86_64-linux-gnu -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/lib/llvm-3.8/include -I/usr/include/freetype2 -I/usr/include/libxml++-2.6 -I/usr/lib/x86_64-linux-gnu/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/<<BUILDDIR>>/lightspark-0.7.2+git20150512/src -I/<<BUILDDIR>>/lightspark-0.7.2+git20150512/src/scripting  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/lightspark-0.7.2+git20150512=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wall -Wnon-virtual-dtor -Woverloaded-virtual -pipe -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wdisabled-optimization -Wextra -Wno-unused-parameter -Wno-invalid-offsetof -fPIC   -o CMakeFiles/spark.dir/scripting/abc.cpp.o -c /<<BUILDDIR>>/lightspark-0.7.2+git20150512/src/scripting/abc.cpp
> /<<BUILDDIR>>/lightspark-0.7.2+git20150512/src/scripting/abc.cpp:30:30: fatal error: llvm/PassManager.h: No such file or directory
>  #include <llvm/PassManager.h>
>                               ^
> compilation terminated.
> src/CMakeFiles/spark.dir/build.make:977: recipe for target 'src/CMakeFiles/spark.dir/scripting/abc.cpp.o' failed
> make[3]: *** [src/CMakeFiles/spark.dir/scripting/abc.cpp.o] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/21/lightspark_0.7.2+git20150512-2.1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-flash-devel mailing list