Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1189237
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1065483: perl-base: should provide perlapi-5.38.2 on i386 |
| Date | 2024-03-06 11:10 +0100 |
| Message-ID | <IeWnL-eMyz-13@gated-at.bofh.it> (permalink) |
| References | <IeAGB-ez3Y-1@gated-at.bofh.it> <IeAGB-ez3Y-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Control: tags -1 + patch
On 2024-03-05 11:47 +0100, Sven Joachim wrote:
> Package: perl-base
> Version: 5.38.2-3.1
> Severity: serious
> X-Debbugs-Cc: Sven Joachim <svenjoac@gmx.de>, Steve Langasek <vorlon@debian.org>
>
> On i386, perl-base provides perlapi-5.38.2t64 rather than
> perlapi-5.38.2. This makes tons of packages uninstallable or
> unbuildable and is not what has been agreed upon in #1060246.
There are already 229 packages in state BD-Uninstallable on i386,
on amd64 there are only 19. Personally I have held back packages from
src:e2fsprogs, src:util-linux and src:expat due to multiarch version
skew. This is only going to become worse.
> The reason is a bad check in debian/rules, line 31:
>
> ,----
> | # If nonempty, this will determine $Config{debian_abi} and Provides: entries
> | # (otherwise, the Provides: entries will be generated by debian/mkprovides)
> | perlabi =
> | ifeq (,$(filter $(DEB_HOST_GNU_TYPE),i386 hurd-i386))
> | ifeq ($(DEB_HOST_ARCH_BITS),32)
> | perlabi = 5.38.2t64
> | endif
> | endif
> `----
>
> Unfortunately DEB_HOST_GNU_TYPE does not match i386 or hurd-i386 on
> these architectures:
>
> ,----
> | $ dpkg-architecture -ai386 -qDEB_HOST_GNU_TYPE 2>/dev/null
> | i686-linux-gnu
> | $ dpkg-architecture -ahurd-i386 -qDEB_HOST_GNU_TYPE 2>/dev/null
> | i686-gnu
> `----
>
> You may want to filter on DEB_HOST_ARCH instead (make sure it is
> defined).
I have decided to fix the check for DEB_HOST_GNU_TYPE instead. All of
this is going away anyway when perl moves on to version 5.40.
> A quick fix would be appreciated, because reverse dependencies are
> likely going to pick up the wrong perlapi Provides.
There are currently six packages depending on perlapi-5.38.2t64:i386,
but that number is likely going to grow. The second patch adds a
hardcoded dependency not break these reverse dependencies, but it might
be preferable to just request binNMUs for them as long as there are not
too many.
Cheers,
Sven
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1065483: perl-base: should provide perlapi-5.38.2 on i386 Sven Joachim <svenjoac@gmx.de> - 2024-03-06 11:10 +0100
csiph-web