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

Bug 782406

Summary: net-irc/irssi-1.2.3: does not respect CC when building perl module
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED DUPLICATE    
Severity: normal CC: monsieurp, sam, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/log/portage/net-irc:irssi-1.2.3:20210412-071828.log
e-info.txt

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-12 07:26:35 UTC
Created attachment 699345 [details]
/var/log/portage/net-irc:irssi-1.2.3:20210412-071828.log

It's calling whatever CC was at the time of building perl rather than what it's now, e.g.:


rm -f blib/arch/auto/Irssi/Irssi.so
x86_64-pc-linux-gnu-gcc-10.2.0  -shared -march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  Channel.o Core.o Expando.o Ignore.o Irssi.o Log.o Masks.o Query.o Rawlog.o Server.o Settings.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o blib/arch/auto/Irssi/Irssi.so  \
      \
  
make[4]: x86_64-pc-linux-gnu-gcc-10.2.0: No such file or directory
make[4]: *** [Makefile:585: blib/arch/auto/Irssi/Irssi.so] Error 127
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-12 07:26:57 UTC
Created attachment 699348 [details]
e-info.txt
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-12 07:31:27 UTC
Bad news. This is one of those horrible ones.

I think there’s ANOTHER bug on this too.

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