Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 782556

Summary: [src_prepare-overlay] dev-cpp/pystring requires a old version of gcc (9.3.0) to compile and fails when it doesn't find it.
Product: Gentoo Linux Reporter: Austin Kilgore <kilgorephotoshop>
Component: OverlaysAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: ionen, sam
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: archive of build log and emerge info

Description Austin Kilgore 2021-04-12 18:24:21 UTC
Created attachment 699486 [details]
archive of build log and emerge info

emerge --info and build.log included

x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/crtbeginS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/crtendS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib64/crtn.o: No such file or directory
Comment 1 Ionen Wolkens gentoo-dev 2021-04-12 19:35:58 UTC
`emerge -1 libtool` and try again
Comment 2 Austin Kilgore 2021-04-12 23:31:23 UTC
(In reply to Ionen Wolkens from comment #1)
> `emerge -1 libtool` and try again

Thanks that worked!

Just so that I can learn (and not make another unnecessary bug report), what tipped you off that it was libtool and not pystring?
Comment 3 Ionen Wolkens gentoo-dev 2021-04-13 09:11:53 UTC
It's a long standing issue that libtool hardcode paths, and if the previous gcc is gone and it was built for gcc 9.3.0 then paths won't be found.

https://wiki.gentoo.org/wiki/Upgrading_GCC#libtool

There's an in-progress attempt to replace libtool with slibtool so that'll no longer be necessary, but still a lot of work to do on that.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-13 13:55:14 UTC

*** This bug has been marked as a duplicate of bug 88596 ***