Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 497892

Summary: dev-lang/spidermonkey - fix cross-compiling (jscpucfg has been removed)
Product: Gentoo Linux Reporter: James Le Cuirot <chewi>
Component: [OLD] DevelopmentAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://forums.gentoo.org/viewtopic-t-972548-start-0.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: spidermonkey-cross-compile.patch
spidermonkey-cross-compile.patch

Description James Le Cuirot gentoo-dev 2014-01-12 13:56:53 UTC
Created attachment 367706 [details, diff]
spidermonkey-cross-compile.patch

The cross-compiling fix introduced in bug #414473 is now broken because jscpucfg no longer exists. The problem is demonstrated by another user at https://forums.gentoo.org/viewtopic-t-972548-start-0.html. I didn't face the subsequent error he experienced but it seems unrelated. I tried to remove the entire cross-compiling fix to check whether it was necessary at all but unfortunately it still is.
Comment 1 James Le Cuirot gentoo-dev 2014-01-16 23:12:55 UTC
Created attachment 367972 [details, diff]
spidermonkey-cross-compile.patch

I've since found another cross-compile issue. It doesn't use ${CHOST}-pkg-config like most autotools-based packages do, but falls back to just pkg-config. This isn't because of the way they've messed with variables like CC but because seems to be because they're using such an old autoconf version. Here's an updated patch.

By the way, I've only looked at version 17 because that's the one required by policykit but it looks like the other versions are affected in the same way.
Comment 2 Jory A. Pratt gentoo-dev 2017-08-26 17:55:27 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team