Skip to content

GNOME: 47 → 48#386514

Merged
vcunat merged 221 commits intostagingfrom
gnome
May 7, 2025
Merged

GNOME: 47 → 48#386514
vcunat merged 221 commits intostagingfrom
gnome

Conversation

@jtojnar
Copy link
Member

@jtojnar jtojnar commented Mar 3, 2025

@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: updaters Tooling for (semi-)automated updating of packages labels Mar 3, 2025
@github-actions github-actions bot added 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. labels Mar 3, 2025
@jtojnar jtojnar force-pushed the gnome branch 2 times, most recently from 9f16195 to 3c23ec4 Compare March 3, 2025 02:26
@jcollie
Copy link
Contributor

jcollie commented Mar 3, 2025

I have a need for an updated blueprint-compiler so I went ahead and submitted #386862 since I had to do the work anyway. Feel free to merge/override/close/steal the patch or whatever.

@bobby285271

This comment was marked as resolved.

@ofborg ofborg bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Mar 12, 2025
@nyabinary
Copy link
Contributor

I wonder if it would be good to refactor all the stuff using rec here to using finalAttrs in this pr as well.

@jtojnar jtojnar mentioned this pull request Mar 13, 2025
13 tasks
@jtojnar jtojnar added this to GNOME 48 Mar 14, 2025
@jtojnar jtojnar moved this to To Do in GNOME 48 Mar 14, 2025
@jtojnar jtojnar removed this from GNOME 48 Mar 14, 2025
@jtojnar
Copy link
Member Author

jtojnar commented Mar 14, 2025

The patch resolved the gst-python error but there is still another issue:

Details
1/3 Test plugins             FAIL            0.85s   exit status 1
>>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GST_OVERRIDE_SRC_PATH=/build/gst-python-1.24.10/testsuite/../gi/overrides GST_PLUGIN_PATH_1_0=/build/gst-python-1.24.10/build:/nix/store/kz4f7bhsigg38ni0qxb26z6j1vh1f2ar-gstreamer-1.24.10/lib/gstreamer-1.0:/nix/store/rri22shhl364wfgx2d8q09b04030vymj-gst-plugins-base-1.24.10/lib/gstreamer-1.0:/build/gst-python-1.24.10/build/plugin:/build/gst-python-1.24.10/testsuite GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/build/gst-python-1.24.10/build MESON_TEST_ITERATION=1 MALLOC_PERTURB_=55 GST_OVERRIDE_BUILD_PATH=/build/gst-python-1.24.10/build/testsuite/../gi/overrides ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 GST_REGISTRY='/build/gst-python-1.24.10/build/testsuite/Test plugins.registry' UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/26yi95240650jxp5dj78xzch70i1kzlz-python3-3.12.9/bin/python3.12 /build/gst-python-1.24.10/build/../testsuite/runtests.py test_plugin.py
 ✀  
stderr:

(gst-plugin-scanner:313): GStreamer-WARNING **: 20:27:42.985: Failed to load plugin '/build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so': /build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyExc_ValueError

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

(gst-plugin-scanner:317): GStreamer-WARNING **: 20:27:43.123: Failed to load plugin '/build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so': /build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyExc_ValueError

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
E
======================================================================
ERROR: testLoad (test_plugin.TestPlugin.testLoad)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/gst-python-1.24.10/testsuite/test_plugin.py", line 34, in testLoad
    p = Gst.parse_launch ("fakesrc ! test_identity_py name=id ! fakesink")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gst_parse_error: no element "test_identity_py" (1)

----------------------------------------------------------------------
Ran 1 test in 0.646s

FAILED (errors=1)


2/3 Test gst                 FAIL            1.07s   exit status 1
>>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=64 GST_OVERRIDE_SRC_PATH=/build/gst-python-1.24.10/testsuite/../gi/overrides GST_PLUGIN_PATH_1_0=/build/gst-python-1.24.10/build:/nix/store/kz4f7bhsigg38ni0qxb26z6j1vh1f2ar-gstreamer-1.24.10/lib/gstreamer-1.0:/nix/store/rri22shhl364wfgx2d8q09b04030vymj-gst-plugins-base-1.24.10/lib/gstreamer-1.0:/build/gst-python-1.24.10/build/plugin:/build/gst-python-1.24.10/testsuite GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/build/gst-python-1.24.10/build MESON_TEST_ITERATION=1 GST_OVERRIDE_BUILD_PATH=/build/gst-python-1.24.10/build/testsuite/../gi/overrides ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 GST_REGISTRY='/build/gst-python-1.24.10/build/testsuite/Test gst.registry' UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /nix/store/26yi95240650jxp5dj78xzch70i1kzlz-python3-3.12.9/bin/python3.12 /build/gst-python-1.24.10/build/../testsuite/runtests.py test_gst.py
 ✀  
stderr:

(gst-plugin-scanner:314): GStreamer-WARNING **: 20:27:42.988: Failed to load plugin '/build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so': /build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyExc_ValueError

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

(gst-plugin-scanner:316): GStreamer-WARNING **: 20:27:43.116: Failed to load plugin '/build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so': /build/gst-python-1.24.10/build/gi/overrides/_gi_gst.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyExc_ValueError

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

ERROR: Caught a segmentation fault while loading plugin file:
/build/gst-python-1.24.10/build/plugin/libgstpython.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
...FF.....
======================================================================
FAIL: testNotDeinitialized (test_gst.TestNotInitialized.testNotDeinitialized)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/gst-python-1.24.10/testsuite/test_gst.py", line 70, in testNotDeinitialized
    with self.assertRaises(assert_type):
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: NotInitialized not raised

======================================================================
FAIL: testNotInitialized (test_gst.TestNotInitialized.testNotInitialized)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/gst-python-1.24.10/testsuite/test_gst.py", line 48, in testNotInitialized
    with self.assertRaises(assert_type):
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: NotInitialized not raised

----------------------------------------------------------------------
Ran 10 tests in 0.856s

FAILED (failures=2)


3/3 Test fundamentals        OK              1.92s

Summary of Failures:

1/3 Test plugins      FAIL            0.85s   exit status 1
2/3 Test gst          FAIL            1.07s   exit status 1

Ok:                 1   
Expected Fail:      0   
Fail:               2   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /build/gst-python-1.24.10/build/meson-logs/testlog.txt

Edit: Hoping GStreamer bump will fix it: #390268

Edit: It does not. Applying https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8653 fixes one of the tests. Opened https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4322 for the latter.

@jtojnar

This comment was marked as resolved.

@jtojnar jtojnar requested review from emilazy and removed request for emilazy March 15, 2025 02:20
@jtojnar jtojnar force-pushed the gnome branch 2 times, most recently from 5eba185 to eb87b67 Compare March 16, 2025 00:24
@jtojnar

This comment was marked as resolved.

@ninelore

This comment was marked as off-topic.

@jtojnar

This comment was marked as off-topic.

@jtojnar jtojnar changed the base branch from master to staging May 7, 2025 01:00
@github-actions github-actions bot removed the 6.topic: updaters Tooling for (semi-)automated updating of packages label May 7, 2025
@jtojnar jtojnar marked this pull request as ready for review May 7, 2025 01:01
@jtojnar
Copy link
Member Author

jtojnar commented May 7, 2025

All package updates are now sufficiently reviewed.

@vcunat This should now be good to merge.

@kirillrdy
Copy link
Member

@jtojnar should we include adwaita-fonts in fonts.packages in gnome.nix ?

also maybe switch to new monospace font ?

@vcunat vcunat merged commit 7564f2f into staging May 7, 2025
45 checks passed
@jtojnar jtojnar deleted the gnome branch May 7, 2025 07:04
@jtojnar
Copy link
Member Author

jtojnar commented May 7, 2025

@kirillrdy Right, that's one of the remaining tasks in GNOME 48

@vcunat vcunat mentioned this pull request May 7, 2025
@nyabinary
Copy link
Contributor

Does this include GStreamer 1.26.1?

@jtojnar
Copy link
Member Author

jtojnar commented May 7, 2025

No. GStreamer is updated separately and last one was in #390268.

It would be nice to get it into 25.05 but I probably will not manage to do it before the release. Might need to be backported.

@LordGrimmauld
Copy link
Contributor

LordGrimmauld commented May 7, 2025

We already started the staging cycle, and i believe that will be the last staging cycle against unstable/master that makes it into the release. According to the releasee schedule, breaking changes to staging were already unrestricted. So yes, any update to gst will need to be backported now.
Edit: typos

@RastislavKish
Copy link

RastislavKish commented May 19, 2025

I'm not sure where is currently the right place to report this, but one issue I've found with the new GNOME 48 package is that I'm unable to start Orca in the greeter using the Alt+Super+S shortcut. This shortcut should be toggling the screenreader on and off, accompanied by the respective spoken alerts.

One common reason for this is audio access issue, i.e. the shortcut actually works, but the screenreader is unable to produce sound under the greeter.

After logging in, everything seems to be okay.

Note this works as expected in Fedora workstation and Arch, so should be packaging related.

Would it be possible to fix this issue?

Amazing job btw, I'm testing the 25.05 beta and it works really nice!

@jcollie
Copy link
Contributor

jcollie commented May 19, 2025

I'm not sure where is currently the right place to report this, but one issue I've found with the new GNOME 48 package is that I'm unable to start Orca in the greeter using the Alt+Super+S shortcut. This shortcut should be toggling the screenreader on and off, accompanied by the respective spoken alerts.

Check and see if you're getting a traceback in the logs that looks like this one:

https://bugzilla.redhat.com/show_bug.cgi?id=2355310
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3444

It would be best to open up a new issue for this.

@jtojnar
Copy link
Member Author

jtojnar commented May 19, 2025

Thanks. Do you know if it worked on 47? I am not aware of anything changing related to that.

I was looking into it last week and suspect that orca is not on PATH for some reason, wondering if hardcoding an absolute path in ${gdm}/share/gdm/greeter/autostart/orca-autostart.desktop would help.

@jtojnar
Copy link
Member Author

jtojnar commented May 19, 2025

Yeah, that appears to fix it #408898

@RastislavKish
Copy link

Wow, that was super-fast, thanks a lot!

Yes, this seems to also be affecting GNOME 47 on 24.11, so it's likely not related to 48 in particular.

@nyabinary
Copy link
Contributor

image
Also got this happening, the accent colors dont show up, gray boxes show up instead.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/gvfs-user-services-not-starting-since-25-05/64924/1

gentoo-crate-dist-bot pushed a commit to gentoo-crate-dist/railway that referenced this pull request May 30, 2025
Officially merging GNOME 48 into nixpkgs will probably still take a
while. Update it for developing nevertheless.

See NixOS/nixpkgs#386514.
@sternenseemann
Copy link
Member

It appears (according to my bisect) that updating gobject-introspection (73b1018) broke haskellPackages.gi-soup2: haskell-gi/haskell-gi#472

@nixos-discourse
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.