Pamac-aur build error

Hi,
Just installed Cinnamon and trying to install pamac-aur but getting this error. Any help would be appreciated.
Thanks

1 aur/pamac-aur 10.2.2-2 (+350 5.92) 
    A Gtk3 frontend, Package Manager based on libalpm with AUR and Appstream support
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo:3]  gcab-1.4-1  appstream-glib-0.7.18-2  archlinux-appstream-data-20211018-1
[Repo Make:26]  docbook-xml-4.5-9  itstool-1:2.0.6-2  docbook-xsl-1.79.2-7  glib2-docs-2.70.0-2  python-lxml-4.6.3-1  python-appdirs-1.4.4-3  python-more-itertools-8.10.0-1  python-ordered-set-4.0.2-3  python-pyparsing-2.4.7-3  python-six-1.16.0-1  python-packaging-20.9-2  python-setuptools-1:57.4.0-2  python-pygments-2.10.0-1  python-anytree-2.8.0-3  gtk-doc-1.33.2-1  netpbm-10.73.36-1  gts-0.7.6.121130-2  graphviz-2.49.3-1  vala-0.54.2-1  asciidoc-9.1.1-2  ninja-1.10.2-1  meson-0.60.0-1  python-markupsafe-2.0.1-1  python-beaker-1.11.0-6  python-mako-1.1.5-1  gobject-introspection-1.70.0-2
[Aur:2]  libpamac-aur-11.1.3-1  pamac-aur-10.2.2-2

==> Remove make dependencies after install? [y/N] 
:: (1/2) Downloaded PKGBUILD: libpamac-aur
:: (2/2) Downloaded PKGBUILD: pamac-aur
  2 libpamac-aur                     (Build Files Exist)
  1 pamac-aur                        (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/2) Parsing SRCINFO: libpamac-aur
:: (2/2) Parsing SRCINFO: pamac-aur

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for guido: 
resolving dependencies...
looking for conflicting packages...

Package (29)                     New Version     Net Change  Download Size

extra/appstream-glib             0.7.18-2          3.60 MiB       0.47 MiB
extra/archlinux-appstream-data   20211018-1       20.17 MiB      18.87 MiB
community/asciidoc               9.1.1-2           1.78 MiB       0.45 MiB
extra/docbook-xml                4.5-9             1.96 MiB       0.09 MiB
extra/docbook-xsl                1.79.2-7         26.32 MiB       0.87 MiB
extra/gcab                       1.4-1             0.38 MiB       0.08 MiB
core/glib2-docs                  2.70.0-2         21.27 MiB       1.36 MiB
extra/gobject-introspection      1.70.0-2         13.54 MiB       1.22 MiB
extra/graphviz                   2.49.3-1         10.63 MiB       3.79 MiB
extra/gtk-doc                    1.33.2-1          2.81 MiB       0.29 MiB
extra/gts                        0.7.6.121130-2    0.67 MiB       0.21 MiB
extra/itstool                    1:2.0.6-2         0.09 MiB       0.02 MiB
extra/meson                      0.60.0-1          7.53 MiB       1.28 MiB
extra/netpbm                     10.73.36-1        7.48 MiB       1.82 MiB
community/ninja                  1.10.2-1          0.30 MiB       0.11 MiB
extra/python-anytree             2.8.0-3           0.31 MiB       0.04 MiB
extra/python-appdirs             1.4.4-3           0.07 MiB       0.01 MiB
extra/python-beaker              1.11.0-6          0.47 MiB       0.09 MiB
extra/python-lxml                4.6.3-1           4.14 MiB       1.14 MiB
extra/python-mako                1.1.5-1           0.68 MiB       0.13 MiB
extra/python-markupsafe          2.0.1-1           0.06 MiB       0.02 MiB
community/python-more-itertools  8.10.0-1          0.32 MiB       0.07 MiB
extra/python-ordered-set         4.0.2-3           0.06 MiB       0.01 MiB
extra/python-packaging           20.9-2            0.18 MiB       0.05 MiB
community/python-pygments        2.10.0-1         10.54 MiB       1.94 MiB
extra/python-pyparsing           2.4.7-3           0.73 MiB       0.11 MiB
extra/python-setuptools          1:57.4.0-2        2.96 MiB       0.54 MiB
extra/python-six                 1.16.0-1          0.09 MiB       0.02 MiB
extra/vala                       0.54.2-1         13.37 MiB       2.22 MiB

Total Download Size:    37.33 MiB
Total Installed Size:  152.55 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 docbook-xsl-1.79.2-7-any                                            887.2 KiB  2044 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-lxml-4.6.3-1-x86_64                                         1165.2 KiB   230 KiB/s 00:05 [--------------------------------------------------------] 100%
 gobject-introspection-1.70.0-2-x86_64                              1248.1 KiB   246 KiB/s 00:05 [--------------------------------------------------------] 100%
 meson-0.60.0-1-any                                                 1312.1 KiB   258 KiB/s 00:05 [--------------------------------------------------------] 100%
 glib2-docs-2.70.0-2-x86_64                                         1395.8 KiB   275 KiB/s 00:05 [--------------------------------------------------------] 100%
 python-pygments-2.10.0-1-any                                       1983.5 KiB   390 KiB/s 00:05 [--------------------------------------------------------] 100%
 vala-0.54.2-1-x86_64                                                  2.2 MiB   447 KiB/s 00:05 [--------------------------------------------------------] 100%
 gts-0.7.6.121130-2-x86_64                                           211.0 KiB  1674 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-mako-1.1.5-1-any                                             128.6 KiB  1037 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-setuptools-1:57.4.0-2-any                                    556.9 KiB  3.14 MiB/s 00:00 [--------------------------------------------------------] 100%
 python-pyparsing-2.4.7-3-any                                        117.3 KiB   978 KiB/s 00:00 [--------------------------------------------------------] 100%
 gtk-doc-1.33.2-1-any                                                296.8 KiB  1940 KiB/s 00:00 [--------------------------------------------------------] 100%
 asciidoc-9.1.1-2-any                                                464.8 KiB  2.47 MiB/s 00:00 [--------------------------------------------------------] 100%
 python-beaker-1.11.0-6-any                                           91.4 KiB  2.41 MiB/s 00:00 [--------------------------------------------------------] 100%
 ninja-1.10.2-1-x86_64                                               116.8 KiB  3.08 MiB/s 00:00 [--------------------------------------------------------] 100%
 docbook-xml-4.5-9-any                                                89.0 KiB  2.17 MiB/s 00:00 [--------------------------------------------------------] 100%
 gcab-1.4-1-x86_64                                                    80.3 KiB  2008 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-more-itertools-8.10.0-1-any                                   68.6 KiB  2.03 MiB/s 00:00 [--------------------------------------------------------] 100%
 python-packaging-20.9-2-any                                          52.9 KiB  1764 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-anytree-2.8.0-3-any                                           45.2 KiB  1506 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-six-1.16.0-1-any                                              23.2 KiB   704 KiB/s 00:00 [--------------------------------------------------------] 100%
 itstool-1:2.0.6-2-any                                                19.5 KiB   526 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-markupsafe-2.0.1-1-x86_64                                     18.7 KiB   506 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-appdirs-1.4.4-3-any                                           15.0 KiB   341 KiB/s 00:00 [--------------------------------------------------------] 100%
 python-ordered-set-4.0.2-3-any                                       13.5 KiB   452 KiB/s 00:00 [--------------------------------------------------------] 100%
 appstream-glib-0.7.18-2-x86_64                                      481.2 KiB   666 KiB/s 00:01 [--------------------------------------------------------] 100%
 netpbm-10.73.36-1-x86_64                                           1861.4 KiB   304 KiB/s 00:06 [--------------------------------------------------------] 100%
 graphviz-2.49.3-1-x86_64                                              3.8 MiB   603 KiB/s 00:06 [--------------------------------------------------------] 100%
 archlinux-appstream-data-20211018-1-any                              18.9 MiB  1975 KiB/s 00:10 [--------------------------------------------------------] 100%
 Total (29/29)                                                        37.3 MiB  3.80 MiB/s 00:10 [--------------------------------------------------------] 100%
