!UNVBThoJtlIiVwiDjU:nixos.org

Staging

323 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/110 Servers

Load older messages


SenderMessageTime
19 Dec 2025
@k900:0upti.meK900I mean it tells you what to change16:51:17
@robert:funklause.dedotlambda In the issue they discuss that replacing impl with impl_ causes other problems 16:52:24
@k900:0upti.meK900Well the other problem is16:53:18
@k900:0upti.meK900That thing seems to be mostly headers16:53:22
@k900:0upti.meK900So even if you give it a different stdenv anything including it will still explode16:53:33
@robert:funklause.dedotlambdatrue16:53:43
@k900:0upti.meK900Also my C++ is very rusty (hehe) but I think that last comment is correct?16:53:47
@robert:funklause.dedotlambdaI guess I'll give it a try16:54:19
@ghpzin:envs.netghpzin You could also -Wno-error=template-body, not sure if that would be better or worse. 17:08:57
@ghpzin:envs.netghpzin You could also -Wno-error=template-body, not sure if that would be better or worse.
Kind of surprised no other distro patches/works around it somehow, considering they should have packaged krita
17:09:52
@ghpzin:envs.netghpzin Noticed that all graphical xserver tests seem to be broken on staging-next.
wayland is fine, tests for gnome,sway,xfce-wayland, cinnamon-wayland (and plasma6 if you switch test to wayland) pass.
lightdm does not tell much, just that display-manager.service fails:
systemd[1]: display-manager.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: display-manager.service: Failed with result 'exit-code'.
sddm and ly in tests show errors from xorg-server:
xserver-wrapper[823]: (II) LoadModule: "modesetting"
xserver-wrapper[823]: (II) Loading /nix/store/lrbawv4ccl0x12nwrmbbzpxmzjj1z5r6-xorg-server-21.1.20/lib/xorg/modules/drivers/modesetting_drv.so
xserver-wrapper[823]: (EE) Failed to load /nix/store/lrbawv4ccl0x12nwrmbbzpxmzjj1z5r6-xorg-server-21.1.20/lib/xorg/modules/drivers/modesetting_drv.so: /nix/store/lrbawv4ccl0x12nwrmbbzpxmzjj1z5r6-xorg-server-21.1.20/lib/xorg/modules/drivers/modesetting_drv.so: undefined symbol: gbm_bo_get_plane_count
xserver-wrapper[823]: (EE) Failed to load module "modesetting" (loader failed, 0)
xserver-wrapper[823]: (EE) No drivers available.
Changing this to "--disable-glamor" fixes it:
https://github.com/NixOS/nixpkgs/blob/fd720f4fd4e78cce030a72026d1b7cadf6454f29/pkgs/by-name/xo/xorg-server/package.nix#L185
I thought it may be related to 21.1.18 -> 21.1.20 update, similar to:
https://github.com/NixOS/nixpkgs/issues/471620
but reverting version to 21.1.18 does not help, neither does updating to 21.1.21
19:37:02
@grimmauld:m.grimmauld.deGrimmauld (any/all) let stdenv' = if (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "15") then gcc14Stdenv else stdenv; in stdenv'.mkDerivation { ... } ? 19:40:29
@grimmauld:m.grimmauld.deGrimmauld (any/all) its somewhat of a hack but i guess that would work 19:41:25
@grimmauld:m.grimmauld.deGrimmauld (any/all) but you should patch 19:41:32
@grimmauld:m.grimmauld.deGrimmauld (any/all)also hello, i submitted my thesis, i can do nix things again. But C++ requires more spoons than i have currently. I've spent way too long wrangling boost and hdf5 and gmsh and occt and shit this last week, i would prefer some actual good low C things for a change.19:42:53
@robert:funklause.dedotlambdaAlready happened19:43:47
@robert:funklause.dedotlambdahttps://github.com/NixOS/nixpkgs/pull/47245719:44:39
@ghpzin:envs.netghpzin Noticed that all graphical xserver tests seem to be broken on staging-next.
wayland is fine, tests for gnome,sway,xfce-wayland, cinnamon-wayland (and plasma6 if you switch test to wayland) pass.
lightdm does not tell much, just that display-manager.service fails:
systemd[1]: display-manager.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: display-manager.service: Failed with result 'exit-code'.
sddm and ly in tests show errors from xorg-server:
xserver-wrapper[823]: (II) LoadModule: "modesetting"
xserver-wrapper[823]: (II) Loading /nix/store/lrbawv4ccl0x12nwrmbbzpxmzjj1z5r6-xorg-server-21.1.20/lib/xorg/modules/drivers/modesetting_drv.so
xserver-wrapper[823]: (EE) Failed to load /nix/store/lrbawv4ccl0x12nwrmbbzpxmzjj1z5r6-xorg-server-21.1.20/lib/xorg/modules/drivers/modesetting_drv.so: /nix/store/lrbawv4ccl0x12nwrmbbzpxmzjj1z5r6-xorg-server-21.1.20/lib/xorg/modules/drivers/modesetting_drv.so: undefined symbol: gbm_bo_get_plane_count
xserver-wrapper[823]: (EE) Failed to load module "modesetting" (loader failed, 0)
xserver-wrapper[823]: (EE) No drivers available.
Changing this to "--disable-glamor" fixes it:
https://github.com/NixOS/nixpkgs/blob/fd720f4fd4e78cce030a72026d1b7cadf6454f29/pkgs/by-name/xo/xorg-server/package.nix#L185
I thought it may be related to 21.1.18 -> 21.1.20 update, similar to:
https://github.com/NixOS/nixpkgs/issues/471620
but reverting version to 21.1.18 does not help, neither does updating to 21.1.21
There were a few xorg refactors merged to staging, maybe one of them did something unintentional.
19:52:10
@k900:0upti.meK900 Can you check if modesetting_drv links libgbm correctly 20:15:25
@k900:0upti.meK900 gbmbogetplanecount should be exported by libgbm 20:15:47
@ghpzin:envs.netghpzin It doesn't link directly right, something else there should link to that ?
Unless I misunderstand what you mean, ie on both staging-next and master it does not link to libgbm:
ldd ./result-master/lib/xorg/modules/drivers/modesetting_drv.so
        linux-vdso.so.1 (0x00007fb435c72000)
        libudev.so.1 => /nix/store/q5fmjr9s9968bkv5bm3al5517x27bm19-systemd-minimal-libs-258.2/lib/libudev.so.1 (0x00007fb435b03000)
        libm.so.6 => /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libm.so.6 (0x00007fb435a1b000)
        libc.so.6 => /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libc.so.6 (0x00007fb435800000)
        libcap.so.2 => /nix/store/l486byj55nq10ys3jbgszd2hywkxbq7l-libcap-2.77-lib/lib/libcap.so.2 (0x00007fb435a0e000)
        /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66/lib64/ld-linux-x86-64.so.2 (0x00007fb435c74000)
