I`m using the mozconfig:

#Specify the cross compile
export CROSS_COMPILE=1
ac_add_options --enable-application=browser
ac_add_options --target=x86_64-w64-mingw32
ac_add_options --enable-default-toolkit=cairo-windows
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../mozilla-mingw

ac_add_options  --enable-debug
ac_add_options  --disable-optimize

ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
ac_add_options --disable-webrtc
ac_add_options --without-intl-api
ac_add_options --disable-sandbox

# ac_add_options --disable-accessibility # uncomment if you don't have widl 
installed

# Use parallel build. Adjust number of processes for your setup.
mk_add_options MOZ_MAKE_FLAGS=-j8

then I`m getting the error:

 ./mach build
 0:00.45 /usr/bin/gmake -f client.mk MOZ_PARALLEL_BUILD=8 -s
 0:03.61 Adding client.mk options from 
/usr/local/gematik/firefox_builds/firefox-latest/mozilla-central/.mozconfig:
 0:03.62     CONFIG_GUESS=x86_64-w64-mingw32
 0:03.62     MOZ_MAKE_FLAGS=-j8
 0:03.62     
MOZ_OBJDIR=/usr/local/gematik/firefox_builds/firefox-latest/mozilla-mingw
 0:03.62     
OBJDIR=/usr/local/gematik/firefox_builds/firefox-latest/mozilla-mingw
 0:03.62     
FOUND_MOZCONFIG=/usr/local/gematik/firefox_builds/firefox-latest/mozilla-central/.mozconfig
 0:04.32 cd /usr/local/gematik/firefox_builds/firefox-latest/mozilla-mingw
 0:04.32 
/usr/local/gematik/firefox_builds/firefox-latest/mozilla-central/configure
 0:04.91 Adding configure options from 
/usr/local/gematik/firefox_builds/firefox-latest/mozilla-central/.mozconfig
 0:04.91   --enable-application=browser
 0:04.91   --target=x86_64-w64-mingw32
 0:04.91   --enable-default-toolkit=cairo-windows
 0:04.91   --enable-debug
 0:04.91   --disable-optimize
 0:04.91   --disable-crashreporter
 0:04.91   --disable-maintenance-service
 0:04.91   --disable-webrtc
 0:04.91   --without-intl-api
 0:04.91   --disable-sandbox
 0:05.86 loading cache ./config.cache
 0:06.06 checking host system type... x86_64-unknown-linux-gnu
 0:06.12 checking target system type... x86_64-w64-mingw32
 0:06.22 checking build system type... x86_64-unknown-linux-gnu
 0:06.22 checking for gawk... gawk
 0:06.23 checking for python2.7... /usr/local/bin/python2.7
 0:06.24 Creating Python environment
 0:06.45 checking Python environment is Mozilla virtualenv... yes
 0:06.52 checking for perl5... no
 0:06.53 checking for perl... /usr/bin/perl
 0:06.56 cross compiling from x86_64-unknown-linux-gnu to x86_64-w64-mingw32
 0:06.61 checking for host c compiler... checking for cc... cc
 0:06.61 cc
 0:06.61 checking for host c++ compiler... checking for c++... c++
 0:06.61 c++
 0:06.61 checking for ranlib... no
 0:06.61 checking for ar... no
 0:06.66 checking whether the host c compiler (cc  ) works... yes
 0:06.68 checking whether the host c++ compiler (c++  ) works... yes
 0:06.68 checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
 0:06.69 checking for gcc... x86_64-w64-mingw32-gcc
 0:06.81 checking whether the C compiler (x86_64-w64-mingw32-gcc  ) works... yes
 0:06.81 checking whether the C compiler (x86_64-w64-mingw32-gcc  ) is a 
cross-compiler... yes
 0:06.83 checking whether we are using GNU C... yes
 0:06.88 checking whether x86_64-w64-mingw32-gcc accepts -g... yes
 0:06.88 checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
 0:06.88 checking for c++... x86_64-w64-mingw32-g++
 0:06.99 checking whether the C++ compiler (x86_64-w64-mingw32-g++  ) works... 
yes
 0:06.99 checking whether the C++ compiler (x86_64-w64-mingw32-g++  ) is a 
cross-compiler... yes
 0:07.01 checking whether we are using GNU C++... yes
 0:07.06 checking whether x86_64-w64-mingw32-g++ accepts -g... yes
 0:07.18 checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
 0:07.18 checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
 0:07.18 checking for x86_64-w64-mingw32-as... x86_64-w64-mingw32-as
 0:07.19 checking for x86_64-w64-mingw32-ld... x86_64-w64-mingw32-ld
 0:07.19 checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
 0:07.19 checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres
 0:07.19 checking for x86_64-w64-mingw32-otool... no
 0:07.19 checking for x86_64-w64-mingw32-otool... no
 0:07.29 checking for rustc... no
 0:07.31 checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
 0:07.35 checking how to run the C++ preprocessor... x86_64-w64-mingw32-g++ -E
 0:07.39 checking for w32api version >= 3.14... yes
 0:07.39 checking for windres version >= 2.14.90... (GNU
 0:07.40 
/usr/local/gematik/firefox_builds/firefox-latest/mozilla-central/configure: 
line 5159: test: (GNU: integer expression expected
 0:07.40 checking for x86_64-w64-mingw32-widl... no
 0:07.41 checking for widl... no
 0:07.44 checking for highest Windows version supported by this SDK... # 1 
"conftest.h"
 0:07.46 checking for Windows SDK being recent enough... syntax error at -e 
line 1, at EOF
 0:07.46 Execution of -e aborted due to compilation errors.
 0:07.46 no
 0:07.46 configure: error: You are targeting Windows version 0x06030000, but 
your SDK only supports up to version # 1 "conftest.h"0000. Install and use an 
updated SDK, or target a lower version using --with-windows-version. 
Alternatively, try running the Windows SDK Configuration Tool and selecting a 
newer SDK. See https://developer.mozilla.org/En/Windows_SDK_versions for more 
details on fixing this.
 0:07.46 ------ config.log ------
 0:07.46 configure:3213: x86_64-w64-mingw32-gcc -c   conftest.c 1>&5
 0:07.46 configure:3230: x86_64-w64-mingw32-gcc -c   conftest.c 1>&5
 0:07.46 configure: In function 'main':
 0:07.46 configure:3226:1: warning: incompatible implicit declaration of 
built-in function 'exit'
 0:07.46 configure:3252: checking for x86_64-w64-mingw32-ranlib
 0:07.46 configure:3287: checking for x86_64-w64-mingw32-ar
 0:07.46 configure:3322: checking for x86_64-w64-mingw32-as
 0:07.46 configure:3357: checking for x86_64-w64-mingw32-ld
 0:07.46 configure:3392: checking for x86_64-w64-mingw32-strip
 0:07.46 configure:3427: checking for x86_64-w64-mingw32-windres
 0:07.46 configure:3462: checking for x86_64-w64-mingw32-otool
 0:07.46 configure:3462: checking for x86_64-w64-mingw32-otool
 0:07.46 configure:4457: checking for rustc
 0:07.46 configure:4651: checking how to run the C preprocessor
 0:07.46 configure:4672: x86_64-w64-mingw32-gcc -E  conftest.c >/dev/null 
2>conftest.out
 0:07.46 configure:4731: checking how to run the C++ preprocessor
 0:07.47 configure:4749: x86_64-w64-mingw32-g++ -E  conftest.C >/dev/null 
2>conftest.out
 0:07.47 configure:5121: checking for w32api version >= 3.14
 0:07.48 configure:5135: x86_64-w64-mingw32-gcc -c   conftest.c 1>&5
 0:07.49 configure:5151: checking for windres version >= 2.14.90
 0:07.49 configure:5175: checking for x86_64-w64-mingw32-widl
 0:07.50 configure:5175: checking for widl
 0:07.50 configure:5228: checking for highest Windows version supported by this 
SDK
 0:07.50 configure:5271: checking for Windows SDK being recent enough
 0:07.51 configure: error: You are targeting Windows version 0x06030000, but 
your SDK only supports up to version # 1 "conftest.h"0000. Install and use an 
updated SDK, or target a lower version using --with-windows-version. 
Alternatively, try running the Windows SDK Configuration Tool and selecting a 
newer SDK. See https://developer.mozilla.org/En/Windows_SDK_versions for more 
details on fixing this.
 0:07.51 *** Fix above errors and then restart with\
 0:07.51                "/usr/bin/gmake -f client.mk build"
 0:07.51 gmake[2]: *** [configure] Error 1
 0:07.51 gmake[1]: *** 
[/usr/local/gematik/firefox_builds/firefox-latest/mozilla-mingw/Makefile] Error 
2
 0:07.51 gmake: *** [build] Error 2
 0:07.54 0 compiler warnings present.
[root@gematikserver mozilla-central]#
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to