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
Package: libsystemd:x64-linux@255#2
Host Environment
To Reproduce
vcpkg install
Failure logs
-- Found Python version '3.12.3 at /usr/bin/python3' -- Using meson: /home/suraj/vcpkg/downloads/tools/meson-1.3.2-6f83ac/meson.py -- Using cached systemd-systemd-v255.tar.gz. -- Cleaning sources at /home/suraj/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source /home/suraj/vcpkg/downloads/systemd-systemd-v255.tar.gz -- Applying patch disable-warning-nonnull.patch -- Applying patch only-libsystemd.patch -- Applying patch pkgconfig.patch -- Using source at /home/suraj/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean -- Found external ninja('1.12.1'). -- Configuring x64-linux-dbg -- Getting CMake variables for x64-linux-dbg -- Getting CMake variables for x64-linux-rel CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message): Command failed: /usr/bin/python3 -I /home/suraj/vcpkg/downloads/tools/meson-1.3.2-6f83ac/meson.py setup -Dmode=release -Dstatic-libsystemd=pic -Dtests=false -Ddns-over-tls=false -Dtranslations=false -Dacl=disabled -Dapparmor=disabled -Daudit=disabled -Dblkid=disabled -Dbpf-framework=disabled -Dbzip2=disabled -Ddbus=disabled -Delfutils=disabled -Dfdisk=disabled -Dgcrypt=disabled -Dglib=disabled -Dgnutls=disabled -Dkmod=disabled -Dlibcurl=disabled -Dlibcryptsetup=disabled -Dlibfido2=disabled -Dlibidn=disabled -Dlibidn2=disabled -Dlibiptc=disabled -Dmicrohttpd=disabled -Dopenssl=disabled -Dp11kit=disabled -Dpam=disabled -Dpcre2=disabled -Dpolkit=disabled -Dpwquality=disabled -Dpasswdqc=disabled -Dseccomp=disabled -Dselinux=disabled -Dtpm2=disabled -Dxenctrl=disabled -Dxkbcommon=disabled -Dzlib=disabled -Dlz4=enabled -Dxz=enabled -Dzstd=enabled --backend ninja --wrap-mode nodownload -Doptimization=plain --native /home/suraj/vcpkg/buildtrees/libsystemd/meson-x64-linux-dbg.log --libdir lib --pkgconfig.relocatable -Ddebug=true --prefix /home/suraj/vcpkg/packages/libsystemd_x64-linux/debug --includedir ../include --pkg-config-path ['/home/suraj/work/test/build/vcpkg_installed/x64-linux/debug/lib/pkgconfig','/home/suraj/work/test/build/vcpkg_installed/x64-linux/share/pkgconfig'] -Dcmake_prefix_path=['/home/suraj/work/test/build/vcpkg_installed/x64-linux/debug','/home/suraj/work/test/build/vcpkg_installed/x64-linux'] /home/suraj/vcpkg/buildtrees/libsystemd/src/v255-948a7f2e81.clean Working Directory: /home/suraj/vcpkg/buildtrees/libsystemd/x64-linux-dbg Error code: 1 See logs for more information: /home/suraj/vcpkg/buildtrees/libsystemd/config-x64-linux-dbg-meson-log.txt.log /home/suraj/vcpkg/buildtrees/libsystemd/config-x64-linux-dbg-out.log Call Stack (most recent call first): /home/suraj/work/test/build/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:463 (vcpkg_execute_required_process) ports/libsystemd/portfile.cmake:17 (vcpkg_configure_meson) scripts/ports.cmake:191 (include)
Please find the logs in attached files. config-x64-linux-dbg-meson-log.txt.log config-x64-linux-dbg-out.log
Additional context
{ "name": "test", "dependencies": [ "wxwidgets" ] }
The text was updated successfully, but these errors were encountered:
This issue has been fixed in upstream PR 31709, I need to update the version in vcpkg to fix this issue.
I encounter the same issue when building SDL2. I tried to disable the "dbus" feature but it still tries to build it. Any ideas what is wrong here:?
"opus", { "name": "sdl2", "default-features": false },
Is it possible somehow to disable SystemD / DBus for SDL2 in manifest mode?
@feliwir You are almost there. The libsystemd dependency is from dbus feature systemd. So you want:
libsystemd
dbus
systemd
{ "name": "dbus", "default-features": false },
Demo:
$ ./vcpkg depend-info sdl2 dbus[core] vcpkg-cmake: vcpkg-cmake-config: expat: vcpkg-cmake, vcpkg-cmake-config dbus: expat, vcpkg-cmake, vcpkg-cmake-config sdl2[x11, wayland, ibus]: dbus, vcpkg-cmake, vcpkg-cmake-config
Package: libsystemd:x64-linux@255#2
Host Environment
vcpkg-scripts version: 67a3005 2024-06-17 (19 hours ago)
To Reproduce
vcpkg install
Failure logs
Please find the logs in attached files.
config-x64-linux-dbg-meson-log.txt.log
config-x64-linux-dbg-out.log
Additional context
vcpkg.json
The text was updated successfully, but these errors were encountered: