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

2022-05-23 Thread gregor herrmann
On Mon, 23 May 2022 10:37:23 +, Damyan Ivanov wrote:

> > > 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

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

\o/
 
> I guess the deprecated packages should go the RM route? 

Agreed.

> 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

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

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   


signature.asc
Description: Digital Signature


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

2022-05-23 Thread Damyan Ivanov
-=| gregor herrmann, 09.02.2022 21:18:13 +0100 |=-
> > % 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
> 
> Alright, making this a bit more formal:
> - 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.

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

-- Damyan



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

2022-02-09 Thread gregor herrmann
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

On Sat, 05 Feb 2022 15:27:46 +0100, gregor herrmann wrote:

> 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

Alright, making this a bit more formal:
- 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

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   


signature.asc
Description: Digital Signature


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

2022-02-05 Thread gregor herrmann
Source: libobject-pad-slotattr-final-perl
Version: 0.04-2
Severity: normal
X-Debbugs-Cc: Jonas Smedegaard 

-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+iWJfFIAALgAo
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-