Closed rmarquis closed 6 years ago
i fixed that particular problem yesterday already, but build for pacaur-git
still not succeeds.
so for me it now looks like that:
https://paste.ee/p/C4iib
i did more changes, now pacaur-git
is building successfully
thanks for reporting, feel free to reopen if it still errors
I'm afraid the issue is still present in version 0.3+17+gbb6f0d5-1
:
$ pikaur -S pacaur-git
resolving dependencies...
Reading repository package databases...
Reading local package database...
New packages will be installed from AUR:
pacaur-git
:: Proceed with installation? [Y/n] y
Do you want to edit PKGBUILD for pacaur-git package? [Y/n] n
:: Installing repository dependencies for pacaur-git:
error: target not found: cower
Can't build 'pacaur-git'.
Failed to build following packages:
pacaur-git
$ pacman -Qs cower
local/cower-git 17.5.g59ecf02-1
A simple AUR agent with a pretentious name
fixed that as well, please try again
Better, but still problematic (version: 0.3+18+g43b80c4-1
):
$ pikaur -S pacaur-git
resolving dependencies...
Reading repository package databases...
Reading local package database...
New packages will be installed from AUR:
pacaur-git
:: Proceed with installation? [Y/n] y
Do you want to edit PKGBUILD for pacaur-git package? [Y/n] n
==> Making package: pacaur-git 4.7.10-1 (Thu 8 Feb 15:45:55 CET 2018)
...
==> Finished making: pacaur-git 4.7.10.47.ga0f232d-1 (Thu 8 Feb 15:45:58 CET 2018)
Traceback (most recent call last):
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur.py", line 18, in <module>
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 503, in main
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 225, in cli_install_packages
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/build.py", line 303, in build
IndexError: list index out of range
what is the full filename of the built package?
Not on my linux machine right now, but if that helps:
thanks, i'll try to address that tonight, shouldn't be too tricky
i've implemented the planned, hope now it should work finally
No, another error (0.3+24+g7e8575e-1
):
$ pikaur -S pacaur-git
resolving dependencies...
Reading repository package databases...
Reading local package database...
New packages will be installed from AUR:
pacaur-git
:: Proceed with installation? [Y/n] y
Traceback (most recent call last):
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur.py", line 18, in <module>
main()
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 503, in main
cli_install_packages(args)
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 149, in cli_install_packages
conflict_result = check_conflicts(repo_packages_names, aur_packages_names)
File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/meta_package.py", line 214, in check_conflicts
for installed_pkg_name, provides in local_provided.items():
AttributeError: 'list' object has no attribute 'items'
i did few more fixes :-)
Yep, this time it is fixed!
A quick note since you're relaying on makepkg --packagelist
: You can't really rely on simply adding PKGEXT
since this can be and is sometimes overriden. There is however a patch in queue for pacman 5.1 (not in master branch yet) that should provide a robuster way to handle file path for pacman -U.
i've also added more code to handle such cases, what do you think about it? https://github.com/actionless/pikaur/blob/master/pikaur/build.py#L327-L336
You mean to handle the architecture? I don't really have an opinion on this, since only 64bit is officially supported on Arch now.
I have
cower-git
installed, which providescower
. When installing a package that requirescower
, the dependency solver fails.In addition to package names, you'll need to check providers here.