Portage 2.1.10.48 (default/linux/x86/10.0, gcc-4.6.2, glibc-2.14.1-r2, 3.2.5 i686) ================================================================= System Settings ================================================================= System uname: Linux-3.2.5-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.1 Timestamp of tree: Wed, 22 Feb 2012 08:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p20 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/ccache: 3.1.7 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo roslin ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.ift.uni.wroc.pl/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/root/roslin" SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap nls nptl nptlonly openmp pam pcre pppd readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS [ebuild N ] app-text/poppler-data-0.4.5 [ebuild N ] media-libs/freetype-2.4.8 USE="bzip2 -X -auto-hinter -bindist -debug -doc -fontforge -static-libs -utils" [ebuild N ] x11-libs/libXext-1.3.0 USE="-doc -static-libs" [ebuild N ] media-libs/libpng-1.5.9 USE="-apng (-neon) -static-libs" [ebuild N ] x11-libs/qt-core-4.8.0-r1 USE="exceptions glib iconv ssl (-aqua) (-c++0x) -debug -optimized-qmake -pch (-qpa) -qt3support" [ebuild N ] x11-proto/renderproto-0.11.1 [ebuild N ] app-text/libpaper-1.1.24-r1 [ebuild N ] media-libs/tiff-4.0.0-r1 USE="cxx zlib -jbig -jpeg -lzma -static-libs" [ebuild N ] app-admin/eselect-qtgraphicssystem-1.1.1 [ebuild N ] x11-proto/fontsproto-2.1.1 USE="-doc" [ebuild N ] x11-libs/libfontenc-1.1.0 USE="-static-libs" [ebuild N ] x11-proto/fixesproto-5.0 [ebuild N ] media-libs/jbig2dec-0.11-r1 USE="-png -static-libs -test" [ebuild N ] media-libs/lcms-2.3 USE="zlib -doc -jpeg -static-libs -test -tiff" [ebuild N ] app-arch/rpm2targz-9.0.0.4g [ebuild N ] media-libs/lcms-1.19 USE="zlib -jpeg -python -static-libs -tiff" [ebuild N ] x11-proto/randrproto-1.3.2 [ebuild N ] dev-libs/libusb-1.0.9_rc3 USE="-debug -doc -static-libs" [ebuild N ] dev-lang/nasm-2.09.10 USE="-doc" [ebuild N ] x11-libs/libXrender-0.9.6 USE="-static-libs" [ebuild N ] x11-libs/libXfont-1.4.4 USE="ipv6 -doc -static-libs" [ebuild N ] x11-libs/libXi-1.5.0 USE="-doc -static-libs" [ebuild N ] x11-libs/qt-script-4.8.0 USE="exceptions iconv jit (-aqua) (-c++0x) -debug -pch (-qpa)" [ebuild N ] x11-libs/libXfixes-5.0 USE="-static-libs" [ebuild N ] app-arch/libarchive-3.0.3 USE="acl bzip2 e2fsprogs iconv lzma zlib -expat -nettle -static-libs -xattr" [ebuild N ] virtual/libusb-1 [ebuild N ] media-libs/libjpeg-turbo-1.2.0-r1 USE="-java -static-libs" [ebuild N ] virtual/jpeg-0 USE="-static-libs" [ebuild N ] media-libs/libmtp-1.1.2 USE="-doc -examples -static-libs" [ebuild N ] x11-libs/libXrandr-1.3.2 USE="-static-libs" [ebuild N ] x11-libs/libXcursor-1.1.12 USE="-static-libs" [ebuild N ] dev-util/cmake-2.8.7-r3 USE="-emacs -ncurses -qt4 -test -vim-syntax" [ebuild N ] media-libs/fontconfig-2.8.0-r2 USE="-doc -static-libs" [ebuild N ] app-admin/eselect-fontconfig-1.1 [ebuild N ] media-fonts/dejavu-2.33 USE="-X -fontforge" [ebuild N ] virtual/ttf-fonts-1 [ebuild N ] app-text/poppler-0.18.3 USE="cxx introspection lcms utils xpdf-headers -cairo -cjk -curl -debug -doc -jpeg -jpeg2k -png -qt4 -tiff" [ebuild N ] media-fonts/urw-fonts-2.4.9 USE="-X" [ebuild N ] net-print/cups-1.5.2-r1 USE="acl filters jpeg pam png ssl threads tiff -X -dbus -debug -gnutls -java -kerberos -ldap -perl -python -slp -static-libs -usb -xinetd" LINGUAS="-da -de -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" [ebuild N ] app-text/ghostscript-gpl-9.05 USE="cups -X -bindist -dbus -djvu -gtk -idn -jpeg2k -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW" [ebuild N ] net-print/foomatic-filters-4.0.9 USE="cups -dbus" [ebuild N ] x11-libs/qt-gui-4.8.0-r2 USE="accessibility cups exceptions glib (-aqua) (-c++0x) -dbus -debug -egl -gif -gtkstyle -mng -nas -nis -pch (-qpa) -qt3support -tiff -trace -xinerama" [ebuild N ] media-sound/qtscrobbler-0.10 USE="cli qt4"
Created attachment 303103 [details] Build.log Build.log There are also some warnings about missing libusb, but don't know if they are related to the error itself.
Same error here, nothing about libusb though. >>> Compiling source in /var/tmp/portage/media-sound/qtscrobbler-0.10/work/qtscrob-0.10 ... make -j2 g++ -c scrobble-cli.cpp -o scrobble-cli.o -Wall -O2 -g -I../lib `curl-config --cflags` `pkg-config --cflags libmtp` -DHAVE_LIBMTP g++ -c ../lib/libscrobble.cpp -o libscrobble.o -Wall -O2 -g -I../lib `curl-config --cflags` `pkg-config --cflags libmtp` -DHAVE_LIBMTP g++ -c ../lib/md5.c -o md5.o -Wall -O2 -g -I../lib `curl-config --cflags` `pkg-config --cflags libmtp` -DHAVE_LIBMTP g++ -c ../lib/ConvertUTF.c -o ConvertUTF.o -Wall -O2 -g -I../lib `curl-config --cflags` `pkg-config --cflags libmtp` -DHAVE_LIBMTP g++ -c ../lib/mtp-libmtp.cpp -o mtp.o -Wall -O2 -g -I../lib `curl-config --cflags` `pkg-config --cflags libmtp` -DHAVE_LIBMTP ../lib/mtp-libmtp.cpp: In member function ‘void Scrobble::mtp_iterate(bool)’: ../lib/mtp-libmtp.cpp:104:30: error: ‘free’ was not declared in this scope make: *** [mtp.o] Błąd 1 make: *** Oczekiwanie na niezakończone zadania.... ../lib/libscrobble.cpp: In member function ‘bool Scrobble::parse_db(const std::string&, int)’: ../lib/libscrobble.cpp:469:18: warning: ‘iTunesTable’ may be used uninitialized in this function emake failed
Created attachment 308669 [details, diff] source and ebuild patch Since no one posted this simple fix, here's one. # cd /usr/portage/media-sound/qtscrobbler && patch -p1 < ~/qtscrobbler-0.10_fix.diff && ebuild qtscrobbler-0.10.ebuild digest && emerge -av1 qtscrobbler Compiles and works OK on gcc-4.6.2.
(In reply to comment #3) > Created attachment 308669 [details, diff] [details, diff] > source and ebuild patch > > Since no one posted this simple fix, here's one. > > # cd /usr/portage/media-sound/qtscrobbler && patch -p1 < > ~/qtscrobbler-0.10_fix.diff && ebuild qtscrobbler-0.10.ebuild digest && > emerge -av1 qtscrobbler > > Compiles and works OK on gcc-4.6.2. Thanks. + 24 May 2012; Samuli Suominen <ssuominen@gentoo.org> qtscrobbler-0.10.ebuild, + +files/qtscrobbler-0.10-free.patch: + Fix building with recent toolchain (missing #include <cstdlib> for function + "free") wrt #405667 by Piotr Szymaniak and Krzysztof Kundzicz. Install + 128x128 icon to hicolor directory instead of legacy pixmaps and update icon + cache. Fixed in Portage. Closing.