Closed Bug 1367735 Opened 7 years ago Closed 7 years ago

Artifact builds fail on Windows with "The system cannot find the file specified"

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 10
defect
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: past, Assigned: chmanchester)

References

Details

Attachments

(1 file)

Lately 'mach clobber; mach build' fails for artifact builds on Windows. This is what I get with mozilla-build-3.0pre1 and what Marco gets with mozilla-build-2.2.0:

[...]
 1:11.48 mozilla-config.h
 1:11.72 buildid.h
 1:11.91 source-repo.h
 1:12.58 application.ini
 1:12.59 xpcom-config.h
 1:12.62 xpcshell.inc
 1:12.73 necko-config.h
 1:12.93 application.ini.h
 1:12.96 xpcom-private.h
 1:12.98 addons-public.inc
 1:13.29 addons-stage.inc
 1:13.42 CompositorD3D11Shaders.h
 1:13.45 domainsfallbacks.properties.h
 1:13.55 nsStyleStructList.h
 1:13.64 privileged-package-root.inc
 1:13.78 encodingsgroups.properties.h
 1:13.80 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerQuadVS -VnLayerQuadVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpk6n_tg
 1:13.80 Traceback (most recent call last):
 1:13.82   File "c:\mozilla-build-3.0pre1\python\Lib\runpy.py", line 174, in _run_module_as_main
 1:13.82     "__main__", fname, loader, pkg_name)
 1:13.83   File "c:\mozilla-build-3.0pre1\python\Lib\runpy.py", line 72, in _run_code
 1:13.83     exec code in run_globals
 1:13.83   File "c:\src\gecko\python\mozbuild\mozbuild\action\file_generate.py", line 108, in <module>
 1:13.83     sys.exit(main(sys.argv[1:]))
 1:13.83   File "c:\src\gecko\python\mozbuild\mozbuild\action\file_generate.py", line 63, in main
 1:13.83     ret = module.__dict__[method](output, *args.additional_arguments)
 1:13.83   File "c:/src/gecko/gfx/layers/d3d11/genshaders.py", line 26, in main
 1:13.83     return process_manifest(output_fp, input_filename)
 1:13.83   File "c:/src/gecko/gfx/layers/d3d11/genshaders.py", line 63, in process_manifest
 1:13.83     output_fp = output_fp)
 1:13.83   File "c:/src/gecko/gfx/layers/d3d11/genshaders.py", line 92, in run_fxc
 1:13.84     proc_stdout = subprocess.check_output(argv)
 1:13.84   File "c:\mozilla-build-3.0pre1\python\Lib\subprocess.py", line 212, in check_output
 1:13.84     process = Popen(stdout=PIPE, *popenargs, **kwargs)
 1:13.84   File "c:\mozilla-build-3.0pre1\python\Lib\subprocess.py", line 390, in __init__
 1:13.84     errread, errwrite)
 1:13.84   File "c:\mozilla-build-3.0pre1\python\Lib\subprocess.py", line 640, in _execute_child
 1:13.84     startupinfo)
 1:13.84 WindowsError: [Error 2] The system cannot find the file specified
 1:13.84 mozmake.EXE[5]: *** [backend.mk:10: CompositorD3D11Shaders.h] Error 1
 1:13.84 mozmake.EXE[5]: *** Deleting file 'CompositorD3D11Shaders.h'
 1:13.84 mozmake.EXE[4]: *** [c:/src/gecko/config/recurse.mk:100: gfx/layers/export] Error 2
 1:13.84 mozmake.EXE[4]: *** Waiting for unfinished jobs....
 1:14.06 labelsencodings.properties.h
 1:14.27 localesfallbacks.properties.h
 1:14.46 nonparticipatingdomains.properties.h
 1:14.65 mozmake.EXE[3]: *** [c:/src/gecko/config/recurse.mk:33: export] Error 2
 1:14.65 mozmake.EXE[2]: *** [c:/src/gecko/config/rules.mk:519: default] Error 2
 1:14.65 mozmake.EXE[1]: *** [c:/src/gecko/client.mk:419: realbuild] Error 2
 1:14.66 mozmake.EXE: *** [client.mk:170: build] Error 2
 1:14.69 0 compiler warnings present.


Strangely enough mozilla-build-2.3.0pre works for me:


[...]
 1:12.78 mozilla-config.h
 1:13.00 buildid.h
 1:13.20 source-repo.h
 1:13.78 xpcom-config.h
 1:13.79 application.ini
 1:13.83 xpcshell.inc
 1:13.87 necko-config.h
 1:14.16 application.ini.h
 1:14.18 xpcom-private.h
 1:14.20 addons-public.inc
 1:14.58 addons-stage.inc
 1:14.83 CompositorD3D11Shaders.h
 1:14.85 domainsfallbacks.properties.h
 1:14.92 nsStyleStructList.h
 1:15.00 privileged-package-root.inc
 1:15.20 encodingsgroups.properties.h
 1:15.54 labelsencodings.properties.h
 1:15.55 primaryCert.h
 1:15.95 secondaryCert.h
 1:15.97 localesfallbacks.properties.h
 1:16.13 xpidl.stub
 1:16.28 xpcshellCert.h
 1:16.32 nonparticipatingdomains.properties.h
 1:16.69 ExampleStylesheet.h
 1:17.46 c:\src\gecko\gfx\layers\d3d11\CompositorD3D11.hlsl(416,5): warning X4000: use of potentially uninitialized variable (ComputeBlendSourceColor)
 1:17.49 c:\src\gecko\gfx\layers\d3d11\CompositorD3D11.hlsl(432,5): warning X4000: use of potentially uninitialized variable (ComputeBlendSourceColor)
 1:17.52 c:\src\gecko\gfx\layers\d3d11\CompositorD3D11.hlsl(434,3): warning X4000: use of potentially uninitialized variable (ComputeBlendSourceColor)
 1:17.54
 1:17.72 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerQuadVS -VnLayerQuadVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpbaj4ej
 1:17.75 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerDynamicVS -VnLayerDynamicVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpjsh5gq
 1:17.80 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerQuadMaskVS -VnLayerQuadMaskVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpxjvx3e
 1:17.80 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerDynamicMaskVS -VnLayerDynamicMaskVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmp38mpkq
 1:17.80 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerQuadBlendVS -VnLayerQuadBlendVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpue6ddj
 1:17.81 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerQuadBlendMaskVS -VnLayerQuadBlendMaskVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmp2h3jgb
 1:17.82 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerDynamicBlendVS -VnLayerDynamicBlendVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmppb4lyg
 1:17.82 fxc -nologo -Tvs_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ELayerDynamicBlendMaskVS -VnLayerDynamicBlendMaskVS -Vi -DVERTEX_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmp83yfjo
 1:17.82 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ESolidColorShader -VnSolidColorShader -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpa9ak2v
 1:17.83 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ERGBShader -VnRGBShader -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpulrdqc
 1:17.83 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ERGBAShader -VnRGBAShader -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmp5abgcm
 1:17.84 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -EComponentAlphaShader -VnComponentAlphaShader -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpltk09o
 1:17.84 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -EYCbCrShader -VnYCbCrShader -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpmw0ldc
 1:17.84 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ENV12Shader -VnNV12Shader -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpjhw_tk
 1:17.84 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ESolidColorShaderMask -VnSolidColorShaderMask -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmp_6sbht
 1:17.85 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ERGBShaderMask -VnRGBShaderMask -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpgmitk4
 1:17.85 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ERGBAShaderMask -VnRGBAShaderMask -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmpbaqvpt
 1:17.85 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -EYCbCrShaderMask -VnYCbCrShaderMask -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmptklzyu
 1:17.85 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -ENV12ShaderMask -VnNV12ShaderMask -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmp_qdwxw
 1:17.85 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -EComponentAlphaShaderMask -VnComponentAlphaShaderMask -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmphkwvg8
 1:17.86 fxc -nologo -Tps_4_0_level_9_3 c:/src/gecko/gfx/layers/d3d11\CompositorD3D11.hlsl -EBlendShader -VnBlendShader -Vi -DPIXEL_SHADER -Fhc:\users\panagi~1\appdata\local\temp\tmp3dzxzv
 1:18.13 Elapsed: 0.38s; From ../../dist/idl: Kept 0 existing; Added/updated 1090; Removed 0 files and 0 directories.
 1:18.26 error_list.rs
 1:18.29 langGroups.properties.h
 1:18.34 etld_data.inc
 1:18.41 PropertyUseCounterMap.inc
 1:18.80 ErrorList.h
 1:18.92 xpcAccEvents.h
 1:18.93 UseCounterList.h
 1:19.39 ErrorNamesInternal.h
 1:19.45 TelemetryEventData.h
 1:20.04 TelemetryEventEnums.h
 1:20.29 wincharset.properties.h
 1:20.64 TelemetryHistogramData.inc
 1:21.32 TelemetryHistogramEnums.h
 1:21.75 TelemetryProcessData.h
 1:22.00 TelemetryProcessEnums.h
 1:22.25 TelemetryScalarData.h
 1:22.55 TelemetryScalarEnums.h
 1:23.88 pkcs11testmodule.dll.def
 1:24.84 Exporting extension to addon-manager.xpi.
 1:25.25 Exporting extension to author-email.xpi.
 1:25.66 Exporting extension to child_process.xpi.
 1:26.12 Exporting extension to chrome.xpi.
 1:26.55 Exporting extension to content-permissions.xpi.
 1:26.95 Exporting extension to content-script-messages-latency.xpi.
 1:27.30 Exporting extension to contributors.xpi.
 1:27.62 Exporting extension to curly-id.xpi.
 1:27.97 Exporting extension to developers.xpi.
 1:28.54 Exporting extension to e10s-content.xpi.
 1:28.94 Exporting extension to e10s-l10n.xpi.
 1:29.30 Exporting extension to e10s-remote.xpi.
 1:29.70 Exporting extension to e10s-tabs.xpi.
 1:30.11 Exporting extension to e10s.xpi.
 1:30.48 Exporting extension to embedded-webextension.xpi.
 1:30.96 Exporting extension to l10n-properties.xpi.
 1:30.96 c:\src\gecko\addon-sdk\source\python-lib\cuddlefish\xpi.py:22: UserWarning: Duplicate name: 'locale/'
 1:30.96   zf.writestr(dirinfo, "")
 1:31.41 Exporting extension to l10n.xpi.
 1:31.88 Exporting extension to layout-change.xpi.
 1:31.88 Warning: missing module: sdk/widget
 1:31.88 Warning: missing module: widget
 1:32.21 Exporting extension to main.xpi.
 1:32.56 Exporting extension to name-in-numbers-plus.xpi.
 1:32.90 Exporting extension to name-in-numbers.xpi.
 1:33.27 Exporting extension to packaging.xpi.
 1:33.68 Exporting extension to packed.xpi.
 1:34.05 Exporting extension to page-mod-debugger-post.xpi.
 1:34.44 Exporting extension to page-mod-debugger-pre.xpi.
 1:34.80 Exporting extension to page-worker.xpi.
 1:35.27 Exporting extension to places.xpi.
 1:35.59 Exporting extension to predefined-id-with-at.xpi.
 1:36.05 Exporting extension to preferences-branch.xpi.
 1:36.48 Exporting extension to private-browsing-supported.xpi.
 1:36.83 Exporting extension to remote.xpi.
 1:37.23 Exporting extension to require.xpi.
 1:37.56 Exporting extension to self.xpi.
 1:37.93 Exporting extension to simple-prefs-l10n.xpi.
 1:38.36 Exporting extension to simple-prefs-regression.xpi.
 1:38.82 Exporting extension to simple-prefs.xpi.
 1:39.14 Exporting extension to standard-id.xpi.
 1:39.51 Exporting extension to tab-close-on-startup.xpi.
 1:39.86 Exporting extension to toolkit-require-reload.xpi.
 1:39.86 Warning: missing module: ./toolkit-require-reload-child
 1:40.21 Exporting extension to translators.xpi.
 1:40.60 Exporting extension to unsafe-content-script.xpi.
 1:42.34 native-addon-test.xpi
 1:42.60 native-overrides-test.xpi
 1:44.49 tar: specialpowers/chrome/specialpowers/content/Assert.jsm: time stamp 2017-05-25 15:43:59 is 0.092 s in the future
 1:44.49 tar: specialpowers/chrome/specialpowers/content/MockColorPicker.jsm: time stamp 2017-05-25 15:43:59 is 0.088 s in the future
 1:44.49 tar: specialpowers/chrome/specialpowers/content/MockFilePicker.jsm: time stamp 2017-05-25 15:43:59 is 0.086 s in the future
 1:44.49 tar: specialpowers/chrome/specialpowers/content/MockPermissionPrompt.jsm: time stamp 2017-05-25 15:43:59 is 0.084 s in the future
 1:44.49 tar: specialpowers/chrome/specialpowers/content/MozillaLogger.js: time stamp 2017-05-25 15:43:59 is 0.082 s in the future
 1:44.49 tar: specialpowers/chrome/specialpowers/content/specialpowers.js: time stamp 2017-05-25 15:43:59 is 0.08 s in the future
 1:44.50 tar: specialpowers/chrome/specialpowers/content/specialpowersAPI.js: time stamp 2017-05-25 15:43:59 is 0.078 s in the future
 1:44.50 tar: specialpowers/chrome/specialpowers/content/SpecialPowersObserver.jsm: time stamp 2017-05-25 15:43:59 is 0.076 s in the future
 1:44.50 tar: specialpowers/chrome/specialpowers/content/SpecialPowersObserverAPI.js: time stamp 2017-05-25 15:43:59 is 0.074 s in the future
 1:44.51 tar: specialpowers/chrome/specialpowers/content: time stamp 2017-05-25 15:43:59 is 0.074 s in the future
 1:44.51 tar: specialpowers/chrome/specialpowers: time stamp 2017-05-25 15:43:59 is 0.073 s in the future
 1:44.51 tar: specialpowers/chrome: time stamp 2017-05-25 15:43:59 is 0.073 s in the future
 1:44.51 tar: specialpowers/chrome.manifest: time stamp 2017-05-25 15:43:59 is 0.071 s in the future
 1:44.51 tar: specialpowers: time stamp 2017-05-25 15:43:59 is 0.069 s in the future
 1:45.55   adding: install.rdf (172 bytes security) (deflated 53%)
 1:45.66   adding: plugins/nptest.dll (172 bytes security) (deflated 48%)
 1:45.68   adding: plugins/npsecondtest.dll (172 bytes security) (deflated 48%)
 1:45.71   adding: plugins/npthirdtest.dll (172 bytes security) (deflated 48%)
 1:45.73   adding: plugins/npswftest.dll (172 bytes security) (deflated 48%)
 1:59.74 Processing config: c:\mozilla-build-2.3.0pre\nsis-3.01\nsisconf.nsh
 1:59.92 Processing script file: "uninstaller.nsi" (ACP)
 2:00.89 warning: unknown variable/constant "AddTaskbarSC" detected, ignoring (macro:_==:1)
 2:00.92 warning: unknown variable/constant "AddTaskbarSC" detected, ignoring (macro:_==:1)
 2:01.29 warning: unknown variable/constant "AddTaskbarSC" detected, ignoring (macro:_==:1)
 2:01.32 warning: unknown variable/constant "AddTaskbarSC" detected, ignoring (macro:_==:1)
 2:01.87
 2:01.87 Processed 1 file, writing output (x86-unicode):
 2:01.87
 2:01.87 Output: "c:\src\gecko\obj-artifact\browser\installer\windows\instgen\helper.exe"
 2:01.88 Install: 1 page (64 bytes), 1 section (2072 bytes), 5529 instructions (154812 bytes), 2607 strings (19162 bytes), 1 language table (230 bytes).
 2:01.88 Uninstall: 4 pages (320 bytes), 1 section (2072 bytes), 2478 instructions (69384 bytes), 2008 strings (15204 bytes), 1 language table (306 bytes).
 2:01.88
 2:01.89 Using zlib compression.
 2:01.89
 2:01.89 EXE header size:               63488 / 38912 bytes
 2:01.90 Install code:                 176784 / 176780 bytes
 2:01.90 Install data:                 184588 / 184596 bytes
 2:01.90 Uninstall code+data:          459473 / 459465 bytes
 2:01.90 CRC (0xDCAF0421):                  4 / 4 bytes
 2:01.90
 2:01.90 Total size:                   884337 / 859757 bytes (102.8%)
 2:01.90
 2:01.91 1 warning:
 2:01.91   unknown variable/constant "AddTaskbarSC" detected, ignoring (macro:_==:1)
 2:02.37 Processing config: c:\mozilla-build-2.3.0pre\nsis-3.01\nsisconf.nsh
 2:02.37 Processing script file: "maintenanceservice_installer.nsi" (ACP)
 2:02.68
 2:02.68 Processed 1 file, writing output (x86-unicode):
 2:02.68
 2:02.68 Output: "c:\src\gecko\obj-artifact\browser\installer\windows\instgen\maintenanceservice_installer.exe"
 2:02.68 Install: 1 page (64 bytes), 1 section (2072 bytes), 552 instructions (15456 bytes), 718 strings (4448 bytes), 1 language table (210 bytes).
 2:02.68 Uninstall: 2 pages (192 bytes), 1 section (2072 bytes), 176 instructions (4928 bytes), 735 strings (6092 bytes), 1 language table (250 bytes).
 2:02.68
 2:02.68 Using zlib compression.
 2:02.68
 2:02.68 EXE header size:               64000 / 38912 bytes
 2:02.68 Install code:                  22694 / 22690 bytes
 2:02.68 Install data:                  11780 / 11788 bytes
 2:02.69 Uninstall code+data:           50986 / 50978 bytes
 2:02.70 CRC (0xD139BD53):                  4 / 4 bytes
 2:02.70
 2:02.70 Total size:                   149464 / 124372 bytes (120.1%)
 2:04.55 tar: mozscreenshots/browser/chrome/mozscreenshots/configurations/AppMenu.jsm: time stamp 2017-05-25 15:44:19 is 0.021 s in the future
 2:04.56 tar: mozscreenshots/browser/chrome/mozscreenshots/configurations/Buttons.jsm: time stamp 2017-05-25 15:44:19 is 0.016 s in the future
 2:04.56 tar: mozscreenshots/browser/chrome/mozscreenshots/configurations/ControlCenter.jsm: time stamp 2017-05-25 15:44:19 is 0.012 s in the future
 2:05.12 Packaging specialpowers@mozilla.org.xpi...
 2:05.44 Packaging quitter@mozilla.org.xpi...
 2:05.72 Packaging mozscreenshots@mozilla.org.xpi...
 2:06.09 0 compiler warnings present.
 2:06.15 Your build was successful!
To view resource usage of the build, run |mach resource-usage|.
To take your build for a test drive, run: |mach run|
For more information on what to do now, see https://developer.mozilla.org/docs/Developer_Guide/So_You_Just_Built_Firefox
I did a little IRC debugging with Panos and Marco today. This appears to be a PATH setting issue. Shells started via start-shell-msvc*.bat work correctly but not ones started with start-shell.bat. Sounds like there's an SDK we're not detecting correctly when compiling with MSVC 2015 (WFM locally with 2017).
Blocks: 1365859
Though non-artifact builds work fine, so maybe this isn't tied to a specific MSVC version (I only do full builds with 2017) but rather to the way artifact builds are created.
Artifact builds don't run toolchain configure tests, so some paths are left out of PATH.

I'd argue the problem is with generating C/C++ headers during artifact builds.
Assignee: nobody → cmanchester
For what it's worth, I'm a new owner of a Windows 10 machine and just started trying to follow "Building Firefox for Windows" on MDN [1]. I've got VS 2017 and MozillaBuild installed - and my local run of `mach build` errors out similarly [2]. 

Oh, and reading through previous comments - it seems significant to note that I started with start-shell.bat. I'll try one of the other scripts

Since I'm a WIndows dev newb, I don't have a whole lot of constructive feedback beyond this :/

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites
[2] https://pastebin.mozilla.org/9022743
Comment on attachment 8871499 [details]
Bug 1367735 - Do not attempt to generate or install headers or other compile related files during artifact builds.

https://reviewboard.mozilla.org/r/142966/#review146990

I would've thought we would just wrap the CompositorD3D11Shaders.h rule inside a COMPILE_ENVIRONMENT check, but this seems like a better way to go to avoid these issues in the future. I tried to double-check the diff to make sure nothing important was left out, and as far as I can tell it's all a bunch of headers or generated .cpp files needed for the compile-tier. So I think it should be good to go!
Attachment #8871499 - Flags: review?(mshal) → review+
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd5b808b19fd
Do not attempt to generate or install headers or other compile related files during artifact builds. r=mshal
(In reply to Les Orchard [:lorchard] from comment #5)
> For what it's worth, I'm a new owner of a Windows 10 machine and just
> started trying to follow "Building Firefox for Windows" on MDN [1]. I've got
> VS 2017 and MozillaBuild installed - and my local run of `mach build` errors
> out similarly [2]. 

Just to follow up on my own issue - this seems to have gone away when I disabled Kaspersky Endpoint Security 10. So that seems like a red herring for this bug.
I'm going to nit here, but this should be done at the frontend level, not the backend level (because it means every single backend will need to implement the filtering)
https://hg.mozilla.org/mozilla-central/rev/bd5b808b19fd
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
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: