You are not logged in.

#1 2007-11-20 18:17:33

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

AUR package: makepkg error

During the installation of http://aur.archlinux.org/packages/cddb-py/ I get this error

[user@bir dl]$ tar -xvzf cddb-py.tar.gz
cddb-py/
cddb-py/PKGBUILD
[user@bir dl]$ cd cddb-py
[user@bir cddb-py]$ makepkg
==> ERROR: cddb-py is not available for the 'i686' architecture.
    Note that many packages may need a line added to their PKGBUILD
    such as arch=('i686').



python is allready installed. makepkg -s causes the same error

What is wrong?

Offline

#2 2007-11-20 18:19:32

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: AUR package: makepkg error

mumpf wrote:

During the installation of http://aur.archlinux.org/packages/cddb-py/ I get this error

[user@bir dl]$ tar -xvzf cddb-py.tar.gz
cddb-py/
cddb-py/PKGBUILD
[user@bir dl]$ cd cddb-py
[user@bir cddb-py]$ makepkg
==> ERROR: cddb-py is not available for the 'i686' architecture.
    Note that many packages may need a line added to their PKGBUILD
    such as arch=('i686').



python is allready installed. makepkg -s causes the same error

What is wrong?

I have bolded the pertinent part of the error message.  Add arch=('i686') to the pkgbuild, or if arch=('x86_64') is already there, just add it like so: arch=('x86_64' 'i686')

Offline

#3 2007-11-20 20:10:41

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

Re: AUR package: makepkg error

Thanks a million, it works fine.  Exaile from CD works now too :-). My pkgbuild looks like

...
license=""
arch=('i686')
depends=(python)
...

Is the order ok? Anybody else, who wonders how to deal with AUR packages: there is a wiki http://wiki.archlinux.org/index.php/Makepkg

Offline

#4 2007-11-20 21:12:45

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: AUR package: makepkg error

The order doesn't matter, it all just gets sourced through your shell.


I am a gated community.

Offline

#5 2007-11-20 21:19:30

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: AUR package: makepkg error

It's true that, as far as making the PKGBUILD work is concerned, order doesn't matter.  However, some people prefer PKGBUILDs that are all uniform in order, which makes them easier to read.  I'd suggest looking in the wiki for PKGBUILD.proto (or, if you're using abs, it'll exist in /var/abs/core I think) for a suggested style guide for ordering your vars.  smile

Offline

Board footer

Powered by FluxBB