• Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages → Packages: Stable
  • Assigned To
    Andreas Baumann
  • Operating System i686
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by Francois Dupoux - 10.04.2022
Last edited by Andreas Baumann - 17.04.2022

FS#251 - [pavucontrol] libcanberra/libcanberra-pulse dependency conflicts

There is currently a problem preventing the installation of pavucontrol on i686:

resolving dependencies...
warning: cannot resolve "libcanberra=0.30+2+gc0620e4-3.2", a dependency of "libcanberra-pulse"
warning: cannot resolve "libcanberra-pulse", a dependency of "pavucontrol"
:: The following package cannot be upgraded due to unresolvable dependencies:
      pavucontrol
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libcanberra=0.30+2+gc0620e4-3.2' required by libcanberra-pulse
:: unable to satisfy dependency 'libcanberra-pulse' required by pavucontrol
Closed by  Andreas Baumann
17.04.2022 08:18
Reason for closing:  Fixed
Admin
Andreas Baumann commented on 13.04.2022 06:41

Mmh, I could install pavucontrol yesterday on all archs and table/testing.
I think the package conflicts are resolved now.
Can you please check again?

Francois Dupoux commented on 13.04.2022 18:34

Thanks for checking. I tested again but it is still failing sorry.

Here you can see that libcanberra-pulse for i686 requires libcanberra=0.30+2+gc0620e4:
https://www.archlinux32.org/packages/i686/extra/libcanberra-pulse/

And here you can see the current version of libcanberra on i686 is a bit different:
https://www.archlinux32.org/packages/i686/extra/libcanberra/ libcanberra 1:0.30+r2+gc0620e4-1.0

So there is a version mismatch and hence the dependency check fails.

Admin
Andreas Baumann commented on 14.04.2022 08:28

Ah, I could reproduce it. I misread your post and though pavucontrol is the problem.
I'll trigger a rebuild of libcanberra.

Admin
Andreas Baumann commented on 14.04.2022 09:09

The new build has a build version of 1.1, the old one required by libcanberra-pulse 3.2.
How is this possible? Build versions are not supposed to go backwards..

Admin
Andreas Baumann commented on 14.04.2022 09:18

dependency libcanberra=0.30+2+gc0620e4-3.2

I fail to see where this is added.. maybe in the buildmaster itself and the buildmaster
has a wrong idea of what the current pkgver and build version is?

Admin
Andreas Baumann commented on 14.04.2022 09:19

libcanberra is just a pseudo-reference, not a real packages, so force installing should
work as a workaround..

Admin
Andreas Baumann commented on 14.04.2022 12:19

Oh pkgver=0.30+2+gc0620e4 changed to 0.30+r2+gc0620e4 (what version numbers!)

Admin
Andreas Baumann commented on 14.04.2022 12:28

I think, this hard-coded

replaces=("libcanberra-pulse<0.30+2+gc0620e4-4")

is a problem. This version might never have existed in Arch32, I'll try to build
without that one..

Admin
Andreas Baumann commented on 14.04.2022 12:57

Can you try to update your system first with pacman -Syyu and try the installation
of pavucontrol then?

Francois Dupoux commented on 16.04.2022 09:28

Sorry, it is still failing. It is not a regular system, it is failing when attempting to build a docker image.

[user@sysrescue /var/tmp/archlinux32]$ cat Dockerfile 
FROM fdupoux/archlinux32
RUN sed -i -e 's/^Architecture.*$/Architecture = i686/' /etc/pacman.conf
RUN pacman -Syyu --noconfirm pavucontrol
CMD ["setarch","i686","/usr/bin/bash"]

[user@sysrescue /var/tmp/archlinux32]$ docker build -t testimage -f Dockerfile . 
Sending build context to Docker daemon  2.048kB
Step 1/4 : FROM fdupoux/archlinux32
 ---> c5aca3c600d3
Step 2/4 : RUN sed -i -e 's/^Architecture.*$/Architecture = i686/' /etc/pacman.conf
 ---> Running in ce561789cf3a
Removing intermediate container ce561789cf3a
 ---> bc700be112c7
Step 3/4 : RUN pacman -Syyu --noconfirm pavucontrol
 ---> Running in 06a9a932be01
:: Synchronizing package databases...
 sysrescuerepo downloading...
 core downloading...
 extra downloading...
 community downloading...
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "libcanberra=0.30+2+gc0620e4-3.2", a dependency of "libcanberra-pulse"
warning: cannot resolve "libcanberra-pulse", a dependency of "pavucontrol"
:: The following package cannot be upgraded due to unresolvable dependencies:
      pavucontrol

:: Do you want to skip the above package for this upgrade? [y/N] error: failed to prepare transaction (could not satisfy dependencies)

:: unable to satisfy dependency 'libcanberra=0.30+2+gc0620e4-3.2' required by libcanberra-pulse
:: unable to satisfy dependency 'libcanberra-pulse' required by pavucontrol
The command '/bin/sh -c pacman -Syyu --noconfirm pavucontrol' returned a non-zero code: 1
Admin
Andreas Baumann commented on 16.04.2022 12:30

I checked with docker, there is nothing wrong with that (BTW, there is a docker git
for Archlinux32 at https://git.archlinux32.org/docker/).

warning: cannot resolve "libcanberra=0.30+2+gc0620e4-3.2", a dependency of "libcanberra-pulse"

it tries to resolve an old version of libcanberra, because it still remembers the days
when libcanberra-pulse was a split package and in version 2-3.2). I see no other way
than to manually remove the libcanberra-pulse package from the repos on the buildmaster.

Or to change all PKBBUILDS requiring libcanberra-pulse to libcanberra only (which would
deviate from upstream)..

Admin
Andreas Baumann commented on 16.04.2022 12:35

But I don't how to fix that properly in the buildmasters guts (aka Mysqldb)
(abaumann summons the master of buildmasters here. :-) )

Admin
Andreas Baumann commented on 16.04.2022 12:47

mmh. I'm trying now another rebuild. If pavucontrol is not containing libcanberra-pulse,
then it should actually work.

Admin
Andreas Baumann commented on 16.04.2022 12:57

So, it should really work now. I really don't know, but I think pavucontrol was not
rebuilt and still referenced libcanberra-pulse.

Francois Dupoux commented on 17.04.2022 07:51

I confirm it is now working fine, thanks for having sorted this out

Admin
Andreas Baumann commented on 17.04.2022 08:17

Thanks for reporting. :-)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing