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

shell build without systemd support breaks by missing libsystemd though systemd support is not enabled #227

Open
a-manthey opened this issue Sep 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@a-manthey
Copy link

I saw this issue

i am on artix linux openrc and try to build liri-shell-git from aur.

-DFEATURE_enable_systemd:BOOL=OFF is added to cmake.

Here the output:

-- The following features have been disabled:

 * Coverage, Code coverage (gcc only)
 * Liri::DevelopmentBuild, Build Liri Shell for development
 * Liri::Systemd, Enable systemd support
 * Shell::QtQuickCompiler, Build with QtQuick compiler

-- Found Wayland: /usr/lib/libwayland-server.so (found suitable version "1.22.0", minimum required is "1.15") found components: Server 
-- Found Wayland: /usr/lib/libwayland-client.so (found suitable version "1.22.0", minimum required is "1.15") found components: Client 
-- Found Wayland: /usr/lib/libwayland-server.so (found suitable version "1.22.0", minimum required is "1.15") found components: Server 
-- Adding Qt5::DBus target to MprisQmlPlugin
-- Found Wayland: /usr/lib/libwayland-client.so;/usr/lib/libwayland-server.so;/usr/lib/libwayland-cursor.so;/usr/lib/libwayland-egl.so (found version "1.22.0")  
-- Found Wayland: /usr/lib/libwayland-client.so;/usr/lib/libwayland-server.so;/usr/lib/libwayland-cursor.so;/usr/lib/libwayland-egl.so (found suitable version "1.22.0", minimum required is "1.15") found components: Server 
-- Found Wayland: /usr/lib/libwayland-client.so (found suitable version "1.22.0", minimum required is "1.15") found components: Client 
-- Configuring done (0.2s)
CMake Error at /usr/share/LiriCMakeShared/modules/LiriBuild.cmake:189 (target_link_libraries):
  Target "LiriShellHelper" links to:

    PkgConfig::Libsystemd

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  src/helper/CMakeLists.txt:48 (liri_extend_target)


CMake Error at /usr/share/LiriCMakeShared/modules/LiriBuild.cmake:189 (target_link_libraries):
  Target "LiriShellLockscreen" links to:

    PkgConfig::Libsystemd

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  src/lockscreen/CMakeLists.txt:49 (liri_extend_target)


-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

What can i do?

@plfiorini plfiorini self-assigned this Dec 13, 2023
@plfiorini plfiorini added the bug Something isn't working label Dec 13, 2023
@plfiorini plfiorini added this to To do in Liri OS 1.0.0-alpha.1 via automation Dec 13, 2023
@plfiorini plfiorini added this to the 1.0.0-alpha.1 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants