Open
Bug 1052560
Opened 11 years ago
Updated 2 years ago
Shell doesn't run scripts with a very long #! interpreter
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: oleksiy.avramchenko, Unassigned)
References
Details
Attachments
(1 file)
1.96 KB,
patch
|
glandium
:
review-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140715215003
Steps to reproduce:
Running config.status scripts from subconfigure.py via shell -c won't work for the python scripts with very long #! interpteter name, causing FXOS gecko build to fail. Seems to start after bug #1046533 merge. This happens on Ubuntu 12.04 and most likely bash is to blaim.
It's hidden on normal runs when source tree is located close to the /, but our build servers got affected where tree is checked out into the quite long directory name where final #! /*/_virtualenv/bin/python is like 170 chars long.
For the local quick fix we changed the subconfigure.py to read the first line of the script and use the specified interpreter instead of data['shell'] -c.
Reporter | ||
Comment 1•11 years ago
|
||
Sample patch of the quick local workaround.
Comment 3•11 years ago
|
||
Comment on attachment 8471701 [details] [diff] [review]
0001-Call-exact-interpreter-for-the-config.status.patch
Review of attachment 8471701 [details] [diff] [review]:
-----------------------------------------------------------------
That will break on windows because /bin/sh won't be recognized.
Attachment #8471701 -
Flags: review-
Updated•11 years ago
|
Flags: needinfo?(mh+mozilla)
Comment 4•11 years ago
|
||
(In reply to Loic from comment #2)
> CC for review.
Loic, it's the second time you needinfo? me for a review. Please use the review? flag on the patch to review instead.
(In reply to Mike Hommey [:glandium] from comment #4)
> (In reply to Loic from comment #2)
> > CC for review.
>
> Loic, it's the second time you needinfo? me for a review. Please use the
> review? flag on the patch to review instead.
Yeah, sorry, I'm not very familiar with reviewing, and as I only sort bugs (so I use needinfo? a lot), I forgot to use the review? flag. :)
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
Comment 9•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 3 duplicates.
:ahochheiden, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(ahochheiden)
Comment 10•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Flags: needinfo?(ahochheiden)
You need to log in
before you can comment on or make changes to this bug.
Description
•