Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413941

Summary: =media-sound/mp3diags-1.0.10.065 fails to compile with gcc-4.7
Product: Gentoo Linux Reporter: David Kredba <kredba>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    

Description David Kredba 2012-04-29 04:32:10 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -ggdb -march=native -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_C
ORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/
usr/include/qt4/QtXml -I/usr/include/qt4 -Irelease -I. -o release/FileRenamerDlgImpl.o FileRenamerDlgImpl.cpp
Helpers.cpp: In function ‘long int getMemUsage()’:
Helpers.cpp:285:24: error: ‘getpid’ was not declared in this scope
make[2]: *** [release/Helpers.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from DiscogsDownloader.cpp:30:0:
SimpleSaxHandler.h: In instantiation of ‘SimpleSaxHandler<T>::~SimpleSaxHandler() [with T = Discogs::SearchXmlHandler]’:
DiscogsDownloader.cpp:75:122:   required from here
SimpleSaxHandler.h:104:9: error: ‘clearPtrContainer’ was not declared in this scope, and no declarations were found by argument-dependent look
up at the point of instantiation [-fpermissive]
In file included from DiscogsDownloader.cpp:29:0:
Helpers.h:151:39: note: ‘template<class T> void pearl::clearPtrContainer(std::set<T*>&)’ declared here, later in the translation unit
In file included from DiscogsDownloader.cpp:30:0:
SimpleSaxHandler.h: In instantiation of ‘SimpleSaxHandler<T>::~SimpleSaxHandler() [with T = Discogs::AlbumXmlHandler]’:
DiscogsDownloader.cpp:167:116:   required from here
SimpleSaxHandler.h:104:9: error: ‘clearPtrContainer’ was not declared in this scope, and no declarations were found by argument-dependent look
up at the point of instantiation [-fpermissive]
In file included from DiscogsDownloader.cpp:29:0:
Helpers.h:151:39: note: ‘template<class T> void pearl::clearPtrContainer(std::set<T*>&)’ declared here, later in the translation unit
make[2]: *** [release/DiscogsDownloader.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/mp3diags-1.0.10.065/work/MP3Diags-1.0.10.065/src'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-sound/mp3diags-1.0.10.065/work/MP3Diags-1.0.10.065/src'
make: *** [sub-src-make_default] Error 2
 .[31;01m*.[0m ERROR: media-sound/mp3diags-1.0.10.065 failed (compile phase):
 .[31;01m*.[0m   emake failed
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2012-05-03 09:11:22 UTC
Thank you for reporting. Note the added version is masked in tree.

+  03 May 2012; Johannes Huber <johu@gentoo.org> +mp3diags-1.1.19.075.ebuild:
+  Version bump. This is a unstable dev channel release. Fixes build with gcc47,
+  bug #413941.