You are not logged in.
I've been following https://wiki.archlinux.org/index.php/De … lassic_Way to build packages for the past couple of weeks.
Now, I want to build a multilib AUR package. So, I edited $CHROOT/root/etc/pacman.conf and enabled multilib. The problem I'm having is that makechrootpkg doesn't seem to be interactive. For example, here I am trying to install gcc-multilib:
makechrootpkg -r $CHROOT -I gcc-multilib-6.1.1-4-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
:: gcc-multilib and gcc are in conflict. Remove gcc? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-multilib and gcc are in conflict
It just took the default answer and did not stop to let me choose 'y' to remove gcc. Is there a way to do it like this, or is there no other choice than to use the multilib-build script?
Last edited by colinkeenan (2016-08-07 14:50:44)
Offline
makechrootpkg is supposed to be a noninteractive wrapper for autobuilding packages (like, on a server buildbot).
Use arch-nspawn (which will bind-mount the pacman cache into a systemd-nspawn container) to get an interactive shell, or alternatively to run commands without the `--noconfirm` flag automatically added for you.
makechrootpkg uses arch-nspawn under the hood.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Try clean-chroot-manager...
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks. Both answers are good and I really like the local repository concept used int clean-chroot-manager. I will mark this solved.
Offline
Thanks. Both answers are good and I really like the local repository concept used int clean-chroot-manager...
Glad you like it/find it useful. That is the primary reason I wrote it
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline