Bug 434574
Summary: | Incompatibility between Scalar::Util and Compress::Zlib modules | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Stahlke <dan> |
Component: | perl-Compress-Zlib | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | alex, gvarisco, jpazdziora, kasal, rc040203, richard, rivenburgh, robin.norwood, tcallawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 5.8.8-36.fc8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-03-07 19:52:16 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
Dan Stahlke
2008-02-22 21:14:55 UTC
It appears that several other modules also have issue with Scalar::Util::dualvar not being available. This same bug has been reported in CentOS 3: http://bugs.centos.org/view.php?id=2434 Related discussion: http://www.perlmonks.org/?node_id=460411 The fix: perl -MCPAN -e shell force install Scalar::Util *** Bug 434617 has been marked as a duplicate of this bug. *** This bug has been tagged as a perl-Compress-Zlib bug but I think the root issue is with Scalar::Util which is part of the core perl modules. The issue is that the Scalar::Util::dualvar function is not available because the module has not been compiled with XS. The manpage for that module does not say that dualvar is only sometimes available which leads me to believe that the function is not supposed to disappear. Other modules besides Compress::Zlib also need dualvar. Except that I'm pretty darned sure that the Scalar::Util shipped in Fedora is compiled with XS. [spot@localhost ~]$ perl -e 'use Scalar::Util "dualvar"' [spot@localhost ~]$ rpm -q perl perl-5.8.8-31.fc9.x86_64 Something else strange is happening, the only time this "bug" ever comes out is when people start using modules from CPAN. Best guess? Something is overriding it. In CPAN is newer version with this part added. diff Scalar-List-Utils-1.18/Makefile.PL Scalar-List-Utils-1.19/Makefile.PL 36a37,42 > return <<'POST_CONST' if $^O eq 'MSWin32'; > > XSUBPPARGS = $(XSUBPPARGS) -typemap mytypemap > > POST_CONST > mytypemap could be used only for perl < 5.6.1 (wrote in mytypemap file). Could be bug in Scalar::Utils module? (In reply to comment #6) > In CPAN is newer version with this part added. > > diff Scalar-List-Utils-1.18/Makefile.PL Scalar-List-Utils-1.19/Makefile.PL > 36a37,42 > > return <<'POST_CONST' if $^O eq 'MSWin32'; But this only concerns MS Windows. Anyway, as per spot's comment, the dualvar seems to be there in Scalar::Util distributed in perl rpm in Fedora 8. perl-5.8.8-35.fc8 has been submitted as an update for Fedora 8 In testing repository for F-8 will be updated perl-5.8.8-35 with the same version of Scalar::Util as is in cpan. Please let me know, if it's worked for you. yum --enablerepo=updates-testing install perl perl-5.8.8-35.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update perl'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2164 there is no updated 64 bit perl version in testing, so I couldn't test this, sorry The package perl-5.8.8-36 upgrade the Scalar::Util on the latest version. The problem with XS support, weaken and other functions provided by Scalar::Util should be fixed by this update. If you problem persist, please feel free to reopen the bug. perl-5.8.8-36.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |