Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806971 - x11-base/xorg-server-9999 usr/include/xorg/dix.h includes <dix-config.h> which is not installed. Other packages fail configure related glamor.
Summary: x11-base/xorg-server-9999 usr/include/xorg/dix.h includes <dix-config.h> whic...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-07 12:21 UTC by jospezial
Modified: 2021-08-09 21:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2021-08-07 12:21:04 UTC
/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/include/dix-config.h is created in configure phase but not installed.

since
https://gitlab.freedesktop.org/xorg/xserver/-/commit/5c2592cbb19f996c4bb87bca4e4e46ab911d4bec
/usr/include/xorg/dix.h includes <dix-config.h>
After that other packages fail configure related glamor.


/var/tmp/portage/x11-drivers/xf86-video-amdgpu-9999/work/xf86-video-amdgpu-9999/config.log
configure:20200: checking whether to include GLAMOR support
configure:20214: checking for glamor.h
configure:20214: x86_64-pc-linux-gnu-gcc -c -march=native -mtune=native -O2 -pipe  -Wall -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm  conftest.c >&5
In file included from /usr/include/xorg/privates.h:150,
                 from /usr/include/xorg/cursor.h:53,
                 from /usr/include/xorg/scrnintstr.h:53,
                 from /usr/include/xorg/glamor.h:32,
                 from conftest.c:30:
/usr/include/xorg/dix.h:57:10: fatal error: dix-config.h: No such file or directory
   57 | #include <dix-config.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
configure:20214: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xf86-video-amdgpu"
| #define PACKAGE_TARNAME "xf86-video-amdgpu"
| #define PACKAGE_VERSION "21.0.0"
| #define PACKAGE_STRING "xf86-video-amdgpu 21.0.0"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/AMDgpu"
| #define PACKAGE_URL ""
| #define PACKAGE "xf86-video-amdgpu"
| #define VERSION "21.0.0"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define PACKAGE_VERSION_MAJOR 21
| #define PACKAGE_VERSION_MINOR 0
| #define PACKAGE_VERSION_PATCHLEVEL 0
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_XEXTPROTO_71 1
| #define HAVE_LIBUDEV 1
| /* end confdefs.h.  */
| #include "xorg-server.h"
| 
| #include <glamor.h>
configure:20214: result: no
configure:20363: checking for LIBGLAMOR
configure:20370: $PKG_CONFIG --exists --print-errors "glamor >= 0.6.0"
Package glamor was not found in the pkg-config search path.

Packages that I see fail that way:
xf86-input-libinput-1.1.0
xf86-video-amdgpu-9999
xf86-video-ati-9999
there may be more.
Comment 1 Matt Turner gentoo-dev 2021-08-09 21:23:38 UTC
I believe this was fixed by https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/727

(You should really report problems like this upstream unless you think it's a packaging mistake on our end)
Comment 2 jospezial 2021-08-09 21:44:16 UTC
(In reply to Matt Turner from comment #1)
> I believe this was fixed by
> https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/727
> 
> (You should really report problems like this upstream unless you think it's
> a packaging mistake on our end)

I was not sure whether the header file should be installed or not.
I don't want to register everywhere. And I know you have a good direct wire to xorg repos. ;-)
But I will do next time.