You are not logged in.
Pages: 1
I wanted to compile llvm-svn and mesa-git from aur package (and lib32 version too).
llvm-svn fail to compile outside of chroot so i started reading the wiki page about clean chroot compiling (https://wiki.archlinux.org/index.php/De … ean_Chroot).
Just because i wanted to compile mesa too in the chroot and the install everything, the problem is that i cant find a way to install the just compiled llvm-svn to build the mesa package. The wiki say to use this command "makechrootpkg -r $CHROOT -I package-1.0-1-i686.pkg.tar.xz" and it work "successful" but when i move into the mesa folder containing the PKGBUILD the previous installed llvm package is vanished.
The workaround solution for solving is copy the generated package on the chroot/root directory and the installing it with pacman: "arch-nspawn $CHROOT/root pacman -U mypackage.pkg.tar.xz"
The question is. How i can install the packages on the readonly (?) tree of my chroot?
Offline
Hmm... this is why I wrote clean-chroot-manager: https://aur.archlinux.org/packages/clea … t-manager/
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I usually use
extra-x86_64-build -- -I /path/file.tar.xz
Offline
Hmm... this is why I wrote clean-chroot-manager: https://aur.archlinux.org/packages/clea … t-manager/
I take a look. Thank you.
Offline
Hmm... this is why I wrote clean-chroot-manager: https://aur.archlinux.org/packages/clea … t-manager/
I tried and I'm puzzled now.
I create the clean chroot with ccm64
$ sudo ccm64 c
the i builded llvm-svn
$ sudo ccm64 s
Now here I found a bit lost on how to install the package, i was looking for a way to invoke the install procedure from ccm64 but i don't find a way (If I'm right why you don't add an option for installing the packages directly from ccm64? )
exported the CHROOT
then with arch-nspawn i run an update
$ arch-nspawn $CHROOT/root pacman -Syu
and installed the wanted packages
$ arch-nspawn $CHROOT/root pacman -S blablabla-svn
now i moved to the next package and tried a build
$ sudo ccm64 S
[...]
==> Installing missing dependencies...
error: target not found: llvm-svn
error: target not found: clang-svn
==> ERROR: 'pacman' failed to install missing dependencies.
[...]
The I just wtf.
$ arch-nspawn $CHROOT/root pacman -Qs llvm-svn
local/lib32-llvm-svn 3.8.0svn_r251620-1
The LLVM Compiler Infrastructure (32-bit)
local/llvm-svn 3.8.0svn_r251564-1 (llvm-toolchain-svn)
The LLVM Compiler Infrastructure
What I did wrong?
EDIT: Ok, shame on me with "ccm64 s" is working. I think that i misunderstand the difference from s and S. (and everything else)
Last edited by edward.81 (2015-10-29 10:41:00)
Offline
Pages: 1