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

Bug 885701

Summary: net-ftp/yafc-1.3.7-r1 fails to compile (CLANG-STRICTER-SYSTEM): completion.c:(.text+0x3ef): undefined reference to strlcpy
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-13 03:43:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-ftp/yafc-1.3.7-r1 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-13 03:43:52 UTC
Created attachment 842333 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-13 03:43:53 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/bin/x86_64-pc-linux-gnu-ld.bfd: local.c:(.text+0x536): undefined reference to `strlcat'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: local.c:(.text+0x556): undefined reference to `strlcat'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: local.c:(.text+0x574): undefined reference to `strlcat'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: shortpath.c:(.text+0x141): undefined reference to `strlcat'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: shortpath.c:(.text+0x14f): undefined reference to `strlcat'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: strq.c:(.text+0x12cb): undefined reference to `strlcat'
completion.c:(.text+0x3ef): undefined reference to `strlcpy'
input.c:(.text+0x54f): undefined reference to `strlcat'
local.c:(.text+0x51f): undefined reference to `strlcat'
rc.c:(.text+0x140b): undefined reference to `strlcpy'
shortpath.c:(.text+0x106): undefined reference to `strlcpy'
strq.c:(.text+0x12bd): undefined reference to `strlcat'
utils.c:(.text+0x17b): undefined reference to `strlcpy'
xmalloc.c:(.text+0x17b): undefined reference to `strlcpy'
xmalloc.c:(.text+0x203): undefined reference to `strlcpy'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)