* 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"
Created attachment 491296 [details] build log
Created attachment 491298 [details] emerge --info
# 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.
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.
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.