https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: x11-apps/igt-gpu-tools-1.26-r1 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 764743 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: 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 dri2proto found: NO (tried pkgconfig and cmake) Run-time dependency liboping found: NO (tried pkgconfig and cmake) Run-time dependency x11 found: NO (tried pkgconfig and cmake) Run-time dependency xext 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) ../igt-gpu-tools-1.26/lib/igt_aux.h:49:41: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
FAILED: tools/intel_gem_info.p/intel_gem_info.c.o x86_64-gentoo-linux-musl-gcc -Itools/intel_gem_info.p -Itools -I../igt-gpu-tools-1.26/tools -I../igt-gpu-tools-1.26/include/drm-uapi -Ilib -I../igt-gpu-tools-1.26/lib -I../igt-gpu-tools-1.26/lib/stubs/syscalls -I. -I../igt-gpu-tools-1.26 -I../igt-gpu-tools-1.26/lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -D_GNU_SOURCE -include config.h -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fcommon -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -pthread -MD -MQ tools/intel_gem_info.p/intel_gem_info.c.o -MF tools/intel_gem_info.p/intel_gem_info.c.o.d -o tools/intel_gem_info.p/intel_gem_info.c.o -c ../igt-gpu-tools-1.26/tools/intel_gem_info.c In file included from ../igt-gpu-tools-1.26/lib/igt.h:30, from ../igt-gpu-tools-1.26/tools/intel_gem_info.c:1: ../igt-gpu-tools-1.26/lib/igt_aux.h:49:41: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token 49 | #define sigev_notify_thread_id _sigev_un._tid |
I see https://gitweb.gentoo.org/proj/musl.git/tree/x11-apps/igt-gpu-tools/files/0001-igt-gpu-tools-1.25-musl.patch in ::musl but it'd be nice to upstream this.
(In reply to Sam James from comment #4) > I see > https://gitweb.gentoo.org/proj/musl.git/tree/x11-apps/igt-gpu-tools/files/ > 0001-igt-gpu-tools-1.25-musl.patch in ::musl but it'd be nice to upstream > this. Hm. https://www.openwall.com/lists/musl/2019/08/01/8
Is this still a problem with v1.27.1?
*** This bug has been marked as a duplicate of bug 888962 ***