Commit Graph

5622 Commits

Author SHA1 Message Date
Mike Hommey
d747b65211 Bug 1617794 - Wrap Windows tools with Wine on cross builds. r=dmajor
Windows programs run via Wine don't like Unix absolute paths (they look
like command line arguments), so we need to use relative paths.

Mingw already run fxc2 via wine, but for some reason it doesn't care
about the Unix absolute paths. genshaders does need some adjustements to
run properly with the real fxc.

Now, on actual Windows, because the temporary directory where
tempfile.NamedTemporaryFile creates files by default is not necessarily
on the same drive as where the command runs from, a relative path can't
be constructed. So we also force the temporary file to be created in the
current (obj) directory.

There is no similar concern for other files because we only go from
objdir to srcdir, and the build system already doesn't support both
being on a separate drive.

While here, flush stdout when the genshared script writes to it, so that
the messages are printed out immediately rather than randomly, later,
after output from subprocesses.

Differential Revision: https://phabricator.services.mozilla.com/D64294

--HG--
extra : moz-landing-system : lando
2020-02-27 04:42:57 +00:00
Mohammad H Sekhavat
ca91501545 Bug 1617984 - Fix mach bootstrap failure on Archlinux when PKGDEST is set; r=firefox-build-system-reviewers,rstewart
Makepkg has a commented config in /etc/makepkg.conf to set the path for packages to be built:
```
#PKGDEST=/home/packages
```
When you uncommit this line, packages will be built in the specified path, instead of cwd. This causes the bootstrap script to fail.

This commit will override the PKGDEST config so that package is built in cwd and could be located by the following lines of script.

Differential Revision: https://phabricator.services.mozilla.com/D64195

--HG--
extra : moz-landing-system : lando
2020-02-26 16:33:24 +00:00
Andi-Bogdan Postelnicu
7120bcdd99 Bug 1583999 - Use non-unified sources in CompileDB. r=jwatt
Originally authored in part by Botond Ballo <botond@mozilla.com>.

Differential Revision: https://phabricator.services.mozilla.com/D64284

--HG--
extra : moz-landing-system : lando
2020-02-26 15:08:49 +00:00
Brindusan Cristian
298fec1282 Backed out changeset e343d3722e84 (bug 1583999) as requested by Andi on slack for landing with the wrong author name. CLOSED TREE 2020-02-26 17:05:12 +02:00
Botond Ballo
d670a75ef4 Bug 1583999 - Use non-unified sources in CompileDB. r=jwatt
Originally authored by Botond Ballo <botond@mozilla.com>.

Differential Revision: https://phabricator.services.mozilla.com/D64284

--HG--
extra : moz-landing-system : lando
2020-02-26 13:27:37 +00:00
Mike Hommey
356b8e5725 Bug 1617801 - Add UPX as an explicit dependency. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64008

--HG--
extra : moz-landing-system : lando
2020-02-26 04:00:01 +00:00
Noemi Erli
62198d5223 Backed out changeset 2d2e184a0ae9 (bug 1617801) for causing Windows bustages CLOSED TREE 2020-02-26 05:10:40 +02:00
Mike Hommey
117ea52648 Bug 1617801 - Add UPX as an explicit dependency. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64008

--HG--
extra : moz-landing-system : lando
2020-02-25 14:13:27 +00:00
Dorel Luca
94b3e8222d Backed out changeset b576251c3862 for tooltool related failures. CLOSED TREE 2020-02-25 00:10:00 +02:00
Ben Hearsum
8ab729edc1 No bug: Import latest tooltool client. r=jgraham,rail
Differential Revision: https://phabricator.services.mozilla.com/D63870

--HG--
extra : moz-landing-system : lando
2020-02-24 19:35:30 +00:00
Jonathan Watt
d0eeb047d5 Bug 1617389. When generating compile_commands.json, insert -ferror-limit before the file name. r=botond
This makes it easier to see the name of the file in the "command" field.

Differential Revision: https://phabricator.services.mozilla.com/D63769

--HG--
extra : moz-landing-system : lando
2020-02-22 21:35:10 +00:00
Nathan Froyd
284f79cb5f Bug 1617172 - copy extra libraries for Mac artifact builds; r=nalexander
The motivating change here was wpt-sync try pushes failing because
`libgraphitewasm.dylib` wasn't getting packaged in Mac artifact builds.
We add `libosclientcerts.dylib` because packaging was complaining about
that library as well.

Differential Revision: https://phabricator.services.mozilla.com/D63705

--HG--
extra : moz-landing-system : lando
2020-02-21 21:34:58 +00:00
Emilio Cobos Álvarez
0181023bd5 Bug 1617095 - Fix mach bootstrap interactive mode with python 3. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63661

--HG--
extra : moz-landing-system : lando
2020-02-21 14:19:44 +00:00
Mike Shal
6046e59875 Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

Differential Revision: https://phabricator.services.mozilla.com/D63437

--HG--
extra : moz-landing-system : lando
2020-02-21 00:05:04 +00:00
Csoregi Natalia
6360b24e80 Backed out 2 changesets (bug 1616630) for Android bustage. CLOSED TREE
Backed out changeset 15016546c954 (bug 1616630)
Backed out changeset dcb7dc51633b (bug 1616630)
2020-02-20 21:24:11 +02:00
Steve Fink
e2dda15912 Bug 1614518 - Followup fix to undo unneeded part of change that breaks tests
Differential Revision: https://phabricator.services.mozilla.com/D63533

--HG--
extra : moz-landing-system : lando
2020-02-20 19:10:07 +00:00
Steve Fink
e38809458a Bug 1614518 - Refactor method scanning when gathering commands r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62682

--HG--
extra : moz-landing-system : lando
2020-02-20 18:31:06 +00:00
Steve Fink
f30d0d3f35 Bug 1614518 - Allow using declaration order for listing subcommands in help output, and allow commands to be hidden. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62385

--HG--
extra : moz-landing-system : lando
2020-02-20 18:28:26 +00:00
Steve Fink
6c335b53f8 Bug 1614518 - Implement mach hazards command set for running the GC rooting hazard analysis. r=ahal,jonco,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62384

--HG--
extra : moz-landing-system : lando
2020-02-20 18:27:50 +00:00
Steve Fink
fb0884a86b Bug 1614518 - Make warnings.py py3-compatible r=ahal,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62382

--HG--
extra : moz-landing-system : lando
2020-02-20 18:33:10 +00:00
Steve Fink
68147f294f Bug 1614518 - Allow using internal name for selecting application to bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D62379

--HG--
extra : moz-landing-system : lando
2020-02-20 18:33:10 +00:00
Steve Fink
46dbe458f2 Bug 1614518 - Remove code only present for python 2.6 compatibility. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62378

--HG--
extra : moz-landing-system : lando
2020-02-11 17:16:45 +00:00
Mike Shal
a9c693112c Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

Differential Revision: https://phabricator.services.mozilla.com/D63437

--HG--
extra : moz-landing-system : lando
2020-02-20 16:22:38 +00:00
Lifan Zeng lifanfzeng
425e2db10a Bug 1608199 - Port devtools/client/styleeditor.dtd to Fluent, r=fluent-reviewers,flod,Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D59607

--HG--
extra : moz-landing-system : lando
2020-02-20 14:36:15 +00:00
Bastien Abadie
8a92639faf Bug 1609116 - Activate warnings for rustfmt on code review mode, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D59859

--HG--
extra : moz-landing-system : lando
2020-01-17 08:05:40 +00:00
Ricky Stewart
8528d9c4dd Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-19 21:50:50 +00:00
byron jones
095ba09dda Bug 1495394 - add mach install-moz-phab command; r=firefox-build-system-reviewers,chmanchester
Install moz-phab using the correct command for the current operating system as
per moz-phab's documentation.

Differential Revision: https://phabricator.services.mozilla.com/D59139

--HG--
extra : moz-landing-system : lando
2020-02-19 05:28:32 +00:00
Chris Manchester
80a9aac47f Bug 1616396 - Install rustc 1.41.0 in bootstrap r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D63258

--HG--
extra : moz-landing-system : lando
2020-02-18 22:00:34 +00:00
Mike Shal
d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Zibi Braniecki
8cf0edd469 Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-18 20:07:46 +00:00
Francesco Lodolo (:flod)
915b1c4d21 Bug 1616172 - Remove encoding when printing diff in Fluent migration tests r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D63128

--HG--
extra : moz-landing-system : lando
2020-02-18 10:00:30 +00:00
shindli
419596f741 Backed out changeset e5c72e92c4dc (bug 1613801) for causing bc permafailures in browser_privatebrowsing_windowtitle.js CLOSED TREE 2020-02-18 03:07:08 +02:00
Zibi Braniecki
53ffd7288a Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-17 14:39:00 +00:00
Nathan Froyd
017d4d5cdf Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

Differential Revision: https://phabricator.services.mozilla.com/D62799

--HG--
extra : moz-landing-system : lando
2020-02-13 23:40:13 +00:00
Axel Hecht
d2b5def99f Bug 1615873, remaining str-byte differences in fluent migration tests, r=flod
This fixes str-vs-bytes in code paths that are only executed
with unapplied migrations, where we validate some parts of the
generated commits.

Differential Revision: https://phabricator.services.mozilla.com/D63049

--HG--
extra : moz-landing-system : lando
2020-02-17 10:21:14 +00:00
Dan Mosedale
86c563adcd Bug 1547823 - Upgrade NodeJS from 8.x to 10.19.0 r=froydnj
NodeJS 8.x is End-of-Lifed and is no longer receiving security fixes.  10.19.0 is now the oldest Long Term Support version of NodeJS, and it has just been released with several HTTP security fixes.

Differential Revision: https://phabricator.services.mozilla.com/D62781

--HG--
extra : moz-landing-system : lando
2020-02-14 15:28:40 +00:00
Henrik Skupin
255a87c4a6 Bug 1573383 - [marionette] Remove firefox-puppeteer Python package. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61687

--HG--
extra : moz-landing-system : lando
2020-02-13 19:50:42 +00:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal
ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Coroiu Cristina
9526bf7b4d Backed out 3 changesets (bug 1610149) for instr bustage on a CLOSED TREE
Backed out changeset b815d0a94385 (bug 1610149)
Backed out changeset dfca4a56fa51 (bug 1610149)
Backed out changeset 0568028bb4dd (bug 1610149)
2020-02-14 01:14:05 +02:00
Nathan Froyd
1457e227c7 Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

Differential Revision: https://phabricator.services.mozilla.com/D62799

--HG--
extra : moz-landing-system : lando
2020-02-13 21:17:49 +00:00
Brindusan Cristian
e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Ricky Stewart
728d4108db Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-13 17:27:53 +00:00
Mike Shal
e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Julian
c23b87e26d Bug 1608215 - port pippki DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D59635

--HG--
extra : moz-landing-system : lando
2020-02-13 15:27:17 +00:00
shindli
b1e3726298 Backed out changeset 54f82c735487 (bug 1613263) for causing diff artifact bustages in generated-files.diff.txt CLOSED TREE 2020-02-13 03:51:15 +02:00
Ricky Stewart
3314dda593 Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-12 23:19:37 +00:00
Daniel Varga
8450e6f6d2 Backed out changeset 53f51116fad1 (bug 1608215) for causing browser chrome failure at security/manager/ssl/tests/mochitest/browser/browser_clientAuth_ui.js
CLOSED TREE
2020-02-12 14:56:35 +02:00
Julian
0eca4a9694 Bug 1608215 - port pippki DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D59635

--HG--
extra : moz-landing-system : lando
2020-02-12 11:03:10 +00:00
Chris Manchester
90b8c7c6b2 Bug 1613823 - Serialize cargo invocations in the build system, prioritizing gecko. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61961

--HG--
extra : moz-landing-system : lando
2020-02-11 21:51:56 +00:00