Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894508 - app-emulation/gallium-nine-standalone-0.8-r1 fails to compile (MUSL-CLANG-SYSTEM): present.c:1771:24: error: call to undeclared function XrmUniqueQuark; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: app-emulation/gallium-nine-standalone-0.8-r1 fails to compile (MUSL-CLANG-SYS...
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: c99-porting
  Show dependency tree
 
Reported: 2023-02-15 07:54 UTC by Agostino Sarubbo
Modified: 2023-08-01 21:43 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,72.30 KB, text/plain)
2023-02-15 07:54 UTC, Agostino Sarubbo
Details
My build log (build.log,25.89 KB, text/x-log)
2023-08-01 18:52 UTC, listout
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-15 07:54:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/gallium-nine-standalone-0.8-r1 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 07:54:30 UTC
Created attachment 851184 [details]
build.log

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


FAILED: d3d9-nine/d3d9-nine.dll.so.p/present.c.o 
../wine-nine-standalone-0.8/d3d9-nine/present.c:1771:24: error: call to undeclared function 'XrmUniqueQuark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 listout 2023-08-01 18:52:58 UTC
Created attachment 866820 [details]
My build log

I can't seem to reproduce the error. Even so I can't seem to find the function or call to the function in the codebase or in present.c source file at all (grep -ir XrmUniqueQuark)
Comment 4 Ionen Wolkens gentoo-dev 2023-08-01 21:43:47 UTC
That line "calls" XUniqueContext() which is from /usr/include/X11/Xutil.h:

    #define XUniqueContext()       ((XContext) XrmUniqueQuark())

Haven't tried, but if I were to guess you need older headers to reproduce (aka, it is probably already fixed).