(29/29) checking keys in keyring                                                                 [--------------------------------------------------------] 100%
(29/29) checking package integrity                                                               [--------------------------------------------------------] 100%
(29/29) loading package files                                                                    [--------------------------------------------------------] 100%
(29/29) checking for file conflicts                                                              [--------------------------------------------------------] 100%
:: Processing package changes...
( 1/29) installing gcab                                                                          [--------------------------------------------------------] 100%
( 2/29) installing appstream-glib                                                                [--------------------------------------------------------] 100%
( 3/29) installing archlinux-appstream-data                                                      [--------------------------------------------------------] 100%
( 4/29) installing docbook-xml                                                                   [--------------------------------------------------------] 100%
( 5/29) installing itstool                                                                       [--------------------------------------------------------] 100%
( 6/29) installing docbook-xsl                                                                   [--------------------------------------------------------] 100%
( 7/29) installing glib2-docs                                                                    [--------------------------------------------------------] 100%
( 8/29) installing python-lxml                                                                   [--------------------------------------------------------] 100%
Optional dependencies for python-lxml
    python-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML
    python-cssselect: support for cssselect
    python-html5lib: support for html5lib parser
    python-lxml-docs: offline docs
( 9/29) installing python-appdirs                                                                [--------------------------------------------------------] 100%
(10/29) installing python-more-itertools                                                         [--------------------------------------------------------] 100%
(11/29) installing python-ordered-set                                                            [--------------------------------------------------------] 100%
(12/29) installing python-pyparsing                                                              [--------------------------------------------------------] 100%
(13/29) installing python-six                                                                    [--------------------------------------------------------] 100%
(14/29) installing python-packaging                                                              [--------------------------------------------------------] 100%
(15/29) installing python-setuptools                                                             [--------------------------------------------------------] 100%
(16/29) installing python-pygments                                                               [--------------------------------------------------------] 100%
(17/29) installing python-anytree                                                                [--------------------------------------------------------] 100%
(18/29) installing gtk-doc                                                                       [--------------------------------------------------------] 100%
Optional dependencies for gtk-doc
    dblatex: PDF support
(19/29) installing netpbm                                                                        [--------------------------------------------------------] 100%
(20/29) installing gts                                                                           [--------------------------------------------------------] 100%
(21/29) installing graphviz                                                                      [--------------------------------------------------------] 100%
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gdk.so.6" - It was found, so perhaps one of its dependents was not.  Try ldd.
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gtk.so.6" - It was found, so perhaps one of its dependents was not.  Try ldd.
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gdk.so.6" - It was found, so perhaps one of its dependents was not.  Try ldd.
Warning: Could not load "/usr/lib/graphviz/libgvplugin_gtk.so.6" - It was found, so perhaps one of its dependents was not.  Try ldd.
Optional dependencies for graphviz
    mono: sharp bindings
    guile: guile bindings [installed]
    lua: lua bindings
    ocaml: ocaml bindings
    perl: perl bindings [installed]
    python: python bindings [installed]
    r: r bindings
    tcl: tcl bindings [installed]
    qt5-base: gvedit
    gtk2: gtk output plugin
    xterm: vimdot [installed]
(22/29) installing vala                                                                          [--------------------------------------------------------] 100%
(23/29) installing asciidoc                                                                      [--------------------------------------------------------] 100%
Optional dependencies for asciidoc
    graphviz: graphviz-filter [installed]
    lilypond: music-filter
    imagemagick: music-filter [installed]
    source-highlight: source-highlight-filter
    dblatex: pdf generation
    fop: alternative pdf generation
    w3m: text generation
    lynx: alternative text generation
(24/29) installing ninja                                                                         [--------------------------------------------------------] 100%
(25/29) installing meson                                                                         [--------------------------------------------------------] 100%
(26/29) installing python-markupsafe                                                             [--------------------------------------------------------] 100%
(27/29) installing python-beaker                                                                 [--------------------------------------------------------] 100%
(28/29) installing python-mako                                                                   [--------------------------------------------------------] 100%
(29/29) installing gobject-introspection                                                         [--------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Warn about old perl modules
==> Making package: pamac-aur 10.2.2-2 (Sun 31 Oct 2021 01:14:03 PM EDT)
==> Retrieving sources...
  -> Downloading pamac-10.2.2-2.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==> Making package: libpamac-aur 11.1.3-1 (Sun 31 Oct 2021 01:14:03 PM EDT)
==> Retrieving sources...
  -> Downloading libpamac-11.1.3-1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  154k  100  154k    0     0   163k      0 --:--:-- --:--:-- --:--:--  163k
==> Validating source files with sha256sums...
    pamac-10.2.2-2.tar.gz ... Passed
100  763k  100  763k    0     0   650k      0  0:00:01  0:00:01 --:--:--  650k
  -> Found fix-appstream-data.sh
  -> Found fix-appstream-data.hook
==> Validating source files with sha256sums...
    libpamac-11.1.3-1.tar.gz ... Passed
    fix-appstream-data.sh ... Passed
    fix-appstream-data.hook ... Passed
 -> appstream-glib>=0.7.18-1 not satisfied, flushing install queue
==> Making package: libpamac-aur 11.1.3-1 (Sun 31 Oct 2021 01:14:07 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libpamac-11.1.3-1.tar.gz
  -> Found fix-appstream-data.sh
  -> Found fix-appstream-data.hook
==> Validating source files with sha256sums...
    libpamac-11.1.3-1.tar.gz ... Passed
    fix-appstream-data.sh ... Passed
    fix-appstream-data.hook ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting libpamac-11.1.3-1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: libpamac-aur 11.1.3-1 (Sun 31 Oct 2021 01:14:14 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
The Meson build system
Version: 0.60.0
Source dir: /home/guido/.cache/yay/libpamac-aur/src/libpamac-da8af3e20df847f64437d1e4e279796a27a735f1
Build dir: /home/guido/.cache/yay/libpamac-aur/src/libpamac-da8af3e20df847f64437d1e4e279796a27a735f1/builddir
Build type: native build

../meson.build:1:0: ERROR: Unknown options: "enable-appindicator"

A full log can be found at /home/guido/.cache/yay/libpamac-aur/src/libpamac-da8af3e20df847f64437d1e4e279796a27a735f1/builddir/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: libpamac-aur

Try this:

  1. yay (or trizen) -Scc and clean all caches.
  2. Try building pamac-aur again. It will work better, I think.

I think downgrading meson to version 53.x solves the issue. If I remember correctly, I had the same issue with meson version 60. Can’t check version number now. No computer available in hospital.

I get same error. Arrg!!

How do I downgrade?

pamac-aur-git has fixed that meson issue.

First you need to install package downgrade. Then execute sudo downgrade meson. Choose the number of the version you want to downgrade to.

1 Like

Thanks! That’s good to know, but I’d like to stick with pamac-aur. :slight_smile:

downgrade should be installed per default on Eos :wink:

:+1:

Thanks! I’ll give it a try.

Was not sure about that. I thought you had to add it via Welcome (not pre installed). As I wrote before : No opportunity to check. :wink:

2 Likes

Worked like charm!
Thanks!

1 Like

No, it is a bug in libpamac-aur PKGBUILD. No need to downgrade any package.

Just look at https://aur.archlinux.org/packages/libpamac-aur comments.

We can see in this PKGBUILD:

build() {
  cd "$srcdir/libpamac-$_commit"
  mkdir -p builddir
  cd builddir
  meson setup --buildtype=release \
        --prefix=/usr \
        -Denable-appindicator=true \
        --sysconfdir=/etc $define_meson
  # build
  ninja
}

So removing before building:

-Denable-appindicator=true \

fixes the issue.

Maintainer is not doing its work here.

3 Likes

This is not a meson issue, this is a “not updated PKGBUILD issue”. Just look at comments on AUR.

Well…

3 Likes

pamac-aur-git is obviously better maintained than pamac-aur. But the real bonus is the fact that @FredBezies maintains pamac-aur-git. Thus, if needed, we’ll get quick answers here!

:+1: