Problem installing pamac-all

I installed EndeavorOs on my personal computer using the BRTFS file system. Everything works perfectly except that the installation of pamac-all, pamac-aur or pamac-classic is impossible, I have this error:

[kanard@kanard-vc ~]$ yay -S pamac-all
:: Vérification des conflits...
:: Vérification des conflits internes...
[Aur:1]  pamac-all-10.2.0-1

:: Téléchargement des PKGBUILD (1/1) : pamac-all
  1 pamac-all                        (Fichiers de compilation existants)
==> Afficher les diffs ?
==> [N]Aucun [A]Tous [Ab]Annuler [I]nstallés [No]nInstallés ou (1 2 3, 1-3, ^4)
==> 
:: (1/1) Lecture de SRCINFO : pamac-all
==> Création du paquet pamac-all 10.2.0-1 (mar. 28 sept. 2021 16:29:15)
==> Récupération des sources…
  -> Téléchargement de pamac-10.2.0.tar.gz…
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  150k  100  150k    0     0   287k      0 --:--:-- --:--:-- --:--:--  287k
==> Validation des fichiers source avec sha256sums…
    pamac-10.2.0.tar.gz ... Réussite
==> Création du paquet pamac-all 10.2.0-1 (mar. 28 sept. 2021 16:29:22)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> Récupération des sources…
  -> pamac-10.2.0.tar.gz trouvé
==> Validation des fichiers source avec sha256sums…
    pamac-10.2.0.tar.gz ... Réussite
==> Suppression du répertoire $srcdir/ existant…
==> Extraction des sources…
  -> Extraction de pamac-10.2.0.tar.gz avec bsdtar
==> Lancement de prepare()…
==> Les sources sont prêtes.
==> Création du paquet pamac-all 10.2.0-1 (mar. 28 sept. 2021 16:29:33)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> ATTENTION : Utilisation de l’arbre $srcdir/ existant
==> Lancement de build()…
The Meson build system
Version: 0.59.1
Source dir: /home/kanard/.cache/yay/pamac-all/src/pamac-v10.2.0
Build dir: /home/kanard/.cache/yay/pamac-all/src/pamac-v10.2.0/builddir
Build type: native build
WARNING: Unknown options: "enable-appindicator, enable-flatpak, enable-snap"
The value of new options can be set with:
meson setup <builddir> --reconfigure -Dnew_option=new_value ...
Project name: pamac
Project version: 10.0
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.1)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gobject-2.0 found: YES 2.70.0
Run-time dependency gio-2.0 found: YES 2.70.0
Run-time dependency libsoup-2.4 found: YES 2.74.0
Run-time dependency libnotify found: YES 0.7.9
Run-time dependency gio-unix-2.0 found: YES 2.70.0
Run-time dependency pamac found: YES 11.1
Run-time dependency gtk+-3.0 found: YES 3.24.30
Run-time dependency libhandy-1 found: YES 1.4.0
Configuring org.manjaro.pamac.manager.service using configuration
Program a2x found: YES (/usr/bin/a2x)
Program gzip found: YES (/usr/bin/gzip)
Build targets in project: 15

Found ninja-1.10.2 at /usr/bin/ninja
[7/49] Compiling Vala source ../src/tray.vala ../src/tray-gtk.vala
../src/tray-gtk.vala:23.3-23.28: warning: `Gtk.StatusIcon' has been deprecated since 3.14
../src/tray-gtk.vala:26.22-26.35: warning: `Gtk.StatusIcon' has been deprecated since 3.14
Compilation succeeded - 2 warning(s)
[47/49] Linking target src/pamac
FAILED: src/pamac 
cc  -o src/pamac src/pamac.p/meson-generated_version.c.o src/pamac.p/meson-generated_transaction-cli.c.o src/pamac.p/meson-generated_cli.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wl,--start-group /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libpamac.so -Wl,--end-group
/usr/bin/ld : src/pamac.p/meson-generated_cli.c.o : dans la fonction « pamac_cli_parse_command_line » :
cli.c:(.text+0xce20) : référence indéfinie vers « uint_copy »
collect2: erreur: ld a retourné le statut de sortie 1
[48/49] Compiling C object src/pamac-manager.p/meson-generated_manager_window.c.o
ninja: build stopped: subcommand failed.
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…
erreur lors de la construction : pamac-all

Installing programs has got nothing to do with the filesystem.

1 Like

Why do you think it is has something to do with btrfs?

It is common for pamac to not be working/building. It targets the Manjaro repositories since it is Manjaro’s package manager. On Arch, it often needs massaging.

It doesn’t build for me either. I would report the issue on the AUR page so the maintainer can look at it.

4 Likes

I would recommend to use octopi or bauh until pacman can be build. Referring to @dalto 's post it’s very likely something is broken (again). This happens from time to time.

1 Like

thanks to you two :slightly_smiling_face:
On my old installation ext4 pamac-all was installed without problem so I was wondering if there was an incompatibility with btrfs … otherwise I had already installed everything with the console.

It’s a pkg build issue. I use pamac-aur-git and sometimes it has issues installing. That’s pamac. Nothing to do with btrfs.

1 Like

I thought I was the only one having problems building Pamac…
Got myself a nice binary from manuel. :+1:

The longer you use an Arch-based system, the more experience you’ll gain and with that experience comes the understanding that sometimes AUR packages won’t build. Usually they do, but every so often some packages will need to be updated by the maintainer. It’s always a good practice to let the maintainers know if you encounter issues like this so they can resolve it and push out an update to fix it.

2 Likes

Is this the build issue for pamac-all mentioned also here:

?

1 Like

Looks like this. See: https://gitlab.manjaro.org/applications/pamac/-/issues/1122

If that is the case, downgrading vala, then building pamac and then upgrading vala again, should solve the problem. Assuming the downgrade doesn’t violate any dependencies.

Changing the title of the topic to better reflect the issue.

1 Like