Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833033 - x11-apps/igt-gpu-tools-1.26-r1 fails to compile: igt_aux.h:49:41: error: expected :, ,, ;, } or __attribute__ before token
Summary: x11-apps/igt-gpu-tools-1.26-r1 fails to compile: igt_aux.h:49:41: error: expe...
Status: RESOLVED DUPLICATE of bug 888962
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2022-02-10 07:00 UTC by Agostino Sarubbo
Modified: 2023-02-28 07:19 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,83.24 KB, text/plain)
2022-02-10 07:00 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-02-10 07:00:53 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-10 07:00:55 UTC
Created attachment 764743 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-02-10 07:00:56 UTC
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
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-10 07:05:00 UTC
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
      |
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-10 07:06:22 UTC
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.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-10 07:23:54 UTC
(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
Comment 6 Matt Turner gentoo-dev 2023-02-27 18:35:58 UTC
Is this still a problem with v1.27.1?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 07:19:59 UTC

*** This bug has been marked as a duplicate of bug 888962 ***