Perl problems on Fedora 9

Eli Wapniarski eli at orbsky.homelinux.org
Thu May 7 11:33:49 IST 2009


To paraphrase... Here is my report of the bad, the ugly and the good.

----------
THE BAD
----------
Two packages will not rebuild at all due to testing errors. They are perl-Compress-Zlib-1.41-2.src.rpm and perl-Storable-2.16-3.src.rpm. The output is included below.

Please note Regarding  perl-Compress-Zlib-1.41:
A similar problem has been discussed with version 1.42 and may be related. This discussion can be found at:

http://www.nntp.perl.org/group/perl.perl5.porters/2007/05/msg124890.html


perl-Compress-Zlib-1.41-2.src.rpm

Test Summary Report
-------------------
t/02zlib.t    (Wstat: 0 Tests: 239 Failed: 12)
  Failed tests:  35-37, 43-45, 51-53, 60, 62, 64
t/03examples.t (Wstat: 0 Tests: 16 Failed: 1)
  Failed test:  6
Files=6, Tests=305,  1 wallclock secs ( 0.10 usr  0.02 sys +  0.77 cusr  0.16 csys =  1.05 CPU)
Result: FAIL
Failed 2/6 test programs. 13/305 subtests failed.
make: *** [test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.B48Mge (%build)



perl-Storable-2.16-3.src.rpm

t/utf8hash.t .......... 1/148 #     Failed test (t/utf8hash.t at line 63)
#     '�'
#         ne
#     '�'
Character in 'C' format wrapped in pack at t/utf8hash.t line 60.
Character in 'C' format wrapped in pack at t/utf8hash.t line 65.
#     Failed test (t/utf8hash.t at line 77)
#          got: '3'
#     expected: '4'
#     Failed test (t/utf8hash.t at line 63)
#     '�'
#         ne
#     '�'
Character in 'C' format wrapped in pack at t/utf8hash.t line 60.
Character in 'C' format wrapped in pack at t/utf8hash.t line 65.
#     Failed test (t/utf8hash.t at line 77)
#          got: '3'
#     expected: '4'
# Looks like you planned 148 tests but only ran 142.
t/utf8hash.t .......... Dubious, test returned 10 (wstat 2560, 0xa00)
Failed 10/148 subtests
t/weak.t .............. ok

Test Summary Report
-------------------
t/code.t            (Wstat: 0 Tests: 59 Failed: 2)
  Failed tests:  42-43
t/utf8hash.t        (Wstat: 2560 Tests: 142 Failed: 4)
  Failed tests:  1, 5, 72, 76
  Non-zero exit status: 10
  Parse errors: Bad plan.  You planned 148 tests but ran 142.
Files=32, Tests=2326,  4 wallclock secs ( 0.58 usr  0.11 sys +  2.38 cusr  0.45 csys =  3.52 CPU)
Result: FAIL
Failed 2/32 test programs. 6/2326 subtests failed.
make: *** [test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.ErIIWG (%build)


-----------
THE UGLY
-----------
A minor issue with a third package; perl-Net-DNS-0.65-1.src.rpm is that will stop to ask if you want to perform connectivity tests to a live external DNS server if it detects a live internet connection.

The following packages will not build due to architecture dependant libraries. But will build correctly if the Buildarch parameter is commented out or removed (This is true for Fedora 10 at least - I am unable to confirm one way or another if this is true for other RPM based distros).  These packages include:

perl-DBD-SQLite-1.21-1.src.rpm
perl-DBI-1.607-1.src.rpm
perl-Digest-MD5-2.36-3.src.rpm
perl-Digest-SHA1-2.11-2.src.rpm
perl-Filesys-Df-0.90-2.src.rpm
perl-IO-1.2301-4.src.rpm
perl-Net-DNS-0.65-1.src.rpm
perl-Sys-Syslog-0.27-1.src.rpm
perl-Time-HiRes-1.9707-3.src.rpm


Of course, I am unable to confirm one way or the other if perl-Compress-Zlib-1.41-2.src.rpm or perl-Storable-2.16-3.src.rpm due to the testing problem


------------
THE GOOD
------------
All other packages will rebuild as expected.


-----------------------------------------------
ONE FINAL NOTE FOR COMPLETION'S SAKE
-----------------------------------------------
If rebuilding the RPMs manually and there is the .rpmacro that install.sh generates is not in place then none of the SRPM's will rebuild with the SPEC files as is.  The reason being is that rebuilding the modules include documentation and other files that, while found by the rpm build process are not included in the install process while rebuilding. I am assuming that this is due to the fact that different distros use different macros to denote default locations in the file system (don't you just love politics). In any case. If rebuiliding the srpms manually you will either have to modify the specs, or manually create .rpmacro file manually in the home folder of the user which rebuilds the packages nd place the line

%_unpackaged_files_terminate_build 0

in the file.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list