Red Hat Bugzilla – Bug 453287
Review Request: perl-Term-ReadLine-Gnu - Perl extension for the GNU Readline/History Library
Last modified: 2015-05-08 12:56:27 EDT
An implementation of Term::ReadLine using the GNU Readline/History Library.
Note that this currently won't build on rawhide (and probably also Fedora 9),
unless you comment out the tests. Actually, the test themselves run fine, but
cause the interpreter to crash when it terminates. This is not particularly
limiting, but an annoyance and has an implication of changing the return value
of perl to indeicate failure (which causes the test suite to fail).
I'd appreciate if anyone helped me to debug the problem, since Perl internals
are not anything I would be especially familiar with. I've been given an advice
of recompiling perl with -DDEBUGGING flag, but given my limited computing powers
this is not going to happen soon. I have at least reported the issue upstream:
#37194: Term::ReadLine::Gnu causes panic during global destruction on perl 5.10
This is a tough one. Until the bug is fixed, I don't know if we want to have
this package in the distro because it may just cause bug reports for any
software which might use it. Below I'll just ignore the test suite, and I
wouldn't have any problems with approving it instantly were the test suite to
start working, but in the current state I just don't know what to do. Perhaps
talk to the fedora-perl-devel list and see if anyone there has an opinion.
* source files match upstream:
* package meets naming and versioning guidelines.
* specfile is properly named, is cleanly written and uses macros consistently.
* summary is OK.
* description is OK.
* dist tag is present.
* build root is OK.
* license field matches the actual license.
* license is open source-compatible.
* license text not included upstream.
* latest version is being packaged.
* BuildRequires are proper.
* compiler flags are appropriate.
* %clean is present.
* package builds in mock (rawhide, x86_64).
* package installs properly.
* debuginfo package looks complete.
* rpmlint is silent.
* final provides and requires are sane:
perl(Term::ReadLine::Gnu) = 1.17
perl-Term-ReadLine-Gnu = 1.17a-2.fc10
* no shared libraries are added to the regular linker search paths.
* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* no scriptlets present.
* code, not content.
* documentation is small, so no -doc subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.
(In reply to comment #2)
> This is a tough one. Until the bug is fixed, I don't know if we want to have
> this package in the distro because it may just cause bug reports for any
> software which might use it.
Fair enough; Thanks for the review.
Since I mostly care about having this in EPEL (where the bug either doesn't
exist, or is mitigated somehow), I'm wondering if I'll get an approval if I
promised not to build this in Fedora branches until this gets fixed?
So here's my poor attempt for a _temporary_ workaround for the problem.
Please note it totally sucks , but should not make any harm (unless someone
runs valgrind on perl). For more background see perl RT ticket , as it's a
bug in perl.
Soo there's probably a better solution to this problem: bug #453646
Hopefully the maintainers (I've mailed them) won't mind if that gets fixed with
I disabled visual bell test. While I plan to fix it, I don't think it should
block the review, as disabling non-critical tests is done for some packages
already in Fedora.
Note that with perl 5.10.0 older than 5.10.0-30 you'll probably trigger a perl
bug during building it. The fixed version of perl is already submitted as an update.
OK, at this point I'm going to say I'm happy. The failing tests are not due to
bugs in this package and indeed things work OK with a different version of Perl.
I suppose I could pull the -33.fc10 package out of koji and drop it into my
mock config and do a build but I don't really see the point. Please go ahead
and get this checked in, and thanks for tracking down the underlying problem.
Thanks for the patience, and the review, Jason.
New Package CVS Request
Package Name: perl-Term-ReadLine-Gnu
Short Description: Perl extension for the GNU Readline/History Library
Branches: F-8 F-9 EL-5
Cvsextras Commits: yes
Thanks Kevin && Marek.
Imported and built.
Package Change Request
Package Name: perl-Term-ReadLine-Gnu
New Branches: epel7
perl-Term-ReadLine-Gnu is needed by kpcli.
Git done (by process-git-requests).