libobject-pad-slotattr-X-perl: Object::Pad::SlotAttr::X is replaced by Object::Pad::FieldAttr::X

Bug #1962050 reported by Dan Bungert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libobject-pad-slotattr-final-perl (Debian)
Fix Released
Unknown
libobject-pad-slotattr-final-perl (Ubuntu)
Fix Released
Undecided
Unassigned
libobject-pad-slotattr-isa-perl (Ubuntu)
Fix Released
Undecided
Unassigned
libobject-pad-slotattr-lazyinit-perl (Ubuntu)
Fix Released
Undecided
Unassigned
libobject-pad-slotattr-trigger-perl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Archive Team,

Please remove the following packages, both source and binary, from Jammy:
libobject-pad-slotattr-final-perl
libobject-pad-slotattr-isa-perl
libobject-pad-slotattr-lazyinit-perl
libobject-pad-slotattr-trigger-perl

Justification
1. All 4 packages above are failing in autopkgtest with the same error:
register_slot_attribute() is now deprecated; use register_field_attribute(). All 4 would pass if this usage was updated.
2. Upstream is aware of this issue, having corrected it in now renamed packages
3. Debian is aware of it, in the bug report that this was created from where they plan to remove these in favor of packages renamed as libobject-pad-fieldattr-X-perl
4. None of them have reverse dependencies

Thanks!

Original Description Follows:

Imported from Debian bug http://bugs.debian.org/1005016:

Source: libobject-pad-slotattr-final-perl
Version: 0.04-2
Severity: normal
X-Debbugs-Cc: Jonas Smedegaard <email address hidden>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I noticed that libobject-pad-slotattr-final-perl fails its
autopkgtests because of a deprecation warning:

autopkgtest [15:14:29]: test autodep8-perl: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
autopkgtest [15:14:29]: test autodep8-perl: [-----------------------

# Failed test ' /usr/bin/perl -w -M"Object::Pad::SlotAttr::Final" -e 1 2>&1 produced no (non-whitelisted) output'
# at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 107.

# Failed test 'env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"Object::Pad::SlotAttr::Final" -e 1 2>&1 produced no (non-whitelisted) output'
# at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 107.
# Looks like you failed 2 tests of 4.
/usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t ..
1..4
# register_slot_attribute() is now deprecated; use register_field_attribute() instead at /usr/lib/x86_64-linux-gnu/perl-base/XSLoader.pm line 111.
ok 1 - /usr/bin/perl -w -M"Object::Pad::SlotAttr::Final" -e 1 2>&1 exited successfully
not ok 2 - /usr/bin/perl -w -M"Object::Pad::SlotAttr::Final" -e 1 2>&1 produced no (non-whitelisted) output
# register_slot_attribute() is now deprecated; use register_field_attribute() instead at /usr/lib/x86_64-linux-gnu/perl-base/XSLoader.pm line 111.
ok 3 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"Object::Pad::SlotAttr::Final" -e 1 2>&1 exited successfully
not ok 4 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"Object::Pad::SlotAttr::Final" -e 1 2>&1 produced no (non-whitelisted) output
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests

Test Summary Report
- -------------------
/usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t (Wstat: 512 Tests: 4 Failed: 2)
  Failed tests: 2, 4
  Non-zero exit status: 2
Files=1, Tests=4, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.09 cusr 0.02 csys = 0.13 CPU)
Result: FAIL
autopkgtest [15:14:29]: test autodep8-perl: -----------------------]
autopkgtest [15:14:30]: test autodep8-perl: - - - - - - - - - - results - - - - - - - - - -

This warning comes from Object::Pad 0.60 which renamed 'slots' to
'fields'.

Now in libobject-pad-slotattr-final-perl we could silence the
autopkgtest warnings or we could patch the code but still the module
and the package would be called *slot* …

So I looked at the MetaCPAN, and indeed, there is a renamed
distribution available: https://metacpan.org/dist/Object-Pad-FieldAttr-Final

I guess we should replace libobject-pad-slotattr-final-perl with
libobject-pad-fieldattr-final-perl …

Well, and this is not the only package with 'slot':

% apt-cache --names-only search libobject-pad-slot | grep -v dbgsym
libobject-pad-slotattr-final-perl - declare Object::Pad slots readonly after construction
libobject-pad-slotattr-isa-perl - apply class type constraints to Object::Pad slots
libobject-pad-slotattr-lazyinit-perl - lazily initialise Object::Pad slots at first read
libobject-pad-slotattr-trigger-perl - invoke an instance method after a :writer accessor

Cheers,
gregor

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmH+iWJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgbCnA/8C/FumDm2bljlUNhzbbrj00nUSB1BMjE254opiGGF+jqHVvoPjbcRoIbg
APPkugDOgyDOa+3MeEnwPN1jpxROiJHDrKgrtY0mLmP14BDk+SbMO6S9MDzq8QV3
xNuQs0Gvmy+ZF7rJLkt3jkE31SDKl16UytHG/1KmNMieaKJj44zhaptv1mACHr4E
Bvy/avAS/vzrnqY+2g7KGno0pdxNj8tFMFdqf0FviXuUFcEqM5fgbJN/wBMDgKr5
qpmZnlXXVcgOPMRH/QF85byrll5FPcGf67Uy6t44cU9DLVM6JSsRtlctU8mzE6Ry
I3iloE2ly2Mb8dUYPRPs1dvAUlfs6N814kQrHEZ3f0AQLw1vPMRXYXFRS6Qzg6iD
CMtQt/7ql5wKfnJ5Cl2Ja5v6LOSmC+3GyPCIVkuRknXdZw0xFuF39f+nsjuRCvLp
ZBjp2/ANFI5iCYCqlS3xkOEH/f2hHA+UCnKoIAmQLQthOqByOaWFiMibT8t+8G/5
uLi1CTdRTqO+v5zyGlrWsnx8CtNlxuLkt0aZbi3glpWSbdpUYgVtumAqYtVMRUDe
aN4l0GI1qIvG6n4BnXk+caczR7jkxqP78+DwiT9utMOxsd1jJKqedQSwh9mISoPy
ttyVJuXZrvtS4gom5rZOMfmL4yEqtkAmEIE8CIk9p4vT+QU9Q2g=
=eSHN
-----END PGP SIGNATURE-----

Changed in libobject-pad-slotattr-final-perl (Debian):
importance: Undecided → Unknown
Dan Bungert (dbungert)
summary: - libobject-pad-slotattr-final-perl: Object::Pad::SlotAttr::Final is
- replaced by Object::Pad::FieldAttr::Final
+ libobject-pad-slotattr-X-perl: Object::Pad::SlotAttr::X is replaced by
+ Object::Pad::FieldAttr::X
Dan Bungert (dbungert)
description: updated
description: updated
description: updated
Dan Bungert (dbungert)
tags: added: ftbfs update-excuse
Revision history for this message
Steve Langasek (vorlon) wrote :

Removing packages from jammy:
 libobject-pad-slotattr-final-perl 0.04-2 in jammy
  libobject-pad-slotattr-final-perl 0.04-2 in jammy amd64
  libobject-pad-slotattr-final-perl 0.04-2 in jammy arm64
  libobject-pad-slotattr-final-perl 0.04-2 in jammy armhf
  libobject-pad-slotattr-final-perl 0.04-2 in jammy ppc64el
  libobject-pad-slotattr-final-perl 0.04-2 in jammy riscv64
  libobject-pad-slotattr-final-perl 0.04-2 in jammy s390x
Comment: Fails tests with new perl, blocks perl transition, no reverse-dependencies; LP: #1962050
1 package successfully removed.

Changed in libobject-pad-slotattr-final-perl (Ubuntu):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Removing packages from jammy:
 libobject-pad-slotattr-isa-perl 0.02-2 in jammy
  libobject-pad-slotattr-isa-perl 0.02-2 in jammy amd64
  libobject-pad-slotattr-isa-perl 0.02-2 in jammy arm64
  libobject-pad-slotattr-isa-perl 0.02-2 in jammy armhf
  libobject-pad-slotattr-isa-perl 0.02-2 in jammy ppc64el
  libobject-pad-slotattr-isa-perl 0.02-2 in jammy riscv64
  libobject-pad-slotattr-isa-perl 0.02-2 in jammy s390x
Comment: Fails tests with new perl, blocks perl transition, no reverse-dependencies; LP: #1962050
1 package successfully removed.

Changed in libobject-pad-slotattr-isa-perl (Ubuntu):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Removing packages from jammy:
 libobject-pad-slotattr-lazyinit-perl 0.04-2 in jammy
  libobject-pad-slotattr-lazyinit-perl 0.04-2 in jammy amd64
  libobject-pad-slotattr-lazyinit-perl 0.04-2 in jammy arm64
  libobject-pad-slotattr-lazyinit-perl 0.04-2 in jammy armhf
  libobject-pad-slotattr-lazyinit-perl 0.04-2 in jammy ppc64el
  libobject-pad-slotattr-lazyinit-perl 0.04-2 in jammy riscv64
  libobject-pad-slotattr-lazyinit-perl 0.04-2 in jammy s390x
Comment: Fails tests with new perl, blocks perl transition, no reverse-dependencies; LP: #1962050
1 package successfully removed.

Changed in libobject-pad-slotattr-lazyinit-perl (Ubuntu):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Removing packages from jammy:
 libobject-pad-slotattr-trigger-perl 0.05-2 in jammy
  libobject-pad-slotattr-trigger-perl 0.05-2 in jammy amd64
  libobject-pad-slotattr-trigger-perl 0.05-2 in jammy arm64
  libobject-pad-slotattr-trigger-perl 0.05-2 in jammy armhf
  libobject-pad-slotattr-trigger-perl 0.05-2 in jammy ppc64el
  libobject-pad-slotattr-trigger-perl 0.05-2 in jammy riscv64
  libobject-pad-slotattr-trigger-perl 0.05-2 in jammy s390x
Comment: Fails tests with new perl, blocks perl transition, no reverse-dependencies; LP: #1962050
1 package successfully removed.

Changed in libobject-pad-slotattr-trigger-perl (Ubuntu):
status: New → Fix Released
Changed in libobject-pad-slotattr-final-perl (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.