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

Bug 894574

Summary: app-mobilephone/gnokii-0.6.31-r4 fails to compile (MUSL-CLANG-SYSTEM): 117:12: error: call to undeclared function fcntl; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
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: ---
Bug Depends on:    
Bug Blocks: 870412, 941869    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-15 10:28:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-mobilephone/gnokii-0.6.31-r4 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-15 10:28:26 UTC
Created attachment 851238 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-15 10:28:28 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


./getopt.h:171:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
checking if clang supports -c -o file.o... rm: cannot remove 'conftest*': No such file or directory
checking whether -lc should be explicitly linked in... rm: cannot remove 'conftest*': No such file or directory
rm: cannot remove 'libtoolT': No such file or directory
117:12: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2024-10-22 15:42:55 UTC
Is this fixed in -r5 ?