RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1045378 - perl-App-cpanminus: does not build from source code
Summary: perl-App-cpanminus: does not build from source code
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl-App-cpanminus
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: perl-maint-list
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 1047906 1047907 1059183
Blocks: 952282 1465904
TreeView+ depends on / blocked
 
Reported: 2013-12-20 09:53 UTC by Florian Weimer
Modified: 2019-08-13 06:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 952281
Environment:
Last Closed: 2019-08-13 06:32:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 907464 0 unspecified CLOSED cpanm bundle lots of library and is not listed on fesco page 2021-02-22 00:41:40 UTC

Internal Links: 907464

Description Florian Weimer 2013-12-20 09:53:11 UTC
+++ This bug was initially created as a clone of Bug #952281 +++

This package bundles Perl sources obfuscated using App::FatPacker, which makes it very difficult to review.  Please remove the obfuscated code and replace it with proper dependencies.

(I have verified that the bundled version of Parse/CPAN/Meta.pm is actually used by putting a "die;" into it, which was executed.)

--- Additional comment from Petr Pisar on 2013-04-15 16:59:46 CEST ---

Can you explain the subject "Does not build from source code"?

--- Additional comment from Florian Weimer on 2013-04-15 17:07:29 CEST ---

bin/cpanm contains stuff like this:

use 5.006;use strict;use warnings;package CPAN::Meta::Converter;our$VERSION='2.130880';use CPAN::Meta::Validator;use CPAN::Meta::Requirements;use version 0.88 ();use Parse::CPAN::Meta 1.4400 ();sub _dclone {my$ref=shift;no warnings 'once';local*UNIVERSAL::TO_JSON=sub {return "$_[0]"};my$backend=Parse::CPAN::Meta->json_backend();return$backend->new->utf8->decode($backend->new->utf8->allow_blessed->convert_blessed->encode($ref))}my%known_specs=('2'=>'http://search.cpan.org/perldoc?CPAN::Meta::Spec','1.4'=>'http://module-build.sourceforge.net/META-spec-v1.4.html','1.3'=>'http://module-build.sourceforge.net/META-spec-v1.3.html[…]

I don't consider this source code.  The bundling of human-readable sources (as in previous versions) is problematic as well: <https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries>

--- Additional comment from Petr Pisar on 2013-04-15 17:22:15 CEST ---

I see.

Comment 2 Petr Pisar 2014-01-02 14:22:55 UTC
Unbundling this package will require to add following new modules:

aliased
CPAN::DistnameInfo
CPAN::Meta::Check
Module::CPANfile
version::vpp

That will require:

Add perl-aliased
Add perl-CPAN-DistnameInfo
Add perl-CPAN-Meta-Check
Add perl-Module-CPANfile
Rebase perl-version to 0.9903.

Those new package do not need any new dependencies.

Comment 8 Petr Pisar 2019-08-13 06:32:58 UTC
Resolving this issue requires adding new packages into the distribution. Because Red Hat Enterprise Linux 7 entered a maintenance phase 1 where no new features in a software are added, this request won't be fulfilled and will be closed. Please note that the reported issue does not manifest in Red Hat Enterprise Linux 8 where the package code is properly unbundled.


Note You need to log in before you can comment on or make changes to this bug.