Broken Dependency glib2 on aarch64

Problems with packages? Post here, using [tags] of the package name.

Re: RaspberryPi - can't find libffi.so=7-32

Postby Sbyrr0 » Thu Oct 21, 2021 9:16 am

My guess is that glib2 2.70.0 must be updated to require libffi.so=8-64 as in Arch Linux x86_64 official repo, on ARM it is requiring libffi.so=7-64 which is not provided anymore.
Same for the 32 bit version, should require libffi.so=8-32 instead of libffi.so=7-32
Sbyrr0
 
Posts: 28
Joined: Wed May 13, 2020 10:05 pm

Re: software upgrade refusedupgrade

Postby unformatted » Thu Oct 21, 2021 9:21 am

If you search this forum you'll see that there is a thread named "Broken Dependency glib2 on aarch64" which is addressing the problem. Also other posts are here with same problem on different architectures.

If you want to keep an eye on what's going on you should choose "View active topics" from the forum home page.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

[SOLVED] Re: RaspberryPi - can't find libffi.so=7-32

Postby nickb333 » Thu Oct 21, 2021 9:44 am

I've also hit this problem where
$this->bbcode_second_pass_code('', ':: unable to satisfy dependency 'libffi.so=7-32' required by glib2')
Checking my installed version
$this->bbcode_second_pass_code('', '$ pacman -Q libffi
libffi 3.3-4
')

I've seen mentioned elsewhere that downgrading to 3.4.2-3 solves this as it provides both libffi.so.7 and libffi.so.8 but checking the archlinuxarm package archive at http://tardis.tiny-vps.com/aarm/packages/l/libffi/ it jumps from 3.3.4 to 3.4.2-4.

I guess the solution is to wait until glib2 is upgraded?

Edit: now resolved on latest update attempt.
Last edited by nickb333 on Thu Oct 21, 2021 4:22 pm, edited 1 time in total.
nickb333
 
Posts: 7
Joined: Fri Jul 23, 2021 5:03 pm

Re: Broken Dependency glib2 on aarch64

Postby graysky » Thu Oct 21, 2021 10:20 am

Mod note: merged, please search before posting

$this->bbcode_second_pass_quote('graysky', 'l')ibffi rebuild got messed up, rebuilt in progress.
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

[SOLVED] libffi/glib2 error 2021-10-22

Postby Malvineous » Thu Oct 21, 2021 2:39 pm

Hi all,

Just FYI there appears to be an upstream issue in Arch Linux that has now reached Arch Linux ARM.

If you do a full upgrade you may see a bunch of errors about libffi.so.7 missing. The problem is that the libffi package has been upgraded to supply libffi.so.8, but every other package is still looking for libffi.so.7, and the dependencies have not been set correctly, except for a few packages such as glib2 which will refuse to install because of this.

The workaround is to pass pacman the "--ignore libffi" parameter to skip the bad package. or if you have already installed it and are getting errors from programs which refuse to start, download libffi version 3.3-4 from the archive and install that, which will restore the missing libffi.so.7 file.
Malvineous
 
Posts: 40
Joined: Sat Mar 11, 2017 1:45 pm

Re: [SOLVED] libffi/glib2 error 2021-10-22

Postby graysky » Thu Oct 21, 2021 3:43 pm

No special work-arounds are needed. Just update using a recently synced mirror.

Mod note: merging.
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Broken Dependency glib2 on aarch64

Postby Malvineous » Thu Oct 21, 2021 6:30 pm

Ah my apologies, didn't see the existing thread, thanks for merging.

I synced from au.mirror.archlinuxarm.org multiple times but still get this problem. I think maybe this mirror is having problems synching though because most times when I try to do an upgrade I get 404 errors about missing files, but when I try again maybe 10 minutes later the files are there.

Just tried again now from this mirror and aarch64 is now ok but arm6 is still returning the wrong libffi version.

EDIT: Spoke too soon, the updated glib2 file for aarch64 is still missing from the mirror:
$this->bbcode_second_pass_code('', '
error: failed retrieving file 'glib2-2.70.0-2.1-aarch64.pkg.tar.xz' from au.mirror.archlinuxarm.org : The requested URL returned error: 404
')
Malvineous
 
Posts: 40
Joined: Sat Mar 11, 2017 1:45 pm

Previous

Return to Packages

Who is online

Users browsing this forum: No registered users and 4 guests