Opened 2 years ago

Closed 2 years ago

#16260 closed enhancement (fixed)

d02 gvfs-1.50.0

Reported by: Bruce Dubbs Owned by: pierre
Priority: normal Milestone: gnome-42
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (12)

comment:1 by Xi Ruoyao, 2 years ago

It depends on libsoup-3.

We can disable the feature using "-Dhttp=false" (if no one uses WebDAV here), or add libsoup-3 alongside with libsoup-2 (we can't replace libsoup-2 because other packages has not been ported to libsoup-3 yet). But, I have a feeling that adding libsoup-3 alongside with libsoup-2 can cause some tricky issue :(.

comment:2 by Bruce Dubbs, 2 years ago

Milestone: 11.2gnome-42

comment:3 by Bruce Dubbs, 2 years ago

Summary: gvfs-1.50.0d02 gvfs-1.50.0

comment:4 by Bruce Dubbs, 2 years ago

Requires libsoup3.

Major changes in 1.50.0

  • Translation updates

Major changes in 1.49.90

  • http/dav: Port to libsoup3
  • http: Do not silently accept invalid certificates
  • build: Remove incorrect i18n.merge_file argument to fix build
  • Translation updates

Major changes in 1.49.1

  • sftp: Adapt on new OpenSSH password prompts
  • build: Set of improvements for meson
  • Add PartOf=graphical-session.target to all systemd units
  • Move systemd services to session slice
  • Translation updates

comment:5 by Bruce Dubbs, 2 years ago

libsoup-3 can co-exist with libsoup-2.74:

lrwxrwxrwx 1 root root     16 Feb 17 15:36 /usr/lib/libsoup-2.4.so -> libsoup-2.4.so.1
lrwxrwxrwx 1 root root     21 Feb 17 15:36 /usr/lib/libsoup-2.4.so.1 -> libsoup-2.4.so.1.11.2
-rwxr-xr-x 1 root root 798624 Feb 17 15:36 /usr/lib/libsoup-2.4.so.1.11.2
lrwxrwxrwx 1 root root     16 Mar 28 18:57 /usr/lib/libsoup-3.0.so -> libsoup-3.0.so.0
lrwxrwxrwx 1 root root     20 Mar 28 18:57 /usr/lib/libsoup-3.0.so.0 -> libsoup-3.0.so.0.0.5
-rwxr-xr-x 1 root root 754616 Mar 28 18:57 /usr/lib/libsoup-3.0.so.0.0.5

Adding that allows gvfs to build:

30.3 Elapsed Time -  gvfs-1.50.0
 
md5sum : 6a8290053d3c0a8d8035b789d8ad3881  /usr/src/gvfs/gvfs-1.50.0.tar.xz
1188 /usr/src/gvfs/gvfs-1.50.0.tar.xz SIZE (1.160 MB)
33628 kilobytes BUILD SIZE (32.839 MB)
SBU=.318

At -j1. The meson sed is not needed.

in reply to:  5 comment:6 by Xi Ruoyao, 2 years ago

Replying to Bruce Dubbs:

libsoup-3 can co-exist with libsoup-2.74:

lrwxrwxrwx 1 root root     16 Feb 17 15:36 /usr/lib/libsoup-2.4.so -> libsoup-2.4.so.1
lrwxrwxrwx 1 root root     21 Feb 17 15:36 /usr/lib/libsoup-2.4.so.1 -> libsoup-2.4.so.1.11.2
-rwxr-xr-x 1 root root 798624 Feb 17 15:36 /usr/lib/libsoup-2.4.so.1.11.2
lrwxrwxrwx 1 root root     16 Mar 28 18:57 /usr/lib/libsoup-3.0.so -> libsoup-3.0.so.0
lrwxrwxrwx 1 root root     20 Mar 28 18:57 /usr/lib/libsoup-3.0.so.0 -> libsoup-3.0.so.0.0.5
-rwxr-xr-x 1 root root 754616 Mar 28 18:57 /usr/lib/libsoup-3.0.so.0.0.5

The problem may be caused by co-existing soup2 and soup3 is:

  1. Say package A depends on B, A depends on soup 2, and B depends on a libsoup (2 or 3, automatically detected at building time).
  2. B is linked to libsoup3.
  3. A is linked to B, and libsoup2 (because A has some direct calls to libsoup2 API, not through B).
  4. Now when A starts, it aborts: https://gitlab.gnome.org/GNOME/libsoup/-/commit/9596a869414bb0811f1e1f6009c950ca7af81189
Last edited 2 years ago by Xi Ruoyao (previous) (diff)

comment:7 by Bruce Dubbs, 2 years ago

We have 18 packages that have libsoup as dependencies. 11 of them are gnome which should be built all at once. The others are:

geoclue2
uhttpmock
webkitgtk
gst10-plugins-good
libgrss
abiword
inkscape

Do we know if any of them have the above problem? Do any fail when buildign with libsoup3?

in reply to:  7 comment:8 by Xi Ruoyao, 2 years ago

Replying to Bruce Dubbs:

We have 18 packages that have libsoup as dependencies. 11 of them are gnome which should be built all at once. The others are:

geoclue2
uhttpmock
webkitgtk
gst10-plugins-good
libgrss
abiword
inkscape

Do we know if any of them have the above problem? Do any fail when buildign with libsoup3?

geoclue and libgrss are soup2-only, at least now.

gst10-plugins-good attempts to load soup3 at runtime (!), and if soup3 does not exist it falls back to soup2.

WebKitGTK is built with soup2, because evolution and gnome-online-accounts do not support a WebKitGTK build with soup3.

comment:9 by Xi Ruoyao, 2 years ago

And we need to take our dependency tracking method into consideration: saying A links to both B and libsoup2, and B has depend on libsoup2 but recently switch to "libsoup3 first, libsoup2 as fallback". Then in the book we won't have any record "A links to libsoup2" at all.

So my suggestion is just avoiding libsoup3 until it's adapted by downstreams widely enough.

Last edited 2 years ago by Xi Ruoyao (previous) (diff)

comment:10 by Bruce Dubbs, 2 years ago

OK, we'll have to use -Dhttp=false then. I hope the other packages have workarounds if they insist on libsoup-3.

Looking at my gvfs build log, I see:

Run-time dependency libsoup-3.0 found: YES 3.0.5

but that is the only reference to 'soup'.

comment:11 by pierre, 2 years ago

Owner: changed from blfs-book to pierre
Status: newassigned

Taking all gnome-42 tickets for now, but feel free to help :)

comment:12 by pierre, 2 years ago

Resolution: fixed
Status: assignedclosed

Gnome 42 platform updated:

Note: See TracTickets for help on using tickets.