actionless / pikaur

AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction.
GNU General Public License v3.0
868 stars 87 forks source link

error: target not found when using pacman wrapper powerpill #502

Closed ckotte closed 4 years ago

ckotte commented 4 years ago
pikaur -Vq
Pikaur v1.6.10
Pacman v5.2.2 - libalpm v12.0.2
Prerequisites:

in pikaur.conf, set pacmanpath = /usr/bin/powerpill

OR

in pikaur.conf, set pacmanpath = /usr/bin/powerpil2

powerpill2

#!/bin/bash
pacman "$@"
Attached log:

powerpill:

# pikaur -S --noconfirm --noedit --needed numix-circle-arc-icons-git --verbose --pikaur-debug 
:: debug: install_info_fetcher: Gonna fetch install info for:
    install_package_names=['numix-circle-arc-icons-git']
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]

:: debug: install_info_fetcher: Gonna get repo pkgs install info...
Reading repository package databases...
Reading local package database...
=> powerpill --color=always --sync --noconfirm numix-circle-arc-icons-git --print-format %r/%n
:: debug: install_info_fetcher: gonna get AUR pkgs install info for aur_packages_versionmatchers=['numix-circle-arc-icons-git']... self.aur_updates_install_info=[]
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=numix-circle-arc-icons-git
:: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[<InstallInfo "numix-circle-arc-icons-git"   -> 20.1-1>]
Resolving AUR dependencies...
=> powerpill --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git git
=> powerpill --color=always --sync --print-format=%% numix-circle-icon-theme-git numix-icon-theme-git
=> powerpill --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git git
=> powerpill --color=always --sync numix-circle-icon-theme-git --print-format %r/%n
=> powerpill --color=always --sync numix-icon-theme-git --print-format %r/%n
=> git -C /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git pull origin master
=> powerpill --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git
=> powerpill --color=always --deptest git
looking for conflicting AUR packages...
=> powerpill --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git git
=> cp -r /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/PKGBUILD /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/last_installed.txt /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/.SRCINFO /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/.gitignore /home/fubar/.cache/pikaur/build/numix-circle-arc-icons-git/
:: Downloading the latest sources for a devel package numix-circle-arc-icons-git...
=> makepkg --nobuild --noprepare --nocheck --nodeps
=> makepkg --printsrcinfo -p PKGBUILD
Not showing diff for numix-circle-arc-icons-git package (--noconfirm)
:: Skipping review of PKGBUILD for numix-circle-arc-icons-git package (--noedit)

:: debug: Gonna build self.package_builds_by_name={'numix-circle-arc-icons-git': <pikaur.build.PackageBuild object at 0x7f2964fdc460>}
:: debug: Gonna build pkg_build.package_names=['numix-circle-arc-icons-git']
=> powerpill --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git
Reading local package database...
=> powerpill --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git
=> powerpill --color=always --deptest git
:: Installing repository dependencies for numix-circle-arc-icons-git:
=> sudo powerpill --color=always --noconfirm --sync --asdeps numix-circle-icon-theme-git numix-icon-theme-git
error: target not found: numix-circle-icon-theme-git
error: target not found: numix-icon-theme-git
Command 'sudo powerpill --color=always --noconfirm --sync --asdeps numix-circle-icon-theme-git numix-icon-theme-git' failed to execute.
Do you want to retry? [N]o (--noconfirm)
Do you want to proceed? [N]o (--noconfirm)

powerpill2:

# pikaur -S --noconfirm --noedit --needed numix-circle-arc-icons-git --verbose --pikaur-debug 
:: debug: install_info_fetcher: Gonna fetch install info for:
    install_package_names=['numix-circle-arc-icons-git']
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]

