package cupt
tags 541470 + pending
thanks

Cyril Brulebois wrote:
> Package: cupt
> Version: 0.5.2
> Severity: important
> 
> Hi,
Hi,

> 
> please find below a transcript with different states on sid/amd64.
> 
> cupt/libcupt-perl 0.5.1, apt cache several days old:
> | $ cupt showsrc automake
> | W: attempt to set wrong option 'unattended-upgrade::allowed-origins'
> | Can't locate object method "is_installed" via package 
> "Cupt::Cache::SourceVersion" at /usr/share/perl5/Cupt/Cache/Package.pm line 
> 230, <$fh> line 19.
> |  at /usr/share/perl5/Cupt/Cache/Package.pm line 230
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 202
> |     
> Cupt::Cache::Package::_merge_version('Cupt::Cache::Package=ARRAY(0x29a6508)', 
> 'Cupt::Cache::SourceVersion=HASH(0x51fdcb8)', 'ARRAY(0x23292c8)') called at 
> /usr/share/perl5/Cupt/Cache/Package.pm line 102
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 89
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x29a6508)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 480
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x258c7f8)', 
> 'Cupt::Cache::Package=ARRAY(0x29a6508)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 512
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x258c7f8)', 
> 'Cupt::Cache::Package=ARRAY(0x29a6508)') called at /usr/bin/cupt line 247
> |     main::select_package_version('automake', 'CODE(0x247e320)', 0) called 
> at /usr/bin/cupt line 267
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 306
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 503
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/share/perl5/Cupt/Cache/Package.pm 
> line 247
> |     
> Cupt::Cache::Package::_merge_version('Cupt::Cache::Package=ARRAY(0x29a6508)', 
> 'Cupt::Cache::SourceVersion=HASH(0x51fdcb8)', 'ARRAY(0x23292c8)') called at 
> /usr/share/perl5/Cupt/Cache/Package.pm line 102
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 89
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x29a6508)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 480
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x258c7f8)', 
> 'Cupt::Cache::Package=ARRAY(0x29a6508)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 512
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x258c7f8)', 
> 'Cupt::Cache::Package=ARRAY(0x29a6508)') called at /usr/bin/cupt line 247
> |     main::select_package_version('automake', 'CODE(0x247e320)', 0) called 
> at /usr/bin/cupt line 267
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 306
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 503
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/share/perl5/Cupt/Cache/Package.pm 
> line 111
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x29a6508)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 480
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x258c7f8)', 
> 'Cupt::Cache::Package=ARRAY(0x29a6508)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 512
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x258c7f8)', 
> 'Cupt::Cache::Package=ARRAY(0x29a6508)') called at /usr/bin/cupt line 247
> |     main::select_package_version('automake', 'CODE(0x247e320)', 0) called 
> at /usr/bin/cupt line 267
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 306
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 503
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/bin/cupt line 123
> |     main::main() called at /usr/bin/cupt line 135
This one is what you pointed me on IRC, and is fixed in master branch.

> 
> same versions, apt cache uptodate:
> | $ cupt showsrc automake
> | W: attempt to set wrong option 'unattended-upgrade::allowed-origins'
> | Can't locate object method "is_installed" via package 
> "Cupt::Cache::SourceVersion" at /usr/share/perl5/Cupt/Cache/Package.pm line 
> 230, <$fh> line 19.
> |  at /usr/share/perl5/Cupt/Cache/Package.pm line 230
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 202
> |     
> Cupt::Cache::Package::_merge_version('Cupt::Cache::Package=ARRAY(0x2b09080)', 
> 'Cupt::Cache::SourceVersion=HASH(0x533d0b8)', 'ARRAY(0x24622c8)') called at 
> /usr/share/perl5/Cupt/Cache/Package.pm line 102
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 89
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x2b09080)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 480
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x26c57f8)', 
> 'Cupt::Cache::Package=ARRAY(0x2b09080)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 512
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x26c57f8)', 
> 'Cupt::Cache::Package=ARRAY(0x2b09080)') called at /usr/bin/cupt line 247
> |     main::select_package_version('automake', 'CODE(0x25b7320)', 0) called 
> at /usr/bin/cupt line 267
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 306
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 503
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/share/perl5/Cupt/Cache/Package.pm 
> line 247
> |     
> Cupt::Cache::Package::_merge_version('Cupt::Cache::Package=ARRAY(0x2b09080)', 
> 'Cupt::Cache::SourceVersion=HASH(0x533d0b8)', 'ARRAY(0x24622c8)') called at 
> /usr/share/perl5/Cupt/Cache/Package.pm line 102
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 89
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x2b09080)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 480
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x26c57f8)', 
> 'Cupt::Cache::Package=ARRAY(0x2b09080)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 512
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x26c57f8)', 
> 'Cupt::Cache::Package=ARRAY(0x2b09080)') called at /usr/bin/cupt line 247
> |     main::select_package_version('automake', 'CODE(0x25b7320)', 0) called 
> at /usr/bin/cupt line 267
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 306
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 503
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/share/perl5/Cupt/Cache/Package.pm 
> line 111
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x2b09080)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 480
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x26c57f8)', 
> 'Cupt::Cache::Package=ARRAY(0x2b09080)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 512
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x26c57f8)', 
> 'Cupt::Cache::Package=ARRAY(0x2b09080)') called at /usr/bin/cupt line 247
> |     main::select_package_version('automake', 'CODE(0x25b7320)', 0) called 
> at /usr/bin/cupt line 267
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 306
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 503
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/bin/cupt line 123
> |     main::main() called at /usr/bin/cupt line 135
> 
> cupt/libcupt-perl upgraded to 0.5.2, apt cache uptodate:
> | $ cupt showsrc automake                  
> | W: attempt to set wrong option 'unattended-upgrade::allowed-origins'
> | Can't locate object method "is_installed" via package 
> "Cupt::Cache::SourceVersion" at /usr/share/perl5/Cupt/Cache/Package.pm line 
> 230, <$fh> line 19.
> |  at /usr/share/perl5/Cupt/Cache/Package.pm line 230
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 202
> |     
> Cupt::Cache::Package::_merge_version('Cupt::Cache::Package=ARRAY(0x264f018)', 
> 'Cupt::Cache::SourceVersion=HASH(0x4e52080)', 'ARRAY(0x1f5cc88)') called at 
> /usr/share/perl5/Cupt/Cache/Package.pm line 102
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 89
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x264f018)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 479
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x21e08a8)', 
> 'Cupt::Cache::Package=ARRAY(0x264f018)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 511
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x21e08a8)', 
> 'Cupt::Cache::Package=ARRAY(0x264f018)') called at /usr/bin/cupt line 249
> |     main::select_package_version('automake', 'CODE(0x20cdf70)', 0) called 
> at /usr/bin/cupt line 269
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 308
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 505
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/share/perl5/Cupt/Cache/Package.pm 
> line 247
> |     
> Cupt::Cache::Package::_merge_version('Cupt::Cache::Package=ARRAY(0x264f018)', 
> 'Cupt::Cache::SourceVersion=HASH(0x4e52080)', 'ARRAY(0x1f5cc88)') called at 
> /usr/share/perl5/Cupt/Cache/Package.pm line 102
> |     eval {...} called at /usr/share/perl5/Cupt/Cache/Package.pm line 89
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x264f018)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 479
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x21e08a8)', 
> 'Cupt::Cache::Package=ARRAY(0x264f018)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 511
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x21e08a8)', 
> 'Cupt::Cache::Package=ARRAY(0x264f018)') called at /usr/bin/cupt line 249
> |     main::select_package_version('automake', 'CODE(0x20cdf70)', 0) called 
> at /usr/bin/cupt line 269
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 308
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 505
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/share/perl5/Cupt/Cache/Package.pm 
> line 111
> |     
> Cupt::Cache::Package::get_versions('Cupt::Cache::Package=ARRAY(0x264f018)') 
> called at /usr/share/perl5/Cupt/Cache.pm line 479
> |     Cupt::Cache::get_sorted_pinned_versions('Cupt::Cache=HASH(0x21e08a8)', 
> 'Cupt::Cache::Package=ARRAY(0x264f018)') called at 
> /usr/share/perl5/Cupt/Cache.pm line 511
> |     Cupt::Cache::get_policy_version('Cupt::Cache=HASH(0x21e08a8)', 
> 'Cupt::Cache::Package=ARRAY(0x264f018)') called at /usr/bin/cupt line 249
> |     main::select_package_version('automake', 'CODE(0x20cdf70)', 0) called 
> at /usr/bin/cupt line 269
> |     main::select_source_package_version('automake', 1) called at 
> /usr/bin/cupt line 308
> |     main::select_package_versions_wildcarded('automake', 'source') called 
> at /usr/bin/cupt line 505
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/bin/cupt line 123
> |     main::main() called at /usr/bin/cupt line 135
The same should apply for all above.

> And on another environment, kfreebsd-i386, cupt/libcupt-perl 0.5.2 and
> apt cache uptodate:
> | W: error while verifying signature for file 
> '/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_sid_Release'
> | Package: automake
> | Binary: automake1.4
> | Version: 1:1.4-p6-13
> | Priority: optional
> | Section: devel
> | Maintainer: Eric Dorland <[email protected]>
> | Architecture: all
> | Build-Depends: autotools-dev (>= 20010511.2), cdbs, debhelper (>> 4.0)
> | Build-Depends-Indep: texinfo
> | tarball: 
> |   Size: 366KiB
> |   MD5: e0c2b73994a3259a15687840bccd9f6b
> | Use of uninitialized value in print at /usr/bin/cupt line 500, <$fh> line 
> 19.
> |  at /usr/bin/cupt line 500
> |     main::__ANON__('  SHA1', undef) called at /usr/bin/cupt line 542
> |     main::show_source_package_versions() called at /usr/bin/cupt line 121
> |     eval {...} called at /usr/bin/cupt line 120
> |     main::main() called at /usr/bin/cupt line 135
> |  at /usr/share/perl5/Cupt/Core.pm line 95
> |     Cupt::Core::mycatch() called at /usr/bin/cupt line 123
> |     main::main() called at /usr/bin/cupt line 135
> |   SHA1:
> 
> I guess it would make sense to report such bugs against libcupt-perl,
> but since I'm not sure, filing this one against cupt, to make sure it's
> visible. Feel free to clarify on which basis I should decide whether to
> file against one or another of those packages.
The last is front-end (cupt) issue. I just fixed it in the master branch.

Just file the bugs about 'cupt' package, I will reassign on-demand, as there
is no quick criteria.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Maintainer

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to