FS#34542 - [makepkg] getting 'is not available for the '@CARCH@' architecture' message
Attached to Project:
Arch Linux
Opened by Frederic Bezies (fredbezies) - Monday, 01 April 2013, 08:34 GMT
Last edited by Allan McRae (Allan) - Monday, 01 April 2013, 09:10 GMT
Opened by Frederic Bezies (fredbezies) - Monday, 01 April 2013, 08:34 GMT
Last edited by Allan McRae (Allan) - Monday, 01 April 2013, 09:10 GMT
|
Details
Description: Hello.
Since I upgraded to pacman 4.1.0, every single time I tried to build a package, I'm getting this kind of message, for example while trying to build pacman from source code : $ makepkg -s ==> ERROR: pacman is not available for the '@CARCH@' architecture. Note that many packages may need a line added to their PKGBUILD such as arch=('@CARCH@'). Of course, I've made a clean update of pacman, and to be sure I have a good makepkg.conf, I remove the old one and use makepkg.conf.pacnew I get with sudo pacman -S pacman. Additional info: pacman 4.1.0-1 Steps to reproduce: Just install pacman 4.1.0 and try to build a package from source. |
This task depends upon
It'd be interesting to find out what's happening on your system; I can't think of any probable cause for that error.
I guess you could check the /etc/makepkg.conf and $HOME/.makepkg.conf files for any instances of '@CARCH@'.
@foutrelis : I do not have .makepkg.conf in my home directory.
Only /etc/makepkg.conf from pacman package.
The only modification I made is using MAKEFLAGS="-j4". Besides this, it is the same file as the one in pacman package.
CARCH and CHOST were badly written :(
Edit: makepkg.conf not pacman.conf