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

[Bug] swaync and swaync-git AUR packages fail to install #327

Closed
Azelphur opened this issue Oct 5, 2023 · 4 comments
Closed

[Bug] swaync and swaync-git AUR packages fail to install #327

Azelphur opened this issue Oct 5, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Azelphur
Copy link

Azelphur commented Oct 5, 2023

Edit: For anyone coming from Google, to save you some time. The problem I had was that my vala version appeared to be stuck on 0.44, running pacman -S vala fixed it.

When trying to install either swaync or swaync-git, I get the following:

AUR Explicit (1): swaync-0.9.0-1
:: (1/1) Downloaded PKGBUILD: swaync
  1 swaync                           (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 swaync                           (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: swaync 0.9.0-1 (Thu 05 Oct 2023 13:07:35 BST)
==> Retrieving sources...
  -> Downloading SwayNotificationCenter-0.9.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3103k    0 3103k    0     0  2220k      0 --:--:--  0:00:01 --:--:-- 4015k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    SwayNotificationCenter-0.9.0.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: swaync
==> Making package: swaync 0.9.0-1 (Thu 05 Oct 2023 13:07:38 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found SwayNotificationCenter-0.9.0.tar.gz
==> Validating source files with sha256sums...
    SwayNotificationCenter-0.9.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting SwayNotificationCenter-0.9.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: swaync 0.9.0-1 (Thu 05 Oct 2023 13:07:40 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 SwayNotificationCenter-0.9.0 build -Dscripting=true
The Meson build system
Version: 1.2.2
Source dir: /home/azelphur/.cache/yay/swaync/src/SwayNotificationCenter-0.9.0
Build dir: /home/azelphur/.cache/yay/swaync/src/build
Build type: native build
Project name: sway-notificaton-center
Project version: 0.9.0
C compiler for the host machine: ccache cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
Vala compiler for the host machine: valac (valac 0.44.11)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program git found: YES (/usr/bin/git)
Configuring constants.vala using configuration
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency gio-2.0 found: YES 2.78.0
Run-time dependency gio-unix-2.0 found: YES 2.78.0
Run-time dependency gtk+-3.0 found: YES 3.24.38
Run-time dependency json-glib-1.0 found: YES 1.8.0
Run-time dependency libhandy-1 found: YES 1.8.2
Library gtk-layer-shell found: YES
Library m found: YES
Library posix found: YES
Run-time dependency gee-0.8 found: YES 0.20.6
Run-time dependency libpulse found: YES 16.1
Run-time dependency libpulse-mainloop-glib found: YES 16.1
Dependency libhandy-1 found: YES 1.8.2 (cached)
Run-time dependency gtk-layer-shell-0 found: YES 0.8.1
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Dependency gio-2.0 found: YES 2.78.0 (cached)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring config.json using configuration
Configuring org.erikreider.swaync.service using configuration
Run-time dependency systemd found: YES 254
Configuring swaync.service using configuration
Found CMake: /usr/bin/cmake (3.27.6)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Build-time dependency scdoc found: YES 1.11.2
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Message: share/man 1 share/man/man1
Message: share/man 5 share/man/man5
Message: share/man 1 share/man/man1
Build targets in project: 7

sway-notificaton-center 0.9.0

  User defined options
    auto_features     : enabled
    buildtype         : plain
    libexecdir        : lib
    prefix            : /usr
    sbindir           : bin
    wrap_mode         : nodownload
    python.bytecompile: 1
    b_lto             : true
    b_pie             : true
    scripting         : true

Found ninja-1.11.1 at /usr/bin/ninja
ninja: Entering directory `build'                                                                                                                                                                                                                                                        
[7/42] Compiling Vala source ../SwayNotificationCenter-0.9.0/src/client.vala src/constants.vala
FAILED: src/swaync-client.p/client.c src/swaync-client.p/constants.c 
valac -C --enable-gobject-tracing --enable-checking -D WANT_SCRIPTING -D HAVE_LATEST_LIBHANDY -D HAVE_LATEST_GTK_LAYER_SHELL --pkg libpulse-mainloop-glib --pkg libpulse --pkg gee-0.8 --pkg posix --pkg libhandy-1 --pkg json-glib-1.0 --pkg gtk+-3.0 --pkg gio-unix-2.0 --pkg gio-2.0 --color=always --directory src/swaync-client.p --basedir ../SwayNotificationCenter-0.9.0/src --target-glib=2.50 --pkg=GtkLayerShell-0.1 ../SwayNotificationCenter-0.9.0/src/client.vala src/constants.vala
GtkLayerShell-0.1.gir:393.5-393.35: error: unknown child element `docsection' in `namespace'
    <docsection name="gtk-layer-shell">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GModule-2.0.gir:458.5-458.19: error: unknown child element `docsection' in `namespace'
    <docsection name="modules">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14189.5-14189.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-aat-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14197.5-14197.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-blob">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14205.5-14205.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-buffer">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14217.5-14217.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-common">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14222.5-14222.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-deprecated">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14228.5-14228.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-draw">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14235.5-14235.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-face">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14251.5-14251.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-font">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14274.5-14274.15: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ft">
    ^^^^^^^^^^^
HarfBuzz-0.0.gir:14285.5-14285.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-glib">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14294.5-14294.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-map">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14301.5-14301.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-color">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14308.5-14308.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-font">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14315.5-14315.29: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14322.5-14322.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-math">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14331.5-14331.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-meta">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14336.5-14336.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-metrics">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14341.5-14341.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-name">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14346.5-14346.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-shape">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14351.5-14351.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-var">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14356.5-14356.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-paint">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14367.5-14367.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-set">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14374.5-14374.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14382.5-14382.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape-plan">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14397.5-14397.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-style">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14402.5-14402.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-unicode">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14417.5-14417.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-version">
    ^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 29 error(s), 0 warning(s)
[8/42] Compiling Vala source ../SwayNotificationCenter-0.9.0/src/main.vala ../SwayNotificationCenter-0.9.0/src/orderedHashTable/orderedHash...vala ../SwayNotificationCenter-0.9.0/src/blankWindow/blankWindow.vala ../SwayNotificationCenter-0.9.0/src/functions.vala src/constants.vala
FAILED: src/swaync.p/main.c src/swaync.p/orderedHashTable/orderedHashTable.c src/swaync.p/configModel/configModel.c src/swaync.p/swayncDaemon/swayncDaemon.c src/swaync.p/notiDaemon/notiDaemon.c src/swaync.p/notiModel/notiModel.c src/swaync.p/notificationWindow/notificationWindow.c src/swaync.p/notification/notification.c src/swaync.p/controlCenter/controlCenter.c src/swaync.p/controlCenter/widgets/baseWidget.c src/swaync.p/controlCenter/widgets/factory.c src/swaync.p/controlCenter/widgets/title/title.c src/swaync.p/controlCenter/widgets/dnd/dnd.c src/swaync.p/controlCenter/widgets/label/label.c src/swaync.p/controlCenter/widgets/mpris/mpris.c src/swaync.p/controlCenter/widgets/mpris/interfaces.c src/swaync.p/controlCenter/widgets/mpris/mpris_player.c src/swaync.p/controlCenter/widgets/menubar/menubar.c src/swaync.p/controlCenter/widgets/buttonsGrid/buttonsGrid.c src/swaync.p/controlCenter/widgets/volume/volume.c src/swaync.p/controlCenter/widgets/volume/pulseDaemon.c src/swaync.p/controlCenter/widgets/volume/pulseDevice.c src/swaync.p/controlCenter/widgets/volume/pulseSinkInput.c src/swaync.p/controlCenter/widgets/volume/sinkInputRow.c src/swaync.p/controlCenter/widgets/backlight/backlight.c src/swaync.p/controlCenter/widgets/backlight/backlightUtil.c src/swaync.p/controlCenter/widgets/inhibitors/inhibitors.c src/swaync.p/blankWindow/blankWindow.c src/swaync.p/functions.c src/swaync.p/constants.c 
valac -C --enable-gobject-tracing --enable-checking -D WANT_SCRIPTING -D HAVE_LATEST_LIBHANDY -D HAVE_LATEST_GTK_LAYER_SHELL --pkg libpulse-mainloop-glib --pkg libpulse --pkg gee-0.8 --pkg posix --pkg libhandy-1 --pkg json-glib-1.0 --pkg gtk+-3.0 --pkg gio-unix-2.0 --pkg gio-2.0 --color=always --directory src/swaync.p --basedir ../SwayNotificationCenter-0.9.0/src --gresources=../SwayNotificationCenter-0.9.0/src/sway_notification_center.gresource.xml --target-glib=2.50 --pkg=GtkLayerShell-0.1 ../SwayNotificationCenter-0.9.0/src/main.vala ../SwayNotificationCenter-0.9.0/src/orderedHashTable/orderedHashTable.vala ../SwayNotificationCenter-0.9.0/src/configModel/configModel.vala ../SwayNotificationCenter-0.9.0/src/swayncDaemon/swayncDaemon.vala ../SwayNotificationCenter-0.9.0/src/notiDaemon/notiDaemon.vala ../SwayNotificationCenter-0.9.0/src/notiModel/notiModel.vala ../SwayNotificationCenter-0.9.0/src/notificationWindow/notificationWindow.vala ../SwayNotificationCenter-0.9.0/src/notification/notification.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/controlCenter.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/baseWidget.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/factory.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/title/title.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/dnd/dnd.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/label/label.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/interfaces.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris_player.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/buttonsGrid/buttonsGrid.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/volume.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/pulseDaemon.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/pulseDevice.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/pulseSinkInput.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/sinkInputRow.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/backlight/backlight.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/backlight/backlightUtil.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/inhibitors/inhibitors.vala ../SwayNotificationCenter-0.9.0/src/blankWindow/blankWindow.vala ../SwayNotificationCenter-0.9.0/src/functions.vala src/constants.vala
../SwayNotificationCenter-0.9.0/src/swayncDaemon/swayncDaemon.vala:154.13-154.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/controlCenter/controlCenter.vala:90.17-90.17: error: syntax error, expected identifier
                };
                ^
../SwayNotificationCenter-0.9.0/src/controlCenter/controlCenter.vala:123.17-123.17: error: syntax error, expected identifier
                };
                ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/dnd/dnd.vala:32.13-32.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:29.9-29.9: error: syntax error, expected identifier
        };
        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:39.13-39.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:41.57-41.57: error: syntax error, `new' modifier not allowed on creation method
            button_prev = new Gtk.Button.from_icon_name ("go-previous", Gtk.IconSize.BUTTON) {
                                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:47.57-47.57: error: syntax error, `new' modifier not allowed on creation method
            button_next = new Gtk.Button.from_icon_name ("go-next", Gtk.IconSize.BUTTON) {
                                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:53.41-53.41: error: syntax error, `new' modifier not allowed on creation method
            carousel = new Hdy.Carousel () {
                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:76.59-76.59: error: syntax error, `new' modifier not allowed on creation method
            carousel_dots = new Hdy.CarouselIndicatorDots ();
                                                          ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:66.31-66.31: error: syntax error, expected identifier
                obj.revealer ?.set_reveal_child (false);
                              ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:107.41-107.41: error: syntax error, expected identifier
                            o.revealer ?.set_reveal_child (false);
                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:132.9-132.17: error: syntax error, expected `)'
        protected void parse_config_objects (Json.Object config) {
        ^^^^^^^^^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:204.17-204.17: error: syntax error, expected identifier
                });
                ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:208.25-208.28: error: syntax error, expected `;'
        public override void on_cc_visibility_change (bool val) {
                        ^^^^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:211.35-211.35: error: syntax error, expected identifier
                    obj.revealer ?.set_reveal_child (false);
                                  ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:217.1-217.0: error: syntax error, expected `default'


../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/backlight/backlightUtil.vala:5.9-5.33: error: unexpected declaration
        interface Login1 : Object {
        ^^^^^^^^^^^^^^^^^^^^^^^^^
../SwayNotificationCenter-0.9.0/src/blankWindow/blankWindow.vala:23.13-23.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/blankWindow/blankWindow.vala:30.14-30.14: error: syntax error, expected identifier
            });
             ^
../SwayNotificationCenter-0.9.0/src/functions.vala:112.79-112.79: error: syntax error, expected identifier
                    custom_path = Environment.get_home_dir () + custom_path[1:];
                                                                              ^
../SwayNotificationCenter-0.9.0/src/functions.vala:142.23-142.28: error: syntax error, expected `;'
        public static string get_config_path (owned string ? custom_path) {
                      ^^^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:150.79-150.79: error: syntax error, expected identifier
                    custom_path = Environment.get_home_dir () + custom_path[1:];
                                                                              ^
../SwayNotificationCenter-0.9.0/src/functions.vala:177.23-177.28: error: syntax error, expected `;'
        public static string get_match_from_info (MatchInfo info) {
                      ^^^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:192.23-192.26: error: syntax error, expected `;'
        public static Type get_base_type (Type type) {
                      ^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:202.23-202.25: error: syntax error, expected `;'
        public static Gdk.Pixbuf scale_round_pixbuf (Gdk.Pixbuf pixbuf,
                      ^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:207.60-207.60: error: syntax error, `new' modifier not allowed on creation method
            Cairo.Surface surface = new Cairo.ImageSurface (Cairo.Format.ARGB32,
                                                           ^
../SwayNotificationCenter-0.9.0/src/functions.vala:210.40-210.40: error: syntax error, `new' modifier not allowed on creation method
            var cr = new Cairo.Context (surface);
                                       ^
../SwayNotificationCenter-0.9.0/src/functions.vala:214.13-214.27: error: missing return type in method `Functions.cr´
            cr.new_sub_path ();
            ^^^^^^^^^^^^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:215.34-215.34: error: syntax error, expected identifier
            cr.arc (buffer_width - radius, radius, radius, -90 * DEGREES, 0 * DEGREES);
                                 ^
GtkLayerShell-0.1.gir:393.5-393.35: error: unknown child element `docsection' in `namespace'
    <docsection name="gtk-layer-shell">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GModule-2.0.gir:458.5-458.19: error: unknown child element `docsection' in `namespace'
    <docsection name="modules">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14189.5-14189.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-aat-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14197.5-14197.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-blob">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14205.5-14205.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-buffer">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14217.5-14217.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-common">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14222.5-14222.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-deprecated">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14228.5-14228.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-draw">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14235.5-14235.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-face">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14251.5-14251.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-font">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14274.5-14274.15: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ft">
    ^^^^^^^^^^^
HarfBuzz-0.0.gir:14285.5-14285.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-glib">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14294.5-14294.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-map">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14301.5-14301.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-color">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14308.5-14308.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-font">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14315.5-14315.29: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14322.5-14322.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-math">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14331.5-14331.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-meta">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14336.5-14336.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-metrics">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14341.5-14341.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-name">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14346.5-14346.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-shape">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14351.5-14351.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-var">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14356.5-14356.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-paint">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14367.5-14367.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-set">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14374.5-14374.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14382.5-14382.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape-plan">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14397.5-14397.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-style">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14402.5-14402.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-unicode">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14417.5-14417.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-version">
    ^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 59 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: swaync-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
swaync - exit status 4```
@Azelphur Azelphur added the bug Something isn't working label Oct 5, 2023
@Azelphur
Copy link
Author

For anyone else that may be facing this issue, as a workaround, you can grab swaync from nwg's github repo https://github.com/nwg-piotr/nwg-iso/tree/master/nwglive/airootfs/usr/share/nwg-repo and install it with pacman -U

@ErikReider
Copy link
Owner

Is this still an issue?

@Azelphur
Copy link
Author

Yes, seems to be, I just tried upgrading my whole system (pacman -Syu) then running yay -S swaync again, and got the following:

16:08:18 ✘ azelphur@darth-vader:(main)~$ yay -S swaync
AUR Explicit (1): swaync-0.9.0-1
:: PKGBUILD up to date, skipping download: swaync
  1 swaync                           (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/azelphur/.cache/yay/swaync
HEAD is now at 175699d Bumped version to v0.9.0
warning: could not open directory 'pkg/': Permission denied
Removing SwayNotificationCenter-0.9.0.tar.gz
Removing pkg/
Removing src/
  1 swaync                           (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: swaync 0.9.0-1 (Thu 14 Dec 2023 16:09:18 GMT)
==> Retrieving sources...
  -> Downloading SwayNotificationCenter-0.9.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3103k    0 3103k    0     0  3332k      0 --:--:-- --:--:-- --:--:-- 3332k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    SwayNotificationCenter-0.9.0.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: swaync
==> Making package: swaync 0.9.0-1 (Thu 14 Dec 2023 16:09:20 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found SwayNotificationCenter-0.9.0.tar.gz
==> Validating source files with sha256sums...
    SwayNotificationCenter-0.9.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting SwayNotificationCenter-0.9.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: swaync 0.9.0-1 (Thu 14 Dec 2023 16:09:23 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 SwayNotificationCenter-0.9.0 build -Dscripting=true
The Meson build system
Version: 1.3.0
Source dir: /home/azelphur/.cache/yay/swaync/src/SwayNotificationCenter-0.9.0
Build dir: /home/azelphur/.cache/yay/swaync/src/build
Build type: native build
Project name: sway-notificaton-center
Project version: 0.9.0
C compiler for the host machine: ccache cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
Vala compiler for the host machine: valac (valac 0.44.11)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program git found: YES (/usr/bin/git)
Configuring constants.vala using configuration
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0
Run-time dependency gio-2.0 found: YES 2.78.3
Run-time dependency gio-unix-2.0 found: YES 2.78.3
Run-time dependency gtk+-3.0 found: YES 3.24.38
Run-time dependency json-glib-1.0 found: YES 1.8.0
Run-time dependency libhandy-1 found: YES 1.8.2
Library gtk-layer-shell found: YES
Library m found: YES
Library posix found: YES
Run-time dependency gee-0.8 found: YES 0.20.6
Run-time dependency libpulse found: YES 16.1
Run-time dependency libpulse-mainloop-glib found: YES 16.1
Dependency libhandy-1 found: YES 1.8.2 (cached)
Run-time dependency gtk-layer-shell-0 found: YES 0.8.1
Dependency gio-2.0 found: YES 2.78.3 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring config.json using configuration
Configuring org.erikreider.swaync.service using configuration
Run-time dependency systemd found: YES 255
Configuring swaync.service using configuration
Found CMake: /usr/bin/cmake (3.28.0)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Build-time dependency scdoc found: YES 1.11.2
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Message: share/man 1 share/man/man1
Message: share/man 5 share/man/man5
Message: share/man 1 share/man/man1
Build targets in project: 7

sway-notificaton-center 0.9.0

  User defined options
    auto_features     : enabled
    buildtype         : plain
    libexecdir        : lib
    prefix            : /usr
    sbindir           : bin
    wrap_mode         : nodownload
    python.bytecompile: 1
    b_lto             : true
    b_pie             : true
    scripting         : true

Found ninja-1.11.1 at /usr/bin/ninja
ninja: Entering directory `build'                                                                                                                                                                                 
[7/42] Compiling Vala source ../SwayNotificationCenter-0.9.0/src/main.vala ../SwayNotificationCenter-0..../src/blankWindow/blankWindow.vala ../SwayNotificationCenter-0.9.0/src/functions.vala src/constants.vala
FAILED: src/swaync.p/main.c src/swaync.p/orderedHashTable/orderedHashTable.c src/swaync.p/configModel/configModel.c src/swaync.p/swayncDaemon/swayncDaemon.c src/swaync.p/notiDaemon/notiDaemon.c src/swaync.p/notiModel/notiModel.c src/swaync.p/notificationWindow/notificationWindow.c src/swaync.p/notification/notification.c src/swaync.p/controlCenter/controlCenter.c src/swaync.p/controlCenter/widgets/baseWidget.c src/swaync.p/controlCenter/widgets/factory.c src/swaync.p/controlCenter/widgets/title/title.c src/swaync.p/controlCenter/widgets/dnd/dnd.c src/swaync.p/controlCenter/widgets/label/label.c src/swaync.p/controlCenter/widgets/mpris/mpris.c src/swaync.p/controlCenter/widgets/mpris/interfaces.c src/swaync.p/controlCenter/widgets/mpris/mpris_player.c src/swaync.p/controlCenter/widgets/menubar/menubar.c src/swaync.p/controlCenter/widgets/buttonsGrid/buttonsGrid.c src/swaync.p/controlCenter/widgets/volume/volume.c src/swaync.p/controlCenter/widgets/volume/pulseDaemon.c src/swaync.p/controlCenter/widgets/volume/pulseDevice.c src/swaync.p/controlCenter/widgets/volume/pulseSinkInput.c src/swaync.p/controlCenter/widgets/volume/sinkInputRow.c src/swaync.p/controlCenter/widgets/backlight/backlight.c src/swaync.p/controlCenter/widgets/backlight/backlightUtil.c src/swaync.p/controlCenter/widgets/inhibitors/inhibitors.c src/swaync.p/blankWindow/blankWindow.c src/swaync.p/functions.c src/swaync.p/constants.c 
valac -C --enable-gobject-tracing --enable-checking -D WANT_SCRIPTING -D HAVE_LATEST_LIBHANDY -D HAVE_LATEST_GTK_LAYER_SHELL --pkg libpulse-mainloop-glib --pkg libpulse --pkg gee-0.8 --pkg posix --pkg libhandy-1 --pkg json-glib-1.0 --pkg gtk+-3.0 --pkg gio-unix-2.0 --pkg gio-2.0 --color=always --directory src/swaync.p --basedir ../SwayNotificationCenter-0.9.0/src --gresources=../SwayNotificationCenter-0.9.0/src/sway_notification_center.gresource.xml --target-glib=2.50 --pkg=GtkLayerShell-0.1 ../SwayNotificationCenter-0.9.0/src/main.vala ../SwayNotificationCenter-0.9.0/src/orderedHashTable/orderedHashTable.vala ../SwayNotificationCenter-0.9.0/src/configModel/configModel.vala ../SwayNotificationCenter-0.9.0/src/swayncDaemon/swayncDaemon.vala ../SwayNotificationCenter-0.9.0/src/notiDaemon/notiDaemon.vala ../SwayNotificationCenter-0.9.0/src/notiModel/notiModel.vala ../SwayNotificationCenter-0.9.0/src/notificationWindow/notificationWindow.vala ../SwayNotificationCenter-0.9.0/src/notification/notification.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/controlCenter.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/baseWidget.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/factory.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/title/title.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/dnd/dnd.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/label/label.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/interfaces.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris_player.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/buttonsGrid/buttonsGrid.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/volume.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/pulseDaemon.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/pulseDevice.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/pulseSinkInput.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/volume/sinkInputRow.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/backlight/backlight.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/backlight/backlightUtil.vala ../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/inhibitors/inhibitors.vala ../SwayNotificationCenter-0.9.0/src/blankWindow/blankWindow.vala ../SwayNotificationCenter-0.9.0/src/functions.vala src/constants.vala
../SwayNotificationCenter-0.9.0/src/swayncDaemon/swayncDaemon.vala:154.13-154.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/controlCenter/controlCenter.vala:90.17-90.17: error: syntax error, expected identifier
                };
                ^
../SwayNotificationCenter-0.9.0/src/controlCenter/controlCenter.vala:123.17-123.17: error: syntax error, expected identifier
                };
                ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/dnd/dnd.vala:32.13-32.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:29.9-29.9: error: syntax error, expected identifier
        };
        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:39.13-39.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:41.57-41.57: error: syntax error, `new' modifier not allowed on creation method
            button_prev = new Gtk.Button.from_icon_name ("go-previous", Gtk.IconSize.BUTTON) {
                                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:47.57-47.57: error: syntax error, `new' modifier not allowed on creation method
            button_next = new Gtk.Button.from_icon_name ("go-next", Gtk.IconSize.BUTTON) {
                                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:53.41-53.41: error: syntax error, `new' modifier not allowed on creation method
            carousel = new Hdy.Carousel () {
                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/mpris/mpris.vala:76.59-76.59: error: syntax error, `new' modifier not allowed on creation method
            carousel_dots = new Hdy.CarouselIndicatorDots ();
                                                          ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:66.31-66.31: error: syntax error, expected identifier
                obj.revealer ?.set_reveal_child (false);
                              ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:107.41-107.41: error: syntax error, expected identifier
                            o.revealer ?.set_reveal_child (false);
                                        ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:132.9-132.17: error: syntax error, expected `)'
        protected void parse_config_objects (Json.Object config) {
        ^^^^^^^^^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:204.17-204.17: error: syntax error, expected identifier
                });
                ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:208.25-208.28: error: syntax error, expected `;'
        public override void on_cc_visibility_change (bool val) {
                        ^^^^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:211.35-211.35: error: syntax error, expected identifier
                    obj.revealer ?.set_reveal_child (false);
                                  ^
../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/menubar/menubar.vala:217.1-217.0: error: syntax error, expected `default'


../SwayNotificationCenter-0.9.0/src/controlCenter/widgets/backlight/backlightUtil.vala:5.9-5.33: error: unexpected declaration
        interface Login1 : Object {
        ^^^^^^^^^^^^^^^^^^^^^^^^^
../SwayNotificationCenter-0.9.0/src/blankWindow/blankWindow.vala:23.13-23.13: error: syntax error, expected identifier
            };
            ^
../SwayNotificationCenter-0.9.0/src/blankWindow/blankWindow.vala:30.14-30.14: error: syntax error, expected identifier
            });
             ^
../SwayNotificationCenter-0.9.0/src/functions.vala:112.79-112.79: error: syntax error, expected identifier
                    custom_path = Environment.get_home_dir () + custom_path[1:];
                                                                              ^
../SwayNotificationCenter-0.9.0/src/functions.vala:142.23-142.28: error: syntax error, expected `;'
        public static string get_config_path (owned string ? custom_path) {
                      ^^^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:150.79-150.79: error: syntax error, expected identifier
                    custom_path = Environment.get_home_dir () + custom_path[1:];
                                                                              ^
../SwayNotificationCenter-0.9.0/src/functions.vala:177.23-177.28: error: syntax error, expected `;'
        public static string get_match_from_info (MatchInfo info) {
                      ^^^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:192.23-192.26: error: syntax error, expected `;'
        public static Type get_base_type (Type type) {
                      ^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:202.23-202.25: error: syntax error, expected `;'
        public static Gdk.Pixbuf scale_round_pixbuf (Gdk.Pixbuf pixbuf,
                      ^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:207.60-207.60: error: syntax error, `new' modifier not allowed on creation method
            Cairo.Surface surface = new Cairo.ImageSurface (Cairo.Format.ARGB32,
                                                           ^
../SwayNotificationCenter-0.9.0/src/functions.vala:210.40-210.40: error: syntax error, `new' modifier not allowed on creation method
            var cr = new Cairo.Context (surface);
                                       ^
../SwayNotificationCenter-0.9.0/src/functions.vala:214.13-214.27: error: missing return type in method `Functions.cr´
            cr.new_sub_path ();
            ^^^^^^^^^^^^^^^
../SwayNotificationCenter-0.9.0/src/functions.vala:215.34-215.34: error: syntax error, expected identifier
            cr.arc (buffer_width - radius, radius, radius, -90 * DEGREES, 0 * DEGREES);
                                 ^
GtkLayerShell-0.1.gir:393.5-393.35: error: unknown child element `docsection' in `namespace'
    <docsection name="gtk-layer-shell">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GModule-2.0.gir:458.5-458.19: error: unknown child element `docsection' in `namespace'
    <docsection name="modules">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14189.5-14189.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-aat-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14197.5-14197.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-blob">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14205.5-14205.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-buffer">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14217.5-14217.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-common">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14222.5-14222.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-deprecated">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14228.5-14228.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-draw">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14235.5-14235.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-face">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14251.5-14251.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-font">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14274.5-14274.15: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ft">
    ^^^^^^^^^^^
HarfBuzz-0.0.gir:14285.5-14285.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-glib">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14294.5-14294.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-map">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14301.5-14301.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-color">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14308.5-14308.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-font">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14315.5-14315.29: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14322.5-14322.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-math">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14331.5-14331.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-meta">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14336.5-14336.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-metrics">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14341.5-14341.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-name">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14346.5-14346.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-shape">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14351.5-14351.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-var">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14356.5-14356.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-paint">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14367.5-14367.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-set">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14374.5-14374.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14382.5-14382.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape-plan">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14397.5-14397.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-style">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14402.5-14402.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-unicode">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14417.5-14417.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-version">
    ^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 59 error(s), 0 warning(s)
[8/42] Compiling Vala source ../SwayNotificationCenter-0.9.0/src/client.vala src/constants.vala
FAILED: src/swaync-client.p/client.c src/swaync-client.p/constants.c 
valac -C --enable-gobject-tracing --enable-checking -D WANT_SCRIPTING -D HAVE_LATEST_LIBHANDY -D HAVE_LATEST_GTK_LAYER_SHELL --pkg libpulse-mainloop-glib --pkg libpulse --pkg gee-0.8 --pkg posix --pkg libhandy-1 --pkg json-glib-1.0 --pkg gtk+-3.0 --pkg gio-unix-2.0 --pkg gio-2.0 --color=always --directory src/swaync-client.p --basedir ../SwayNotificationCenter-0.9.0/src --target-glib=2.50 --pkg=GtkLayerShell-0.1 ../SwayNotificationCenter-0.9.0/src/client.vala src/constants.vala
GtkLayerShell-0.1.gir:393.5-393.35: error: unknown child element `docsection' in `namespace'
    <docsection name="gtk-layer-shell">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GModule-2.0.gir:458.5-458.19: error: unknown child element `docsection' in `namespace'
    <docsection name="modules">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14189.5-14189.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-aat-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14197.5-14197.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-blob">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14205.5-14205.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-buffer">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14217.5-14217.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-common">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14222.5-14222.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-deprecated">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14228.5-14228.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-draw">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14235.5-14235.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-face">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14251.5-14251.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-font">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14274.5-14274.15: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ft">
    ^^^^^^^^^^^
HarfBuzz-0.0.gir:14285.5-14285.19: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-glib">
    ^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14294.5-14294.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-map">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14301.5-14301.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-color">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14308.5-14308.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-font">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14315.5-14315.29: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-layout">
    ^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14322.5-14322.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-math">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14331.5-14331.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-meta">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14336.5-14336.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-metrics">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14341.5-14341.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-name">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14346.5-14346.27: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-shape">
    ^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14351.5-14351.23: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-ot-var">
    ^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14356.5-14356.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-paint">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14367.5-14367.17: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-set">
    ^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14374.5-14374.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14382.5-14382.31: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-shape-plan">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14397.5-14397.21: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-style">
    ^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14402.5-14402.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-unicode">
    ^^^^^^^^^^^^^^^^^^^^^
HarfBuzz-0.0.gir:14417.5-14417.25: error: unknown child element `docsection' in `namespace'
    <docsection name="hb-version">
    ^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 29 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: swaync-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
swaync - exit status 4

@ErikReider
Copy link
Owner

Try updating vala

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
None yet
Development

No branches or pull requests

2 participants