You are not logged in.

#1 2021-12-26 19:18:53

Seaender07
Member
Registered: 2021-09-05
Posts: 13

[SOLVED] 'makepkg' continuous failures

Hi everyone, I'm an Arch user since 4 months ago.

Recently I have done an install on a ~10 year old desktop pc, with an Nvidia GeForce 405.

Since it has a Nvidia GPU, I tried downloading and installing the AUR drivers (exactly "nvidia-390xx" package).
It downloads correctly, but when I run

makepkg -si

, it always displays this error:

[user@hostname nvidia-390xx]$ makepkg -si 
==> Making package: nvidia-390xx 390.147-1 (Sun 26 Dec 2021 07:51:11 PM ***) 
==>Checking runtime dependencies...
==>> Checking buildtime dependencies...
==>> Installing missing dependencies... 
error: target not found: nvidia-390xx-utils-390.147
error: target not found: nvidia-390xx-dkms-390.147

==>>ERROR: pacman' failed to install missing dependencies.
==> Missing dependencies:
       ->nvidia-390xx-utils-390.147 
       -> nvidia-390xx-dkms=390.147

==>>ERROR: Could not resolve all dependencies.

The true problem is that this happens with all AUR packages. I tried to install some dependencies manually, but with some packages some of them weren't found.

Also, with "snapd", another issue rises: the program asks the confirm for creating some files, but with both Yes and No it returns the same problem:

==> ERROR: A failure occurred in prepare().

.
Here, if you need it, there is the output of

makepkg -si

with "snapd" AUR package:

[user@hostname snapd]$ makepkg-si 
==> Making package: snapd 2.53.4-1 (Sun 26 Dec 2021 07:58:01 PM ***)
==> Checking runtime dependencies...
==>Checking bulldtime dependencies...
==> Retrieving sources...
       ->Found snapd-2.33.4.tar.xz
       ->Found 0001-cmd-snap-confine-do-not-include-libglvnd-libraries-f.patch ...Passed
==> Validating source files with sha256sums... 
       snapd-2.53.4.tar.xz... Passed
       0001-cnd-shap-confine-do-not-include-ltbglvnd-libraries-f.patch... Passed 
==> Extracting sources...
       -> Extracting snapd-2.33.4.tar.xz with bsdtar

==> Starting prepare()... 
       -> applying 0001-cmd-snap-confine-do-not-include-libglvnd-libraries-f.patch

patching file cmd/libsnap-confine-private/cleanup-funcs-test.c 
patching file cmd/libsnap-confine-private/cleanup-funcs.c
patching file cmd/libsnap-confine-private/cleanup-funcs.h 
patching file cmd/snap-confine/mount-support-nvidia.c 
patching file cmd/snap-confine/mount-support-nvidia.h
patching file cmd/snap-confine/mount-support.c
The next patch would create the file tests/main/interfaces-opengl-nvidia/gl-core16/bin/run,
which already exists! Assume -R? [n] Y 
Apply anyway? [n] Y
Skipping patch.
1 out of 1 hunk ignored 
The next patch would create the file tests/main/interfaces-opengl-nvidia/gl-core16/meta/snap.yaml,
which already exists! Assume -R? [n] Y
Apply anyway? [n] Y
skipping patch. 1 out of 1 hunk ignored
The next patch would create the file tests/main/interfaces-opengl-nvidia/gl-core20/bin/run, 
which already exists! Assune -R? [n] Y 
Apply anyway? [n] Y
Skipping patch. 
1 out of 1 hunk ignored
The next patch would create the file tests/main/interfaces-opengl-nvidia/gl-core20/meta/snap.yaml, 
which already exists! Assune -R? [n] Y
Apply anyway? [n] Y
Skipping patch. 
1 out of 1 hunk ignored 
patching file tests/main/interfaces-opengl-nvidia/task.yaml
==> ERROR: A failure occurred in prepare().
      Aborting...

This happens ONLY with this install, what can I do? (maybe is caused by the Nvidia GPU as the paths' name contains

interfaces-opengl-nvidia

?)
Am I explaining well?

Last edited by Seaender07 (2021-12-26 22:27:55)

Offline

#2 2021-12-26 20:11:37

mpan
Member
Registered: 2012-08-01
Posts: 1,188
Website

Re: [SOLVED] 'makepkg' continuous failures

nvidia-390xx requires nvidia-390xx-dkms and nvidia-390xx-utils to build. PKGBUILDs for both are available in AUR.

As for snapd, it seems like a bug in the PKGBUILD. In particular since it requires user interaction, which should not happen.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2021-12-26 20:13:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: [SOLVED] 'makepkg' continuous failures

For the first one, you have to install the deps, as you already mentioned.

For the second one, it looks like you're trying to build in a dir that you already tried building in, and the PKGBUILD doesn't account for that. Either that or it's just a bad patch. Try with a clean $SRCDIR.

Offline

Board footer

Powered by FluxBB