Artix Linux Forum

Artix Linux => Software development => Topic started by: Mouad All on 08 April 2025, 15:08:26

Title: Build packages from source
Post by: Mouad All on 08 April 2025, 15:08:26
Hello, I want to use my home directory to build packages from source in a clean chroot, but the following command fails:

$ mkchroot /home/mouad/artixbuild/root base-devel
==> Creating install root at /home/mouad/artixbuild/root
==> Installing packages to /home/mouad/artixbuild/root
:: Synchronizing package databases...
error: could not open file /home/mouad/artixbuild/root/var/lib/pacman/sync/download-gKlEAR/system.db.part: Permission denied
error: failed to setup a download payload for system.db
error: failed to synchronize all databases (failed to retrieve some files)
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages

Please, how can I build artixlinux packages in a clean chroot in the home directory?
Title: Re: Build packages from source
Post by: nous on 09 April 2025, 10:12:59
Use buildpkg instead.
Title: Re: Build packages from source
Post by: Mouad All on 09 April 2025, 20:25:48
Thanks for your reply.

How do I resolve the gpg signature error:

ERROR: One or more PGP signatures could not be verified!
Title: Re: Build packages from source
Post by: nous on 09 April 2025, 23:27:20
How do I resolve the gpg signature error:
ERROR: One or more PGP signatures could not be verified!
By posting more lines of the console messages before the error.
Title: Re: Build packages from source
Post by: Mouad All on 10 April 2025, 22:18:43
Thank you very much, I figured out how to solve the signature errors.