Tiny Core Extensions > TCE Bugs

gio (part of glib2.tcz) shows gnutls-related warning

<< < (2/5) > >>

GNUser:
I narrowed it down to glib-networking.tcz. When it is loaded, I get the error.

GNUser:
glib-networking.tcz is the culprit. Error happens if glib-networking is loaded and /usr/local/lib/libgnutls.so.30 points to gnutls35:

--- Code: ---$ ls -l /usr/local/lib/libgnutls.so.30
lrwxrwxrwx    1 root     root            50 May 10 20:58 /usr/local/lib/libgnutls.so.30 -> /tmp/tcloop/gnutls35/usr/local/lib/libgnutls.so.30
$ gio info test.txt
/usr/local/lib/libgnutls.so.30: version `GNUTLS_3_7_4' not found (required by /usr/local/lib/gio/modules/libgiognutls.so)
Failed to load module: /usr/local/lib/gio/modules/libgiognutls.so
--- End code ---

If glib-networking is loaded and /usr/local/lib/libgnutls.so.30 points to gnutls38, there is no error:

--- Code: ---$ sudo rm /usr/local/lib/libgnutls.so.30
$ sudo ln -s /tmp/tcloop/gnutls38/usr/local/lib/libgnutls.so.30 /usr/local/lib/libgnutls.so.30
$ gio info test.txt
-> no error
--- End code ---
My suggestion is for glib-networking.tcz to have a startup script that makes sure libgnutls.so.30 is pointing to gnutls38.

EDIT: It seems this is another example of an unintentional abi breakage between library versions with same major version number (similar to the ncurses issue).

Rich:
Hi GNUser

--- Quote from: GNUser on May 10, 2024, 08:59:52 PM ---I narrowed it down to glib-networking.tcz. When it is loaded, I get the error.
--- End quote ---
Well yeah. That's because it depends on seeing the correct version of libgnutls.so.

gnutls35.tcz contains:

--- Code: ---/usr/local/lib/libgnutls.so
/usr/local/lib/libgnutls.so.30
/usr/local/lib/libgnutls.so.30.26.2
--- End code ---

gnutls38.tcz contains:

--- Code: ---/usr/local/lib/libgnutls.so
/usr/local/lib/libgnutls.so.30
/usr/local/lib/libgnutls.so.30.37.1
--- End code ---

The dependency file for glib-networking.tcz lists gnutls38.tcz.
It's probably finding libgnutls.so from gnutls35.tcz.
Try swapping the load order for gnutls35.tcz and gnutls38.tcz.

GNUser:

--- Quote from: Rich on May 10, 2024, 09:16:05 PM ---Try swapping the load order for gnutls35.tcz and gnutls38.tcz.

--- End quote ---
I don't load either extension manually--they are both brought in as dependencies. To swap the order I'd have to go through every extension that I load, figure out which ones bring in gnutls35 vs. gnutls38, and arrange my onboot.lst accordingly. This is too much work. (Plus I'd have to remember this issue any time in the future that I want to try a new extension with gnutls in the dependency tree.)

If a startup script in glib-networking is not the way to go, let's just let it go. I'll deal with this breakage when I bump into it.

Rich:
Hi GNUser
Add  gnutls38.tcz  to the beginning of your onboot.lst file.
See if any extensions that depend on  gnutls35.tcz  complain.
I'm hoping maybe  gnutls38.tcz  is backward compatible.

If it helps, the following have some dependency on  gnutls35.tcz.
I filtered out the -dev.tcz extensions to keep the lister shorter:

--- Code: ---atom-apm.tcz.tree
atom-libs.tcz.tree
atom-locale.tcz.tree
atom.tcz.tree
audacious-plugins.tcz.tree
audacious.tcz.tree
auto-multiple-choice.tcz.tree
brave-browser.tcz.tree
ca-certificatesg.tcz.tree
chromium-browser.tcz.tree
colord-gir.tcz.tree
colord-gtk-gir.tcz.tree
colord-gtk.tcz.tree
colord.tcz.tree
cups-filters.tcz.tree
cups-pk-helper.tcz.tree
cups.tcz.tree
curlg.tcz.tree
cutechess.tcz.tree
devede.tcz.tree
easyprint.tcz.tree
ffmpeg4.tcz.tree
ffmpeg5.tcz.tree
ffmpegthumbnailer.tcz.tree
filezilla.tcz.tree
freerdp.tcz.tree
fwupd-gir.tcz.tree
fwupd.tcz.tree
gdm-gir.tcz.tree
gdm.tcz.tree
ghostscript.tcz.tree
gimagereader.tcz.tree
gimp-gir.tcz.tree
gimp-locale.tcz.tree
gimp.tcz.tree
gnome-boxes.tcz.tree
gnome-connections.tcz.tree
gnome-control-center.tcz.tree
gnome-internet-radio-locator.tcz.tree
gnome-network-displays.tcz.tree
gnome-remote-desktop.tcz.tree
gnome-session.tcz.tree
gnome-settings-daemon.tcz.tree
gnome-shell-extension-emoji-selector.tcz.tree
gnome-shell-extensions.tcz.tree
gnome-shell-extension-weather.tcz.tree
gnome-shell-gir.tcz.tree
gnome-shell.tcz.tree
gnome-tweaks.tcz.tree
gnutls35.tcz.tree
gst-libav.tcz.tree
gthumb.tcz.tree
gtk-frdp-gir.tcz.tree
gtk-frdp.tcz.tree
gutenprint-locale.tcz.tree
gutenprint.tcz.tree
gv.tcz.tree
hplip-plugins.tcz.tree
hplip.tcz.tree
iridium-browser.tcz.tree
kermit.tcz.tree
kodi.tcz.tree
libavdevice4.tcz.tree
libavdevice5.tcz.tree
libavfilter4.tcz.tree
libavfilter5.tcz.tree
libavformat4.tcz.tree
libavformat5.tcz.tree
libcups.tcz.tree
libfilezilla.tcz.tree
libgs.tcz.tree
libjcat-gir.tcz.tree
libjcat.tcz.tree
libmicrohttpd.tcz.tree
libreoffice.tcz.tree
libsane.tcz.tree
libspectre.tcz.tree
libvirt-glib-gir.tcz.tree
libvirt-glib.tcz.tree
libvirt-python3.6.tcz.tree
libvirt.tcz.tree
mailutils-locale.tcz.tree
mailutils.tcz.tree
miktex.tcz.tree
minidlna.tcz.tree
mplayer-cli.tcz.tree
mpv.tcz.tree
mutter-gir.tcz.tree
mutter.tcz.tree
neatvnc.tcz.tree
opencv.tcz.tree
opera-62.tcz.tree
pdfscale.tcz.tree
photoflare.tcz.tree
pianobar.tcz.tree
py3.6cups.tcz.tree
qemu-arm.tcz.tree
qemu.tcz.tree
qmplay2.tcz.tree
qpdf.tcz.tree
qt-5.x-all.tcz.tree
qt-5.x-bin.tcz.tree
qt-5.x-printsupport.tcz.tree
rpi-imager.tcz.tree
samba-python3.6.tcz.tree
samba.tcz.tree
shotcut.tcz.tree
simple-scan.tcz.tree
simplescreenrecorder.tcz.tree
subsurface.tcz.tree
system-config-printer.tcz.tree
timg.tcz.tree
totem-gir.tcz.tree
totem.tcz.tree
translate-shell.tcz.tree
ungoogled-chromium.tcz.tree
vinagre.tcz.tree
vino.tcz.tree
virt-manager.tcz.tree
vivaldi.tcz.tree
vlc-locale.tcz.tree
vlc.tcz.tree
vte-gir.tcz.tree
vte.tcz.tree
weechat.tcz.tree
wine.tcz.tree
wireshark.tcz.tree
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version