public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Randy Andy <gugelhuepf@googlemail.com>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] ftgl emerge faild
Date: Sun, 28 May 2017 14:22:07 +0200	[thread overview]
Message-ID: <20170528142207.4df99679@big-server.localdomain> (raw)
In-Reply-To: <1594401704.111612.1495970822982@mail.vodafone.de>

[-- Attachment #1: Type: text/plain, Size: 6610 bytes --]

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 <vapier@gentoo.org>
  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 <selist@arcor.de>:

> 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


[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2017-05-28 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-28 11:27 [gentoo-user-de] ftgl emerge faild Sebastian Kürschner
2017-05-28 12:22 ` Randy Andy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170528142207.4df99679@big-server.localdomain \
    --to=gugelhuepf@googlemail.com \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox