Closed Bug 775627 Opened 12 years ago Closed 12 years ago

builds with existing objdir but updated srcdir fail to locate make-makefile

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: froydnj, Unassigned)

References

Details

Attachments

(1 file)

I've seen this when I've done something like:

(...autoconf calls...) && ./config.status --recheck && make -s

The failure I run into is:

make[3]: Entering directory `/home/froydnj/src/debug-mc'
cd js/src && /usr/bin/perl ../m-c.git/build/autoconf/make-makefile -t ../m-c.git/js/src -d . Makefile
Can't open perl script "../m-c.git/build/autoconf/make-makefile": No such file or directory

which seems to be due to:

http://mxr.mozilla.org/mozilla-central/source/config/rules.mk#1164

(notice that the cd command in there is not compensated for in the call to make-makefiles)

triggered by the lone instance of subsrcdir in the tree:

http://mxr.mozilla.org/mozilla-central/source/Makefile.in#228
It's working for me and for build slaves because topsrcdir is an absolute directory, here and there. Looks like it isn't for you.
Blocks: 771870
make-makefile has gone away, so this bug is moot.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
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: