Bug 92078

Summary: perl-5.8.0-89.pre19525.1 fails t/uni/tr_utf8
Product: [Retired] Red Hat Raw Hide Reporter: Blair Zajac <blair>
Component: perlAssignee: Warren Togami <wtogami>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-22 23:24:56 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 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 | 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 \
  -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.