Created attachment 415158 [details] build.log The failing part of compilation: [ 32%] Building CXX object src/CMakeFiles/spark.dir/scripting/abc.cpp.o cd /var/tmp/portage/www-plugins/lightspark-0.7.2_p20150318/work/lightspark-0.7.2_p20150318_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DENABLE_CURL -DENABLE_LIBAVCODEC -DGNASH_PATH=\"/usr/bin/gnash\" -DHAVE_ATOMIC -DHAVE_AVCODECID -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_IR_DATALAYOUT_H -DHAVE_IR_VERIFIER_H -DHAVE_LIBAVRESAMPLE -DHAVE_NEW_GLIBMM_THREAD_API -DHAVE_SUPPORT_TARGETSELECT_H -DLLVM_31 -DLLVM_34 -DLLVM_35 -DLLVM_36 -DLS_DATADIR=\"/usr/share/lightspark\" -DPRIVATELIBDIR=\"/usr/lib64/lightspark\" -DXMLPP_2_35_1 -Dspark_EXPORTS -DNDEBUG -march=native -O2 -pipe -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 -I/var/tmp/portage/www-plugins/lightspark-0.7.2_p20150318/work/lightspark-0.7.2_p20150318_build -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/var/tmp/portage/www-plugins/lightspark-0.7.2_p20150318/work/lightspark-0.7.2_p20150318/src -I/var/tmp/portage/www-plugins/lightspark-0.7.2_p20150318/work/lightspark-0.7.2_p20150318/src/scripting -o CMakeFiles/spark.dir/scripting/abc.cpp.o -c /var/tmp/portage/www-plugins/lightspark-0.7.2_p20150318/work/lightspark-0.7.2_p20150318/src/scripting/abc.cpp /var/tmp/portage/www-plugins/lightspark-0.7.2_p20150318/work/lightspark-0.7.2_p20150318/src/scripting/abc.cpp:30:30: fatal error: llvm/PassManager.h: No such file or directory #include <llvm/PassManager.h> ^ compilation terminated. Running "locate PassManager.h" gives me three files: /usr/include/llvm/Analysis/CGSCCPassManager.h /usr/include/llvm/IR/LegacyPassManager.h /usr/include/llvm/IR/PassManager.h It looks like llvm/PassManager.h was removed in llvm-3.7.0. Upstream has already fixed this, but I can't figure out the exact commit that fixed this. Output of "emerge --info =www-plugins/lightspark-0.7.2_p20150318": Portage 2.2.23 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.2.3-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.2.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-3230M_CPU_@_2.60GHz-with-gentoo-2.2 KiB Mem: 3991972 total, 1783644 free KiB Swap: 5242876 total, 4860092 free sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo, 3.5.0-r1::gentoo dev-util/cmake: 3.3.2-r1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.3::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo/gentoo.git priority: 0 haskell location: /usr/portage/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-haskell/gentoo-haskell.git masters: gentoo priority: 1000 local location: /usr/portage/repos/local masters: gentoo priority: 9999 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/gamedata/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--ask --autounmask=n --deep --tree --with-bdeps=y --verbose --jobs=5 --load-average=4" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.ustc.edu.cn/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="--jobs=5 --load-average=4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg fftw flac fontconfig fortran gdbm gif git glamor gpm graphviz iconv icu imagemagick imlib ipv6 jpeg lapack latex lcms ldap libcaca libnotify mad maildir mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds readline seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis x264 xattr xcb xft xml xv xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= www-plugins/lightspark-0.7.2_p20150318::gentoo was built with the following: USE="curl ffmpeg nsplugin -gles -profile -pulseaudio -rtmp -sdl" ABI_X86="64" Full build.log attached.
This is presumably fixed by this commit: https://github.com/lightspark/lightspark/commit/1376bd6f95bffad4597db25cc3308df0d7a448fc Not sure if it applies to the snapshot in portage, or whether another snapshot will be necessary as upstream apparently cannot be bothered to make a new release.
I think it's that commit. Applying the patch on the snapshot fails, so some manual work must be done.
Created attachment 431574 [details] lightspark-0.7.2_p20160416.ebuild I tried to make a new snapshot today, but it is failing already at the configure stage: /usr/bin/cmake -H/var/tmp/portage/www-plugins/lightspark-0.7.2_p20160416/work/lightspark-0.7.2_p20160416 -B/var/tmp/portage/www-plugins/lightspark-0.7.2_p20160416/work/lightspark-0.7.2_p20160416_build --check-build-system CMakeFiles/Makefile.cmake 0 CMake Error: Parse error in cache file /var/tmp/portage/www-plugins/lightspark-0.7.2_p20160416/work/lightspark-0.7.2_p20160416_build/CMakeCache.txt. Offending entry: ;general;-lLLVMX86Disassembler;general;-lLLVMX86AsmParser;general;-lLLVMX86CodeGen;general;-lLLVMSelectionDAG;general;-lLLVMAsmPrinter;general;-lLLVMCodeGen;general;-lLLVMScalarOpts;general;-lLLVMProfileData;general;-lLLVMInstCombine;general;-lLLVMInstrumentation;general;-lLLVMTransformUtils;general;-lLLVMipa;general;-lLLVMX86Desc;general;-lLLVMMCDisassembler;general;-lLLVMX86Info;general;-lLLVMX86AsmPrinter;general;-lLLVMX86Utils;general;-lLLVMMCJIT;general;-lLLVMExecutionEngine;general;-lLLVMTarget;general;-lLLVMAnalysis;general;-lLLVMRuntimeDyld;general;-lLLVMObject;general;-lLLVMMCParser;general;-lLLVMBitReader;general;-lLLVMMC;general;-lLLVMCore;general;-lLLVMSupport;general;-L/usr/lib64;general;lzma;general;avcodec;general;avutil;general;avformat;general;avresample;general;curl;general;gtk-x11-2.0;general;gdk-x11-2.0;general;pangocairo-1.0;general;atk-1.0;general;cairo;general;gdk_pixbuf-2.0;general;gio-2.0;general;pangoft2-1.0;general;pango-1.0;general;gobject-2.0;general;glib-2.0;general;fontconfig;general;freetype;general;/usr/lib64/libfreetype.so;general;/usr/lib64/libjpeg.so;general;/usr/lib64/libpng.so;general;/usr/lib64/libz.so;general;/usr/lib64/libpcre.so;general;glibmm-2.4;general;gobject-2.0;general;glib-2.0;general;sigc-2.0;general;gmodule-2.0;general;glib-2.0;general;dl;general;X11;general;/usr/lib64/libGLU.so;general;/usr/lib64/libGL.so;general;/usr/lib64/libGLEW.so; Re-run cmake error reading : CMakeFiles/Makefile.cmake I don't have time to look into this currently. If anyone wants to look into it, feel free.
Fixed in 0.7.2_p20160107