Skip to content

Installation fails when running "sudo meson compile -C build" #744

Closed
@danielalexandrov

Description

@danielalexandrov

Describe the bug
When following the installation step "meson compile -C build" the command fails.
Error:
FAILED: hyprpanel.js
/usr/bin/ags bundle --define 'DATADIR="/usr/share/hyprpanel"' --root /home/danielalexandrov/gitClones/HyprPanel /home/danielalexandrov/gitClones/HyprPanel/app.ts hyprpanel.js

(com.github.Aylur.ags:51040): Gjs-Console-CRITICAL **: 23:16:21.155: unknown option: bundle

(com.github.Aylur.ags:51040): Gjs-Console-CRITICAL **: 23:16:21.155: unknown option: --define

(com.github.Aylur.ags:51040): Gjs-Console-CRITICAL **: 23:16:21.155: unknown option: DATADIR="/usr/share/hyprpanel"

(com.github.Aylur.ags:51040): Gjs-Console-CRITICAL **: 23:16:21.156: unknown option: --root

(com.github.Aylur.ags:51040): Gjs-Console-CRITICAL **: 23:16:21.156: unknown option: /home/danielalexandrov/gitClones/HyprPanel

(com.github.Aylur.ags:51040): Gjs-Console-CRITICAL **: 23:16:21.156: unknown option: /home/danielalexandrov/gitClones/HyprPanel/app.ts

(com.github.Aylur.ags:51040): Gjs-Console-CRITICAL **: 23:16:21.156: unknown option: hyprpanel.js

(com.github.Aylur.ags:51040): Gjs-CRITICAL **: 23:16:21.159: JS ERROR: GLib.Error g-spawn-exit-error-quark: Error spawning command line “dbus-launch --autolaunch=edd280d74b7b4dcfba807544158cf47b --binary-syntax --close-stderr”: Child process exited with code 1
get@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:503:28
isRunning@resource:///com/github/Aylur/ags/utils/init.js:8:5
main@resource:///com/github/Aylur/ags/main.js:113:18
@file:///usr/bin/ags:36:31

(com.github.Aylur.ags:51040): Gjs-CRITICAL **: 23:16:21.159: Module file:///usr/bin/ags threw an exception
ninja: build stopped: subcommand failed.

To Reproduce
Running "meson compile -C build"

Expected behavior
The command running without errors and being able to run next and final command

Desktop:

  • Distribution: Fedora 40 Workstation
  • Window Manager/Desktop Environment: Hyprland

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions