Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 155088 - [RHEL4] Build bugs on x86_64, patches included
Summary: [RHEL4] Build bugs on x86_64, patches included
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: Pyrex
Version: 4.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Matthew Barnes
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-04-16 02:10 UTC by John Morris
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-10-02 15:41:50 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description John Morris 2005-04-16 02:10:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.4) Gecko/20050323 White Box/1.4.4-1.3.5.WB1

Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rembuild --rebuild


Additional info:

There are two issues with rebuilding this one on x86_64.  One is a totally bizarre segfault running dos2unix on a demo file.  I simply conditionaled this out with this at line 45:

# Segfaults for unknown reason on x86_64
%if "%{_arch}" != x86_64
dos2unix -k -c mac Demos/embed/Makefile.msc Demos/embed/Makefile.msc.static Demos/embed/README

Then a couple lines down is a partial patch for x86_64 building that is missing a line:

#hack to get around a bug in the python distutils on 64 bit archs
%if "%{_lib}" == "lib64"
# Added 050415 by, can't possibly work without the mkdir.
mkdir $RPM_BUILD_ROOT%{_libdir}
cp -r $RPM_BUILD_ROOT/usr/lib/* $RPM_BUILD_ROOT%{_libdir}/
rm -rf $RPM_BUILD_ROOT/usr/lib
perl -pi -e 's/\/usr\/lib\//\/usr\/lib64\//g' INSTALLED_FILES

Comment 2 RHEL Product and Program Management 2007-10-02 15:41:50 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request. 

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