Trouble with new lo-build

Juergen Funk j-funk at outlook.de
Mon Jun 30 12:49:24 UTC 2025


Hi

i have install Win11 (in Hyper-V),
for install the LibreOffice build i have use this docu https://wiki.documentfoundation.org/Development/BuildingOnWindows
and use  the hard way (not with LODE).

my autogen.input is
   --with-ant-home=/cygdrive/d/src/lo/sources/java/apache-ant-1.9.5
   --with-junit=/cygdrive/d/src/lo/sources/java/junit-4.10.jar
   --with-hamcrest=/cygdrive/d/src/lo/sources/java//hamcrest-2.2.jar
   --with-jdk-home=/cygdrive/c/Program Files/Microsoft/jdk-17.0.15.6-hotspot/
   --with-external-tar=/cygdrive/d/src/lo/sources/java/ext
   --enable-dbgutil
   --enable-pch
   --disable-ccache
   --with-visual-studio=2022

In this case i get a lot of errors: 

checking for pkgconf-2.4.3.exe... no
configure: error:
            A windows version of pkgconf is required to build harfbuzz.
            Add PKG_CONFIG=/path/to/pkgconf-2.4.3.exe to autogen.input or put it in PATH
Error running configure at ./autogen.sh line 333.

and

D:\src\lo\master\workdir\UnpackedTarball\meson\mesonbuild\dependencies\cmake.py:584: DeprecationWarning: read_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
  cmake_txt = importlib.resources.read_text('mesonbuild.dependencies.data', cmake_file, encoding = 'utf-8')
D:\src\lo\master\instdir\program\python-core-3.11.13\lib\importlib\resources\_legacy.py:80: DeprecationWarning: open_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
  with open_text(package, resource, encoding, errors) as fp:
The Meson build system
Version: 1.8.0
Source dir: D:\src\lo\master\workdir\UnpackedTarball\harfbuzz
Build dir: D:\src\lo\master\workdir\UnpackedTarball\harfbuzz\builddir
Build type: native build
Project name: harfbuzz
Project version: 11.2.1
Activating VS 17.14.5
C compiler for the host machine: C:/PROGRA~1/MICROS~1/2022/COMMUN~1/VC/Tools/MSVC/1444~1.352/bin/Hostx64/x64/cl.exe  (msvc 19.44.35209 "Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35209 for x64")
C linker for the host machine: link link 14.44.35209.0
C++ compiler for the host machine: C:/PROGRA~1/MICROS~1/2022/COMMUN~1/VC/Tools/MSVC/1444~1.352/bin/Hostx64/x64/cl.exe  (msvc 19.44.35209 "Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35209 for x64")
C++ linker for the host machine: link link 14.44.35209.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Fetching value of define "_MSC_FULL_VER" : 194435209
Compiler for C++ supports arguments /utf-8: YES
Compiler for C++ supports link arguments -Bsymbolic-functions: NO
Compiler for C++ supports arguments -fno-exceptions: NO
Compiler for C++ supports arguments -fno-rtti: NO
Compiler for C++ supports arguments -fno-threadsafe-statics: NO
Compiler for C++ supports arguments -fvisibility-inlines-hidden: NO
Compiler for C++ supports arguments -Wa,-mbig-obj: NO
Library m found: NO
Dependency glib-2.0 skipped: feature glib disabled
Dependency gobject-2.0 skipped: feature gobject disabled
Found pkg-config: YES (D:/dev/cygwin64/bin/pkgconf-2.4.3.exe) 2.4.3
Found CMake: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE (3.31.6)
Run-time dependency graphite2 found: NO (tried pkgconfig and cmake)

meson.build:147:16: ERROR: Dependency "graphite2" not found, tried pkgconfig and cmake

A full log can be found at D:\src\lo\master\workdir\UnpackedTarball\harfbuzz\builddir\meson-logs\meson-log.txt
make[1]: *** [D:/src/lo/master/external/harfbuzz/ExternalProject_harfbuzz.mk:51: D:/src/lo/master/workdir/ExternalProject/harfbuzz/build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:302: build] Error 2


After that I have compare the hard way with LODE and found a lot of diffs.
I have adapted, testing and improve the docu of https://wiki.documentfoundation.org/Development/BuildingOnWindows

But I have not download/install the meson 1.7.2, above have get the error in meason, after my adaption is all fine, for what need meson? 


A other question or hint (only a wrong output)

When start ./autogen.sh the ouptut is okay and right
but
when start make the output is mixed up (with color or without):

[DEP] LNK:Executable/soffice.bin.d
[LNK] Executable/soffice.bin
[CMP] scripting/source/dlgprov/dlgprov
util/uui
0m[CMP] uui/                                                                  ] vbahelper/util/msforms
[DEP] LNK:                                                                                                                :
Library/wpftdrawlo.dll.d
[LNK] Library/wpftdrawlo.dll
wpftimpresslo.dll.d36;40mDEP] LNK:Library/
7;40m] Library/wpftimpresslo.dll
                                                                                                                                 [
DEP] LNK:Library/wpftcalclo.dll.d
[LNK] Library/wpftcalclo.dll
[DEP] LNK:Library/wpftwriterlo.dll.d
[LNK] Library/wpftwriterlo.dll
[BIN] scripting
pctrlr/pcr0m[CMP] extensions/source/pro
[MOD] scripting
[BIN] desktop
[MOD] desktop
[CMP] writerperfect/source/impress/wpftimpress
[0m writerperfect/source/calc/wpftcalc0m]
[C                                                                                                                              C
MP] writerperfect/source/writer/wpftwriter
[CMP] writerperfect/source/draw/wpftdraw
[DEP] LNK:Library/chart2lo.dll.d
[LNK] Library/chart2lo.dll
[CMP] oox/util/oox
[DEP] LNK:Library/smlo.dll.d
[LNK] Library/smlo.dll
[CMP] starmath/util/sm
[CMP] chart2/source/chart2
dll.d[37;40m[DEP] LNK:Library/cuilo.
uilo.dll
0m[LNK] Library/c                                         NK:Library/dbulo.dll.d40mDEP] L
m Library/dbulo.dll]
ui
                                                                                                                                ub
                                                                                                                                 d

                                                                                                                                 s


                                                                                                                                 [
LNK] Library/swlo.dll
[CMP] sd/util/sd
[MOD] dbaccess
[DEP] LNK:Library/sduilo.dll.d
[LNK] Library/sduilo.dll
←[0m←[37;40m[←[0m←[36;40mCMP←[0m←[37;40m]←[0m reportdesign/util/rpt
←[0m←[37;40m[←[0m←[36;40mDEP←[0m←[37;40m]←[0m LNK:Library/rptuilo.dll.d
←[0m←[37;40m[←[0m←[32;1;40mLNK←[0m←[37;40m]←[0m Library/rptuilo.dll
←[0m←[37;40m[←[0m←[36;40mDEP←[0m←[37;40m]←[0m LNK:Library/rptxmllo.dll.d
←[0m←[37;40m[←[0m←[32;1;40mLNK←[0m←[37;40m]←[0m Library/rptxmllo.dll
[CMP] sd/source/console/presenter
←[0m←[37;1;46m[←[0m←[37;1;46mBIN←[0m←[37;1;46m]←[0m sd
←[0m←[37;1;46m[←[0m←[37;1;46mMOD←[0m←[37;1;46m]←[0m sd
[CMP] reportdesign/util/rptxml
/util/rptuim[CMP] reportdesign
 sw/util/swm[CMP]
.dll.d0m] LNK:Library/swuilo
Library/swuilo.dll]
dll.



                                                                                                                                 ←
[0m←[37;40m[←[0m←[36;40mCMP←[0m←[37;40m]←[0m sw/util/vbaswobj
[CMP] sw/util/sw_writerfilter
swordlo.dll.dDEP] LNK:Library/m
[0m Library/mswordlo.dll40mLNK]
swui] sw/util/
lo.dll.dy/sc
ll
                                                                                                                                rd
                                                                                                                                sw
                                                                                                                                sw
                                                                                                                                sc
                                                                                                                                .d
                                                                                                                                ll
                                                                                                                                .d

                                                                                                                                ←[
0m←[37;40m[←[0m←[36;40mCMP←[0m←[37;40m]←[0m sc/util/scui
←[0m←[37;40m[←[0m←[36;40mCMP←[0m←[37;40m]←[0m sc/util/vbaobj
←[0m←[37;40m[←[0m←[36;40mDEP←[0m←[37;40m]←[0m LNK:Library/scfiltlo.dll.d
←[0m←[37;40m[←[0m←[32;1;40mLNK←[0m←[37;40m]←[0m Library/scfiltlo.dll
←[0m←[37;40m[←[0m←[36;40mCMP←[0m←[37;40m]←[0m sc/util/scfilt
←[0m←[37;40m[←[0m←[36;40mRDB←[0m←[37;40m]←[0m services
←[0m←[37;1;46m[←[0m←[37;1;46mBIN←[0m←[37;1;46m]←[0m sc
←[0m←[37;1;46m[←[0m←[37;1;46mMOD←[0m←[37;1;46m]←[0m sc
[BIN] postprocess
[GAL] backgrounds
undsso
                                                                                                                                s
                                                                                                                                 s
                                                                                                                                 s
                                                                                                                                 s
                                                                                                                                 s
                                                                                                                                 s
                                                                                                                                 s
                                                                                                                                 e
                                                                                                                                 e
                                                                                                                                 Z
eit fuer make: Start: Mon Jun 30 14:20:15 CEST 2025, End : Mon Jun 30 14:32:06 CEST 2025 -> 00:11:51







you can see it always at the end of width of screen but the width does not matter.

It is my setup, or have this other too?

best 
Juergen

 


More information about the LibreOffice mailing list