Compile fail at dlgaboutimpl
sudo emerge -av pinkytagger
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] media-sound/pinkytagger-2.2.2 0 kB [1]
Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /var/lib/layman/arcon
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/pinkytagger-2.2.2 from arcon
* pinkytagger-2.2.2.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Package: media-sound/pinkytagger-2.2.2
* Repository: arcon
* Maintainer: non7top@gmail.com
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
* FEATURES: sandbox
>>> Unpacking source...
>>> Unpacking pinkytagger-2.2.2.tar.gz to /var/tmp/portage/media-sound/pinkytagger-2.2.2/work
* Applying pinkytagger-2.2.2-sprintf.patch ... [ ok ]
>>> Source unpacked in /var/tmp/portage/media-sound/pinkytagger-2.2.2/work
>>> Compiling source in /var/tmp/portage/media-sound/pinkytagger-2.2.2/work/pinkytagger-2.2.2 ...
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
building release version with FLAGS -O3 -DNDEBUG...
if you want to change this, type "make edit_cache"
if you want to make the build more verbose, type "make VERBOSE=1"
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found JPEG: /usr/lib64/libjpeg.so
-- Looking for C++ include musicbrainz3/musicbrainz.h
-- Looking for C++ include musicbrainz3/musicbrainz.h - found
-- Looking for _init in musicbrainz3
-- Looking for _init in musicbrainz3 - found
-- Looking for C++ include taglib/taglib.h
-- Looking for C++ include taglib/taglib.h - found
-- Looking for _init in tag
-- Looking for _init in tag - found
-- Looking for C++ include ofa1/ofa.h
-- Looking for C++ include ofa1/ofa.h - found
-- Looking for _init in ofa
-- Looking for _init in ofa - found
-- Looking for C++ include ffmpeg/avcodec.h
-- Looking for C++ include ffmpeg/avcodec.h - not found
-- Looking for C++ include ffmpeg/avformat.h
-- Looking for C++ include ffmpeg/avformat.h - not found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- Looking for _init in avcodec
-- Looking for _init in avcodec - found
-- Looking for _init in avformat
-- Looking for _init in avformat - found
Building with Phonon audioplayer support...
generating config.h...
===================================================
you don't have libavformat, libavformat-dev, libavcodec
and libavcodec-dev (libffmpeg) installed.
You can use lame for decoding, but lame is about 25% slower
than libffmpeg!
Everything seems to be ok...
Type "make" now!
-- Configuring done
-- Generating done
CMake Warning: The variable, 'LIB_INSTALL_DIR', specified manually, was not used during the generation.
-- Build files have been written to: /var/tmp/portage/media-sound/pinkytagger-2.2.2/work/pinkytagger-2.2.2
make -j3
Scanning dependencies of target locale
Scanning dependencies of target mbclient
[ 0%] Generating qm-files
Updating 'pinkytagger.de.qm'...
Generated 372 translation(s) (372 finished and 0 unfinished)
[ 0%] Updating 'pinkytagger.ru.qm'...
Generated 317 translation(s) (317 finished and 0 unfinished)
Ignored 45 untranslated source text(s)
[ 1%] [ 2%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/abstractptbrainzsettings.o
Built target locale
Building CXX object src/mbclient/CMakeFiles/mbclient.dir/queryresults.o
[ 3%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/exception.o
[ 3%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/fingerprint.o
[ 4%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/queryresult.o
[ 5%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/queryassistant.o
[ 5%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/mbws_queryassistant.o
[ 6%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/queryresultcache.o
[ 7%] Building CXX object src/mbclient/CMakeFiles/mbclient.dir/webservicedata.o
Linking CXX static library libmbclient.a
[ 7%] Built target mbclient
[ 8%] [ 9%] Generating moc_computenet.cxx
Generating moc_abstracttreemodel.cxx
[ 9%] Generating moc_asyncimageloader.cxx
[ 10%] [ 11%] Generating moc_album_mfile_tagger.cxx
Generating moc_artistalbummodel.cxx
[ 11%] [ 12%] Generating moc_atalbumproxymodel.cxx
Generating moc_atmfileproxymodel.cxx
[ 13%] [ 13%] Generating moc_covermanager.cxx
[ 14%] Generating moc_dlgalbumtaggerimpl.cxx
Generating moc_dlgaboutimpl.cxx
[ 15%] Generating moc_dircontroller.cxx
[ 15%] Generating moc_dirstatecache.cxx
[ 16%] Generating moc_filecontrollerbase.cxx
[ 17%] [ 17%] Generating moc_filecontroller.cxx
Generating moc_fileplayerhelper.cxx
[ 18%] Generating moc_fingerprintmfilehandler.cxx
[ 19%] [ 19%] Generating moc_mbalbummodel.cxx
Generating moc_musicdnsclient.cxx
[ 20%] Generating moc_mfile.cxx
[ 21%] [ 21%] Generating moc_netimagefetcher.cxx
Generating moc_mfilemodel.cxx
[ 22%] Generating moc_pinkytagger_main.cxx
[ 23%] [ 23%] Generating moc_pttreeview.cxx
Generating moc_settings_impl.cxx
[ 24%] Generating moc_settingsmanager.cxx
[ 25%] Generating moc_settingsmenumodel.cxx
[ 25%] Generating moc_threading.cxx
[ 26%] Generating moc_updatedatadelayer.cxx
[ 27%] [ 27%] Generating moc_wdg_albumfinder.cxx
Generating moc_wdg_main.cxx
[ 28%] Generating moc_wdg_musicinfo.cxx
[ 29%] [ 29%] Generating moc_wdg_musictag.cxx
Generating moc_wdg_scanner.cxx
[ 30%] Generating moc_phononplayer.cxx
Scanning dependencies of target pt
[ 30%] [ 31%] [ 32%] Building C object src/CMakeFiles/pt.dir/checkassert.o
Building CXX object src/CMakeFiles/pt.dir/actionpool.o
Building CXX object src/CMakeFiles/pt.dir/abstracttreemodel.o
[ 32%] Building CXX object src/CMakeFiles/pt.dir/album_mfile_tagger.o
[ 33%] Building CXX object src/CMakeFiles/pt.dir/artistalbummodel.o
[ 34%] Building CXX object src/CMakeFiles/pt.dir/asyncimageloader.o
[ 34%] Building CXX object src/CMakeFiles/pt.dir/atalbumproxymodel.o
[ 35%] Building CXX object src/CMakeFiles/pt.dir/atmfileproxymodel.o
[ 36%] Building CXX object src/CMakeFiles/pt.dir/covermanager.o
[ 36%] Building CXX object src/CMakeFiles/pt.dir/dlgalbumtaggerimpl.o
[ 37%] Building CXX object src/CMakeFiles/pt.dir/dlgaboutimpl.o
[ 38%] Building CXX object src/CMakeFiles/pt.dir/dircontroller.o
/var/tmp/portage/media-sound/pinkytagger-2.2.2/work/pinkytagger-2.2.2/src/dlgaboutimpl.cpp: In member function ‘QString DlgAboutImpl::replace_spaceholders(const QString&)’:
/var/tmp/portage/media-sound/pinkytagger-2.2.2/work/pinkytagger-2.2.2/src/dlgaboutimpl.cpp:48: error: call of overloaded ‘QString(int)’ is ambiguous
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note: QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:728: note: QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note: QString::QString(QChar)
/usr/include/qt4/QtCore/qstring.h:105: note: QString::QString(const QChar*)
make[2]: *** [src/CMakeFiles/pt.dir/dlgaboutimpl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/pt.dir/all] Error 2
make: *** [all] Error 2
emake failed
* ERROR: media-sound/pinkytagger-2.2.2 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 2457: Called die
* The specific snippet of code:
* emake || die
*
* If you need support, post the output of 'emerge --info =media-sound/pinkytagger-2.2.2',
* the complete build log and the output of 'emerge -pqv =media-sound/pinkytagger-2.2.2'.
* This ebuild is from an overlay named 'arcon': '/var/lib/layman/arcon/'
* The complete build log is located at '/var/tmp/portage/media-sound/pinkytagger-2.2.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/pinkytagger-2.2.2/temp/environment'.
* S: '/var/tmp/portage/media-sound/pinkytagger-2.2.2/work/pinkytagger-2.2.2'
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
The tarball distributed for 2.2.2 (stable) was probably never test-built and the development seems to have stopped (last svn check-in in 2009 ).
1. in config.h change the define SVN_REVISION to some string e.g.
#define SVN_REVISION "0"
2. In phononplayer.cpp, comparetestmanager.cpp: remove the namespace specifier in definition of _instance and in the return type of instance(). It should be (example for phononplayer.cpp):
PhononPlayer* PhononPlayer::_instance = 0;
PhononPlayer& PhononPlayer::instance() throw()
With this I was able to build it using cmake/make.