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

Bug 943894

Summary: dev-perl/Term-ReadLine-Gnu-1.460.0 fails to compile: rlmalloc.c:(.text.startup+0xe): undefined reference to xmalloc
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-11-19 08:26:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-perl/Term-ReadLine-Gnu-1.460.0 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-19 08:26:20 UTC
Created attachment 909702 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-19 08:26:20 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: rlmalloc.c:(.text.startup+0x1e): undefined reference to `xrealloc'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: rlmalloc.c:(.text.startup+0x3e): undefined reference to `xfree'
rlmalloc.c:(.text.startup+0xe): undefined reference to `xmalloc'
collect2: error: ld returned 1 exit status
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-19 08:27:50 UTC
```
INSTALLDIRS=vendor INSTALLMAN3DIR=none
<<<It seems that you have the GNU Readline Library version 8.2.>>>
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-perl/Term-ReadLine-Gnu-1.460.0/temp/ccBloBEO.o: in function `main':
rlmalloc.c:(.text.startup+0xe): undefined reference to `xmalloc'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: rlmalloc.c:(.text.startup+0x1e): undefined reference to `xrealloc'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: rlmalloc.c:(.text.startup+0x3e): undefined reference to `xfree'
collect2: error: ld returned 1 exit status
Checking if your kit is complete...
Looks good
'CPP' is not a known MakeMaker p
```

This makes it look like a configure test is confused :(