Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436200 - dev-libs/nspr-4.9.2 cross-compiles nsinstall
Summary: dev-libs/nspr-4.9.2 cross-compiles nsinstall
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-09-25 11:42 UTC by Ambroz Bizjak
Modified: 2012-11-25 12:54 UTC (History)
0 users

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


Attachments
ebuild patch (nspr.patch,1.17 KB, patch)
2012-09-25 11:44 UTC, Ambroz Bizjak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2012-09-25 11:42:32 UTC
NSPR fails when cross-compiling - when the ebuild attempts to build a native-nsinstall, CFLAGS are kept, and the native compiler may be called with invalid flags.

Additionally, a native version of the "now" program is not built, causing failures embedding the build time into libraries (not fatal error).

Note that this bug seems to be unrelated to bug 415705 which IMO is just incorrect setup.

Reproducible: Always
Comment 1 Ambroz Bizjak 2012-09-25 11:44:29 UTC
Created attachment 324932 [details, diff]
ebuild patch

This ebuild patch fixes both problems.
Comment 2 Jory A. Pratt gentoo-dev 2012-11-25 12:54:48 UTC
Thanks for reporting, has landed in nspr-4.9.4