The only thing in both cases that does is /lib/xorg/modules/libglamoregl.so:
ldd ./result-master/lib/xorg/modules/libglamoregl.so
        linux-vdso.so.1 (0x00007fa0653d5000)
        libgbm.so.1 => /nix/store/pw8v6hlrg7lz2d3x115x3zy80bbhx1x9-mesa-libgbm-25.1.0/lib/libgbm.so.1 (0x00007fa065344000)
        libepoxy.so.0 => /nix/store/1r61lw1k35085way0cgl3pxz9cm9awjs-libepoxy-1.5.10/lib/libepoxy.so.0 (0x00007fa06521e000)
        libm.so.6 => /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libm.so.6 (0x00007fa065136000)
        libc.so.6 => /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libc.so.6 (0x00007fa064e00000)
        libdrm.so.2 => /nix/store/p4fk8qb6cy0zs65j6h50rh9bs7hnsgif-libdrm-2.4.128/lib/libdrm.so.2 (0x00007fa06511b000)
        /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66/lib64/ld-linux-x86-64.so.2 (0x00007fa0653d7000)
ldd ./result-staging-next/lib/xorg/modules/libglamoregl.so
        linux-vdso.so.1 (0x00007f8e1c2d2000)
        libgbm.so.1 => /nix/store/24w3s75aa2lrvvxsybficn8y3zxd27kp-mesa-libgbm-25.1.0/lib/libgbm.so.1 (0x00007f8e1c23f000)
        libepoxy.so.0 => /nix/store/kzl2j4nxwr6c0f2xbd44zjmgh8kqxr57-libepoxy-1.5.10/lib/libepoxy.so.0 (0x00007f8e1c11c000)
        libm.so.6 => /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66/lib/libm.so.6 (0x00007f8e1c034000)
        libc.so.6 => /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66/lib/libc.so.6 (0x00007f8e1be00000)
        libdrm.so.2 => /nix/store/sixic8a4adxz72swww4fcls0h5sabjdf-libdrm-2.4.129/lib/libdrm.so.2 (0x00007f8e1c019000)
        /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66/lib64/ld-linux-x86-64.so.2 (0x00007f8e1c2d4000)
20:34:48
@k900:0upti.meK900Hm20:36:34
@k900:0upti.meK900I wonder if it's the xserver itself then20:36:40
@k900:0upti.meK900That is linking it20:36:46
@k900:0upti.meK900Is it just a load order thing20:37:04
@k900:0upti.meK900That would be sad20:37:07
@ghpzin:envs.netghpzin I tried reordering these buildInputs like here on master:
https://github.com/NixOS/nixpkgs/blob/c30b80416b233c3673e573c0821bf96cc83818db/pkgs/servers/x11/xorg/overrides.nix#L452-L457
ie this diff on staging-next:
--- a/pkgs/by-name/xo/xorg-server/package.nix
+++ b/pkgs/by-name/xo/xorg-server/package.nix
@@ -139,10 +139,10 @@
     xtrans
   ]
   ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
-    dri-pkgconfig-stub
     libdrm
     libgbm
     mesa-gl-headers
+    dri-pkgconfig-stub
   ]
   ++ lib.optionals stdenv.hostPlatform.isDarwin [
     autoconf
but it did not help.
That refactor moved xorg-server into separate by-name so tracking what went where is quite hard.
20:42:35
@ghpzin:envs.netghpzin I tried reordering these buildInputs like here on master:
https://github.com/NixOS/nixpkgs/blob/c30b80416b233c3673e573c0821bf96cc83818db/pkgs/servers/x11/xorg/overrides.nix#L452-L457
ie this diff on staging-next:
--- a/pkgs/by-name/xo/xorg-server/package.nix
+++ b/pkgs/by-name/xo/xorg-server/package.nix
@@ -139,10 +139,10 @@
     xtrans
   ]
   ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
-    dri-pkgconfig-stub
     libdrm
     libgbm
     mesa-gl-headers
+    dri-pkgconfig-stub
   ]
   ++ lib.optionals stdenv.hostPlatform.isDarwin [
     autoconf
but it did not help.
That refactor from staging moved xorg-server into separate by-name so tracking what went where is quite hard.
20:44:06
@ghpzin:envs.netghpzin I tried reordering these buildInputs like here on master:
https://github.com/NixOS/nixpkgs/blob/c30b80416b233c3673e573c0821bf96cc83818db/pkgs/servers/x11/xorg/overrides.nix#L452-L457
ie this diff on staging-next:
--- a/pkgs/by-name/xo/xorg-server/package.nix
+++ b/pkgs/by-name/xo/xorg-server/package.nix
@@ -139,10 +139,10 @@
     xtrans
   ]
   ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
-    dri-pkgconfig-stub
     libdrm
     libgbm
     mesa-gl-headers
+    dri-pkgconfig-stub
   ]
   ++ lib.optionals stdenv.hostPlatform.isDarwin [
     autoconf
but it did not help.
That refactor from staging moved xorg-server into separate by-name so tracking what went where is quite hard.
It is quite suspicious that upstream did something with glamor in 21.1.20 that broke other things, and now we get problems related to it too.
Maybe somewhere on staging between refactors somebody did something related to that update, but I could not find it so far.
20:46:11
@fabianhjr:matrix.orgFabián Herediahttps://github.com/NixOS/nixpkgs/pull/472445 Fixes dee in staging-next (dependency of libunity <- Discord)22:36:32

Show newer messages


Back to Room ListRoom Version: 6