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

Bug 312777

Summary: net-libs/xulrunner-1.9.2-r4 fails to build libpr0n with shell error
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bsd+disabled, prefix
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://forums.mozillazine.org/viewtopic.php?f=42&t=1714605
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Groffen gentoo-dev 2010-04-02 11:08:49 UTC
Just a heads up in case you encounter it in some way too.

build dies with something like
/bin/sh -c: Syntax error on line 3: end of file
in modules/libpr0n/build

Same issue as in URL (http://forums.mozillazine.org/viewtopic.php?f=42&t=1714605), although I'm using Gentoo's bash, and not dash.  The original reporter also says with bash the same problem occurs.  I didn't dive into the details (whether it is a bash version problem), but the fix mentioned in the URL works for me, and the patch can be found in the Prefix overlay:
http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/net-libs/xulrunner/files/xulrunner-1.9.2-libpr0n-shellfix.patch?rev=57601
Comment 1 Jory A. Pratt gentoo-dev 2010-04-11 21:16:35 UTC
please open and upstream bug and cc mozilla alias upstream.
Comment 2 Jory A. Pratt gentoo-dev 2010-07-25 13:40:34 UTC
Grobian is the patch still needed?
Comment 3 Jory A. Pratt gentoo-dev 2010-07-25 13:40:50 UTC
Did not mean to close yet.
Comment 4 Fabian Groffen gentoo-dev 2010-07-25 19:06:16 UTC
I think we can scratch this bug until it occurs again.  Currently xulrunner doesn't compile at all on Solaris, seems jemalloc patch vanished.