Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861068 - media-tv/tvheadend-4.2.8-r2 fails to compile (lto): spawn.c:217: undefined reference to strlcpy
Summary: media-tv/tvheadend-4.2.8-r2 fails to compile (lto): spawn.c:217: undefined re...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-25 19:26 UTC by Agostino Sarubbo
Modified: 2022-07-25 19:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,76.82 KB, text/plain)
2022-07-25 19:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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