You are not logged in.

#1 2021-05-01 02:25:10

reesericci
Member
Registered: 2021-05-01
Posts: 3

Can't install any AUR package

It just hangs on "Generating .PKGINFO file..."
It happens with both helpers and makepkg.

Offline

#2 2021-05-01 03:10:26

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: Can't install any AUR package

Is the PKGDEST entry in your /etc/makepkg.conf valid and writeable?

Offline

#3 2021-05-26 20:59:22

reesericci
Member
Registered: 2021-05-01
Posts: 3

Re: Can't install any AUR package

yes

Offline

#4 2021-05-26 22:14:47

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Can't install any AUR package

Please post the output of building the following with makepkg

pkgname=NAME
pkgver=1
pkgrel=1
arch=('any')
url=""
license=('GPL')
package() {
  echo $PKGDEST
  stat $PKGDEST
}

Offline

#5 2021-06-07 20:47:13

reesericci
Member
Registered: 2021-05-01
Posts: 3

Re: Can't install any AUR package

$ makepkg -si
==> Making package: NAME 1-1 (Mon 07 Jun 2021 03:35:53 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
/home/packages
  File: /home/packages
  Size: 0               Blocks: 0          IO Block: 4096   directory
Device: 36h/54d Inode: 20050339    Links: 1
Access: (0777/drwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2021-05-26 15:53:43.669884259 -0500
Modify: 2021-05-26 15:53:43.669884259 -0500
Change: 2021-05-26 15:55:40.463651788 -0500
 Birth: 2021-05-26 15:53:43.669884259 -0500
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "NAME"...
  -> Generating .PKGINFO file...

Last edited by reesericci (2021-06-07 20:48:04)

Offline

#6 2021-06-08 08:27:31

seth
Member
Registered: 2012-09-03
Posts: 50,011

Re: Can't install any AUR package

edit /usr/bin/makepkg, find the function "write_pkginfo()" and inject some strategic debug output

…
echo "stage 1" >&2
…
echo "stage 2" >&2
…

to see where it stalls.

Online

#7 2021-06-10 19:06:41

Morganamilo
Package Maintainer (PM)
Registered: 2017-12-05
Posts: 77

Re: Can't install any AUR package

seth wrote:

edit /usr/bin/makepkg, find the function "write_pkginfo()" and inject some strategic debug output

…
echo "stage 1" >&2
…
echo "stage 2" >&2
…

to see where it stalls.

No need to edit anything, just run

bash -x makepkg

To get debug info.

Offline

Board footer

Powered by FluxBB