Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441564 - www-plugins/lightspark-0.7.0 - fails to build with sys-devel/gcc-4.5
Summary: www-plugins/lightspark-0.7.0 - fails to build with sys-devel/gcc-4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
: 447358 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-03 11:33 UTC by Daniel Pielmeier
Modified: 2012-12-15 16:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build log (build.log,54.28 KB, text/plain)
2012-11-03 11:33 UTC, Daniel Pielmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pielmeier gentoo-dev 2012-11-03 11:33:03 UTC
Created attachment 328198 [details]
complete build log

[ 20%] Building CXX object src/CMakeFiles/spark.dir/backends/extscriptobject.cpp.o
cd /media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0_build/src && /usr/lib/ccache/bin/i686-pc-linux-gnu-g++  -Dspark_EXPORTS -DHAVE_SUPPORT_TARGETSELECT_H -DLLVM_31 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DHAVE_AVCODEC_DECODE_VIDEO2 -DHAVE_AVCODEC_DECODE_AUDIO3 -DHAVE_AVCODEC_DECODE_AUDIO4 -DHAVE_AVIO_ALLOC_CONTEXT -DHAVE_AVCODEC_ALLOC_CONTEXT3 -DHAVE_AVCODEC_OPEN2 -DHAVE_AVFORMAT_CLOSE_INPUT -DHAVE_AVFORMAT_FIND_STREAM_INFO -DENABLE_LIBAVCODEC -DHAVE_NEW_GLIBMM_THREAD_API -DENABLE_CURL -DLS_DATADIR=\"/usr/share/lightspark\" -DGNASH_PATH=\"/usr/bin/gnash\" -DPRIVATELIBDIR=\"/usr/lib/lightspark\" -DHAVE_ATOMIC  -DNDEBUG -march=native -O2 -pipe -fomit-frame-pointer  -Wall -Wnon-virtual-dtor -Woverloaded-virtual -pipe -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wdisabled-optimization -Wextra -Wno-unused-parameter -Wno-invalid-offsetof -fPIC -I/media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0_build -I/usr/include/boost-1_49 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src -I/media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/scripting    -o CMakeFiles/spark.dir/backends/extscriptobject.cpp.o -c /media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/backends/extscriptobject.cpp
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_algobase.h:66:0,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/char_traits.h:41,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/string:42,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/backends/extscriptobject.cpp:21:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/unique_ptr.h: In copy constructor 'std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >::pair(const std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >&)':
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_pair.h:72:5:   instantiated from 'std::_Rb_tree_node<_Val>::_Rb_tree_node(_Args&& ...) [with _Args = {const std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >&}, _Val = std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/ext/new_allocator.h:111:4:   instantiated from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, _Args&& ...) [with _Args = {const std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >&}, _Tp = std::_Rb_tree_node<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, _Tp* = std::_Rb_tree_node<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >*]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_tree.h:394:8:   instantiated from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >&}, _Key = const lightspark::ASObject*, _Val = std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >, _KeyOfValue = std::_Select1st<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, _Compare = std::less<const lightspark::ASObject*>, _Alloc = std::allocator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, std::_Rb_tree_node<_Val>* = std::_Rb_tree_node<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >*]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_tree.h:899:42:   instantiated from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_(const std::_Rb_tree_node_base*, const std::_Rb_tree_node_base*, const _Val&) [with _Key = const lightspark::ASObject*, _Val = std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >, _KeyOfValue = std::_Select1st<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, _Compare = std::less<const lightspark::ASObject*>, _Alloc = std::allocator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, const std::_Rb_tree_node_base* = const std::_Rb_tree_node_base*]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_tree.h:1229:46:   instantiated from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const _Val&) [with _Key = const lightspark::ASObject*, _Val = std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >, _KeyOfValue = std::_Select1st<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, _Compare = std::less<const lightspark::ASObject*>, _Alloc = std::allocator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_map.h:541:54:   instantiated from 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::iterator, const std::map<_Key, _Tp, _Compare, _Alloc>::value_type&) [with _Key = const lightspark::ASObject*, _Tp = std::unique_ptr<lightspark::ExtObject>, _Compare = std::less<const lightspark::ASObject*>, _Alloc = std::allocator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_map.h:451:11:   instantiated from 'mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = const lightspark::ASObject*, _Tp = std::unique_ptr<lightspark::ExtObject>, _Compare = std::less<const lightspark::ASObject*>, _Alloc = std::allocator<std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> > >, mapped_type = std::unique_ptr<lightspark::ExtObject>, key_type = const lightspark::ASObject*]'
/media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/backends/extscriptobject.cpp:216:29:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/unique_ptr.h:207:7: error: deleted function 'std::unique_ptr<_Tp, _Tp_Deleter>::unique_ptr(const std::unique_ptr<_Tp, _Tp_Deleter>&) [with _Tp = lightspark::ExtObject, _Tp_Deleter = std::default_delete<lightspark::ExtObject>, std::unique_ptr<_Tp, _Tp_Deleter> = std::unique_ptr<lightspark::ExtObject>]'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_pair.h:72:5: error: used here
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/set:60:0,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/logger.h:27,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/swftypes.h:29,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/asobject.h:24,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.7.0/work/lightspark-0.7.0/src/backends/extscriptobject.cpp:24:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_tree.h: In constructor 'std::_Rb_tree_node<_Val>::_Rb_tree_node(_Args&& ...) [with _Args = {const std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >&}, _Val = std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >]':
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4/bits/stl_tree.h:136:49: note: synthesized method 'std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >::pair(const std::pair<const lightspark::ASObject* const, std::unique_ptr<lightspark::ExtObject> >&)' first required here 
make[2]: *** [src/CMakeFiles/spark.dir/backends/extscriptobject.cpp.o] Error 1


emerge --info '=www-plugins/lightspark-0.7.0'
Portage 2.1.11.9 (default/linux/x86/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 03 Nov 2012 05:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise portage-billie
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/media/system/source/distfiles"
EMERGE_DEFAULT_OPTS="--oneshot --with-bdeps=y"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="POSIX"
LC_ALL="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="de en"
MAKEOPTS="-j1"
PKGDIR="/media/system/source/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/media/system/tmp"
PORTDIR="/media/system/repositories/portage"
PORTDIR_OVERLAY="/media/system/repositories/sunrise /media/system/repositories/portage-billie"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X \ a52 aac aacplus aalib acl alsa amr ao archive ares bash-completion berkdb bidi bl bluray branding bs2b bzip2 cairo caps cdda cddb cdio cdparanoia chardet cli consolekit cracklib crypt css cups curl cxx dbus dga dirac djvu dri dts dv dvb dvd dvdr encode exif faac faad fam fat fbcon ffmpeg fftw flac fontconfig fortran gd gdbm gif gimp gnutls gpm gs gsm gstreamer gtk gtk3 iconv icu id3tag idn ieee1394 imagemagick imlib introspection ipv6 java jbig jpeg jpeg2k kate ladspa lame lcms libass libcaca libcanberra libmpeg2 libnotify libproxy libsamplerate libv4l libv4l2 live lua lzma lzo mac mad midi mikmod mmap mms mmx mmxext mng modplug modules mono motif mp3 mp4 mpeg mpg123 mudflap musepack nano-syntax ncurses nettle nls nptl nsplugin ogg openal opencore-amr opengl openmp opus oss pam pcre pdf phonon png pnm policykit postproc postscript pppd pvr qt3support qt4 quicktime readline rle scanner schroedinger session sid slang sndfile sound speex spell sse sse2 sse3 ssl ssse3 startup-notification svg taglib tcpd theora threads tiff truetype udev unicode v4l v4l2 vaapi vcd vidix vim-syntax vorbis vpx wavpack webkit win32codecs wmf wxwidgets x264 x86 xattr xcb xine xml xmp xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="fbdev v4l vesa vga nv nouveau" XFCE_PLUGINS="clock logout trash"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


emerge -pqv '=www-plugins/lightspark-0.7.0'
[ebuild     U ] www-plugins/lightspark-0.7.0 [0.6.0.1] USE="curl ffmpeg nsplugin -gles -profile -pulseaudio -rtmp -sdl"
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-11-03 11:49:53 UTC
This appears to be a gcc-4.5 issue, try with gcc-4.6
Comment 2 Daniel Pielmeier gentoo-dev 2012-11-11 16:25:34 UTC
(In reply to comment #1)
> This appears to be a gcc-4.5 issue, try with gcc-4.6

Compiles fine with gcc-4.6.3.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-11-11 16:34:15 UTC
If you wish to have this fixed with gcc-4.5, please report a bug upstream at https://launchpad.net/lightspark and add the bug URL here. I can then apply any upstream fixes to the 0.7.0 ebuild.
Else you can close this bug.
Comment 4 Daniel Pielmeier gentoo-dev 2012-11-11 16:57:36 UTC
(In reply to comment #3)
> If you wish to have this fixed with gcc-4.5, please report a bug upstream at
> https://launchpad.net/lightspark and add the bug URL here. I can then apply
> any upstream fixes to the 0.7.0 ebuild.
> Else you can close this bug.

Thanks. I don't think this is necessary. It should not take long until gcc-4.6 will become stable.
Comment 5 Rafał Mużyło 2012-12-15 14:55:36 UTC
*** Bug 447358 has been marked as a duplicate of this bug. ***
Comment 6 Julian Ospald 2012-12-15 14:58:00 UTC
It's not difficult to add a check in pkg_setup for the toolchain and error out in case >=gcc-4.6 is not used.

Any objections?
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-12-15 15:02:24 UTC
If you want to implement such a check, go ahead. I am unable to commit anything until I return from my travel on 2012-12-20.
Comment 8 Julian Ospald 2012-12-15 16:15:23 UTC
+  15 Dec 2012; Julian Ospald <hasufell@gentoo.org> lightspark-0.7.0.ebuild:
+  error out on unsupported gcc version wrt #441564