Open Bug 1243321 Opened 8 years ago Updated 2 years ago

'mach configure' cannot find 'config.status' for 'js/src'

Categories

(Firefox Build System :: General, defect)

Unspecified
Linux
defect

Tracking

(firefox47 affected)

Tracking Status
firefox47 --- affected

People

(Reporter: tzimmermann, Unassigned)

Details

Attachments

(6 files)

Attached file mozconfig
I ran './mach configure' on Debian 8; m-c rev is 281584:c0ba5835ca48. It stops with the following error for js/src

> 0:09.35 js/src> checking for malloc.h... (cached) yes
> 0:09.35 js/src> checking whether malloc_usable_size definition can use const argument... no
> 0:09.35 js/src> checking for valloc in malloc.h... yes
> 0:09.35 js/src> checking for valloc in unistd.h... no
> 0:09.35 js/src> checking for setlocale... yes
> 0:09.35 js/src> checking for localeconv... (cached) yes
> 0:09.35 js/src> updating cache /home/mozilla/Projects/mozilla/src/hg.mozilla.org/mozilla-central/obj-x86_64-unknown-linux-gnu/config.cache
> 0:09.35 js/src> creating ./config.status
> 0:09.35 js/src> /bin/sh: 1: ./config.status: not found
> 0:09.35 
> 0:11.24 *** Fix above errors and then restart with\
> 0:11.24                "/usr/local/bin/make -f client.mk build"

There actually is a config.status in $MOZ_OBJDIR/js/src.

Running 'mach configure' a second time makes the process hang

> 0:01.89 checking for stdint.h... (cached) yes
> 0:01.89 checking for inttypes.h... (cached) yes
> 0:01.93 checking for posix_fadvise... (cached) yes
> 0:01.93 checking for posix_fallocate... (cached) yes
> 0:01.97 creating ./config.status
> 0:02.13 Exception in thread Thread-3:
> 0:02.13 Traceback (most recent call last):
> 0:02.13   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
> 0:02.13     self.run()
> 0:02.13   File "/usr/lib/python2.7/threading.py", line 763, in run
> 0:02.13     self.__target(*self.__args, **self.__kwargs)
> 0:02.13   File "/usr/lib/python2.7/multiprocessing/pool.py", line 380, in _handle_results
> 0:02.13     task = get()
> 0:02.13 TypeError: ('__init__() takes at least 3 arguments (1 given)', <class 'subprocess.CalledProcessError'>, ())
Please provide a complete log.

(Note your mozconfig is equivalent to an empty one, you might as well remove it)
Attached file config.log
> #!/home/mozilla/Projects/mozilla/src/firefoxos/hg.mozilla.org/mozilla-central/obj-x86_64-unknown-linux-gnu/_virtualenv/bin/python

I bet this line is too long.
IOW, try in to move your source directory in a location less deep.
OMG, this worked. Is this a problem in our tools, or elsewhere?
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: