pikaur icon indicating copy to clipboard operation
pikaur copied to clipboard

`pikaur -Syu --devel` fails for unsatisfied dependencies used in prepare()

Open Piroro-hs opened this issue 1 year ago • 1 comments

pikaur -Vq
Pikaur v1.18.4
Pacman v6.0.2 - libalpm v13.0.2 - pyalpm v0.10.6
Description:

For VCS packages, pikaur -Syu --devel --needed retrives source and executes prepare() before installing dependencies. Therefore it fails when some makedeps are used inside prepare().

It works for pikaur -S package-name, however.

Attached log:
$ pikaur -Syu --devel --needed
[sudo] password for piroro:
:: Synchronizing package databases...
 core-x86-64-v3 is up to date
 extra-x86-64-v3 is up to date
 core is up to date
 extra is up to date
 chaotic-aur is up to date

:: Starting full AUR upgrade...
Reading repository package databases...
Reading local package database...
Reading AUR packages info...
Resolving AUR dependencies...

:: New dependency will be installed from third-party repository:
 just (for cosmic-term-git)                                 -> 1.23.0-1.1

:: AUR packages will be installed:
 cosmic-term-git                       r141.f378bb5-1       -> devel
 geoclue_fake-git                      0.r6.g0d7f9aa-4      -> devel (14 days old)

:: Proceed with installation? [Y/n]
:: [v]iew package details   [m]anually select packages
>>
looking for conflicting AUR packages...
:: Downloading the latest sources for a devel package geoclue_fake-git...
:: Downloading the latest sources for a devel package cosmic-term-git...


:: error: failed to retrieve latest dev sources:
==> Making package: cosmic-term-git r138.d6946d4-1 (2024年02月11日 17時09分20秒)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Updating cosmic-term git repo...
==> Validating source files with sha256sums...
    cosmic-term ... Skipped
==> Extracting sources...
  -> Creating working copy of cosmic-term git repo...
Reset branch 'makepkg'
==> Starting prepare()...
/home/piroro/.cache/pikaur/build/cosmic-term-git/PKGBUILD: line 25: just: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...

:: Try recovering?
[R] retry clone
[d] delete build dir and try again
[e] edit PKGBUILD
[i] ignore the error
------------------------
[s] skip building this package
[a] abort building all the packages
>

Piroro-hs avatar Feb 11 '24 08:02 Piroro-hs

yeah, this require thinking of some new idea on how to do it, see https://github.com/actionless/pikaur/issues/661 and linked issue

actionless avatar Feb 11 '24 14:02 actionless