Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925663 - dev-libs/libbsd: sys/cdefs.h wrapper is broken (x11-base/xwayland error: no include path in which to search for sys/cdefs.h)
Summary: dev-libs/libbsd: sys/cdefs.h wrapper is broken (x11-base/xwayland error: no i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 925669 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-28 00:05 UTC by email200202
Modified: 2024-02-28 15:25 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,57.10 KB, text/x-log)
2024-02-28 00:06 UTC, email200202
Details
emerge -pqv '=x11-base/xwayland-23.2.4-r1::gentoo' (file_925663.txt,183 bytes, text/plain)
2024-02-28 00:08 UTC, email200202
Details
emerge --info '=x11-base/xwayland-23.2.4-r1::gentoo' (file_925663.txt,7.02 KB, text/plain)
2024-02-28 00:09 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2024-02-28 00:05:41 UTC
In file included from /usr/include/bsd/sys/cdefs.h:10,
                 from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/stdint.h:9,
                 from ../xwayland-23.2.4/include/misc.h:81,
                 from ../xwayland-23.2.4/include/window.h:50,
                 from ../xwayland-23.2.4/include/windowstr.h:50,
                 from ../xwayland-23.2.4/dix/dispatch.c:104:
/usr/include/x86_64-pc-linux-gnu/bsd/sys/cdefs.h:49:24: error: no include path in which to search for sys/cdefs.h
   49 | #if __has_include_next(<sys/cdefs.h>)
      |                        ^~~~~~~~~~~~~
(null):0: confused by earlier errors, bailing out
[5/446] x86_64-pc-linux-gnu-gcc -Idix/liblibxserver_dix.a.p -Idix -I../xwayland-23.2.4/dix -IXext -I../xwayland-23.2.4/Xext -IXi -I../xwayland-23.2.4/Xi -Icomposite -I../xwayland-23.2.4/composite -Idamageext -I../xwayland-23.2.4/damageext -Ifb -I../xwayland-23.2.4/fb -Iglamor -I../xwayland-23.2.4/glamor -Imi -I../xwayland-23.2.4/mi -Imiext/damage -I../xwayland-23.2.4/miext/damage -Imiext/sync -I../xwayland-23.2.4/miext/sync -Idbe -I../xwayland-23.2.4/dbe -Idri3 -I../xwayland-23.2.4/dri3 -Iinclude -I../xwayland-23.2.4/include -Ipresent -I../xwayland-23.2.4/present -Irandr -I../xwayland-23.2.4/randr -Irender -I../xwayland-23.2.4/render -Ixfixes -I../xwayland-23.2.4/xfixes -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -pipe -march=native -mtune=native -O2 -march=native -mtune=native -fPIC -isystem /usr/include/bsd -DLIBBSD_OVERLAY -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/atom.c.o -MF dix/liblibxserver_dix.a.p/atom.c.o.d -o dix/liblibxserver_dix.a.p/atom.c.o -c ../xwayland-23.2.4/dix/atom.c
FAILED: dix/liblibxserver_dix.a.p/atom.c.o 
x86_64-pc-linux-gnu-gcc -Idix/liblibxserver_dix.a.p -Idix -I../xwayland-23.2.4/dix -IXext -I../xwayland-23.2.4/Xext -IXi -I../xwayland-23.2.4/Xi -Icomposite -I../xwayland-23.2.4/composite -Idamageext -I../xwayland-23.2.4/damageext -Ifb -I../xwayland-23.2.4/fb -Iglamor -I../xwayland-23.2.4/glamor -Imi -I../xwayland-23.2.4/mi -Imiext/damage -I../xwayland-23.2.4/miext/damage -Imiext/sync -I../xwayland-23.2.4/miext/sync -Idbe -I../xwayland-23.2.4/dbe -Idri3 -I../xwayland-23.2.4/dri3 -Iinclude -I../xwayland-23.2.4/include -Ipresent -I../xwayland-23.2.4/present -Irandr -I../xwayland-23.2.4/randr -Irender -I../xwayland-23.2.4/render -Ixfixes -I../xwayland-23.2.4/xfixes -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -O2 -pipe -march=native -mtune=native -O2 -march=native -mtune=native -fPIC -isystem /usr/include/bsd -DLIBBSD_OVERLAY -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/atom.c.o -MF dix/liblibxserver_dix.a.p/atom.c.o.d -o dix/liblibxserver_dix.a.p/atom.c.o -c ../xwayland-23.2.4/dix/atom.c
In file included from /usr/include/bsd/sys/cdefs.h:10,
                 from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from /usr/include/bsd/stdio.h:32,
                 from ../xwayland-23.2.4/dix/atom.c:53:
/usr/include/x86_64-pc-linux-gnu/bsd/sys/cdefs.h:49:24: error: no include path in which to search for sys/cdefs.h
   49 | #if __has_include_next(<sys/cdefs.h>)
      |                        ^~~~~~~~~~~~~
(null):0: confused by earlier errors, bailing out


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world

Actual Results:  
failed

Expected Results:  
not to fail
Comment 1 email200202 2024-02-28 00:06:43 UTC
Created attachment 886137 [details]
build.log
Comment 2 email200202 2024-02-28 00:08:00 UTC
Created attachment 886138 [details]
emerge -pqv '=x11-base/xwayland-23.2.4-r1::gentoo'
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-28 00:08:16 UTC
Yeah, on it. Thanks!
Comment 4 email200202 2024-02-28 00:09:12 UTC
Created attachment 886139 [details]
emerge --info '=x11-base/xwayland-23.2.4-r1::gentoo'
Comment 5 Larry the Git Cow gentoo-dev 2024-02-28 00:12:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2d56b7a9a73222af4ebd102b0411e1f7e4ff48

commit 7d2d56b7a9a73222af4ebd102b0411e1f7e4ff48
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-28 00:12:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-28 00:12:15 +0000

    dev-libs/libbsd: unkeyword 0.12.0
    
    I don't want to rush a fix for this, so drop kws for now to avoid installing
    a buggy wrapper.
    
    Closes: https://bugs.gentoo.org/925663
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libbsd/libbsd-0.12.0.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-28 15:25:02 UTC
*** Bug 925669 has been marked as a duplicate of this bug. ***