You are not logged in.

#1 2015-09-17 06:26:22

boban_dj
Member
Registered: 2015-03-17
Posts: 150

[SOLVED] PKGBUILD error with packer and apacman

Hi,
I have just updated arch.

Packer, apacman were installed with makepkg -si. Packer worked before the upgrade, reinstalled both just to make sure they are updated for AUR4.
Normally I always use packer but installed apacman to check on the error.

I can use makepkg -si for installing a package this works, also when I do packer -G or apacman -G, they download fine the tarball and extract with the PKGBUILD inside the extracted folder.

My makepkg.conf:

#-- Destination: specify a fixed directory where all packages will be placed
PKGDEST=/home/boban/packages
#-- Source cache: specify a fixed directory where source files will be cached
SRCDEST=/home/boban/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
SRCPKGDEST=/home/boban/srcpackages
permissions /home/boban/
755 drwxr-xr-x   2 boban users 4.0K Sep 17 07:48 packages
755 drwxr-xr-x  22 boban users 4.0K Sep 17 07:47 sources
755 drwxr-xr-x   2 boban users 4.0K Oct 11  2014 srcpackages
/tmp permissions:
776 drwxrwxrwt  18 root  root  480 Sep 17 08:06 tmp

output error:

$ packer -S spotify
Aur Targets    (1): spotify
Proceed with installation? [Y/n] y
Edit spotify PKGBUILD with $EDITOR? [Y/n] n
Edit spotify.install with $EDITOR? [Y/n] n
==> ERROR: PKGBUILD does not exist.
The build failed.

Both packer and apacman give me the same error.
Probably I am overlooking something from the AUR 4 changes?
Some advice world be really appreciated.

EDIT: Sorry I missed the makepkg.conf.pacnew after the upgrade. Renaming the makepkg.conf.pacnew to makepkg.conf (after checking) everything was installing with the AUR helpers packer and apacman.

Last edited by boban_dj (2015-09-17 13:06:48)

Offline

#2 2015-09-19 17:49:37

7etc/
Member
Registered: 2010-05-08
Posts: 47

Re: [SOLVED] PKGBUILD error with packer and apacman

Perhaps this helps  https://wiki.archlinux.org/index.php/AU … g_packages

Last edited by 7etc/ (2015-09-19 17:52:08)

Offline

#3 2015-09-20 05:19:44

boban_dj
Member
Registered: 2015-03-17
Posts: 150

Re: [SOLVED] PKGBUILD error with packer and apacman

@7etc/,
No it does not help. The problem was already solved by checking the .pacnew files after the upgrade. Users have their own responsibilty for this. I forgot about the makepkg.conf.pacnew.
Since the move from AUR to git , i did not do an upgrade.
The important difference in /etc/makepkg.conf was:

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

Thanks anyway

Last edited by boban_dj (2015-09-20 11:41:54)

Offline

Board footer

Powered by FluxBB