#1005016 libobject-pad-slotattr-final-perl: Object::Pad::SlotAttr::Final is replaced by Object::Pad::FieldAttr::Final

#1005016#5
Date:
2022-02-05 14:27:46 UTC
From:
To:
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-----

#1005016#10
Date:
2022-02-09 20:18:13 UTC
From:
To:
Control: severity -1 serious
Control: tag -1 + sid bookworm
Control: clone -1 -2
Control: reassign -2 src:libobject-pad-slotattr-isa-perl 0.02-2
Control: retitle -2 Object::Pad::SlotAttr::Isa is replaced by Object::Pad::FieldAttr::Isa
Control: severity -2 serious
Control: tag -2 + sid bookworm
Control: clone -1 -3
Control: reassign -3 src:libobject-pad-slotattr-lazyinit-perl 0.04-2
Control: retitle -3 Object::Pad::SlotAttr::LazyInit is replaced by Object::Pad::FieldAttr::LazyInit
Control: severity -3 serious
Control: tag -2 + sid bookworm
Control: clone -1 -4
Control: reassign -4 src:libobject-pad-slotattr-trigger-perl 0.05-2
Control: retitle -4 Object::Pad::SlotAttr::Trigger is replaced by Object::Pad::FieldAttr::Trigger
Control: severity -4 serious
Control: tag -4 + sid bookworm
- cloning the bug for the 3 other affected packages
- marking them as serious as they currently block the perl 5.34
  transition (by way of blocking the rebuilt arch:any libobject-pad-perl
  as it breaks the 4 autopkgtests); this could be ignored, but the
  4 packages are doomed anyway, so an RC bug makes removal from
  testing more transparent.


Cheers,
gregor

#1005016#23
Date:
2022-05-23 10:37:23 UTC
From:
To:
-=| gregor herrmann, 09.02.2022 21:18:13 +0100 |=-

I have just uploaded libobject-pad-fieldattr-final-perl to NEW. The
others will follow.

I guess the deprecated packages should go the RM route? Perhaps after
the new ones are accepted?

Not sure whether the waiting for the replacements to enter unstable is
strictly necessary. To me it just feels polite to possible users

#1005016#28
Date:
2022-05-23 15:16:23 UTC
From:
To:
\o/

Agreed.

s/users/user/ # →

% for p in libobject-pad-slotattr-final-perl libobject-pad-slotattr-isa-perl libobject-pad-slotattr-lazyinit-perl libobject-pad-slotattr-trigger-perl; popcon $p
libobject-pad-slotattr-final-perl
{'libobject-pad-slotattr-final-perl': 1}
libobject-pad-slotattr-isa-perl
{'libobject-pad-slotattr-isa-perl': 1}
libobject-pad-slotattr-lazyinit-perl
{'libobject-pad-slotattr-lazyinit-perl': 1}
libobject-pad-slotattr-trigger-perl
{'libobject-pad-slotattr-trigger-perl': 1}


Cheers,
gregor

#1005016#33
Date:
2022-06-24 19:29:45 UTC
From:
To:
Dear submitter,

as the package libobject-pad-slotattr-final-perl has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1013443

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)