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

Bug 861068

Summary: media-tv/tvheadend-4.2.8-r2 fails to compile (lto): spawn.c:217: undefined reference to strlcpy
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-07-25 19:26:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-tv/tvheadend-4.2.8-r2 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-25 19:26:46 UTC
Created attachment 794390 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-25 19:26:47 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/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-tv/tvheadend-4.2.8-r2/work/tvheadend-4.2.8/src/spawn.c:204: undefined reference to `strlcpy'
/var/tmp/portage/media-tv/tvheadend-4.2.8-r2/work/tvheadend-4.2.8/src/channels.c:940: undefined reference to `strlcpy'
/var/tmp/portage/media-tv/tvheadend-4.2.8-r2/work/tvheadend-4.2.8/src/filebundle.c:263: undefined reference to `strlcpy'
/var/tmp/portage/media-tv/tvheadend-4.2.8-r2/work/tvheadend-4.2.8/src/settings.c:103: undefined reference to `strlcpy'
/var/tmp/portage/media-tv/tvheadend-4.2.8-r2/work/tvheadend-4.2.8/src/spawn.c:217: undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status