Bug 204208
Summary: | latest release has some module issues | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | justin |
Component: | perl | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.3 | CC: | perl-maint-list, redhat, rvokal |
Target Milestone: | --- | Keywords: | Rebase |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Rebase: Bug Fixes and Enhancements | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-09-17 12:50:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
justin
2006-08-26 21:58:31 UTC
wrt to the Scalar::Util issue - I can't reproduce it on any of my RHEL4 machines - [rnorwood@metropolis ~]$ perl -MScalar::Util=weaken -e 'weaken($var);' [rnorwood@metropolis ~]$ rpm -q perl perl-5.8.5-36.RHEL4 [rnorwood@metropolis ~]$ rpm -V perl [rnorwood@metropolis ~]$ cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 4) Can you give me some hints to reproduce this - or perhaps there's something 'up' with your test system. Thanks, -RN Happened here, too. Red Hat Enterprise Linux ES release 4 (Nahant Update 4) perl -e 'use Scalar::Util qw/weaken/;' results: Weak references are not implemented in the version of perl at -e line 0 BEGIN failed--compilation aborted. (same as above) The simple fix -- sudo cpan -f Scalar::Util (perl obligingly replaces the broken Scalar::Util with an up-to-date one.) Uh, OK... Yeah, that's what I did before I submitted this bug report to get my installs working. But that's not a fix - its a work around. The bug is that the Redhat packaged version of Scalar::Util is built incorrectly. Thanks for documenting the workaround. I probably should have included it in the original report so other people could get past this faster. I encountered this, on a box where someone had probably used CPAN. There were two versions of Scalar::Util and List::Util in @INC. The first was the CPAN version, the second was the RPM version. Removing the CPAN version solved the problem for me. You can pretty easily find the files to remove by running something like this: find /usr/lib* -path '*/Scalar/Util.pm' | xargs rpm -qf | grep 'not owned' find /usr/lib* -path '*/List/Util.pm' | xargs rpm -qf | grep 'not owned' #4 that's correct. The mixed up executables from cpan and rpm are the problem. The correct solution is change installation paths, which is impossible for stable major releases. So I can update those two often mentioned modules on the latest version. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |