Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573228 - media-sound/clementine-1.3_rc1 fails to build if protobuf is "old"
Summary: media-sound/clementine-1.3_rc1 fails to build if protobuf is "old"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-28 17:15 UTC by gentoo
Modified: 2016-01-29 16:33 UTC (History)
1 user (show)

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


Attachments
build.log (clementine_build.log,256.94 KB, text/plain)
2016-01-28 17:16 UTC, gentoo
Details
emerge --info (emerge-info.txt,17.72 KB, text/plain)
2016-01-28 17:16 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2016-01-28 17:15:33 UTC
Got error messages relating to google:protobuf: something.  An internet search suggested that this is because the libprotobuf was compiled by a GCC version that was too old.
Indeed, re-emerging protobuf (version 2.6.1-r3) remedied the above problem, afterwards clementine compiled fine.

Reproducible: Always




Will attach emerge --info and the build log.
Comment 1 gentoo 2016-01-28 17:16:04 UTC
Created attachment 424100 [details]
build.log
Comment 2 gentoo 2016-01-28 17:16:24 UTC
Created attachment 424102 [details]
emerge --info
Comment 3 gentoo 2016-01-28 17:29:12 UTC
Ah I thought it was emerging correctly because the build.log was already at 99% - but, no.  It still doesn't compile (i.e., my "fix" didn't work).  The error message has changed a little, however.  It is now as follows:

[  9%] Generating core/moc_mimedata.cxx
cd /var/tmp/portage/media-sound/clementine-1.3_rc1/work/clementine-1.3_rc1_build/src/core && /usr/lib64/qt4/bin/moc @/var/tmp/portage/media-sound/clementine-1.3_rc1/work/clementine-1.3_rc1_build/src/core/moc_mimedata.cxx_parameters
../libclementine-tagreader/liblibclementine-tagreader.a(tagreader.cpp.o): In function `TagReader::SaveFile(QString const&, pb::tagreader::SongMetadata const&) const':
/var/tmp/portage/media-sound/clementine-1.3_rc1/work/Clementine-1.3rc1/ext/libclementine-tagreader/tagreader.cpp:698: undefined reference to `TagLib::String::String(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<
char> > const&, TagLib::String::Type)'
/var/tmp/portage/media-sound/clementine-1.3_rc1/work/Clementine-1.3rc1/ext/libclementine-tagreader/tagreader.cpp:699: undefined reference to `TagLib::String::String(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<
char> > const&, TagLib::String::Type)'
/var/tmp/portage/media-sound/clementine-1.3_rc1/work/Clementine-1.3rc1/ext/libclementine-tagreader/tagreader.cpp:700: undefined reference to `TagLib::String::String(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<
char> > const&, TagLib::String::Type)'
collect2: error: ld returned 1 exit status
ext/clementine-tagreader/CMakeFiles/clementine-tagreader.dir/build.make:159: recipe for target 'clementine-tagreader' failed
make[2]: *** [clementine-tagreader] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/clementine-1.3_rc1/work/clementine-1.3_rc1_build'
CMakeFiles/Makefile2:2079: recipe for target 'ext/clementine-tagreader/CMakeFiles/clementine-tagreader.dir/all' failed
make[1]: *** [ext/clementine-tagreader/CMakeFiles/clementine-tagreader.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-01-29 08:20:19 UTC
It looks like GCC 5 fallout. Did you rebuild as per the news item? https://gitweb.gentoo.org/data/gentoo-news.git/plain/2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt
Comment 5 gentoo 2016-01-29 15:54:07 UTC
Hadn't done that but will try it now.
It didn't occur to me that this would be necessary because I just re-installed the whole system from scratch using the 2014 Live DVD a few days ago, but maybe the gcc version wasn't updated by portage first thing.
Comment 6 gentoo 2016-01-29 16:33:32 UTC
Re-emerging taglib did the trick, thanks for the help!