Skip to content

Conversation

@Dentrax
Copy link
Member

@Dentrax Dentrax commented Jul 21, 2025

Part 1/2:

xf86miscproto is deprecated and replaced with xorgproto: https://gitlab.freedesktop.org/xorg/proto/xf86miscproto/-/blob/master/autogen.sh?ref_type=heads

To build this: #59993 we do need some headers. It builds if we do enable xorgproto with legacy support. libx11-dev doesn't provide xf86mscstr.h.

But some headers like XKBgeom.h XKBsrv.h XKBstr.h is still provided by libx11, which resulting conflict during install:

installing apk packages: installing packages: installing libx11-dev (ver:1.8.12-r1 arch:aarch64): unable to install files for pkg libx11-dev: writing header for "usr/include/X11/extensions/XKBgeom.h": packages map[libx11-dev:libx11 xorgproto:xorgproto] has conflicting file: "usr/include/X11/extensions/XKBgeom.h"

So remove those from libx11 and re-build xorgproto with having those headers. So we can build libXxf86misc.

Signed-off-by: Dentrax <furkan.turkal@chainguard.dev>
@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Jul 21, 2025
@dannf dannf merged commit 4d99b91 into wolfi-dev:main Jul 21, 2025
12 checks passed
Dentrax added a commit that referenced this pull request Jul 21, 2025
Part 1/2: #60251

Part 2/2:

`xf86miscproto` is deprecated and replaced with `xorgproto`:
https://gitlab.freedesktop.org/xorg/proto/xf86miscproto/-/blob/master/autogen.sh?ref_type=heads

To build this: #59993 we do need
some headers. It builds if we do enable xorgproto with legacy support.
libx11-dev doesn't provide `xf86mscstr.h`.

But some headers like `XKBgeom.h XKBsrv.h XKBstr.h` is still provided by
`libx11`, which resulting conflict during install:

```
installing apk packages: installing packages: installing libx11-dev (ver:1.8.12-r1 arch:aarch64): unable to install files for pkg libx11-dev: writing header for "usr/include/X11/extensions/XKBgeom.h": packages map[libx11-dev:libx11 xorgproto:xorgproto] has conflicting file: "usr/include/X11/extensions/XKBgeom.h"
```

So remove those from libx11 and re-build xorgproto with having those
headers. So we can build `libXxf86misc`.

Signed-off-by: Dentrax <furkan.turkal@chainguard.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants