Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dbus] Build error on x64-linux #42973

Open
CombineSoldier14 opened this issue Dec 28, 2024 · 5 comments
Open

[dbus] Build error on x64-linux #42973

CombineSoldier14 opened this issue Dec 28, 2024 · 5 comments
Assignees
Labels
category:question This issue is a question

Comments

@CombineSoldier14
Copy link

Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
The following packages will be built and installed:
  * at-spi2-core:[email protected]#3 -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/5143414003b96ead1ffe40c57c9bf764bf64b0c0
  * dbus[core,systemd]:[email protected]#5 -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/ce28359a2d828a06b421d8a7b3841f83d98f0ed4
  * gettext[core,tools]:[email protected]#1 -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/1c1122632dae7ab9078655ee52e41c415ee4cfb4
  * gettext-libintl:[email protected]#2 -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/f41e983c85004eb6ee8d290ecb2465832fce8c00
  * glib:[email protected]#1 -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/3898752019d0ae61bd13a758b603325c152aec87
  * libffi:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/0ad381012102db5da196161ba7fc0a03a4dcb982
  * libwebp[core,libwebpmux,nearlossless,simd]:[email protected]#1 -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/9d0c00119dd6ec04488b4e0c926aa3ae73b95847
    qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols,quickcontrols2,svg,tools,translations,websockets]:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/80a421310ef4e6e2e5f7b54a40bd90df895d82d8
  * qt5-base:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/d207be89c93ec616752e5a19f97c2d794f117779
  * qt5-declarative[core,platform-default-features]:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/b221e8a2b8b92a7321a3e497dbe9dbf7af0872c8
  * qt5-graphicaleffects:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/2f470153ac34334631257a09143562dbbb5683c4
  * qt5-imageformats[core,tiff,webp]:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/ec7911ed48d7606ddbb183272057ad8d268c9293
  * qt5-multimedia:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/83530203612f2cb5b1fb3b2a988bef85d06ef43d
  * qt5-networkauth:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/833e30171f4535651d788a510a4206f137b4271a
  * qt5-quickcontrols:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/46cc1a78b410f6ef6c6c63bcb64233e35841de44
  * qt5-quickcontrols2:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/90297e8ad722045df958c28347b29a312ab27755
  * qt5-svg:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/b463bc31d7785958fafec93f49db574b737ee61a
  * qt5-tools:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/8c46478aa6df9dde8d3d78d2b5c5739f6337fa88
  * qt5-translations:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/5bfe13e093858096972a7ae2fd3cf95e9dfbee05
  * qt5-websockets:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/74b2f0b75ad4f77ad3068bc48e4b9017ba198a80
  * tiff[core,jpeg,lzma,zip]:[email protected] -- /home/combinesoldier14/.cache/vcpkg/registries/git-trees/54c1c045d21157ce32df8a1c8b7b9d57b0d5d6ce
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from /home/combinesoldier14/.cache/vcpkg/archives in 58.1 us. Use --debug to see more details.
Installing 1/21 dbus[core,systemd]:[email protected]#5...
Building dbus[core,systemd]:[email protected]#5...
/home/combinesoldier14/.cache/vcpkg/registries/git-trees/ce28359a2d828a06b421d8a7b3841f83d98f0ed4: info: installing overlay port from here
-- Note: dbus only supports dynamic library linkage. Building dynamic library.
-- Using cached dbus-dbus-dbus-1.15.8.tar.gz.
-- Cleaning sources at /home/combinesoldier14/vcpkg/buildtrees/dbus/src/bus-1.15.8-13db4f5df7.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/combinesoldier14/vcpkg/downloads/dbus-dbus-dbus-1.15.8.tar.gz
-- Applying patch cmake.dep.patch
-- Applying patch pkgconfig.patch
-- Applying patch getpeereid.patch
-- Applying patch libsystemd.patch
-- Using source at /home/combinesoldier14/vcpkg/buildtrees/dbus/src/bus-1.15.8-13db4f5df7.clean
-- Found external ninja('1.12.1').
-- Configuring x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /usr/bin/ninja -v
    Working Directory: /home/combinesoldier14/vcpkg/buildtrees/dbus/x64-linux-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      /home/combinesoldier14/vcpkg/buildtrees/dbus/config-x64-linux-dbg-CMakeCache.txt.log
      /home/combinesoldier14/vcpkg/buildtrees/dbus/config-x64-linux-rel-CMakeCache.txt.log
      /home/combinesoldier14/vcpkg/buildtrees/dbus/config-x64-linux-dbg-CMakeConfigureLog.yaml.log
      /home/combinesoldier14/vcpkg/buildtrees/dbus/config-x64-linux-rel-CMakeConfigureLog.yaml.log
      /home/combinesoldier14/vcpkg/buildtrees/dbus/config-x64-linux-out.log

Call Stack (most recent call first):
  /home/combinesoldier14/Documents/projects/cpp-projects/cpp-gui-test/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
  /home/combinesoldier14/.cache/vcpkg/registries/git-trees/ce28359a2d828a06b421d8a7b3841f83d98f0ed4/portfile.cmake:26 (vcpkg_cmake_configure)
  scripts/ports.cmake:196 (include)


error: building dbus:x64-linux failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle dbus:x64-linux: 13 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+dbus
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[dbus]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Fhome%2Fcombinesoldier14%2FDocuments%2Fprojects%2Fcpp-projects%2Fcpp-gui-test%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

Hello, I am trying to install qt5 on vcpkg and I run into this error when building dbus. I am on Fedora Linux 41 with x86_64.

Steps to reproduce:
vcpkg add port qt5
vcpkg install

I have verified that my vcpkg is up to date with vcpkg upgrade and git pull in its directory.

@LilyWangLL LilyWangLL added the requires:more-information This Issue requires more information to solve label Dec 30, 2024
@LilyWangLL
Copy link
Contributor

Please provide the error log: /home/combinesoldier14/vcpkg/buildtrees/dbus/config-x64-linux-out.log.

@CombineSoldier14
Copy link
Author

config-x64-linux-out.log
It's really long so I'll just attach it

@LilyWangLL
Copy link
Contributor

CMake Error at CMakeLists.txt:134 (message):
  pkg-config not found, this is required on Linux systems

Please install pkg-config by command sudo apt install pkg-config.

@LilyWangLL LilyWangLL added category:question This issue is a question and removed requires:more-information This Issue requires more information to solve labels Dec 30, 2024
@CombineSoldier14
Copy link
Author

It's already installed

@dg0yt
Copy link
Contributor

dg0yt commented Dec 30, 2024

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
    Reason given by package: The command
      "/home/combinesoldier14/Documents/projects/cpp-projects/cpp-gui-test/vcpkg_installed/x64-linux/tools/pkgconf/pkgconf" --version
    failed with output:

    stderr: 
      
    result: 
Segmentation fault

The actual problem is that pkgconf from port pkgconf fails to run. Reason unknown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants