Closed Bug 1003537 Opened 10 years ago Closed 10 years ago

Configure fails to run js/src/config.status when it is not executable

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla32

People

(Reporter: mshal, Assigned: glandium)

Details

Attachments

(1 file)

From configure:

...
configure: WARNING: unrecognized options: --with-compiler-wrapper
Traceback (most recent call last):
  File "/home/mshal/mozilla-central-git/build/subconfigure.py", line 135, in <module>
    dump(CONFIG_DUMP, sys.argv[2])
  File "/home/mshal/mozilla-central-git/build/subconfigure.py", line 92, in dump
    stderr=subprocess.STDOUT).splitlines()
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['/bin/sh', '-c', './config.status --help']' returned non-zero exit status 126
configuring in js/src
...

This seems to be because obj/js/src/config.status is generated without the execute bit (because JS_STANDALONE isn't set). However, configure still tries to run it.

Note this doesn't actually cause configure to fail normally, but when run through mozharness, the "Traceback" message is picked up as an error.

glandium says this is a side-effect of bug 969164.
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Attachment #8414880 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/5e319b96c52f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: