Skip to content

xorg-server: new revision #1618

Closed
wants to merge 1 commit into from
Closed

xorg-server: new revision #1618

wants to merge 1 commit into from

Conversation

david
Copy link
Collaborator

@david david commented Jan 21, 2020

build against new libglvnd
now xserver knows this lib :-)

build against new libglvnd
now xserver knows this lib :-)
@pmenzel
Copy link
Collaborator

pmenzel commented Jan 21, 2020

Comparing config.status of the two builds, minus the path differences, /usr/include/libdrm is not included anymore in Glamor and GL CFLAGS.

@@ -1068,7 +1068,7 @@
 S["GBM_LIBS"]="-lgbm  "
 S["GBM_CFLAGS"]=" "
 S["GLAMOR_LIBS"]="-lepoxy  "
-S["GLAMOR_CFLAGS"]="-I/usr/include/libdrm  "
+S["GLAMOR_CFLAGS"]=" "
 S["GLAMOR_FALSE"]="#"
 S["GLAMOR_TRUE"]=""
 S["XORG_DRIVER_MODESETTING_FALSE"]="#"
@@ -1233,7 +1233,7 @@
 S["GLX_FALSE"]="#"
 S["GLX_TRUE"]=""
 S["GL_LIBS"]="-lGL  "
-S["GL_CFLAGS"]="-I/usr/include/libdrm  "
+S["GL_CFLAGS"]=" "
 S["XLIB_LIBS"]="-lX11  "
 S["XLIB_CFLAGS"]=" "
 S["LIBDRM_LIBS"]="-ldrm  "

@david
Copy link
Collaborator Author

david commented Jan 22, 2020

only work with AMDGPU

  • AMD loads libGLX_mesa.so.0

dont work with NVIDIA

  • tries to load libGLX_nvidia.so.0 libGLX_indirect.so.0
  • Error: No such file

@pmenzel
Copy link
Collaborator

pmenzel commented Jan 22, 2020

At least the “file number and names” in the package did not change.

$ sudo -u bee /project/beehive/contentdiff.pl /usr/share/bee/xorg-server-1.20.7-0.x86_64/CONTENT /dev/shm/xorg-server-1.20.7-1.x86_64/CONTENT
0 : /usr/share/bee/xorg-server-1.20.7-0.x86_64/CONTENT
1 : /dev/shm/xorg-server-1.20.7-1.x86_64/CONTENT
 0 | 1 | t |  mode |  acc  | uid | gid | nln | file
213 entries

@wwwutz
Copy link
Collaborator

wwwutz commented Jan 29, 2020

fails to build as user: ( tries to chown root )

make  install-exec-hook
make[6]: Entering directory '/dev/shm/mxqd/mnt/job/15794/xorg-server-1.20.7-0/buildroot/xorg-server/xorg-server-1.20.7-0/build/hw/xfree86'
(cd /dev/shm/mxqd/mnt/job/15794/xorg-server-1.20.7-0/buildroot/xorg-server/xorg-server-1.20.7-0/image/usr/bin && rm -f X && ln -s Xorg X)
chown 0 /dev/shm/mxqd/mnt/job/15794/xorg-server-1.20.7-0/buildroot/xorg-server/xorg-server-1.20.7-0/image/usr/bin/Xorg
#BEEWRAP-chown# [14593] chown 0 /dev/shm/mxqd/mnt/job/15794/xorg-server-1.20.7-0/buildroot/xorg-server/xorg-server-1.20.7-0/image/usr/bin/Xorg
chown: changing ownership of '/dev/shm/mxqd/mnt/job/15794/xorg-server-1.20.7-0/buildroot/xorg-server/xorg-server-1.20.7-0/image/usr/bin/Xorg': Operation not permitted
make[6]: *** [Makefile:1169: install-exec-hook] Error 1

could we fix this ? ( will be build as root anyway, so no chown needed

@pmenzel
Copy link
Collaborator

pmenzel commented Jan 29, 2020

Maybe removing the configure switches below helps. Then it’s auto-detected, if chown root can be run.

    --enable-install-setuid \
    --enable-suid-wrapper \

@wwwutz wwwutz mentioned this pull request Jan 29, 2020
@pmenzel
Copy link
Collaborator

pmenzel commented Apr 24, 2021

Superseded by merge/pull request #2068.

@pmenzel pmenzel closed this Apr 24, 2021
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants