current master windows build break: ninja: build stopped: subcommand failed.

Oliver Brinzing Oliver.Brinzing at gmx.de
Tue Mar 24 18:39:32 UTC 2020


Hi,

I tried to build current master but build breaks always (even after a clean and new configure - see
below) with:

[...]
Hinweis: Einlesen der Datei:   C:\Program Files (x86)\Microsoft Visual
Studio\2019\Professional\VC\Tools\MSVC\14.24.28314\include\vcruntime_startup.h
Hinweis: Einlesen der Datei:  C:\Program Files (x86)\Windows
Kits\10\/include/10.0.18362.0/ucrt\corecrt_wprocess.h
Hinweis: Einlesen der Datei: C:\Program Files (x86)\Windows Kits\10\/include/10.0.18362.0/ucrt\math.h
ninja: build stopped: subcommand failed.
make[1]: *** [D:/sources/libo-core/external/nss/ExternalProject_nss.mk:36:
D:/sources/libo-core/workdir/ExternalProject/nss/build] Error 1
make[1]: *** Waiting for unfinished jobs....

last working build was:

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 54d3760f7dbd759cc8de6c777c6a2154d2382f16
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
https://gerrit.libreoffice.org/plugins/gitiles/core/+log/54d3760f7dbd759cc8de6c777c6a2154d2382f16

after installing ninja:

 >It's easiest to put it in /opt/lo/bin, where configure will automatically find it;you can also use
another location and set the
 >NINJA variable.LibreOffice can not and should not use Cygwin's /usr/bin/ninja.
 >mkdir -p /opt/lo/bin
 >cd /opt/lo/bin
 >wget https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-win.zip
 >unzip ninja-win.zip
 >chmod +x ninja.exe

configure worked:

/cygdrive/d/sources/libo-core
$ /cygdrive/d/sources/libo-core/autogen.sh \
 > --with-external-tar=/cygdrive/d/sources/lo-externalsrc \
 > --with-junit=/cygdrive/d/sources/junit-4.10.jar \
 > --with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
 > --with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64 \
 > --disable-ccache \
 > --enable-pch \
 > --enable-debug \
 > --enable-dbgutil \
 > --enable-64-bit \
 > --without-fonts \
 > --with-visual-studio=2019

Running ./configure with '--with-external-tar=/cygdrive/d/sources/lo-externalsrc
--with-junit=/cygdrive/d/sources/junit-4.10.jar --with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5
--with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64 --disable-ccache --enable-pch --enable-debug
--enable-dbgutil --enable-64-bit --without-fonts --with-visual-studio=2019
--srcdir=/cygdrive/d/sources/libo-core --enable-option-checking=fatal'
********************************************************************
*
*   Running LibreOffice build configuration.
*
********************************************************************

checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
checking for product name... LibreOfficeDev
checking for package version... 7.0.0.0.alpha0+
checking for product version... 7.0
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... C:/cygwin/opt/lo/bin/make
configure: Using a native Win32 GNU Make version.
checking for explicit COMSPEC... found: C:\WINDOWS\system32\cmd.exe
checking for sed... /usr/bin/sed
checking whether to use link-time optimization... no
checking for explicit AFLAGS... no
checking for explicit CFLAGS... no
checking for explicit CXXFLAGS... no
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... no
checking whether build target is Release Build... no
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /bin/sh
checking for GNU or BSD tar... tar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for desktop
checking whether to build with Java support... yes
checking whether to treat the installation as read-only... no
checking whether to build a 64-bit LibreOffice... yes
checking Visual C++... C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC
checking for short pathname of VC product directory... C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC
checking for UCRT location... found
checking for MSBuild.exe location for: 16.0...
C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/../MSBuild/Current/Bin/amd64
checking cl.exe... found Visual C++ 2019
(C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe)
checking cl.exe is at least Visual Studio 2019 version 16.4... yes
checking for a x86 compiler and libraries for 32-bit binaries required for TWAIN support... found
checking whether the compiler is actually Clang... no
checking the dependency generation prefix (cl.exe -showIncludes)... "Hinweis: Einlesen der Datei:"
checking whether to build with additional debug utilities... yes
checking whether to do a debug build... yes (dbgutil)
checking whether cl.exe supports -ggnu-pubnames... no
checking whether to generate debug information... yes
checking whether to compile with optimization flags... no
checking which package format to use... none
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking whether to turn warnings to errors... no
checking whether to have assert() failures abort even without --enable-debug... yes
checking whether to enable CUPS support... no
checking whether we want to fetch tarballs... yes, if we use them
checking whether to build help... no
checking whether to enable xapian-omega support for help... no
checking whether to include MySpell dictionaries... no
checking whether to use dicts from external paths... no
checking whether to enable pch feature... yes (full)
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
supports -Xclang -building-pch-with-obj... no
checking the GNU Make version... C:/cygwin/opt/lo/bin/make 4.2.1
checking whether GNU Make supports the 'file' function... yes
checking for --hash-style gcc linker support... no
checking for perl... /usr/bin/perl
checking the Perl version... Perl 5
checking for required Perl modules... all modules found
checking for Windows SDK... found Windows SDK 10.0 (/cygdrive/c/PROGRA~2/WI3CF2~1/10)
checking for midl.exe... C:\Program Files (x86)\Windows Kits\10\/Bin/10.0.18362.0/x64/midl.exe
checking for csc.exe... C:\Windows\Microsoft.NET\Framework\v4.0.30319\/csc.exe
checking for al.exe... C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2
Tools\/al.exe
checking .NET Framework... found: C:/PROGRA~2/WI3CF2~1/NETFXSDK/475CEE~1.2/
checking whether to enable runtime optimizations... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking sys/sdt.h usability... no
checking sys/sdt.h presence... no
checking for sys/sdt.h... no
checking what the C++ library is... Microsoft
checking for gperf... /usr/bin/gperf
checking whether gperf is new enough... yes (3.1)
checking which libcmis to use... internal
checking whether cl.exe supports C++17... yes (-std:c++17 -Zc:__cplusplus)
checking whether cl.exe supports C++11 without Language Defect 757... yes
checking whether cl.exe supports guaranteed copy elision... yes
checking whether cl.exe supports C++2a constinit sorted vectors... no
checking whether cl.exe supports C++2a <span> with unsigned size_type... no
checking whether cl.exe implements C++ DR P1155R3... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile SSE2 intrinsics... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile SSSE3 intrinsics... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile SSE4.1 intrinsics... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile SSE4.2 intrinsics... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile AVX intrinsics... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile AVX2 intrinsics... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile F16C intrinsics... yes
checking whether C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe
can compile FMA intrinsics... yes
checking for posix_fallocate... no
checking whether to add custom build version... no
checking for MSVC x64 DLL path...
C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/redist/MSVC/14.24.28127/x64/Microsoft.VC142.CRT
checking for MSVC x64 DLLs... found all (msvcp140.dll vcruntime140.dll)
checking for MSVC merge modules directory...
C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/redist/MSVC/14.24.28127/MergeModules/
checking the installed JDK... found (JDK 1.8.0_241)
checking for JAWT lib... jawt.lib
checking whether to enable export file validation... yes
checking for odfvalidator... no
configure: no odfvalidator found, will download it
checking for officeotron... no
configure: no officeotron found, will download it
checking for Microsoft Binary File Format Validator... no
checking which C preprocessor to use in idlc... ucpp
checking which ucpp tp use... internal
checking whether to enable EPM for packing... no
checking for doxygen... /usr/bin/doxygen
checking whether to build the ODK... yes
checking whether to build unowinreg.dll... yes
checking which zlib to use... internal
checking which libjpeg to use... internal, libjpeg-turbo
checking for nasm... nasm
checking for object file format of host system... Win64-COFF
checking for object file format specifier (NAFLAGS) ... -fwin64 -DWIN64 -D__x86_64__
checking whether the assembler (nasm -fwin64 -DWIN64 -D__x86_64__) works... yes
checking which clucene to use... internal
checking which expat to use... internal
checking which xmlsec to use... internal
checking whether to enable Embedded OpenType support... no
checking which librevenge to use... internal
checking which libodfgen to use... internal
checking which libepubgen to use... internal
checking which libwpd to use... internal
checking which libwpg to use... internal
checking which libwps to use... internal
checking which libvisio to use... internal
checking which libcdr to use... internal
checking which libmspub to use... internal
checking which libmwaw to use... internal
checking which libetonyek to use... internal
checking which libfreehand to use... internal
checking which libebook to use... internal
checking which libabw to use... internal
checking which libpagemaker to use... internal
checking which libqxp to use... internal
checking which libzmf to use... internal
checking which libstaroffice to use... internal
checking which lcms2 to use... internal
checking which cppunit to use... internal
checking which libxslt to use... internal
checking which libxml to use... internal
checking which Python to use for Pyuno... fully internal
configure: WARNING: No system-provided python lxml, gla11y will only report widget classes and ids
checking which MariaDB to use... internal
checking which hsqldb to use... internal
checking whether hsqldb should be built with JDBC 4.1... yes
checking whether to build the PostgreSQL SDBC driver... yes
checking PostgreSQL C interface... internal
checking which Firebird to use... internal
checking which libcurl to use... internal
checking which boost to use... internal
checking which mdds to use... internal
checking which glm to use... internal
checking which odbc headers to use... external
checking for sqlext.h... yes
checking which nss to use... internal
checking for ninja... /opt/lo/bin/ninja
checking which TLS/SSL and cryptographic implementation to use... NSS
checking which sane header to use... internal
checking which icu to use... internal
checking whether to enable breakpad... no
checking whether to enable fuzzers... no
checking which orcus to use... internal
checking which graphite to use... internal
checking which harfbuzz to use... internal
checking whether to use X11...
checking whether to use Xrender... no
checking whether to enable RandR support... no
checking for webdav library... neon
checking which neon to use... internal
checking whether to execute CVE tests... no
checking whether to execute chart XShape tests... yes
checking whether to disable OpenSSL usage... no
checking which openssl to use... internal
checking whether to enable the OpenSSL backend for rtl/cipher.h... no
checking whether to use gnutls... no
checking which redland to use... internal
checking which libhunspell to use... internal
checking which libqrcodegen to use... internal
checking which altlinuxhyph to use... internal
checking which mythes to use... internal
checking whether to build with CoinMP... yes
checking whether to build with lpsolve... yes
checking which lpsolve to use... internal
checking which libexttextcat to use... internal
checking whether to use libnumbertext... yes
checking which libnumbertext to use... internal
checking codecvt usability... yes
checking codecvt presence... no
configure: WARNING: codecvt: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: codecvt: proceeding with the compiler's result
checking for codecvt... yes
checking regex usability... yes
checking regex presence... no
configure: WARNING: regex: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: regex: proceeding with the compiler's result
checking for regex... yes
checking for bison... /usr/bin/bison
checking the bison version... checking for flex... /usr/bin/flex
checking the flex version... checking for patch... /usr/bin/patch
checking for gnucp... no
checking for cp... /usr/bin/cp
checking whether C:/cygwin/bin/cp.exe is GNU cp from coreutils with preserve= support... yes
checking for the MSVC assembler (ml64.exe)...
C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/ml64.exe
checking for zip... /usr/bin/zip
checking for unzip... /usr/bin/unzip
checking for touch... /usr/bin/touch
checking which epoxy to use... internal
configure: VCLplugs to be built:  win
checking whether to enable DBUS support... no
checking whether to enable Impress remote control... yes
checking whether to enable Bluetooth support in Impress remote control... yes
checking whether to enable the VLC avmedia backend... no
checking for DCONF... no
checking whether to enable dconf... no
checking whether to build the PDF import feature... yes
checking whether to build PDFium... yes
checking whether to build Poppler... yes
checking which PDF import poppler to use... internal
checking whether to build Skia... yes
checking which gpgmepp to use... internal
checking for gpg... /usr/bin/gpg
checking whether to build the Wiki Publisher extension... no
checking whether to build the Report Builder... yes
checking which jfreereport libs to use... internal
checking which Apache commons-* libs to use... internal
checking whether to build support for scripts in BeanShell... yes
checking which beanshell to use... internal
checking whether to build support for scripts in JavaScript... yes
checking which rhino to use... internal
checking whether to enable evolution 2 support... no
checking which themes to include...  breeze breeze_dark breeze_dark_svg breeze_svg colibre
colibre_svg elementary elementary_svg karasa_jaga karasa_jaga_svg sifr sifr_dark sifr_dark_svg
sifr_svg sukapura sukapura_svg tango
checking for helppack integration... integration
checking for extensions integration... yes, use integration
checking for building the ConvertTextToNumber extension... no
checking for building the Numbertext extension... no
checking for building the NLPSolver extension... no
checking for building the LanguageTool extension... no
checking whether to build opens___.ttf... no
checking whether to include third-party fonts... no
checking whether to enable online update... yes
checking whether to enable extension update... yes
checking whether to create MSI with LIMITUI=1 (silent install)... no
checking whether and how to use Xinerama... no
checking whether to use system liblangtag... no
checking which libpng to use... internal
checking whether to use specific JVM search path at runtime... no
checking for ant... /cygdrive/d/sources/apache-ant-1.9.5/bin/ant
checking if /cygdrive/d/sources/apache-ant-1.9.5/bin/ant works... Ant works
checking Ant lib directory... Ant lib directory found.
checking whether Ant is >= 1.6.0... yes, 1.9.5
checking for JUnit 4... D:/sources/junit-4.10.jar
checking for included Hamcrest... Included in D:/sources/junit-4.10.jar
checking which languages to be built... en-US
checking for alternative branding images directory... none
checking for 'intro' progress settings... none
checking for extra build ID... not set
checking for vendor... not set, using f0830413
checking whether to install the compat oo* wrappers... no
checking for install dirname... libreoffice
checking for prefix... /usr/local
checking for Google Drive client id and secret... not set
checking for Alfresco Cloud client id and secret... not set
checking for OneDrive client id and secret... not set
checking whether to enable dependency tracking... yes
checking for number of processors to use... 12
checking whether to create huge library... no
checking whether to use icerun wrapper... no
checking MPL subset... no restrictions
checking formula logger... yes
checking for active Antivirus software... found
configure: setting up the build environment variables...
cygpath: cannot create short name of
C:\PROGRA~2\MICROS~1\2019\PROFES~1\VC\Tools\MSVC\1424~1.283\bin\amd64
configure: creating ./config.status
config.status: creating config_host.mk
config.status: creating config_host_lang.mk
config.status: creating Makefile
config.status: creating bin/bffvalidator.sh
config.status: creating bin/odfvalidator.sh
config.status: creating bin/officeotron.sh
config.status: creating instsetoo_native/util/openoffice.lst
config.status: creating sysui/desktop/macosx/Info.plist
config.status: creating config_host/config_probes.h
config.status: config_host/config_probes.h is unchanged
config.status: creating config_host/config_buildid.h
config.status: config_host/config_buildid.h is unchanged
config.status: creating config_host/config_clang.h
config.status: config_host/config_clang.h is unchanged
config.status: creating config_host/config_dconf.h
config.status: config_host/config_dconf.h is unchanged
config.status: creating config_host/config_eot.h
config.status: config_host/config_eot.h is unchanged
config.status: creating config_host/config_extensions.h
config.status: config_host/config_extensions.h is unchanged
config.status: creating config_host/config_cairo_canvas.h
config.status: config_host/config_cairo_canvas.h is unchanged
config.status: creating config_host/config_cxxabi.h
config.status: config_host/config_cxxabi.h is unchanged
config.status: creating config_host/config_dbus.h
config.status: config_host/config_dbus.h is unchanged
config.status: creating config_host/config_features.h
config.status: config_host/config_features.h is unchanged
config.status: creating config_host/config_feature_desktop.h
config.status: config_host/config_feature_desktop.h is unchanged
config.status: creating config_host/config_feature_opencl.h
config.status: config_host/config_feature_opencl.h is unchanged
config.status: creating config_host/config_firebird.h
config.status: config_host/config_firebird.h is unchanged
config.status: creating config_host/config_folders.h
config.status: config_host/config_folders.h is unchanged
config.status: creating config_host/config_fuzzers.h
config.status: config_host/config_fuzzers.h is unchanged
config.status: creating config_host/config_gio.h
config.status: config_host/config_gio.h is unchanged
config.status: creating config_host/config_global.h
config.status: config_host/config_global.h is unchanged
config.status: creating config_host/config_gpgme.h
config.status: config_host/config_gpgme.h is unchanged
config.status: creating config_host/config_java.h
config.status: config_host/config_java.h is unchanged
config.status: creating config_host/config_langs.h
config.status: config_host/config_langs.h is unchanged
config.status: creating config_host/config_lgpl.h
config.status: config_host/config_lgpl.h is unchanged
config.status: creating config_host/config_libcxx.h
config.status: config_host/config_libcxx.h is unchanged
config.status: creating config_host/config_liblangtag.h
config.status: config_host/config_liblangtag.h is unchanged
config.status: creating config_host/config_libnumbertext.h
config.status: config_host/config_libnumbertext.h is unchanged
config.status: creating config_host/config_locales.h
config.status: config_host/config_locales.h is unchanged
config.status: creating config_host/config_mpl.h
config.status: config_host/config_mpl.h is unchanged
config.status: creating config_host/config_oox.h
config.status: config_host/config_oox.h is unchanged
config.status: creating config_host/config_options.h
config.status: config_host/config_options.h is unchanged
config.status: creating config_host/config_options_calc.h
config.status: config_host/config_options_calc.h is unchanged
config.status: creating config_host/config_skia.h
config.status: config_host/config_skia.h is unchanged
config.status: creating config_host/config_typesizes.h
config.status: config_host/config_typesizes.h is unchanged
config.status: creating config_host/config_vendor.h
config.status: config_host/config_vendor.h is unchanged
config.status: creating config_host/config_vcl.h
config.status: config_host/config_vcl.h is unchanged
config.status: creating config_host/config_vclplug.h
config.status: config_host/config_vclplug.h is unchanged
config.status: creating config_host/config_version.h
config.status: config_host/config_version.h is unchanged
config.status: creating config_host/config_oauth2.h
config.status: config_host/config_oauth2.h is unchanged
config.status: creating config_host/config_poppler.h
config.status: config_host/config_poppler.h is unchanged
config.status: creating config_host/config_python.h
config.status: config_host/config_python.h is unchanged
config.status: creating config_host/config_writerperfect.h
config.status: config_host/config_writerperfect.h is unchanged
Host Configuration unchanged - avoiding scp2 stamp update
Language Configuration unchanged - avoiding scp2 stamp update
****************************************************************************

To build, run:
C:/cygwin/opt/lo/bin/make

To view some help, run:
C:/cygwin/opt/lo/bin/make help

*************************************
* WARNING : To speed up builds and avoid failures in unit tests, it is highly recommended that you
exclude the build and source directories associated with LibreOffice in the following Antivirus
software:
         *Windows Defender

/cygdrive/d/sources/libo-core




More information about the LibreOffice mailing list