Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244463 - =dev-libs/nspr-4.7.1 emerge fails due to failing 32/64 bit check
Summary: =dev-libs/nspr-4.7.1 emerge fails due to failing 32/64 bit check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-26 13:16 UTC by Ramon
Modified: 2008-10-26 13:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
64/32 bit check patch for OSX (nspr-4.7.1.ebuild-prefix.patch,297 bytes, patch)
2008-10-26 13:17 UTC, Ramon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2008-10-26 13:16:51 UTC
The emerge of nspr-4.7.1 fails due to the 32/64 bit check in the ebuild.
It compiles an empty file and checks the resulting .o file with the filetype.

OSX returns i386 instead of 32-bit/64-bit 

Assuming that i386 always means 32-bit I added an appropiate extra case statement in the patch. The ebuild build correctly for me after that

Reproducible: Always

Steps to Reproduce:
1.emerge =dev-libs/nspr-4.7.1
2.
3.
Comment 1 Ramon 2008-10-26 13:17:50 UTC
Created attachment 169927 [details, diff]
64/32 bit check patch for OSX

64/32 bit check patch for OSX
Comment 2 Fabian Groffen gentoo-dev 2008-10-26 13:26:03 UTC
I checked in a slightly different patch with the same effect, thanks!