Bug 92078 - perl-5.8.0-89.pre19525.1 fails t/uni/tr_utf8
Summary: perl-5.8.0-89.pre19525.1 fails t/uni/tr_utf8
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: perl
Version: 1.0
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Warren Togami
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-02 15:34 UTC by Blair Zajac
Modified: 2005-10-31 22:00 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-07-22 23:24:56 UTC


Attachments (Terms of Use)

Description Blair Zajac 2003-06-02 15:34:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.1.4322)

Description of problem:
It appears that applying the perl-5.8.0-backrev.patch to the perl
perl@19525 distribution causes the t/uni/tr_utf8 to fail:

t/uni/tr_utf8........................#     Failed test (uni/tr_utf8.t at line 
70
)
#          got: 'aÃ<91>æfÃ<93>âÃ<92>Ã<94>oÃq<99>òuçÃ<9C>Ã<9E>Ã1 34Ã6¤Ã9'
#     expected: 'aÃ<91>æÃ<93>â
fÃ<92>Ã<94>Ã<99>òçÃ<9C>Ã<9E>àoäqüèáuÃ<98>
ðéÃ<9B>Ã<99>Ã<96>é1ñ34ê6òÃ<97>9'
# Looks like you failed 1 tests of 7.
FAILED at test 7

When I remove this patch from the perl.spec file, this test passes
just fine.

I also tested this with perl@19613 and I got the same results.

I'm gussing there's a module somewhere that is checking Perl's
version number is greater than 5.8.0 and changing it's behavior.

This is when I compile this perl with the following steps:

        bzcat perl@19525.tbz | tar xf -
        mv perl perl@19525
        cd perl@19525

        : : patch -s -p1 < ../patches/perl-5.6.0-root.patch
        : patch -s -p1 < ../patches/perl-5.8.0-fhs.patch
        : patch -s -p1 < ../patches/perl-5.8.0-errno.patch
        : patch -s -p1 < ../patches/perl-5.8.0-notty.patch
        patch -s -p1 < ../patches/perl-5.8.0-sharedlinker.patch
        : : patch -s -p1 < ../patches/perl-5.8.0-links.patch
        patch -s -p1 < ../patches/perl-5.8.0-rpath-make.patch
        patch -s -p1 < ../patches/perl-5.8.0-s390.patch
        : patch -s -p1 < ../patches/perl-5.8.0-libdir64.patch
        : patch -s -p1 < ../patches/perl-5.8.0-Safe2.09.patch
        patch -s -p1 < ../patches/perl-5.8.0-backrev.patch
        find . -name \*.orig -exec rm -fv {} \;

./Configure \
  -Dprefix=/opt/$platform/installed/perl-5.8.0 \
  -Dcc=/opt/$platform/gcc/bin/gcc \
  -Doptimize="-O3 -march=i386 -mcpu=i686" \
  -Uinstallusrbinperl \
  -Ulocincpth \
  -Duseshrplib \
  -Dcf_email=blair@orcaware.com \
  -Ui_db \
  -Uversiononly \
  -Ubincompat5005 \
  -Dlibpth='/lib /usr/lib' \
  -Dlibspath='/lib /usr/lib' \
  -Dd_dosuid


Version-Release number of selected component (if applicable):
perl-5.8.0-89.pre19525.1

How reproducible:
Always

Steps to Reproduce:
1. Get perl-5.8.0-89.pre19525.1.src.rpm.
2. Compile it
3. Run make test
    

Additional info:

Comment 1 Warren Togami 2005-07-22 23:24:56 UTC
Due to inactivity assuiming this was fixed a while ago.  REOPEN and provide more
details if it is not fixed in RHEL3.


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