Package: btrfs-progs
Version: 5.10.1-2
Tags: hppa, patch

btrfs-progs fails to install on the hppa arch, because there we do not have any
libgcc-s1 package, but instead a libgcc-s4 package:

root@phantom:~# apt install btrfs-progs/unstable
Selected version '5.10.1-2' (ftp.ports.debian.org:1.0/unstable [hppa]) for 
'btrfs-progs'
The following packages have unmet dependencies:
  btrfs-progs : Depends: libgcc-s1 (> 10-20200211) but it is not installable

buildd@phantom:/tmp/t1$ dpkg -l | grep libgcc-s
ii  libgcc-s4:hppa                        10.2.1-6                           
hppa         GCC support library

Please apply the attached patch.
It removes the install-dependency on libgcc-s1 on hppa (but keeps it for all 
other architectures).

Thanks,
Helge
diff -up ./debian/control.org ./debian/control
--- ./debian/control.org        2021-06-25 17:47:02.311356810 +0000
+++ ./debian/control    2021-06-25 14:19:29.464606707 +0000
@@ -28,7 +28,7 @@ Vcs-Git: https://salsa.debian.org/debian
 Package: btrfs-progs
 Architecture: linux-any
 Multi-Arch: foreign
-Depends: ${misc:Depends}, ${shlibs:Depends}, libgcc-s1 (>> 10-20200211)
+Depends: ${misc:Depends}, ${shlibs:Depends}, libgcc-s1 (>> 10-20200211) [!hppa]
 # backports will want the Breaks:libcc-s1 below
 Breaks: btrbk (<= 0.25.0), libgcc-s1 (<< 10-20200211), initramfs-tools (<< 
0.137~)
 Suggests: duperemove

Reply via email to