Re: ftgl emerge faild

Randy Andy <[email protected]> Sun, 28 May 2017 14:22:07 +0200
Newsgroups gmane.linux.gentoo.user.german
Message-ID <[email protected]>
Tja, 

schätze da hast'e wohl was vergessen zu Lesen und abzuarbeiten:

eselect news read <Deine Nr.>
2015-10-22-gcc-5-new-c++11-abi
  Title                     GCC 5 Defaults to the New C++11 ABI
  Author                    Mike Frysinger <[email protected]>
  Posted                    2015-10-22
  Revision                  2

GCC 5 uses the new C++ ABI by default.  When building new code, you
might run into link time errors that include lines similar to:
...: undefined reference to
'_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'

Or you might see linkage failures with "std::__cxx11::string" in the
output.

These are signs that you need to rebuild packages using the new C++ ABI.
You can quickly do so by using revdep-rebuild (from gentoolkit).

For gentoolkit-0.3.1 or higher:
# revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc

For previous versions of gentoolkit:
# revdep-rebuild --library 'libstdc\+\+\.so\.6' -- --exclude gcc

For more details, feel free to peruse:
https://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/
https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/

Gruß und viel Erfolg,

Andy.



Am Sun, 28 May 2017 13:27:02 +0200 (CEST)
schrieb Sebastian Kürschner <[email protected]>:

> Hallo,
> 
> mein Gentoo verlangt nach ftgl kann es aber nicht bauen?
> 
> Hier das Ende der Ausgabe:
> 
> CXXTest-FTVector-Test.o: In function
> `FTVectorTest::testConstructor()':
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x49):
> undefined reference to
> `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, int)'
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x97):
> undefined reference to
> `CppUnit::Message::Message(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)'
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x12f):
> undefined reference to
> `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, int)'
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x17d):
> undefined reference to
> `CppUnit::Message::Message(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)'
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x215):
> undefined reference to
> `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, int)'
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x263):
> undefined reference to
> `CppUnit::Message::Message(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)'
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x40):
> undefined reference to `CppUnit::TestCase::getName[abi:cxx11]()
> const'
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x48):
> undefined reference to
> `CppUnit::Test::findTestPath(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> CppUnit::TestPath&) const'
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x58):
> undefined reference to
> `CppUnit::Test::findTest(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x60):
> undefined reference to
> `CppUnit::Test::resolveTestPath(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x40):
> undefined reference to `CppUnit::TestCase::getName[abi:cxx11]()
> const'
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x48):
> undefined reference to
> `CppUnit::Test::findTestPath(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> CppUnit::TestPath&) const'
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x58):
> undefined reference to
> `CppUnit::Test::findTest(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x60):
> undefined reference to
> `CppUnit::Test::resolveTestPath(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> collect2: error: ld returned 1 exit status make[2]: ***
> [Makefile:486: CXXTest] Error 1 make[2]: Leaving directory
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5/test'
> make[1]: *** [Makefile:503: all-recursive] Error 1 make[1]: Leaving
> directory
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5'
> make: *** [Makefile:412: all] Error 2 ESC[31;01m*ESC[0m ERROR:
> media-libs/ftgl-2.1.3_rc5::gentoo failed (compile phase):
> ESC[31;01m*ESC[0m emake failed ESC[31;01m*ESC[0m ESC[31;01m*ESC[0m If
> you need support, post the output of `emerge --info
> '=media-libs/ftgl-2.1.3_rc5::gentoo'`, ESC[31;01m*ESC[0m the complete
> build log and the output of `emerge -pqv
> '=media-libs/ftgl-2.1.3_rc5::gentoo'`. ESC[31;01m*ESC[0m The complete
> build log is located at
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/temp/build.log'.
> ESC[31;01m*ESC[0m The ebuild environment file is located at
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/temp/environment'.
> ESC[31;01m*ESC[0m Working directory:
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5'
> ESC[31;01m*ESC[0m S:
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5' (END)
> 
> 
> Gruß
> 
> Sebastian
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEAREIAB0WIQQfrrvOGNIADgGeg6rBUHJ9Iqv7SwUCWSrA7wAKCRDBUHJ9Iqv7
S+OzAP9tuwDQH0c3tbv9KLWnm6QzBI3Yjr1tjPlAOSmqKt6HuAD9GFm4amK6gRcj
zE92BRib1HQN2qufsvk3IMQf/MzGY9M=
=L5JE
-----END PGP SIGNATURE-----