Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629508 - kfilemetadata-5.34.0 error 2 compiling
Summary: kfilemetadata-5.34.0 error 2 compiling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-31 21:48 UTC by Daiajo Tibdixious
Modified: 2017-09-04 04:31 UTC (History)
0 users

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


Attachments
build log (build.log,121.51 KB, text/x-log)
2017-08-31 21:50 UTC, Daiajo Tibdixious
Details
emerge --info (kfilemetadata.txt,5.79 KB, text/plain)
2017-08-31 21:52 UTC, Daiajo Tibdixious
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daiajo Tibdixious 2017-08-31 21:48:00 UTC
* Messages for package kde-frameworks/kfilemetadata-5.34.0:

 * ERROR: kde-frameworks/kfilemetadata-5.34.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=kde-frameworks/kfilemetadata-5.34.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/kfilemetadata-5.34.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/kfilemetadata-5.34.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/kfilemetadata-5.34.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/kfilemetadata-5.34.0/work/kfilemetadata-5.34.0_build'
 * S: '/var/tmp/portage/kde-frameworks/kfilemetadata-5.34.0/work/kfilemetadata-5.34.0

I don't see any actual errors (that I recognise) in the log, its just aborts saying "make: *** [Makefile:128: all] Error 2"
Comment 1 Daiajo Tibdixious 2017-08-31 21:50:53 UTC
Created attachment 491296 [details]
build log
Comment 2 Daiajo Tibdixious 2017-08-31 21:52:53 UTC
Created attachment 491298 [details]
emerge --info
Comment 3 Daiajo Tibdixious 2017-08-31 21:54:15 UTC
# emerge -pqv '=kde-frameworks/kfilemetadata-5.34.0::gentoo'
[ebuild   R   ] kde-frameworks/kfilemetadata-5.34.0  USE="exif pdf taglib* -debug -epub -ffmpeg -libav -office {-test}" 

I did a revdep-rebuild which did not rebuild anything.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2017-08-31 21:54:32 UTC
CMakeFiles/kfilemetadata_exiv2extractor.dir/exiv2extractor.cpp.o: In function `(anonymous namespace)::toString(Exiv2::Value const&) [clone .constprop.50]':
exiv2extractor.cpp:(.text+0xf2): undefined reference to `Exiv2::Value::toString[abi:cxx11]() const'
CMakeFiles/kfilemetadata_exiv2extractor.dir/exiv2extractor.cpp.o: In function `KFileMetaData::Exiv2Extractor::add(KFileMetaData::ExtractionResult*, Exiv2::ExifData const&, KFileMetaData::Property::Property, char const*, QVariant::Type)':
exiv2extractor.cpp:(.text+0xf5b): undefined reference to `Exiv2::ExifKey::ExifKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
exiv2extractor.cpp:(.text+0x11c7): undefined reference to `Exiv2::Value::toString[abi:cxx11]() const'
CMakeFiles/kfilemetadata_exiv2extractor.dir/exiv2extractor.cpp.o: In function `KFileMetaData::Exiv2Extractor::fetchGpsDouble(Exiv2::ExifData const&, char const*)':
exiv2extractor.cpp:(.text+0x136e): undefined reference to `Exiv2::ExifKey::ExifKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/kfilemetadata_exiv2extractor.dir/exiv2extractor.cpp.o: In function `KFileMetaData::Exiv2Extractor::fetchByteArray(Exiv2::ExifData const&, char const*)':
exiv2extractor.cpp:(.text+0x15e1): undefined reference to `Exiv2::ExifKey::ExifKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
exiv2extractor.cpp:(.text+0x1628): undefined reference to `Exiv2::Value::toString[abi:cxx11]() const'
CMakeFiles/kfilemetadata_exiv2extractor.dir/exiv2extractor.cpp.o: In function `KFileMetaData::Exiv2Extractor::extract(KFileMetaData::ExtractionResult*)':
exiv2extractor.cpp:(.text+0x1792): undefined reference to `Exiv2::ImageFactory::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
collect2: error: ld returned 1 exit status



You forgot to rebuild media-gfx/exiv2 and all other C++ packages after upgrading GCC.
Comment 5 Daiajo Tibdixious 2017-09-04 04:31:02 UTC
Just in case someone else finds themselves in the same predicament:
After a build failure, note the build.log location & do
'grep "undefined reference" .../build.log'
this will give class names {something}::...
eix -I {something}
may give the dependent package, however I had "Calculate::" which matches libqualculate.
Have a look at the failed package's ebuild DEPEND & RDEPEND and see if you
can spot it, otherwise just rebuild every dependent.
Be careful if you have 2 or more slotted version of a dependent,
if the failed package links against an older slot, emerge -1 will not rebuild it,
rebuild the specific older version.