You are not logged in.
Following building in a clean chroot wiki page but am getting errors I can't rationalize. Can someone point out the error of my way? Why all these missing file warnings?
$ mkdir /media/data/archbuild
$ CHROOT=/media/data/archbuild/root
$ sudo mkarchroot $CHROOT base base-devel sudo
<< install completes successfully >>
$ cp /var/abs/core/glibc ./ && cd glibc
$ sudo makechrootpkg -c -r $CHROOT
==> Creating clean working copy...done
grep: /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
/usr/sbin/makechrootpkg: line 330: /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
grep: /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
/usr/sbin/makechrootpkg: line 335: /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
sed: can't read /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
/usr/sbin/makechrootpkg: line 340: /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
sed: can't read /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
/usr/sbin/makechrootpkg: line 345: /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
grep: /media/data/archbuild/root/facade/etc/makepkg.conf: No such file or directory
/usr/sbin/makechrootpkg: line 378: /media/data/archbuild/root/facade/etc/sudoers.d/nobody-pacman: No such file or directory
chmod: cannot access `/media/data/archbuild/root/facade/etc/sudoers.d/nobody-pacman': No such file or directory
/usr/sbin/makechrootpkg: line 385: /media/data/archbuild/root/facade/etc/locale.conf: No such file or directory
==> ERROR: '/media/data/archbuild/root/facade' does not appear to be a Arch chroot.
==> ERROR: Build failed, check /media/data/archbuild/root/facade/buildLast edited by graysky (2012-01-04 19:52:07)
Offline
Perhaps the news item about devtmpfs has a bearing on your difficulty...
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Perhaps the news item about devtmpfs has a bearing on your difficulty...
@lilsirecho - I don't think so...
$ uname -r
3.1.7-1-ARCHPlus, that only applies to udev >= 176.
$ pacman -Si udev
Repository : core
Name : udev
Version : 175-1Last edited by graysky (2012-01-04 17:20:24)
Offline
PEBKAC - my flaw was defining CHROOT=/media/data/archbuild/root. It should be defined as CHROOT=/media/data/archbuild - thanks wonder.
Here is the correct sequence for others interested:
CHROOT=/tmp/WORK/chroot
mkdir $CHROOT
sudo mkarchroot $CHROOT/root base base-devel sudo
cp /var/abs/core/glibc ./ && cd glibc
sudo makechrootpkg -c -r $CHROOTLast edited by graysky (2012-01-04 20:00:55)
Offline
you can also use sudo extra-x86_64-build, or whatever architecture you want, the a directory with PKGBUILD.
that will create a chroot in /var/tmp/archbuild if doesn't exist, or upgrade+start compilation, if exists.
you can offcourse recompile against testing using testing-x86_64-build
Give what you have. To someone, it may be better than you dare to think.
Offline