microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.31k stars 6.19k forks source link

[at-spi2-core] Build error on arm64-linux #39290

Open forallsunday opened 1 month ago

forallsunday commented 1 month ago

Copy issue body from /home/lcy/Library/arm64/vcpkg/installed/vcpkg/issue_body.md

Package: at-spi2-core:arm64-linux@2.44.1#3

Host Environment

To Reproduce

vcpkg install qt5-base:arm64-linux

Failure logs

-- Found Python version '3.8.5 at /home/lcy/anaconda3/bin/python3'
-- Using meson: /home/lcy/Library/arm64/vcpkg/downloads/tools/meson-1.3.2-680273/meson.py
-- at-spi2-core currently requires the following libraries from the system package manager:
    libxi-dev
    libxtst-dev

These can be installed on Ubuntu systems via apt-get install libxi-dev libxtst-dev
-- Downloading https://gitlab.gnome.org/GNOME/at-spi2-core/-/archive/AT_SPI2_CORE_2_44_1/at-spi2-core-AT_SPI2_CORE_2_44_1.tar.gz -> GNOME-at-spi2-core-AT_SPI2_CORE_2_44_1.tar.gz...
-- Extracting source /home/lcy/Library/arm64/vcpkg/downloads/GNOME-at-spi2-core-AT_SPI2_CORE_2_44_1.tar.gz
-- Using source at /home/lcy/Library/arm64/vcpkg/buildtrees/at-spi2-core/src/ORE_2_44_1-fa40e2a5ad.clean
-- Configuring arm64-linux-dbg
-- Getting CMake variables for arm64-linux-dbg
-- Getting CMake variables for arm64-linux-rel
-- Configuring arm64-linux-dbg done
-- Configuring arm64-linux-rel
-- Configuring arm64-linux-rel done
-- Package arm64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /home/lcy/Library/arm64/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja install -v
    Working Directory: /home/lcy/Library/arm64/vcpkg/buildtrees/at-spi2-core/arm64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/lcy/Library/arm64/vcpkg/buildtrees/at-spi2-core/package-arm64-linux-dbg-out.log

Call Stack (most recent call first):
  installed/x64-linux/share/vcpkg-tool-meson/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
  ports/at-spi2-core/portfile.cmake:22 (vcpkg_install_meson)
  scripts/ports.cmake:175 (include)
/home/lcy/Library/arm64/vcpkg/buildtrees/at-spi2-core/package-arm64-linux-dbg-out.log ``` [1/133] /usr/bin/msgfmt -o po/it/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/it.po [2/133] /usr/bin/msgfmt -o po/ab/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ab.po [3/133] /usr/bin/msgfmt -o po/an/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/an.po [4/133] /usr/bin/msgfmt -o po/as/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/as.po [5/133] /usr/bin/msgfmt -o po/ast/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ast.po [6/133] /usr/bin/msgfmt -o po/be/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/be.po [7/133] /usr/bin/msgfmt -o po/bg/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/bg.po [8/133] /usr/bin/msgfmt -o po/bs/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/bs.po [9/133] /usr/bin/msgfmt -o po/ca@valencia/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ca@valencia.po [10/133] /usr/bin/msgfmt -o po/ca/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ca.po [11/133] /usr/bin/msgfmt -o po/cs/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/cs.po [12/133] /usr/bin/msgfmt -o po/bn_IN/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/bn_IN.po [13/133] /usr/bin/msgfmt -o po/da/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/da.po [14/133] /usr/bin/msgfmt -o po/de/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/de.po [15/133] /usr/bin/msgfmt -o po/en_CA/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/en_CA.po [16/133] /usr/bin/msgfmt -o po/el/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/el.po [17/133] /usr/bin/msgfmt -o po/en_GB/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/en_GB.po [18/133] /usr/bin/msgfmt -o po/eo/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/eo.po [19/133] /usr/bin/msgfmt -o po/es/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/es.po [20/133] /usr/bin/msgfmt -o po/et/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/et.po [21/133] /usr/bin/msgfmt -o po/eu/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/eu.po [22/133] /usr/bin/msgfmt -o po/fi/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/fi.po [23/133] /usr/bin/msgfmt -o po/fr/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/fr.po [24/133] /usr/bin/msgfmt -o po/fur/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/fur.po [25/133] /usr/bin/msgfmt -o po/ga/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ga.po [26/133] /usr/bin/msgfmt -o po/gl/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/gl.po [27/133] /usr/bin/msgfmt -o po/fa/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/fa.po [28/133] /usr/bin/msgfmt -o po/gd/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/gd.po [29/133] /usr/bin/msgfmt -o po/gu/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/gu.po [30/133] /usr/bin/msgfmt -o po/he/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/he.po [31/133] /usr/bin/msgfmt -o po/hi/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/hi.po [32/133] /usr/bin/msgfmt -o po/hr/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/hr.po [33/133] /usr/bin/msgfmt -o po/hu/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/hu.po [34/133] /usr/bin/msgfmt -o po/id/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/id.po [35/133] /usr/bin/msgfmt -o po/is/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/is.po [36/133] /usr/bin/msgfmt -o po/ja/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ja.po [37/133] /usr/bin/msgfmt -o po/kk/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/kk.po [38/133] /usr/bin/msgfmt -o po/km/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/km.po [39/133] /usr/bin/msgfmt -o po/ko/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ko.po [40/133] /usr/bin/msgfmt -o po/kn/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/kn.po [41/133] /usr/bin/msgfmt -o po/lt/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/lt.po [42/133] /usr/bin/msgfmt -o po/lv/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/lv.po [43/133] /usr/bin/msgfmt -o po/ml/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ml.po [44/133] /usr/bin/msgfmt -o po/ms/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ms.po [45/133] /usr/bin/msgfmt -o po/mr/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/mr.po [46/133] /usr/bin/msgfmt -o po/nb/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/nb.po [47/133] /usr/bin/msgfmt -o po/ne/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ne.po [48/133] /usr/bin/msgfmt -o po/oc/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/oc.po [49/133] /usr/bin/msgfmt -o po/nl/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/nl.po [50/133] /usr/bin/msgfmt -o po/or/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/or.po [51/133] /usr/bin/msgfmt -o po/pa/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/pa.po [52/133] /usr/bin/msgfmt -o po/pl/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/pl.po [53/133] /usr/bin/msgfmt -o po/pt/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/pt.po [54/133] /usr/bin/msgfmt -o po/pt_BR/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/pt_BR.po [55/133] /usr/bin/msgfmt -o po/ro/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ro.po [56/133] /usr/bin/msgfmt -o po/ru/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ru.po [57/133] /usr/bin/msgfmt -o po/sk/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/sk.po [58/133] /usr/bin/msgfmt -o po/sl/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/sl.po [59/133] /usr/bin/msgfmt -o po/sq/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/sq.po [60/133] /usr/bin/msgfmt -o po/sr/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/sr.po [61/133] /usr/bin/msgfmt -o po/sr@latin/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/sr@latin.po [62/133] /usr/bin/msgfmt -o po/sv/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/sv.po [63/133] /usr/bin/msgfmt -o po/ta/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ta.po [64/133] /usr/bin/msgfmt -o po/te/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/te.po [65/133] /usr/bin/msgfmt -o po/tg/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/tg.po [66/133] /usr/bin/msgfmt -o po/tr/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/tr.po [67/133] /usr/bin/msgfmt -o po/ug/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/ug.po [68/133] /usr/bin/msgfmt -o po/uz@cyrillic/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/uz@cyrillic.po [69/133] /usr/bin/msgfmt -o po/uk/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/uk.po [70/133] /usr/bin/msgfmt -o po/vi/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/vi.po [71/133] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/zh_CN.po [72/133] /usr/bin/msgfmt -o po/zh_HK/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/zh_HK.po [73/133] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/at-spi2-core.mo ../src/ORE_2_44_1-fa40e2a5ad.clean/po/zh_TW.po [74/133] /home/lcy/Library/arm64/vcpkg/installed/x64-linux/tools/glib/glib-genmarshal --prefix atspi_marshal --output atspi/atspimarshal.h --header ../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspimarshal.list --pragma-once INFO: Reading ../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspimarshal.list... [75/133] /home/lcy/Library/arm64/vcpkg/installed/x64-linux/tools/glib/glib-genmarshal --prefix atspi_marshal --output atspi/atspimarshal.c --body ../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspimarshal.list --include-header atspimarshal.h INFO: Reading ../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspimarshal.list... [76/133] /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -Idbind/dbind-test.p -Idbind -I../src/ORE_2_44_1-fa40e2a5ad.clean/dbind -I. -I../src/ORE_2_44_1-fa40e2a5ad.clean -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/dbus-1.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/dbus-1.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -g -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -fPIC -g '-DG_LOG_DOMAIN="dbind"' -pthread -MD -MQ dbind/dbind-test.p/dbind.c.o -MF dbind/dbind-test.p/dbind.c.o.d -o dbind/dbind-test.p/dbind.c.o -c ../src/ORE_2_44_1-fa40e2a5ad.clean/dbind/dbind.c [77/133] /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -Idbind/dbind-test.p -Idbind -I../src/ORE_2_44_1-fa40e2a5ad.clean/dbind -I. -I../src/ORE_2_44_1-fa40e2a5ad.clean -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/dbus-1.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/dbus-1.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -g -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -fPIC -g '-DG_LOG_DOMAIN="dbind"' -pthread -MD -MQ dbind/dbind-test.p/.._atspi_atspi-gmain.c.o -MF dbind/dbind-test.p/.._atspi_atspi-gmain.c.o.d -o dbind/dbind-test.p/.._atspi_atspi-gmain.c.o -c ../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspi-gmain.c [78/133] /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -Idbind/dbind-test.p -Idbind -I../src/ORE_2_44_1-fa40e2a5ad.clean/dbind -I. -I../src/ORE_2_44_1-fa40e2a5ad.clean -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/dbus-1.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/dbus-1.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -g -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -fPIC -g '-DG_LOG_DOMAIN="dbind"' -pthread -MD -MQ dbind/dbind-test.p/dbtest.c.o -MF dbind/dbind-test.p/dbtest.c.o.d -o dbind/dbind-test.p/dbtest.c.o -c ../src/ORE_2_44_1-fa40e2a5ad.clean/dbind/dbtest.c [79/133] /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -Idbind/dbind-test.p -Idbind -I../src/ORE_2_44_1-fa40e2a5ad.clean/dbind -I. -I../src/ORE_2_44_1-fa40e2a5ad.clean -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/dbus-1.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/dbus-1.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -g -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -fPIC -g '-DG_LOG_DOMAIN="dbind"' -pthread -MD -MQ dbind/dbind-test.p/dbind-any.c.o -MF dbind/dbind-test.p/dbind-any.c.o.d -o dbind/dbind-test.p/dbind-any.c.o -c ../src/ORE_2_44_1-fa40e2a5ad.clean/dbind/dbind-any.c [80/133] /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -o dbind/dbind-test dbind/dbind-test.p/dbtest.c.o dbind/dbind-test.p/.._atspi_atspi-gmain.c.o dbind/dbind-test.p/dbind.c.o dbind/dbind-test.p/dbind-any.c.o -L/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib -Wl,-rpath-link,/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib -Wl,--start-group /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libdbus-1.so /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -lm -pthread /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libpcre2-8.a -Wl,--end-group [81/133] /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -Ibus/at-spi-bus-launcher.p -Ibus -I../src/ORE_2_44_1-fa40e2a5ad.clean/bus -I. -I../src/ORE_2_44_1-fa40e2a5ad.clean -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -g -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -fPIC -g -pthread '-DSYSCONFDIR="/home/lcy/Library/arm64/vcpkg/packages/at-spi2-core_arm64-linux/debug/etc"' '-DDATADIR="/home/lcy/Library/arm64/vcpkg/packages/at-spi2-core_arm64-linux/debug/share"' '-DDBUS_DAEMON="/home/lcy/anaconda3/bin/dbus-daemon"' -MD -MQ bus/at-spi-bus-launcher.p/at-spi-bus-launcher.c.o -MF bus/at-spi-bus-launcher.p/at-spi-bus-launcher.c.o.d -o bus/at-spi-bus-launcher.p/at-spi-bus-launcher.c.o -c ../src/ORE_2_44_1-fa40e2a5ad.clean/bus/at-spi-bus-launcher.c [82/133] /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -o bus/at-spi-bus-launcher bus/at-spi-bus-launcher.p/at-spi-bus-launcher.c.o -L/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/usr/lib/x86_64-linux-gnu -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -Wl,--start-group /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libgio-2.0.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libgobject-2.0.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libffi.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libgmodule-2.0.a -pthread /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -lm /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libpcre2-8.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libz.a /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXtst.so /usr/lib/x86_64-linux-gnu/libXi.so -Wl,--end-group FAILED: bus/at-spi-bus-launcher /usr/bin/aarch64-linux-gnu-gcc -fPIC -g -o bus/at-spi-bus-launcher bus/at-spi-bus-launcher.p/at-spi-bus-launcher.c.o -L/home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/usr/lib/x86_64-linux-gnu -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -Wl,--start-group /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libgio-2.0.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libgobject-2.0.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libffi.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libgmodule-2.0.a -pthread /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -lm /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libpcre2-8.a /home/lcy/Library/arm64/vcpkg/installed/arm64-linux/debug/lib/pkgconfig/../../lib/libz.a /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXtst.so /usr/lib/x86_64-linux-gnu/libXi.so -Wl,--end-group /usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/x86_64-linux-gnu/libX11.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status [83/133] /home/lcy/anaconda3/bin/python3 /home/lcy/Library/arm64/vcpkg/downloads/tools/meson-1.3.2-680273/meson.py --internal exe --capture atspi/atspi-enum-types.h -- /home/lcy/Library/arm64/vcpkg/installed/x64-linux/tools/glib/glib-mkenums --template /home/lcy/Library/arm64/vcpkg/buildtrees/at-spi2-core/arm64-linux-dbg/../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspi-enum-types.h.template /home/lcy/Library/arm64/vcpkg/buildtrees/at-spi2-core/arm64-linux-dbg/../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspi-constants.h /home/lcy/Library/arm64/vcpkg/buildtrees/at-spi2-core/arm64-linux-dbg/../src/ORE_2_44_1-fa40e2a5ad.clean/atspi/atspi-types.h ninja: build stopped: subcommand failed. ```

log file of "vcpkg/buildtrees/at-spi2-core/config-arm64-linux-dbg-meson-log.txt.log"

config-arm64-linux-dbg-meson-log.txt.log

dg0yt commented 1 month ago
Called: `/bin/pkg-config --libs x11` -> 0
stdout:
-L/usr/lib/x86_64-linux-gnu -lX11

You need X11 development packages for the cross target.

vcpkg probably doesn't do enough to isolate cross builds from the host's pkg-config personality. As a mitigation, you might set environment variable to PKG_CONFIG_SYSROOT_DIR to a suitable dir.