Open
Bug 1474720
Opened 8 years ago
Updated 4 years ago
./mach build package fails "ERROR: The following duplicated files are not allowed"
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
NEW
People
(Reporter: haik, Unassigned)
Details
When running "./mach build package" on central, I sometimes encounter failures due to the following problem. I can resolve it by manually deleting all but the first file mentioned.
0:11.65 WARNING: Found 33 duplicated files taking 330407 bytes (uncompressed)
0:11.65 ERROR: The following duplicated files are not allowed:
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/content/aboutdebugging/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/modules/devtools/client/aboutdebugging/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/content/performance-new/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/modules/devtools/client/performance-new/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/content/netmonitor/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/modules/devtools/client/netmonitor/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/content/application/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/modules/devtools/client/application/initializer.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/content/responsive.html/index.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/modules/devtools/client/responsive.html/index.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/content/scratchpad/scratchpad.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/modules/devtools/client/scratchpad/scratchpad.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/content/inspector/inspector.js
0:11.65 Nightly.app/Contents/Resources/browser/chrome/devtools/modules/devtools/client/inspector/inspector.js
0:11.65 make[3]: *** [stage-package] Error 1
0:11.66 make[2]: *** [make-package] Error 2
0:11.66 make[1]: *** [default] Error 2
0:11.67 make: *** [package] Error 2
0:11.70 310 compiler warnings present.
My most recent changeset is
424776:a0e47ebc4c06
Tue Jul 03 11:55:46 2018 +0300
Merge inbound to mozilla-central a=merge
Comment 1•8 years ago
|
||
Is this still reproducing or did it go away over time?
I wonder why you are seeing this and others aren't. Perhaps nobody else runs `mach build package` locally for browser/ builds?
Flags: needinfo?(haftandilian)
| Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #1)
> Is this still reproducing or did it go away over time?
I have my repo in a reproducible state now. I'm not sure what triggers it to reproduce after I manually delete the duplicates. Normally, after manually deleting the duplicates, "mach build package" continues to work after small rebuilds.
> I wonder why you are seeing this and others aren't. Perhaps nobody else runs
> `mach build package` locally for browser/ builds?
I think that's right--I suspect most developers don't need to run "mach build package". I only use it when I want to manually test a build on one of my alternate machines that doesn't have a repo on it. For example, to test on an a machine running an old OS version because I'm often working on OS-specific code.
Here is my MOZCONFIG.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-opt.noindex
mk_add_options AUTOCLOBBER=1
mk_add_options AUTOCONF=/usr/local/Cellar/autoconf213/2.13/bin/autoconf213
export MOZ_TELEMETRY_REPORTING=1
ac_add_options --enable-optimize
ac_add_options --with-ccache
ac_add_options --enable-dtrace
ac_add_options --enable-tests
ac_add_options --enable-eme=widevine
Flags: needinfo?(haftandilian)
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•