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

Bug 898864

Summary: x11-apps/igt-gpu-tools-1.27.1 fails to compile (MUSL-CLANG-SYSTEM): igt_hwmon.c:31:31: error: use of undeclared identifier PATH_MAX
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-03-02 10:01:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-apps/igt-gpu-tools-1.27.1 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-03-02 10:01:55 UTC
Created attachment 855738 [details]
build.log

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


FAILED: lib/libigt-igt_aux_c.a.p/igt_aux.c.o 
FAILED: lib/libigt-igt_hwmon_c.a.p/igt_hwmon.c.o 
Message: WARNING: leg command not found, disabling overlay; try : apt-get install peg
Program xmlrpc-c-config found: NO
Run-time dependency cairo-xlib found: NO (tried pkgconfig and cmake)
Run-time dependency liboping found: NO (tried pkgconfig and cmake)
Run-time dependency xmlrpc found: NO (tried pkgconfig and cmake)
Run-time dependency xmlrpc_client found: NO (tried pkgconfig and cmake)
Run-time dependency xmlrpc_util found: NO (tried pkgconfig and cmake)
Run-time dependency xv found: NO (tried pkgconfig and cmake)
fatal: not a git repository (or any parent up to mount point /var/tmp)
../igt-gpu-tools-1.27.1/lib/igt_hwmon.c:31:31: error: use of undeclared identifier 'PATH_MAX'