Open Bug 1052516 Opened 10 years ago Updated 2 years ago

`mach build toolkit` throw an exception

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: zer0, Unassigned)

Details

It's only recently that is happening.

On OS X 1.9.2, once firefox is built using `./mach build`, if I try to execute `./mach build toolkit` I got this exception:

../../../../config/nsinstall: cannot access ../../../../dist/bin/updater: No such file or directory

And the build is interrupted.

I used to execute this command to update the build with only the changes in toolkit without rebuild everything every time.

Notice that I also wiped out my m-c repo to start by scratch, in order to exclude that something get wrong in my obj folder; but I got the same result.
I assume this is fallout from some recent build refactoring. Presumably this shouldn't error.
I presume mach build foo does install-manifests first, which removes stuff from dist/bin...

With that said, mach build foo is not really a good way to do what you want to do. Either do mach build binaries or mach build the/exact/directory/you/want
(In reply to Mike Hommey [:glandium] from comment #2)

> With that said, mach build foo is not really a good way to do what you want
> to do. Either do mach build binaries or mach build
> the/exact/directory/you/want

I solved eventually using this approach, however the previous one was useful 'cause I do not have to call every single subdir where I did the changes.
Partial tree builds should run install-manifests in "no remove" mode.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.