You are not logged in.

#1 2015-08-19 08:17:49

RJ_The_Edgelord
Member
Registered: 2015-08-19
Posts: 6

[SOLVED] ERROR: PKGBUILD does not exist

So I recently installed Arch Linux on new(er) hardware (Intel Pentium E5300, Gateway BIOS Motherboard, GPT harddrive, 64-bit, 8GB RAM/4GB swap), and previously, using the same (now wiped) HDD on a Pentium 4 64-bit Architecture with an HP BIOS motherboard with a meager 512MB RAM, I had no problem installing packer (in turn used to install yaourt) via the aur.sh bash script. I've set up the BIOS to load a new installation of GRUB/Arch Linux on a separate (non-RAID) HDD (/dev/sdb) from my Windows drive (/dev/sda). This is my second install attempt on this machine, and it simply doesn't want to create packages from AUR for me.

This is the specific error it's spitting at me after running the command bash <(curl aur.sh) -si packer as a regular user :

gzip: stdin: not in gzip format
tar: Child Returned Status 1
tar: Error is not recoverable: exiting now
/proc/self/fd/11: line 7: cd: packer: No such file or directory
==> ERROR: PKGBUILD does not exist.

It might be worth noting that I changed my shell to zsh w/grml, but it should still run that command through bash. I've screwed around with makepkg.conf after the fact, and it's still spitting this hair-pulling error at me - not just with the deprecated packer, but with any AUR package. Can somebody please tell me what's going on, and how I can get packages to compile on my system?

Last edited by RJ_The_Edgelord (2015-08-19 13:02:39)

Offline

#2 2015-08-19 08:29:14

RJ_The_Edgelord
Member
Registered: 2015-08-19
Posts: 6

Re: [SOLVED] ERROR: PKGBUILD does not exist

Also noteworthy, though I'm not sure it matters:

/etc/makepkg.conf :

CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"

I'm not sure if it said something different on my other motherboard, but could this be a source of the confusion? Is there anything I can change in makepkg.conf that will make it work for me? I've tried changing the unknown in CHOST to pc-linux-gnu and arch-linux-gnu, still no dice. What's it supposed to read, exactly?

Last edited by RJ_The_Edgelord (2015-08-19 08:34:53)

Offline

#3 2015-08-19 08:42:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] ERROR: PKGBUILD does not exist

Offline

#4 2015-08-19 08:50:31

RJ_The_Edgelord
Member
Registered: 2015-08-19
Posts: 6

Re: [SOLVED] ERROR: PKGBUILD does not exist

Is that why it's not working now? Recent migration to AUR4? Even running makepkg -s alone as a regular user, spits the same error at me. I'm confused - could you please give me a less RTFM explanation for this error?

EDIT: Oh, I see what you're trying to tell me now. Please ignore all that hardware fluff above. tongue

Old package helpers don't work anymore as part of a move to AUR4. I guess I should learn how to use the AUR directly, then?

Last edited by RJ_The_Edgelord (2015-08-19 08:55:20)

Offline

#5 2015-08-19 08:59:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] ERROR: PKGBUILD does not exist

I've added a warning to https://wiki.archlinux.org/index.php/Aur.sh
The URLs to PKGBUILDs have changed, so the script can't find them:

$ ./aur.sh expac-git
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168  100   168    0     0    539      0 --:--:-- --:--:-- --:--:--   540

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./aur.sh: line 7: cd: expac-git: No such file or directory
==> ERROR: PKGBUILD does not exist.

Edit: You can still download tarballs or you can use git. You can use another AUR helper - it's all up to you.
Edit the aur.sh script to match the new URL and see if it works.

Last edited by karol (2015-08-19 09:05:24)

Offline

#6 2015-08-19 09:16:10

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Offline

#7 2015-08-19 09:17:15

RJ_The_Edgelord
Member
Registered: 2015-08-19
Posts: 6

Re: [SOLVED] ERROR: PKGBUILD does not exist

karol wrote:

I've added a warning to https://wiki.archlinux.org/index.php/Aur.sh
The URLs to PKGBUILDs have changed, so the script can't find them:

$ ./aur.sh expac-git
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168  100   168    0     0    539      0 --:--:-- --:--:-- --:--:--   540

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./aur.sh: line 7: cd: expac-git: No such file or directory
==> ERROR: PKGBUILD does not exist.

Edit: You can still download tarballs or you can use git. You can use another AUR helper - it's all up to you.
Edit the aur.sh script to match the new URL and see if it works.

Alright, thank you! smile I was getting worried there.

So, are we just not supposed to use AUR helpers at all then? Is the manual process of extracting and building source packages too important to be automated or something? AFAIK from my experience with Gentoo, all the optimization variables in Arch are set in makepkg.conf, but then again I know nothing. hmm

Last edited by RJ_The_Edgelord (2015-08-19 09:20:58)

Offline

#8 2015-08-19 09:19:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] ERROR: PKGBUILD does not exist

Sure you can use helpers: https://wiki.archlinux.org/index.php/AUR_helpers (read the warning) but you should know how to use AUR + makepkg if something breaks, like it just did for you.

Offline

#9 2015-08-19 09:25:10

RJ_The_Edgelord
Member
Registered: 2015-08-19
Posts: 6

Re: [SOLVED] ERROR: PKGBUILD does not exist

Just saw your post. Yeah, I'm guessing the best way to troubleshoot this kind of stuff is to see what the scripts I've depended on are actually doing, and learn to do that manually. I was just being a skript kiddie in the past, doing what worked for me to get yaourt on my system. It spat an error at me if I tried to install yaourt with the script, so I took the path of least resistance and used a lazy workaround. I really am a newbie, and for that I apologize. Thanks for the insight.

Last edited by RJ_The_Edgelord (2015-08-19 09:27:38)

Offline

#10 2015-08-19 11:56:45

RJ_The_Edgelord
Member
Registered: 2015-08-19
Posts: 6

Re: [SOLVED] ERROR: PKGBUILD does not exist

Just an update, I've resolved this by manually downloading and extracting the snapshots like I'm supposed to - with curl, tar, and makepkg. I've successfully installed yaourt, without packer. For convenience, I'm probably still going to treat AUR source packages like binaries which I'm not supposed to hmm , but at least I know how the AUR works now. Thanks for the advice.

Last edited by RJ_The_Edgelord (2015-08-19 11:57:51)

Offline

#11 2015-08-19 12:11:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] ERROR: PKGBUILD does not exist

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB