Skip to content

treewide: drop uses of libsoup_2_4 where possible#398783

Merged
alyssais merged 10 commits intostagingfrom
libsoup-updates
Apr 26, 2025
Merged

treewide: drop uses of libsoup_2_4 where possible#398783
alyssais merged 10 commits intostagingfrom
libsoup-updates

Conversation

@LordGrimmauld
Copy link
Contributor

@LordGrimmauld LordGrimmauld commented Apr 15, 2025

Closes #360897

This is a batch of all the libsoup_2_4 drops that are not viable to do bit by bit.

The lack of libsoup_2_4 can be checked using https://gitlab.com/K900/nix-closure-thingy

Currently, this is a draft. There is various things that should happen before this is merged:

This is a draft until at least the big things are merged into libsoup-updates branch.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Apr 15, 2025
@github-actions github-actions bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Apr 15, 2025
@LordGrimmauld LordGrimmauld added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Apr 15, 2025
@LordGrimmauld
Copy link
Contributor Author

LordGrimmauld commented Apr 15, 2025

nix-closure-thingy ❯ ./closure.py libsoup_2_4
/nix/store/f4f5sk73a9crh6cddhf25c4iv8pl9kbr-libsoup-2.74.3.drv x86_64-linux 248
/nix/store/pssagmilvv3r6fj3ilkh1n6g9ybhav2a-webkitgtk-2.48.1+abi=4.0.drv x86_64-linux 83
/nix/store/0kzj4qx0ad6wv38sxf9wg3qy78kp3k2d-libmateweather-1.28.0.drv x86_64-linux 41
/nix/store/b6gnsl0h9hxpl47gmjlp8n5gaa0sjflb-ostree-2024.10.drv x86_64-linux 28
/nix/store/cpgvay2hk47df4s9mzbhcc6kzf0zas16-dleyna-server-0.7.2.drv x86_64-linux 6
/nix/store/0zwr5azm9f2xb73w87wmjvx9dvhvmpac-gupnp-1.4.4.drv x86_64-linux 6
/nix/store/63al3ij3fclmwa42w95wp6rzlqf4yn7k-timezonemap-0.4.5.1.drv x86_64-linux 5
/nix/store/mchyayw7wh6jv2s2dfwh02rmwd2cr4qz-libchamplain-0.12.21.drv x86_64-linux 4
/nix/store/pyydc4r1w0ahc9b2j2sk9qfrxbivxr6s-darktable-5.0.1.drv x86_64-linux 2
/nix/store/zxlja6qjbafa4lxyrg5kaxkjnzvw4ppn-dleyna-renderer-0.7.2.drv x86_64-linux 2
/nix/store/jabwyk1nbkw06mk8gkyi3wshhic0r04b-geocode-glib-3.26.4.drv x86_64-linux 2
/nix/store/lv4jr9rwvjdz2h2pgzk8508qds8lz0n7-gpauth-2.4.1.drv x86_64-linux 2
/nix/store/4gn2f3dh87zax2ibyricjhqfppg16z6r-libepc-0.4.6.drv x86_64-linux 2
/nix/store/bjan5nw55anm7nfspg8zp6dfahwpg4fw-libgdata-0.18.1.drv x86_64-linux 2
/nix/store/yx8km7vq6zsbc59hj33f86kmkqa2rjca-rest-0.8.1.drv x86_64-linux 2
/nix/store/85ig65b226srw8p9nf74sjfzlmc3n55r-osm-gps-map-1.2.0.drv x86_64-linux 2
/nix/store/n1gafgjz3mscwivmiq0fhr9z7ycac5qi-ostree-2024.10.drv x86_64-linux 2
/nix/store/h20fldaiha0lcgnkngxw3iqpms7pghbz-wingpanel-with-indicators-8.0.3.drv x86_64-linux 2
/nix/store/2hdjsy8dn3958llfzi09im720pkxp456-surf-2.1.drv x86_64-linux 2
/nix/store/ckjzssfaw7x4fjicgi95da58frdghfzg-vimb-3.7.0.drv x86_64-linux 2

@jtojnar you fixed the ostree on master in #302813, i will fix libmateweather later today. It might make sense to merge 3e25744 into libsoup-updates to get things like ostree, birdfont and such into the statistic.

Of these 248 packages, 186 have colliding libsoups. I am working on reducing that number still.

…updates

This merges in the merge base of master and staging.
@LordGrimmauld
Copy link
Contributor Author

LordGrimmauld commented Apr 15, 2025

Assuming #398828 gets merged, and with ostree and other changes on master:

nix-closure-thingy ❯ ./closure.py libsoup_2_4
/nix/store/zijhzkwv7kavl90a4fnyxwbl53nvm2sk-libsoup-2.74.3.drv x86_64-linux 175
/nix/store/c56f7dv1r2bjyfha9ca0bdizsd5qfad8-webkitgtk-2.48.1+abi=4.0.drv x86_64-linux 81
/nix/store/lihhl92ca3qf19wsvgldl7gzibk2n5gc-dleyna-server-0.7.2.drv x86_64-linux 6
/nix/store/j01w9imq4d8k2lw4nmlfgnfgds0xs84r-gupnp-1.4.4.drv x86_64-linux 5
/nix/store/0m8i198clq3nbi2y3kqdi8ylpyw32sfm-timezonemap-0.4.5.1.drv x86_64-linux 5
/nix/store/7zaym41p78v8p6albcjksrb7k9spnw75-libchamplain-0.12.21.drv x86_64-linux 4
/nix/store/cscblvdppxdrd3pj4yq4l204ff7m51lf-darktable-5.0.1.drv x86_64-linux 2
/nix/store/dn4nnbacz93x8phw5a5v703r5glgi2hv-dleyna-renderer-0.7.2.drv x86_64-linux 2
/nix/store/fs4ldjrkk7860ixk171apjmzz5p0gx46-geocode-glib-3.26.4.drv x86_64-linux 2
/nix/store/prm8vfk4ahhhm3988baz369jyhyiij7y-gpauth-2.4.1.drv x86_64-linux 2
/nix/store/4p534mf37myg0ffqdj4i04n0ab8zjmmq-gssdp-1.4.1.drv x86_64-linux 2
/nix/store/jbw78kif2parn83hmgnc4g1pyak0yb8m-libepc-0.4.6.drv x86_64-linux 2
/nix/store/rv9n5s5xzhnwh6sbxi9gfi61f8gjyx4z-libgdata-0.18.1.drv x86_64-linux 2
/nix/store/9l22m38csdip6rqqyz168fb73ldg9liz-rest-0.8.1.drv x86_64-linux 2
/nix/store/vshws2mhqp5b53whqpsi620fpk4s1wz4-osm-gps-map-1.2.0.drv x86_64-linux 2
/nix/store/qnmrbzyi2gvn075sm4b7rmvdma759cpk-wingpanel-with-indicators-8.0.3.drv x86_64-linux 2
/nix/store/lykczmgghimdg8lk1rg4l4mvqgjs0i0l-surf-2.1.drv x86_64-linux 2
/nix/store/g6ysd8pjypx3qkna6bgm5j3bxb9609i9-vimb-3.7.0.drv x86_64-linux 2

145 of the 175 have potentially colliding libspoup, see https://termbin.com/ceze

@LordGrimmauld
Copy link
Contributor Author

LordGrimmauld commented Apr 20, 2025

Merging a bunch of things into this, i get the following list of intersecting libsoups:

shared: /nix/store/ilrf950ylh238m6gb17w9fvl06c7nar3-gthumb-3.12.7.drv
shared: /nix/store/9694wmq68v7wr27b4kz644qv8hivbakr-notes-up-2.0.6.drv
shared: /nix/store/fpwq55yc8l33dksh2if4kgx569fx75np-trillian-im-6.3.0.1.drv
shared: /nix/store/gqqgj6nm232x83whfmxyp5gl8cak2y4c-xiphos-4.2.1.drv
shared: /nix/store/4knd9zb9n0wfvvp1723kqq20fsy06jpr-ansel-0-unstable-2025-03-27.drv
shared: /nix/store/lbyhy5j5ni1kzhfk7jj45xa64xyyzzbn-holochain-launcher-0.11.5.drv
shared: /nix/store/1a1n7c28ysnwcxflhmzmn3prlvbwvnsp-chicken-webview-1.0.1.drv
shared: /nix/store/jf825gzbg1s5yrkdrpiw1g4v8nhgmazk-airwin2rack-2.13.0.drv
shared: /nix/store/7rn90p3n7lwczxlf5chjd0rfxx571caq-bambu-studio-01.10.02.76.drv
shared: /nix/store/jl8xazcip6bgwjq66y724l27g91c58zz-gui-for-singbox-1.9.4.drv
shared: /nix/store/4hh4kqiwcc614k66vcgjmcxx3mjqwd14-insulator2-2.13.2.drv
shared: /nix/store/wpxm92vh94pimjcvdwfac6wqsrvxc64y-rymcast-1.0.6.drv
shared: /nix/store/ypmhwfvd5qvmn0jxi8da0fgj9nl7ck60-shotwell-0.32.10.drv
shared: /nix/store/ms2lrz2r8ph806n0ydp1a9nkiayinism-intune-portal-1.2405.17-jammy.drv
shared: /nix/store/6w8hblji70w6j0vgqrbw6pq5d3iy7pvm-gnucash-5.11.drv
shared: /nix/store/2y8d6n5r5kr7y8dfl8rh5nw6sm0vwxjm-mouse-actions-gui-0.4.5.drv
shared: /nix/store/yhprg6ds5c3564w4pmp7sjdmr52riidy-yaak-2025.1.2.drv
shared: /nix/store/0w4kdl1lc0ng2zwmrrcya8zb0k5lha96-gvfs-1.56.1.drv
shared: /nix/store/3dvmygrgm1vr8h8z55yzl7k8b6m0jxv0-gnucash-5.11.drv
shared: /nix/store/8vysl6292jgxviam1nm5ga7g8bd82pmi-citrix-workspace-24.2.0.65.drv
shared: /nix/store/lsy2y9s1g51w03zyrsg9j1plby1lrrkx-chow-kick-1.2.0.drv
shared: /nix/store/lpf08j47hjasn88a1njjz9zha6j1rn9j-cinnamon-screensaver-6.4.0.drv
shared: /nix/store/iajr90fr2am65908cismfbn86x4cc2if-en-croissant-0.11.1.drv
shared: /nix/store/3zj4xrdg73hlr4fv0bl15ray7cpfcqqb-xplorer-unstable-2023-03-19.drv
shared: /nix/store/726pfzbqgf7yrwqw00m3k4lmrmkkhhi5-citrix-workspace-24.11.0.85.drv
shared: /nix/store/wgh1rqx2j44qgyl2qla9z8bgfgm3yhnx-neohtop-1.1.2.drv
shared: /nix/store/78maba9xmnrgnphzj1xqjkzjbvkxgdv8-gnome-inform7-unstable-2021-04-06.drv
shared: /nix/store/9cv7iwm7gnq5qicxsy46rs8dyba7syqs-oidc-agent-5.2.3.drv
shared: /nix/store/kcynm0ch1wlhqz0p32dhvzs903sjfpa2-headphones-toolbox.drv
shared: /nix/store/xnz9hshp2all02qq32n1ps0n9incsivz-astroid-0.16.drv
shared: /nix/store/9y9c01f539fb6fmnjl5w94v07c6664nj-surf-display-unstable-2022-10-07.drv
shared: /nix/store/jw3k41isccj71sw6kpdqc7fh7pbr3p5d-glom-1.32.0.drv
shared: /nix/store/j2h4lw4sbizrcg3lq65035raf2a2cza3-tunefish-0-unstable-2021-12-19.drv
shared: /nix/store/z9hkjpx545jr8rsrlg8s4xigdna6vbm6-spice-up-1.9.1.drv
shared: /nix/store/2wlai409dqnc3gp1qs1xsdl2blq1cczg-gramps-5.2.4.drv
shared: /nix/store/qnkh09znd982p5bghc4qcbrjmij0i1wf-orca-slicer-v2.3.0.drv
shared: /nix/store/p4jb4fmr4nszgfkq6bapk96f0qpdxnkn-alfis-0.8.5.drv
shared: /nix/store/3s4swyv0h0j2b34qb52zlzp196b93jpz-citrix-workspace-23.9.0.24.drv
shared: /nix/store/3i7qvk6n0vaaz44bj0zi3zg3b2g1y9vd-GameHub-0.16.3-2.drv
shared: /nix/store/7z7y0mmv6i5fj17qlwgx70180b898nxj-skytemple-1.8.3.drv
shared: /nix/store/74b9a102pxfbv7a13qvm770cppz0phar-quantframe-1.3.4.drv
shared: /nix/store/j0ybx88m20wdqv35423dyfm82x40f96i-caja-with-extensions-1.28.0.drv
shared: /nix/store/6a9h776ai0spwpfiq4k9z9daiivjy6jd-tauri-1.8.1.drv
shared: /nix/store/ap1b6y48pamwkbhdfgpcjdhsnaf1xzys-nasc-0.8.0.drv
shared: /nix/store/84nvhpz8z00576512fvkxpiyv4xjvn35-tonelib-zoom-4.3.1.drv
shared: /nix/store/9lp6k8ryr1fg2v88xzj8m94pxnrfl37c-rquickshare-legacy-0.11.5.drv
shared: /nix/store/6ggp4fygfh2cpgyj9kjav2qiqrvly68r-balsa-2.6.4.drv
shared: /nix/store/7517faawj0cigqzdvq8w6ardypr6kq66-bookworm-unstable-2022-01-09.drv
shared: /nix/store/5vfd452nqb5h9wfahgn23c4kyfvjdrly-elementary-code-7.4.0.drv
shared: /nix/store/7jryj4s91mkkpg7c9clhz873pl799vjf-komorebi-2.2.1.drv
shared: /nix/store/zcmxmxpxh90phv7hkmm87dcv063fhw7m-pot-3.0.6.drv
shared: /nix/store/nsxw04k412c9di4d4x8p5208myv50vpa-fondo-1.6.1.drv
shared: /nix/store/5y23qfggsw0ij3589ypvwddiqv2gh1lv-lifeograph-2.0.3.drv
shared: /nix/store/x43d8sq8ad3vz7kwj1nc597zvnhks12x-citrix-workspace-24.8.0.98.drv
shared: /nix/store/jdlkz48vf4hdnf3c98kyxa77pk7pi41i-cog-0.8.1.drv
shared: /nix/store/7hrcfyagfr2hkpm9qqlxvd09xihkyjd7-rclone-ui-1.0.4.drv
shared: /nix/store/2j9cxxp1a2scjr44wacm1m3rivl77ph8-gnome-notes-40.1.drv
shared: /nix/store/lb13szs4gnjh202f6blqr5brq25sgpcd-sonobus-1.7.2.drv
shared: /nix/store/0yhiz4jrd2rp7z87r3gp102bxxb1wlcl-chow-tape-model-2.11.4.drv
shared: /nix/store/w0dcry6lx7n2wn0mxcr3cm46ynmghnjy-restic-browser-0.3.2.drv
shared: /nix/store/kkgnyk15dpwirp8nncnhk5wfkcrr7l17-alexandria-0.13.1.drv
shared: /nix/store/n7qa5vgd9rrbx23rv2jcfqn6aljdibbx-photoprism-250321-57590c48b.drv
shared: /nix/store/5pi64871mvx6vk271idsgmp9981y8chk-citrix-workspace-23.11.0.82.drv
shared: /nix/store/16rrp6bm3l1m4ahh9ydwzay0nqp8hw3q-geeqie-2.5.drv
shared: /nix/store/hy1prgzig32jda3j1rx61akwfblm9qp4-satisfactorymodmanager-3.0.3.drv
shared: /nix/store/cz11530zb4j4y32pywz3bmxyjk2jdl27-pytrainer-2.2.1.drv
shared: /nix/store/xmlsg2ymw24kr24677ln18g3sd5izr91-aonsoku-0.9.1.drv
shared: /nix/store/916jbmj8qj8f5yfqgmrah1nq74vxc79b-cinny-desktop-4.6.0.drv
shared: /nix/store/hyd5hxjq0vwhacdldxil0aajb16dqash-desktop-postflop-0.2.7.drv
shared: /nix/store/xygk8nnc3g78l2nkdznxrgd2ag13yd7a-themechanger-0.12.1.drv
shared: /nix/store/wcwklhw190rf5nnsx1qwspzgfp6dg9pz-gui-for-clash-1.9.5.drv
shared: /nix/store/i90bl68jj545rcn6bdnfcrwaf8qv9hg1-am2rlauncher-2.3.0-unstable-2023-11-08.drv
shared: /nix/store/c8xicbmjzqn7rdqk16prr2qsr9jqbdsf-snippetexpandergui-1.0.3.drv
shared: /nix/store/8cwpim5r0saj0s79nrpw3nxw658n2aaj-hqplayerd-5.5.0-13.drv
shared: /nix/store/clvilm1h15rhcacs63ijimsnw0vrxvgf-sparkleshare-3.38.drv
shared: /nix/store/4a4y0mcc5g5k0jmyz2v16mpzal67pf7y-dorion-5.0.1.drv
shared: /nix/store/qzaiyx9cqr1bgm9390889d75w9ln7hgj-catppuccinifier-gui-8.0.0.drv
shared: /nix/store/qanga6sw0m010ayyljng6kwgyzadvk3r-citrix-workspace-24.5.0.76.drv
shared: /nix/store/97cf8yfy338bkshw959a9pxfp6pmgq8b-gnome-recipes-2.0.4.drv
shared: /nix/store/zy6jyzln13q007rrjfksrj8c1anfbymq-meteo-0.9.9.3.drv
shared: /nix/store/nvip6izaiv2n93nps6v15cb6qnmsaikr-luakit-2.3.3.drv
shared: /nix/store/1mxzsx9dqbg45jqpb14yyw0mvjidcls1-squirreldisk-0.3.4.drv
shared: /nix/store/zz66amdrspfpsmnnn8iy7vwn2xyabl5s-gfbgraph-0.2.5.drv
shared: /nix/store/8y73lalwcx8nhg56sdfd8fiwcj0mv3zh-ario-1.6.drv
shared: /nix/store/yzvvlaz16xfs2dxi9ij2xsyv2ydma55x-gpx-viewer-0.5.0.drv

List of things i merged into this:

Of the list, i am now checking cinny-desktop which is the most relevant. All the others probably either work (=don't use webRTC) or are not too important.

LordGrimmauld added a commit to LordGrimmauld/nixpkgs that referenced this pull request Apr 20, 2025
LordGrimmauld added a commit to LordGrimmauld/nixpkgs that referenced this pull request Apr 20, 2025
@LordGrimmauld
Copy link
Contributor Author

Alright, i just checked.
cinny-desktop does still work.
ALL of the libsoup collisions here were present before this change. We really should be good.

@LordGrimmauld
Copy link
Contributor Author

I am hoping to get this in before 25.05 gets blocked (#393359)

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only tested dino though

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Apr 22, 2025
Methodology:
- `sed` to find and replace in pkgs/*
- exclude pkgs/top-level
- nixpkgs-review on x86_64-linux and aarch64-linux
- revert everything that doesn't build
- revert everything that doesn't launch [x86_64-linux]
- check upstream source whether the change makes sense [free software only]
@ofborg ofborg bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 22, 2025
@LordGrimmauld
Copy link
Contributor Author

Uh oh - how the hell do i fix merge conflicts on a branch i can't push to??

@FliegendeWurst
Copy link
Member

Fix and push to your fork, then ask any committer to sync the branch from your fork.

@LordGrimmauld
Copy link
Contributor Author

https://github.com/NixOS/nixpkgs/tree/libsoup-updates
I fixed the conflicts on my branch by rebasing onto current staging, did i do this right? If so, can anyone push this branch here?

@alyssais
Copy link
Member

I think since this branch is a PR target, it makes more sense to merge into it than to rebase it, like we do with staging-next. I'll do that.

Conflicts:
	pkgs/development/libraries/rnnoise-plugin/default.nix
@ofborg ofborg bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 23, 2025
@LordGrimmauld
Copy link
Contributor Author

Thanks!

@LordGrimmauld
Copy link
Contributor Author

I do believe this is ready too, all the other connected work already happened on master. I estimate breakage of this to be minimal, and restricted to very few leaf packages (that all use webkitgtk_4_0 and therefore are themselves quite crusty already), that all were broken before

@alyssais
Copy link
Member

@jtojnar wdyt?

@LordGrimmauld
Copy link
Contributor Author

Currently this is 108 deps on old libsoup, almost all (except dleyna) going through webkitgtk_4_0
Webkitgtk_4_0 has a transient dep on libsoup_3 via geoclue2, which is kind of silly, so all of those are inherently conflicting libsoups and always were.

@alyssais
Copy link
Member

What's up with dleyna?

@LordGrimmauld
Copy link
Contributor Author

What's up with dleyna?

#400157

Super annoying to test, but there is a pending update. My "best effort" was seeing it run in journal. The reverse dependents are minimal, and it seems to not care about symbol collisions.

@jtojnar
Copy link
Member

jtojnar commented Apr 23, 2025

Webkitgtk_4_0 has a transient dep on libsoup_3 via geoclue2, which is kind of silly, so all of those are inherently conflicting libsoups and always were.

geoclue only uses libsoup_3 in the daemon. webkitgtk uses the library, which does not use libsoup so it cannot leak it:

$ ldd $(nix-build -A geoclue2.out)/lib/libgeoclue-2.so
	linux-vdso.so.1 (0x00007f438f951000)
	libglib-2.0.so.0 => /nix/store/vi9n40g3814x3f7sqnc3jvmrhr4n3ij9-glib-2.82.5/lib/libglib-2.0.so.0 (0x00007f438f7d3000)
	libgio-2.0.so.0 => /nix/store/vi9n40g3814x3f7sqnc3jvmrhr4n3ij9-glib-2.82.5/lib/libgio-2.0.so.0 (0x00007f438f400000)
	libgobject-2.0.so.0 => /nix/store/vi9n40g3814x3f7sqnc3jvmrhr4n3ij9-glib-2.82.5/lib/libgobject-2.0.so.0 (0x00007f438f76e000)
	libc.so.6 => /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libc.so.6 (0x00007f438f000000)
	libpcre2-8.so.0 => /nix/store/gd0nqxbn5nz4as2pbkkr0xb753j4b2b9-pcre2-10.44/lib/libpcre2-8.so.0 (0x00007f438f6c9000)
	libgmodule-2.0.so.0 => /nix/store/vi9n40g3814x3f7sqnc3jvmrhr4n3ij9-glib-2.82.5/lib/libgmodule-2.0.so.0 (0x00007f438f6c2000)
	libz.so.1 => /nix/store/xijpnhg8mg0g4lahwrxdwylpcq7249gc-zlib-1.3.1/lib/libz.so.1 (0x00007f438f6a3000)
	libmount.so.1 => /nix/store/bd12z7swxj5kzqw9m1gf99d6v570h0b3-util-linux-minimal-2.40.4-lib/lib/libmount.so.1 (0x00007f438f62e000)
	libselinux.so.1 => /nix/store/szpy4jwrsmpd8m0ynvsagi7d2w4szxa8-libselinux-3.8/lib/libselinux.so.1 (0x00007f438f3ca000)
	libffi.so.8 => /nix/store/k9hqqrqws9jsvl1ip8890nrsgavn3kyb-libffi-3.4.6/lib/libffi.so.8 (0x00007f438f61b000)
	/nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib64/ld-linux-x86-64.so.2 (0x00007f438f953000)
	libblkid.so.1 => /nix/store/bd12z7swxj5kzqw9m1gf99d6v570h0b3-util-linux-minimal-2.40.4-lib/lib/libblkid.so.1 (0x00007f438f368000)
	libdl.so.2 => /nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66/lib/libdl.so.2 (0x00007f438f616000)

@LordGrimmauld
Copy link
Contributor Author

LordGrimmauld commented Apr 23, 2025

Ah, that is reassuring! Though that does mean my assumption "no new crashes" might not actually hold.
Do you want the full list of intersecting libsoups, or do we just go for it?

(it is basically identical to the above #398783 (comment) )

@jtojnar
Copy link
Member

jtojnar commented Apr 23, 2025

It would be nice to see what actually brings libsoup_2_4 to closure of libsoup_3 based programs (and vice versa). Then I would sort the offenders by number of packages affected and perform similar analysis like #398783 (comment), and then remove them from the graph. We already know that gst-plugins-bad is only problematic with webrtc use, which we can probably ignore as rare too.

But I probably will not have much time to look into this this week.

@LordGrimmauld
Copy link
Contributor Author

So that means skip this for the upcoming staging cycle, meaning we don't get it in 25.05?

@FliegendeWurst
Copy link
Member

There are still two staging cycles before 25.05, #390768. Though technically breaking changes are no longer allowed starting tomorrow.

@SuperSandro2000
Copy link
Member

We need this no matter what since it is security relevant and will block further security updates in the future.

@LordGrimmauld
Copy link
Contributor Author

In that case, wouldn't it make sense to merge it now so we can look at the fallout before 25.05 is literally right there?

@nyabinary
Copy link
Contributor

+1 for merging this now :P

@alyssais
Copy link
Member

Given the above, I think the best thing is to get this into staging just after a cycle has started (i.e. now) so it gets maximum possible exposure before being part of a staging-next and potential reverts becoming hard due to rebuild counts.

@alyssais alyssais merged commit 530a3c2 into staging Apr 26, 2025
35 checks passed
@alyssais alyssais deleted the libsoup-updates branch April 26, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants