first with the AVX config and than with the default .mozconfig (with just the Visual Studio paths changed) and both attempts failed with this error:
Code: Select all
0:05.56 UnicodeDecodeError: 'charmap' codec can't decode byte 0x88 in position 124: character maps to <undefined>
0:05.56 *** Fix above errors and then restart with\
0:05.56 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:05.56 mozmake.EXE: *** [client.mk;370: configure] Error 1
Full CMD log:
Code: Select all
2016@WIN-J11JD0N4CGO /c/palemoon-source
$ ./mach build
0:00.28 c:\mozilla-build\bin\mozmake.EXE -f client.mk MOZ_PARALLEL_BUILD=6 -s configure
0:02.19 cd c:/build/obj-pm-x64-avx-release
0:02.19 c:/palemoon-source/configure
0:02.61 Reexecuting in the virtualenv
0:02.81 Adding configure options from c:\palemoon-source\.mozconfig
0:02.81 --target=x86_64-pc-mingw32
0:02.81 --host=x86_64-pc-mingw32
0:02.81 --enable-application=palemoon
0:02.81 --enable-optimize=-O2 -GTs -GS- -Qspectre -utf-8 -arch:AVX -favor:AMD64
0:02.81 --enable-official-branding
0:02.81 --enable-update-channel=release
0:02.81 --disable-updater
0:02.81 --disable-precompiled-startupcache
0:02.81 --enable-jemalloc
0:02.81 --enable-strip
0:02.81 --enable-appcompat-guid
0:02.81 --disable-parental-controls
0:02.81 --disable-accessibility
0:02.81 --disable-gamepad
0:02.81 --disable-eme
0:02.81 --disable-webrtc
0:02.81 --enable-av1
0:02.81 --enable-jxl
0:02.81 MOZ_PKG_SPECIAL=avx
0:02.81 MOZILLA_OFFICIAL=1
0:02.81 MC_OFFICIAL=1
0:02.81 BUILD_ARCH=x64
0:02.81 WIN_UCRT_REDIST_DIR=C:\Program Files (x86)\Windows Kits\10\Redist\10.0.22621.0\ucrt\DLLs\x64
0:02.81 BUILD_64=1
0:02.81 WIN32_REDIST_DIR=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.36.32532\x64\Microsoft.VC143.CRT
0:02.90 checking for a shell... C:/mozilla-build/msys/bin/sh.exe
0:03.05 checking for host system type... x86_64-pc-mingw32
0:03.16 checking for target system type... x86_64-pc-mingw32
0:03.16 checking whether cross compiling... no
0:03.17 checking for pkg_config... not found
0:03.17 checking for yasm... c:/mozilla-build/bin/yasm.EXE
0:03.17 checking yasm version... 1.3.0
0:03.20 checking for the target C compiler... 'C:/PROGRA~1/MICROS~1/2022/COMMUN~1/VC/Tools/MSVC/1436~1.325/bin/HostX64/x64/cl.EXE'
0:03.36 checking whether the target C compiler can be used... yes
0:03.36 checking the target C compiler version... 19.36.32537
0:03.39 checking the target C compiler works... yes
0:03.39 checking for the target C++ compiler... 'C:/PROGRA~1/MICROS~1/2022/COMMUN~1/VC/Tools/MSVC/1436~1.325/bin/HostX64/x64/cl.EXE'
0:03.42 checking whether the target C++ compiler can be used... yes
0:03.42 checking the target C++ compiler version... 19.36.32537
0:03.44 checking the target C++ compiler works... yes
0:03.45 checking for the host C compiler... 'C:/PROGRA~1/MICROS~1/2022/COMMUN~1/VC/Tools/MSVC/1436~1.325/bin/HostX64/x64/cl.EXE'
0:03.47 checking whether the host C compiler can be used... yes
0:03.47 checking the host C compiler version... 19.36.32537
0:03.50 checking the host C compiler works... yes
0:03.50 checking for the host C++ compiler... 'C:/PROGRA~1/MICROS~1/2022/COMMUN~1/VC/Tools/MSVC/1436~1.325/bin/HostX64/x64/cl.EXE'
0:03.51 checking whether the host C++ compiler can be used... yes
0:03.51 checking the host C++ compiler version... 19.36.32537
0:03.55 checking the host C++ compiler works... yes
0:03.58 checking for 64-bit OS... yes
0:03.61 checking for Windows SDK... 0x0a00 in 'C:\Program Files (x86)\Windows Kits\10\'
0:03.61 checking for Universal CRT SDK... 10.0.22621.0 in 'C:\Program Files (x86)\Windows Kits\10\'
0:03.61 checking for the Debug Interface Access SDK... C:/PROGRA~1/MICROS~1/2022/COMMUN~1/DIA SDK
0:03.61 checking for mt... 'C:/PROGRA~2/WI3CF2~1/10/bin/100226~1.0/x64/mt.exe'
0:03.61 checking whether MT is really Microsoft Manifest Tool... yes
0:03.61 checking for link... 'C:/PROGRA~1/MICROS~1/2022/COMMUN~1/VC/Tools/MSVC/1436~1.325/bin/HostX64/x64/link.exe'
0:03.64 checking for stdint.h... yes
0:03.69 checking for inttypes.h... yes
0:03.72 checking for malloc.h... yes
0:03.75 checking for alloca.h...
0:03.75 DEBUG: Creating `c:\users\2016\appdata\local\temp\conftest.auj661.cpp` with content:
0:03.75 DEBUG: | #include <alloca.h>
0:03.75 DEBUG: | int
0:03.75 DEBUG: | main(void)
0:03.75 DEBUG: | {
0:03.75 DEBUG: |
0:03.75 DEBUG: | ;
0:03.75 DEBUG: | return 0;
0:03.75 DEBUG: | }
0:03.75 DEBUG: Executing: `cl.EXE -c 'c:\users\2016\appdata\local\temp\conftest.auj661.cpp'`
0:03.75 DEBUG: The command returned non-zero exit status 2.
0:03.75 DEBUG: Its output was:
0:03.75 Traceback (most recent call last):
0:03.75 File "c:/palemoon-source/configure.py", line 32, in <module>
0:03.75 sys.exit(main(sys.argv))
0:03.75 File "c:/palemoon-source/configure.py", line 24, in main
0:03.75 sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
0:03.75 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 364, in run
0:03.75 func(*args)
0:03.75 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 407, in _value_for
0:03.75 return self._value_for_depends(obj, need_help_dependency)
0:03.75 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\util.py", line 925, in method_call
0:03.75 cache[args] = self.func(instance, *args)
0:03.75 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 417, in _value_for_depends
0:03.75 return obj.result
0:03.75 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\util.py", line 943, in __get__
0:03.75 setattr(instance, name, self.func(instance))
0:03.75 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 90, in result
0:03.75 return self.func(*resolved_args)
0:03.75 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 933, in wrapped
0:03.75 return new_func(*args, **kwargs)
0:03.75 File "c:/palemoon-source/platform/build/moz.configure/util.configure", line 399, in wrapper
0:03.75 return fn(*args)
0:03.76 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 933, in wrapped
0:03.76 return new_func(*args, **kwargs)
0:03.76 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 669, in wrapper
0:03.76 ret = template(*args, **kwargs)
0:03.76 File "c:/palemoon-source/platform/build/moz.configure/checks.configure", line 52, in wrapped
0:03.76 ret = func(*args, **kwargs)
0:03.76 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 933, in wrapped
0:03.76 return new_func(*args, **kwargs)
0:03.76 File "c:/palemoon-source/platform/build/moz.configure/compilers-util.configure", line 54, in func
0:03.76 onerror=onerror) is not None:
0:03.76 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 933, in wrapped
0:03.76 return new_func(*args, **kwargs)
0:03.76 File "c:/palemoon-source/platform/build/moz.configure/util.configure", line 187, in try_invoke_compiler
0:03.76 return check_cmd_output(*cmd, **kwargs)
0:03.76 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\__init__.py", line 933, in wrapped
0:03.76 return new_func(*args, **kwargs)
0:03.76 File "c:/palemoon-source/platform/build/moz.configure/util.configure", line 46, in check_cmd_output
0:03.76 o.write(out)
0:03.76 File "c:\palemoon-source\platform\python\mozbuild\mozbuild\configure\util.py", line 204, in write
0:03.76 buf = buf.decode(self._encoding)
0:03.76 File "c:\build\obj-pm-x64-avx-release\_virtualenv\lib\encodings\cp1250.py", line 15, in decode
0:03.76 return codecs.charmap_decode(input,errors,decoding_table)
0:03.76 UnicodeDecodeError: 'charmap' codec can't decode byte 0x88 in position 124: character maps to <undefined>
0:03.76 *** Fix above errors and then restart with\
0:03.76 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:03.76 mozmake.EXE: *** [client.mk;370: configure] Error 1