Pamac won't install

Trying to install Pamac with yay -S pamac-aur-git and it shows me this

[21/75] Compiling C object ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o’.
FAILED: src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o
cc -Isrc/25a6634@@pamac@sha -Isrc -I…/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libappstream-glib -I/
usr/include/gdk-pixbuf-2.0 -I/usr/include/uuid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -w -g -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread ‘-DGETTEXT_PACKAGE=“pama
c”’ -D_FILE_OFFSET_BITS=64 -MD -MQ ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o’ -MF ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o.d’ -o ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o’ -c ‘src/25a6634@@pamac@sh
a/alpm_utils.c’
alpm_utils.c: In function ‘pamac_alpm_utils_update_dbs’:
alpm_utils.c:2621:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_trans_init’:
alpm_utils.c:3579:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_trans_sysupgrade’:
alpm_utils.c:3676:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_trans_add_pkg_real’:
alpm_utils.c:3853:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_trans_load_pkg’:
alpm_utils.c:4818:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c:4888:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_trans_remove_pkg’:
alpm_utils.c:5076:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_trans_prepare_real’:
alpm_utils.c:5567:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_build_prepare’:
alpm_utils.c:7660:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
alpm_utils.c: In function ‘pamac_alpm_utils_trans_commit_real’:
alpm_utils.c:10236:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
[23/75] Compiling C object ‘src/25a6634@@pamac@sha/meson-generated_database.c.o’.
ninja: build stopped: subcommand failed.
==> ΣΦΑΛΜΑ: Αποτυχία στην build().

This happens with every version of pamac in the AUR

Weird… i never seem to have that issue. I just install yay -S pamac and then select 2 (git version)

Compiling C object ‘src/25a6634@@pamac-daemon@exe/meson-generated_alpm_utils.c.o’.
FAILED: src/25a6634@@pamac-daemon@exe/meson-generated_alpm_utils.c.o
cc -Isrc/25a6634@@pamac-daemon@exe -Isrc -I…/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/polkit-1 -I/usr/include/libappstream-glib -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/uuid -fdiagnostics-color=always -pipe -w -O3 -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -pthread ‘-DGETTEXT_PACKAGE=“pamac”’ -D_FILE_OFFSET_BITS=64 -MD -MQ ‘src/25a6634@@pamac-daemon@exe/meson-generated_alpm_utils.c.o’ -MF ‘src/25a6634@@pamac-daemon@exe/meson-generated_alpm_utils.c.o.d’ -o ‘src/25a6634@@pamac-daemon@exe/meson-generated_alpm_utils.c.o’ -c ‘src/25a6634@@pamac-daemon@exe/alpm_utils.c’
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_update_dbs’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:2998:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
2998 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_trans_init’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:3633:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
3633 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_trans_sysupgrade’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:3686:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
3686 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_trans_add_pkg_real’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:3799:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
3799 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_trans_load_pkg’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:4382:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
4382 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c:4419:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
4419 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_trans_remove_pkg’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:4528:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
4528 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_trans_prepare_real’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:4837:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
4837 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_build_prepare’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:6037:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
6037 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac-daemon@exe/alpm_utils.c: In function ‘pamac_alpm_utils_trans_commit_real’:
src/25a6634@@pamac-daemon@exe/alpm_utils.c:7667:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
7667 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
[16/75] Compiling C object ‘src/25a6634@@pamac@sha/meson-generated_alpm_package.c.o’.
ninja: build stopped: subcommand failed.
==> ΣΦΑΛΜΑ: Αποτυχία στην build().
Ματαίωση…

Did you try the regular pamac version?

Edit: yay -S pamac choose 1

i have try all the versions, the result is the same

Compiling C object ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o’.
FAILED: src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o
cc -Isrc/25a6634@@pamac@sha -Isrc -I…/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libappstream-glib -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/uuid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -w -O3 -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread ‘-DGETTEXT_PACKAGE=“pamac”’ -D_FILE_OFFSET_BITS=64 -MD -MQ ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o’ -MF ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o.d’ -o ‘src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o’ -c ‘src/25a6634@@pamac@sha/alpm_utils.c’
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_update_dbs’:
src/25a6634@@pamac@sha/alpm_utils.c:1960:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
1960 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_init’:
src/25a6634@@pamac@sha/alpm_utils.c:2552:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
2552 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_sysupgrade’:
src/25a6634@@pamac@sha/alpm_utils.c:2611:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
2611 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_add_pkg_real’:
src/25a6634@@pamac@sha/alpm_utils.c:2720:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
2720 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_load_pkg’:
src/25a6634@@pamac@sha/alpm_utils.c:3318:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
3318 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c:3359:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
3359 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_remove_pkg’:
src/25a6634@@pamac@sha/alpm_utils.c:3474:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
3474 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_prepare_real’:
src/25a6634@@pamac@sha/alpm_utils.c:3787:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
3787 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_build_prepare’:
src/25a6634@@pamac@sha/alpm_utils.c:5065:4: σφάλμα: function ‘__errno_location’ is initialized like a variable
5065 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_commit_real’:
src/25a6634@@pamac@sha/alpm_utils.c:6659:3: σφάλμα: function ‘__errno_location’ is initialized like a variable
6659 | alpm_errno_t errno = 0;
| ^~~~~~~~~~~~
[22/71] Compiling C object ‘src/25a6634@@pamac@sha/meson-generated_database.c.o’.
ninja: build stopped: subcommand failed.
==> ΣΦΑΛΜΑ: Αποτυχία στην build().
Ματαίωση…
Error making: pamac-aur

@FredBezies
Is the expert on that pkg. Maybe he knows what’s going on with it as he watches it quite closely.

Edit: It looks like it’s having an issue building it.

Try updating the mirrors list with the eos-welcome app and then run sudo pacman -Syyu
After this try installing it again with yay

I am away now. I am going to try this when i get home in the evening. In the meantime i am welcome to see any other suggestions

Vala 0.48.0 is breaking pamac-aur-git / pamac-aur build process:

You’ll have to wait until a fix is released :frowning:

1 Like

I dont mind waiting if this is the issue. I was afraid that is my fault

Both pamac-aur and pamac-aur-git are broken with vala 0.48.0 upgrade.

Let’s hope Guinux will fix this issue soon :slight_smile:

Hi!
Please use LANC=C or LANG=en_US prefix when you send command output here. e.g.

    LANG=C yay -S pamac

It shows all text in English, and help us help you. :slight_smile:

hello,it is necessary downgrade vala and after installing pamac-aur

How to do that. By the way its a fresh install

Package downgrade can do that:

   sudo pacman -S downgrade
   downgrade vala

But I haven’t tried it on this package…

2 Likes

Phiip Muller set vala<0.47 in pamac PKGBUILD until code is fixed.

1 Like

After the update that i just did, the pamac-aur-git installed fine. I dont know why. :smile:

Well, answer is simple:

You can now build pamac-aur against vala 0.48 :slight_smile:

2 Likes

If you don’t mind a little “ad”:

< ad >
I’ve made a small public repo named m-more that includes both pamac-aur and pamac-aur-git as pre-built AUR packages.

The instructions of how to use the repo is here: https://github.com/manuel-192/m-repo-info
And here’s a short description of the repo contents: https://github.com/manuel-192/m-more

Please note that this repo is not an official EndeavourOS repo, I’ve created it because (at least) I use it.
< /ad >

3 Likes