You are not logged in.

#1 2025-01-21 17:53:50

astro32
Member
Registered: 2025-01-21
Posts: 2

Building Package from AUR

Hi,

I an old (and not up-to-date) arch user, this is the first time I use archlinux32 (well I actually used 32 bit Archlinux, but was the main...) you may say old newbe, or granpa...

Is it possible to build package from AUR ?

I tryed astrocrop (astronomy camera SW) but it give me error "astrocrop is not available for 'Pentium4' architecture".
I have a i686 install on an Intel Atom.

Offline

#2 2025-01-22 07:44:43

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,073
Website

Re: Building Package from AUR

Here is some short documentation on how to build core/extra packages and AUR packages on Archlinux32:
- https://bbs.archlinux32.org/viewtopic.php?id=3336
- https://bbs.archlinux32.org/viewtopic.php?id=2841

Offline

#3 2025-01-22 10:57:55

astro32
Member
Registered: 2025-01-21
Posts: 2

Re: Building Package from AUR

Hi,
thanks a lot for the answer, it's not really easy to find info for the 32bit version...
I managed to build the package changing variables according to:

But it build a ".install" file, a ".pkg.tar.zst" package and a "_amd64.deb" package.

If I install with makepkg -i I got it installed but when I try to execute it I get:

"cannot esecute binary file: Exec format error"

What I am still  doing wrong ?

Thank a lot.

Offline

#4 2025-01-22 18:19:10

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,073
Website

Re: Building Package from AUR

Which AUR package do you try to build? _amd64.deb indicates that the PKGBUILD just downloads a 64-bit Debian package and
repackages it. This will not work of course on 32-bit. Either there is a 32-bit Debian package and the PKGBUILD can be changed
accordingly (the 'source' variable) or not.

"cannot execute binary file: Exec format error" means you try to execute a 64-bit binary on a 32-bit system.

Offline

Board footer

Powered by FluxBB