Bug#730780: lightspark: Does not build with llvm 3.3

Sylvestre Ledru sylvestre at debian.org
Fri Nov 29 14:36:18 UTC 2013


Package: lightspark
Severity: important

Hello Copain,

I am planning to upload llvm-defaults which will default on 3.3 (instead of
3.2). This version is available in experimental.

It fails with:
/usr/bin/cmake -E cmake_progress_report /root/lightspark-0.7.2/obj-x86_64-linux-gnu/CMakeFiles 48
[  4%] Building CXX object src/CMakeFiles/spark.dir/scripting/abc.cpp.o
cd /root/lightspark-0.7.2/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_AVCODEC_ALLOC_CONTEXT3 -DHAVE_AVCODEC_DECODE_AUDIO3 -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_NEW_GLIBMM_THREAD_API -DHAVE_SUPPORT_TARGETSELECT_H -DLLVM_31 -DLS_DATADIR=\"/usr/share/lightspark\" -DPRIVATELIBDIR=\"/usr/lib/lightspark\" -DXMLPP_2_35_1 -Dspark_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wall -Wnon-virtual-dtor -Woverloaded-virtual -pipe -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wdisabled-optimization -Wextra -Wno-unused-parameter -Wno-invalid-offsetof -g -O2 -DNDEBUG -fPIC -I/root/lightspark-0.7.2/obj-x86_64-linux-g
 nu -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/lib/llvm-3.3/include -I/usr/include/libxml2 -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/harfbuzz -I/root/lightspark-0.7.2/src -I/root/lightspark-0.7.2/src/scripting    -o CMakeFiles/spark.dir/scripting/abc.cpp.o -c /root/lightspark-0.7.2/src/scripting/abc.cpp
/root/lightspark-0.7.2/src/scripting/abc.cpp:30:30: fatal error: llvm/LLVMContext.h: No such file or directory
 #include <llvm/LLVMContext.h>
                              ^
compilation terminated.
make[3]: *** [src/CMakeFiles/spark.dir/scripting/abc.cpp.o] Error 1
make[3]: Leaving directory `/root/lightspark-0.7.2/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/spark.dir/all] Error 2

The attached patch fixes it.

De rien ! ;)
Bisous,
Sylvestre






-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable-updates'), (500, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: path-llvm-3.3.diff
Type: text/x-diff
Size: 2603 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-flash-devel/attachments/20131129/a9ee7f2c/attachment.diff>


More information about the pkg-flash-devel mailing list