SliTaz SliTaz Forum

You are not logged in.

#1 2020-03-16 08:56:05

mistfire
Member
Registered: 2018-08-17
Posts: 168

List of outdated packages in the repo need to recompile against latest libffi

These are outdated packages that needed to recompile against the latest libffi

To accomplish these I used these command

# tazpkg recharge

# cat /var/lib/tazpkg/packages.info | grep "libffi" | awk '{ print $1 }' | grep -v "libffi"

Then compare the date modified of the package in the repo against the date modified of libffi package in the repo

Here are the outdated packages found that depend on libffi that needed to recompile:

cairo-gl

glibmm

gobject-introspection

gtk-sharp

gtkdialog

gvolwheel

harbuzz

iron-linux

libgiomm

liboobs

linux64-open-vm-tools-kernel

llvm

lximage-qt

lxqt-admin

lxqt-policykit

micropython

mirage

obconf-qt

obmenu

open-vm-tools

open-vm-tools-kernel

oxygen-gtk

pangox-compat

pcmanfm-qt

pnmixer

pyroom

python

qjackctl

sbxkb

sylpheed (not sylpheed-full)

system-tools-backends

urxvt-full

viewnior

wayland

yad-gtk2

yad-gtk2-html

yad-gtk3

Almost 37 packages needed to rebuild due to changes in libffi version. It is very alarming that slitaz maintainers are failed to track what packages are needed to recompile if a new version of a package in the database was cooked.

They baldy need to automate the rebuilding of packages which depends on it if a new version of package in the database was introduced (For example if new version of libffi was cooked, all packages in the repo depends on libffi will be recompiled and uploaded to repo). So that the packages in the repo which will be downloaded by the end-users will not broke their system. Also the automated build process of slitaz rolling live-cd will not produce a broken one.

Adding a feature to rebuild the packages after compiling a new package on cookutils and the cooker is highly recommended

Offline

#2 2020-03-16 16:45:06

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: List of outdated packages in the repo need to recompile against latest libffi

Let's see...

tux@slitaz:~$ tazpkg get cairo-gl

Fait : cairo-gl-1.16.0.tazpkg******************************|  422k  0:00:00 ETA

tux@slitaz:~$ tazpkg extract cairo-gl-1.16.0.tazpkg

Extraction du paquet « cairo-gl-1.16.0 »

================================================================================

Copie du paquet original...                                          [ Fait ]

Extraction du paquet...                                              [ Fait ]

================================================================================

Le paquet « cairo-gl-1.16.0 » est extrait dans « cairo-gl-1.16.0 »

tux@slitaz:~$ grep -r libffi.so cairo-gl-1.16.0/fs/

tux@slitaz:~$ ls -l cairo-gl-1.16.0/md5sum

-rw-r--r--    1 tux      users          222 Nov 18 22:42 cairo-gl-1.16.0/md5sum

tux@slitaz:~$ ldd cairo-gl-1.16.0/fs/usr/lib/libcairo-gobject.so:

    libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb75fe000)

...

    libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb6dce000)

    libffi.so.6 => /usr/lib/libffi.so.6 (0xb6dc8000)

Ok it's a problem but the package cairo-gl is not the culprit. No need to recompile it, but one of the depends.

The bad news ; some packages are broken : http://cook.slitaz.org/?file=broken

An idea to automate the rebuilding of the packages ? You are welcome !

Edit: a fresh glib solve this case

root@slitaz:/home/tux# tazpkg get-install glib --forced

tux@slitaz:~$ ls -l /usr/lib/libglib-2.0.so.0.4303.0

-rwxr-xr-x    1 root     root       1010656 Mar 14 01:13 /usr/lib/libglib-2.0.so.0.4303.0

Offline

#3 2020-03-27 14:55:08

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: List of outdated packages in the repo need to recompile against latest libffi

Until the packages concerned are recompiled, the following might help:

[c]

# ln -s /usr/lib/libnettle.so.7.0 /usr/lib/libnettle.so.6

# ln -s /usr/lib/libffi.so.7.1.0 /usr/lib/libffi.so.6

[/c]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]