:: debug: install_info_fetcher: Gonna get repo pkgs install info...
Reading repository package databases...
Reading local package database...
=> powerpill2 --color=always --sync --noconfirm numix-circle-arc-icons-git --print-format %r/%n
:: debug: install_info_fetcher: gonna get AUR pkgs install info for aur_packages_versionmatchers=['numix-circle-arc-icons-git']... self.aur_updates_install_info=[]
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=numix-circle-arc-icons-git
:: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[<InstallInfo "numix-circle-arc-icons-git"   -> 20.1-1>]
Resolving AUR dependencies...
=> powerpill2 --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git git
=> git -C /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git pull origin master
=> powerpill2 --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git
=> powerpill2 --color=always --deptest git
looking for conflicting AUR packages...
=> cp -r /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/PKGBUILD /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/last_installed.txt /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/.SRCINFO /home/fubar/.local/share/pikaur/aur_repos/numix-circle-arc-icons-git/.gitignore /home/fubar/.cache/pikaur/build/numix-circle-arc-icons-git/
:: Downloading the latest sources for a devel package numix-circle-arc-icons-git...
=> makepkg --nobuild --noprepare --nocheck --nodeps
=> makepkg --printsrcinfo -p PKGBUILD
Not showing diff for numix-circle-arc-icons-git package (--noconfirm)
:: Skipping review of PKGBUILD for numix-circle-arc-icons-git package (--noedit)

:: debug: Gonna build self.package_builds_by_name={'numix-circle-arc-icons-git': <pikaur.build.PackageBuild object at 0x7fe8aa5f6cd0>}
:: debug: Gonna build pkg_build.package_names=['numix-circle-arc-icons-git']
=> makepkg --packagelist

:: Starting the build:
=> makepkg
==> Making package: numix-circle-arc-icons-git 20.1-1 (Wed 15 Jul 2020 08:59:27 PM CEST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> numix-circle-icon-theme-git
  -> numix-icon-theme-git
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

Command 'makepkg' failed to execute.

pacman:

# pikaur -S --confirm --noedit --needed numix-circle-arc-icons-git --verbose --pikaur-debug
:: debug: install_info_fetcher: Gonna fetch install info for:
    install_package_names=['numix-circle-arc-icons-git']
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]

:: debug: install_info_fetcher: Gonna get repo pkgs install info...
Reading repository package databases...
Reading local package database...
=> pacman --color=always --sync --confirm numix-circle-arc-icons-git --print-format %r/%n
:: debug: install_info_fetcher: gonna get AUR pkgs install info for aur_packages_versionmatchers=['numix-circle-arc-icons-git']... self.aur_updates_install_info=[]
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=numix-circle-arc-icons-git
:: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[<InstallInfo "numix-circle-arc-icons-git"   -> 20.1-1>]
Resolving AUR dependencies...
=> pacman --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git git
=> pacman --color=always --sync --print-format=%% numix-circle-icon-theme-git numix-icon-theme-git
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=numix-circle-icon-theme-git&arg[]=numix-icon-theme-git
=> pacman --color=always --deptest git
=> pacman --color=always --deptest gtk-update-icon-cache git
=> pacman --color=always --deptest numix-circle-icon-theme-git numix-icon-theme-git git
=> pacman --color=always --deptest numix-icon-theme-git git

:: AUR package will be installed:
 numix-circle-arc-icons-git                                 -> 20.1-1

:: New dependencies will be installed from AUR:
 numix-circle-icon-theme-git (for numix-circle-arc-icons-git)     -> 0.r54.cc59306-1
 numix-icon-theme-git (for numix-circle-arc-icons-git, numix-circle-icon-theme-git)     -> 0.r1994.ea068b43a-1

:: Proceed with installation? [Y/n] 
:: [v]iew package details   [m]anually select packages
>>  

It might be a bug in powerpill, but why does my simple pacman wrapper powerpill2 doesn't work? $@ should bypass all options to pacman, right?

Does the dependency calculation depends on pacman or how does it work? Both packages are AUR packages..

actionless commented 4 years ago

It might be a bug in powerpill,

yup

but why does my simple pacman wrapper powerpill2 doesn't work

because it probably doesn't return the correct exit code

Does the dependency calculation depends on pacman or how does it work?

yes

ckotte commented 4 years ago

thanks for the detailed explanation