Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926938 - media-gfx/xsane-0.999-r3 fails to compile on Musl Clang with 'ISO C99 and later do not support implicit function declarations'
Summary: media-gfx/xsane-0.999-r3 fails to compile on Musl Clang with 'ISO C99 and lat...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-13 16:36 UTC by Willy
Modified: 2025-01-21 23:50 UTC (History)
2 users (show)

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


Attachments
emerge --info and build.log (bug.log,28.79 KB, text/x-log)
2024-03-13 16:36 UTC, Willy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willy 2024-03-13 16:36:53 UTC
Created attachment 887518 [details]
emerge --info and build.log

Compiling on Musl with Clang fails with 'ISO C99 and later do not support implicit function declarations' errors.
Compiling on Musl using GCC works fine.
Comment 1 Jack 2024-06-01 19:41:12 UTC
This is now also true for gcc-14.  I'm not sure the best See Also link to use -perhaps the  C99 porting one at https://bugs.gentoo.org/870412?  I also don't see a relevant issue or MR upstream
Comment 2 Jack 2024-11-01 22:33:06 UTC
Sorry I forgot to post I opened an issue with xsane: https://gitlab.com/sane-project/frontend/xsane/-/issues/65.
Comment 3 Jack 2025-01-21 23:50:23 UTC
I don't know if it will help with musl, but my upstream issue was closed, as I had set -nls, and changing it to nls let the compile complete without errors.  (I assume the same, but have not tested, with gcc.  There is a note in that issue that adding "#    define bind_textdomain_codeset(x,y)" (although I didn't follow exactly where) would also work.