Bug 155088 - [RHEL4] Build bugs on x86_64, patches included
Summary: [RHEL4] Build bugs on x86_64, patches included
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: Pyrex
Version: 4.0
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Matthew Barnes
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2007-10-02 15:41:50 UTC
Target Upstream Version:
Embargoed:


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:
Always

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
%endif

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 jmorris, 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
%endif

Comment 2 RHEL 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.