Bug 182514

Summary: perl-Unicode-Map8 does not work on x86_64
Product: [Fedora] Fedora Reporter: Aurelien Bompard <gauret>
Component: perl-Unicode-Map8Assignee: Aurelien Bompard <gauret>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa, paul, steve
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-29 13:00:44 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:
Bug Depends On:    
Bug Blocks: 179259, 211866    

Description Aurelien Bompard 2006-02-22 22:48:36 UTC
perl-Unicode-Map8 does not build on x86_64, and thus is ExcludeArch'ed.
The t/map8.t test fails on this arch.

Compilation warnings:

map8x.c: In function 'map8_recode8':
map8x.c:322: warning: pointer targets in passing argument 1 of 'strlen' differ
in signedness
map8x.c:315: warning: unused variable 'uc'
[...]
Map8.xs: In function 'to8_cb':
Map8.xs:84: warning: pointer targets in return differ in signedness
Map8.xs: In function 'XS_Unicode__Map8__empty_block':
Map8.xs:201: warning: comparison is always false due to limited range of data type
Map8.c: In function 'XS_Unicode__Map8_to16':
Map8.c:490: warning: pointer targets in initialization differ in signedness
Map8.xs: In function 'XS_Unicode__Map8_recode8':
Map8.xs:359: warning: implicit declaration of function 'map8_recode8'
Map8.c: At top level:
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/patchlevel.h:122: warning:
'local_patches' defined but not used

Comment 1 Ville Skyttä 2006-02-23 06:50:32 UTC
Clarification: test 2 in map8.t (the one that uses recode8()) crashes and dumps
core.

Comment 2 Ville Skyttä 2006-10-25 09:15:14 UTC
Applying the patches from the openSUSE package at 
http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/src/perl-Unicode-Map8-0.12-160.src.rpm 
seems to fix this for me on FC5 x86_64.

Comment 4 Paul Howarth 2006-10-29 08:44:01 UTC
(In reply to comment #3)
> I tried both patches from the openSuSE package, and it still does not build :
>
http://buildsys.fedoraproject.org/logs/fedora-6-extras/20441-perl-Unicode-Map8-0.12-10.fc6/
>
http://buildsys.fedoraproject.org/logs/fedora-5-extras/20442-perl-Unicode-Map8-0.12-10.fc5/

I don't see any patches being applied in %prep there...

Comment 5 Aurelien Bompard 2006-10-29 13:00:44 UTC
Please forgive me for wasting your time...
Built for devel, FC-6 and FC-5 on all archs