microsoft / vcpkg

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

[at-spi2-atk] Build error #29660

Open HoMiGT opened 1 year ago

HoMiGT commented 1 year ago

Package: at-spi2-atk[core]:x64-linux -> 2.38.0

Host Environment

To Reproduce

vcpkg install opencv4:x64-linux

Failure logs

-- at-spi2-atk currently requires the following libraries from the system package manager:
    libdbus-1

These can be installed on Ubuntu systems via apt-get install libdbus-1-dev
-- Using cached GNOME-at-spi2-atk-AT_SPI2_ATK_2_38_0.tar.gz.
-- Cleaning sources at /home/wpwl/Softwares/vcpkg/buildtrees/at-spi2-atk/src/ATK_2_38_0-a131295237.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/wpwl/Softwares/vcpkg/downloads/GNOME-at-spi2-atk-AT_SPI2_ATK_2_38_0.tar.gz
-- Using source at /home/wpwl/Softwares/vcpkg/buildtrees/at-spi2-atk/src/ATK_2_38_0-a131295237.clean
-- Found external ninja('1.10.2').
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Configuring x64-linux-dbg
-- Configuring x64-linux-dbg done
-- Configuring x64-linux-rel
-- Configuring x64-linux-rel done
-- Package x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/ninja install -v
    Working Directory: /home/wpwl/Softwares/vcpkg/buildtrees/at-spi2-atk/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/wpwl/Softwares/vcpkg/buildtrees/at-spi2-atk/package-x64-linux-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
  ports/at-spi2-atk/portfile.cmake:19 (vcpkg_install_meson)
  scripts/ports.cmake:147 (include)
/home/wpwl/Softwares/vcpkg/buildtrees/at-spi2-atk/package-x64-linux-dbg-out.log ``` [1/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Idroute/libdroute.a.p -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I. -I../src/ATK_2_38_0-a131295237.clean -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ droute/libdroute.a.p/droute-pairhash.c.o -MF droute/libdroute.a.p/droute-pairhash.c.o.d -o droute/libdroute.a.p/droute-pairhash.c.o -c ../src/ATK_2_38_0-a131295237.clean/droute/droute-pairhash.c[2/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Idroute/libdroute.a.p -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I. -I../src/ATK_2_38_0-a131295237.clean -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ droute/libdroute.a.p/droute-variant.c.o -MF droute/libdroute.a.p/droute-variant.c.o.d -o droute/libdroute.a.p/droute-variant.c.o -c ../src/ATK_2_38_0-a131295237.clean/droute/droute-variant.c [3/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Iatk-adaptor/adaptors/libatk-bridge-adaptors.a.p -Iatk-adaptor/adaptors -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors -I. -I../src/ATK_2_38_0-a131295237.clean -Iatk-adaptor -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/document-adaptor.c.o -MF atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/document-adaptor.c.o.d -o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/document-adaptor.c.o -c ../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors/document-adaptor.c ... Skipped 87 lines ... [28/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Iatk-adaptor/libatk-bridge-2.0.a.p -Iatk-adaptor -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor -I. -I../src/ATK_2_38_0-a131295237.clean -Iatk-adaptor/adaptors -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ atk-adaptor/libatk-bridge-2.0.a.p/accessible-register.c.o -MF atk-adaptor/libatk-bridge-2.0.a.p/accessible-register.c.o.d -o atk-adaptor/libatk-bridge-2.0.a.p/accessible-register.c.o -c ../src/ATK_2_38_0-a131295237.clean/atk-adaptor/accessible-register.c [29/37] /opt/rh/devtoolset-8/root/usr/bin/cc -o droute/droute-test droute/droute-test.p/droute-test.c.o -L/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group droute/libdroute.a -pthread /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -lm /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpcre2-8.a /usr/lib64/libdbus-1.so /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libatspi.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgobject-2.0.a /usr/lib64/libX11.so /usr/lib64/libXtst.so /usr/lib64/libXi.so /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a -Wl,--end-group [30/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Iatk-adaptor/libatk-bridge-2.0.a.p -Iatk-adaptor -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor -I. -I../src/ATK_2_38_0-a131295237.clean -Iatk-adaptor/adaptors -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ atk-adaptor/libatk-bridge-2.0.a.p/accessible-stateset.c.o -MF atk-adaptor/libatk-bridge-2.0.a.p/accessible-stateset.c.o.d -o atk-adaptor/libatk-bridge-2.0.a.p/accessible-stateset.c.o -c ../src/ATK_2_38_0-a131295237.clean/atk-adaptor/accessible-stateset.c [31/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Iatk-adaptor/libatk-bridge-2.0.a.p -Iatk-adaptor -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor -I. -I../src/ATK_2_38_0-a131295237.clean -Iatk-adaptor/adaptors -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ atk-adaptor/libatk-bridge-2.0.a.p/object.c.o -MF atk-adaptor/libatk-bridge-2.0.a.p/object.c.o.d -o atk-adaptor/libatk-bridge-2.0.a.p/object.c.o -c ../src/ATK_2_38_0-a131295237.clean/atk-adaptor/object.c [32/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Iatk-adaptor/libatk-bridge-2.0.a.p -Iatk-adaptor -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor -I. -I../src/ATK_2_38_0-a131295237.clean -Iatk-adaptor/adaptors -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ atk-adaptor/libatk-bridge-2.0.a.p/spi-dbus.c.o -MF atk-adaptor/libatk-bridge-2.0.a.p/spi-dbus.c.o.d -o atk-adaptor/libatk-bridge-2.0.a.p/spi-dbus.c.o -c ../src/ATK_2_38_0-a131295237.clean/atk-adaptor/spi-dbus.c [33/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Iatk-adaptor/libatk-bridge-2.0.a.p -Iatk-adaptor -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor -I. -I../src/ATK_2_38_0-a131295237.clean -Iatk-adaptor/adaptors -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ atk-adaptor/libatk-bridge-2.0.a.p/bridge.c.o -MF atk-adaptor/libatk-bridge-2.0.a.p/bridge.c.o.d -o atk-adaptor/libatk-bridge-2.0.a.p/bridge.c.o -c ../src/ATK_2_38_0-a131295237.clean/atk-adaptor/bridge.c [34/37] /opt/rh/devtoolset-8/root/usr/bin/cc -Iatk-adaptor/libatk-bridge-2.0.a.p -Iatk-adaptor -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor -I. -I../src/ATK_2_38_0-a131295237.clean -Iatk-adaptor/adaptors -I../src/ATK_2_38_0-a131295237.clean/atk-adaptor/adaptors -Idroute -I../src/ATK_2_38_0-a131295237.clean/droute -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/at-spi-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/glib-2.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/glib-2.0/include -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../../include/atk-1.0 -I/home/wpwl/Softwares/vcpkg/installed/x64-linux/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -D_DEFAULT_SOURCE -DATK_DISABLE_DEPRECATION_WARNINGS -fPIC -g -fPIC -pthread -MD -MQ atk-adaptor/libatk-bridge-2.0.a.p/event.c.o -MF atk-adaptor/libatk-bridge-2.0.a.p/event.c.o.d -o atk-adaptor/libatk-bridge-2.0.a.p/event.c.o -c ../src/ATK_2_38_0-a131295237.clean/atk-adaptor/event.c [35/37] rm -f atk-adaptor/libatk-bridge-2.0.a && /opt/rh/devtoolset-8/root/usr/bin/ar csrD atk-adaptor/libatk-bridge-2.0.a atk-adaptor/libatk-bridge-2.0.a.p/accessible-leasing.c.o atk-adaptor/libatk-bridge-2.0.a.p/accessible-cache.c.o atk-adaptor/libatk-bridge-2.0.a.p/accessible-register.c.o atk-adaptor/libatk-bridge-2.0.a.p/accessible-stateset.c.o atk-adaptor/libatk-bridge-2.0.a.p/introspection.c.o atk-adaptor/libatk-bridge-2.0.a.p/bridge.c.o atk-adaptor/libatk-bridge-2.0.a.p/object.c.o atk-adaptor/libatk-bridge-2.0.a.p/event.c.o atk-adaptor/libatk-bridge-2.0.a.p/spi-dbus.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/accessible-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/action-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/application-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/cache-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/collection-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/component-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/document-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/editabletext-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/hyperlink-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/hypertext-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/image-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/selection-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/socket-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/table-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/table-cell-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/text-adaptor.c.o atk-adaptor/adaptors/libatk-bridge-adaptors.a.p/value-adaptor.c.o droute/libdroute.a.p/droute.c.o droute/libdroute.a.p/droute-variant.c.o droute/libdroute.a.p/droute-pairhash.c.o [36/37] /opt/rh/devtoolset-8/root/usr/bin/cc -o atk-adaptor/libatk-bridge.so atk-adaptor/libatk-bridge.so.p/gtk-2.0_module.c.o -L/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,--start-group atk-adaptor/libatk-bridge-2.0.a atk-adaptor/adaptors/libatk-bridge-adaptors.a droute/libdroute.a /usr/lib64/libdbus-1.so -pthread /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libatk-1.0.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgobject-2.0.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -lm /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpcre2-8.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libatspi.a /usr/lib64/libX11.so /usr/lib64/libXtst.so /usr/lib64/libXi.so -Wl,--export-dynamic /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgmodule-2.0.a -ldl -Wl,--end-group FAILED: atk-adaptor/libatk-bridge.so /opt/rh/devtoolset-8/root/usr/bin/cc -o atk-adaptor/libatk-bridge.so atk-adaptor/libatk-bridge.so.p/gtk-2.0_module.c.o -L/home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,--start-group atk-adaptor/libatk-bridge-2.0.a atk-adaptor/adaptors/libatk-bridge-adaptors.a droute/libdroute.a /usr/lib64/libdbus-1.so -pthread /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libatk-1.0.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgobject-2.0.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -lm /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpcre2-8.a /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libatspi.a /usr/lib64/libX11.so /usr/lib64/libXtst.so /usr/lib64/libXi.so -Wl,--export-dynamic /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgmodule-2.0.a -ldl -Wl,--end-group /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a(unix64.S.o): relocation R_X86_64_PC32 against symbol `abort@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: final link failed: Bad value collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ```

Additional context

FrankXie05 commented 1 year ago

-- at-spi2-atk currently requires the following libraries from the system package manager: libdbus-1

@HoMiGT Please install the system package libdbus-1.

HoMiGT commented 1 year ago

-- at-spi2-atk currently requires the following libraries from the system package manager: libdbus-1

@HoMiGT Please install the system package libdbus-1. image

But I downloaded the source code and installed it. You can also find it through locate

FrankXie05 commented 1 year ago
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a(unix64.S.o): relocation R_X86_64_PC32 against symbol `abort@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

It seems to issue due to libffi. 🤔

FrankXie05 commented 1 year ago

@HoMiGT Coulde you please run command ./vcpkg remove libffi:x64-linux --recurse and try again. :)

HoMiGT commented 1 year ago

You mean that it is possible that the libffi of the system conflicts with the library of anaconda or vcpkg, resulting in the failure of the compilation all the time? Ok, OK, thank you very much for your suggestion. I'll try it first

HoMiGT commented 1 year ago

It doesn't seem very good. When installing opencv, * at-spi2-atk [core]: x64-linux ->2.38.0 will also be installed, and the corresponding dependent libraries will still be installed. I wonder if they depend on some other libraries, but I can't find them.

HoMiGT commented 1 year ago

I have been asking libdbus-1 whether the path to search the library is not found in the system library first, but in my own installation library path when vcpkg is installed. I will try to install libdbus through vcpkg

FrankXie05 commented 1 year ago

You mean that it is possible that the libffi of the system conflicts with the library of anaconda or vcpkg, resulting in the failure of the compilation all the time? Ok, OK, thank you very much for your suggestion. I'll try it first

Still failed after trying?

It doesn't seem very good. When installing opencv, * at-spi2-atk [core]: x64-linux ->2.38.0 will also be installed, and the corresponding dependent libraries will still be installed. I wonder if they depend on some other libraries, but I can't find them.

Default dependencies are necessary, they will be listed in the corresponding vcpkg.json. And could you please provide a full output or a screenshot of your console?. I don't see any dependency on opencv4 for at-spi2-atk. /home/wpwl/Softwares/vcpkg/buildtrees/at-spi2-atk/stdout-x64-linux

I have been asking libdbus-1 whether the path to search the library is not found in the system library first, but in my own installation library path when vcpkg is installed. I will try to install libdbus through vcpkg

Follow the prompts to install. via apt-get install libdbus-1-dev

HoMiGT commented 1 year ago

Yes, it still hasn't been solved. The following figure is the log. Failed should be the problem. I asked ChatGPT and installed some libraries it suggested, but it hasn't been solved. Like ffmpeg, it doesn't seem to be in my yum source. I'm installing it in the way it suggested. My system is centos7, so libdbus-1 cannot be installed through apt-get. In addition, my system has previously installed opencv2.4.16 and has been successful. Even if I install opencv4.6 or opencv4.7 through the source code this time, I will still report many dependent problems

image

HoMiGT commented 1 year ago

@FrankXie05
It still cannot be solved. It is not clear what library does not exist and the installation cannot succeed. I'd better install it through opencv source code. Thank you very much for taking the time to answer my question. Thank you.

dg0yt commented 1 year ago

You may also try the x64-linux-dynamic triplet. It is only second-class citizen in vcpkg. But the x64-linux triplet has static linkage, and this is somewhat unusual in a Linux environment where you mix system packages, anaconda and vcpkg. The -fPIC is another indicator for a bad mix. (vcpkg package should use this already, even in static triplets.)

dg0yt commented 1 year ago
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: /home/wpwl/Softwares/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a(unix64.S.o): relocation R_X86_64_PC32 against symbol `abort@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

It seems to issue due to libffi. thinking

Vcpkg bug. It brings its own CMakeLists.txt with port libffi. This port compiles asm files (.S suffix) without -fPIC because the toolchain adds this option only to C and CXX flags.

ghost commented 1 year ago

I have encountered the same issue, how should I solve this bug?

dominique120 commented 1 year ago

I dont know why this was closed if the problem persists. Same identical issue as the original author with the latest version of vcpkg. System libraries are installed and working but the build still fails.

FrankXie05 commented 1 year ago

Re-open it, because this problem has not been resolved.

dg0yt commented 1 year ago

Can you test #33203?
I was able to reproduce your problem in the past, but no longer since I upgraded my system.

github-actions[bot] commented 1 year ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

github-actions[bot] commented 11 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

github-actions[bot] commented 10 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.