Closed Bug 1521284 Opened 2 years ago Closed 2 years ago

config.log: No such file or directory when using multiple objdirs


(Firefox Build System :: General, defect)

Not set


(firefox66 fixed)

Tracking Status
firefox66 --- fixed


(Reporter: gkw, Assigned: glandium)



(Whiteboard: [fuzzblocker])


(1 file)

checking rustc version... 1.32.0
checking cargo version... 1.32.0
checking for rustdoc... /Users/fuzz5/.cargo/bin/rustdoc
checking for awk... /usr/bin/awk
checking for perl... /usr/bin/perl
checking for minimum required perl version >= 5.006... 5.018002
checking for full perl installation... yes 
checking for gmake... /usr/bin/make
checking for watchman... not found
checking for xargs... /usr/bin/xargs
checking for dsymutil... /usr/bin/dsymutil 
checking for mkfshfs... /sbin/newfs_hfs
checking for hfs_tool... not found
checking for autoconf... /usr/local/Cellar/autoconf213/2.13/bin/autoconf213
/Users/fuzz5/trees/mozilla-central/js/src/old-configure: line 531: /Users/fuzz5/shell-cache/js-dbg-64-clang-darwin-1db2248f4415/objdir-js/config.log: No such file or directory
ERROR: old-configure failed

Configure command on macOS 10.14:

sh /Users/fuzz5/trees/mozilla-central/js/src/configure --target=x86_64-apple-darwin17.7.0 --disable-xcode-checks --disable-jemalloc --enable-debug --enable-more-deterministic --with-ccache --enable-gczeal --enable-debug-symbols --disable-tests

autobisectjs shows this is probably related to the following changeset:

The first bad revision is:
user: Mike Hommey
date: Thu Jan 17 13:54:41 2019 +0000
summary: Bug 1520730 - Normalize the config log path before writing it in old-configure. r=froydnj

:glandium, is bug 1520730 a likely regressor?

Flags: needinfo?(mh+mozilla)

I think Windows is failing too, but let me know if a log is needed and I'll provide one next week.

This blocks fuzzing on Mac, at least.

Whiteboard: [fuzzblocker]
Severity: normal → blocker

bug 1520394 is more likely to be the regressor. I guess it doesn't work well with absolute paths in MOZ_OBJDIR.

Flags: needinfo?(mh+mozilla)
Blocks: 1520394
No longer blocks: 1520730

Because old-configure is only refreshed when, essentially, changes, hardcoded (absolute) paths don't necessarily
match the build environment of the current build.

So instead, use an environment variable that we pass from python
configure when invoking old-configure.

Also do dummy changes to so that old-configure is
refreshed at least once to get the environment-based value.

triaging, assigning to glandium since he attached patches

Assignee: nobody → mh+mozilla
Pushed by
Don't hardcode config.log path in old-configure. r=nalexander
Summary: SpiderMonkey build error after bug 1520730 landed → config.log: No such file or directory when using multiple objdirs
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.