Ebuild gets numerous cpio errors (No such file or directory) when merging ltsp-core-3.0.9-r1 >>> Installing root LTSP directory ... cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/etc/hosts: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/etc/initrunlvl: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/etc/ioctl.save: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/etc/resolv.conf: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/etc/syslog.conf: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/lib/libtermcap.so.2: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/mnt: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/lib/libpopt.so: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/lib/libpopt.so.0: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/var: No such file or directory >>> Installing the X core ... cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/etc/XF86Config: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/X11R6/lib/libdps.so: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/X11R6/lib/libdps.so.1: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/X11R6/lib/libdpstk.so: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/X11R6/lib/libdpstk.so.1: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/X11R6/lib/libfreetype.so: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/X11R6/lib/libfreetype.so.6: No such file or directory cpio: /var/tmp/portage/ltsp-core-3.0.9-r1/image//opt/ltsp//i386/usr/X11R6/lib/libGL.so: No such file or directory This continues, but I saw no point in pasting more. Emerge info: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) MP 2200+ GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://adelie.polymtl.ca/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow avi cdr crypt dvd encode esd gd gif gnome gtk gtk2 gtkhtml ipv6 java jpeg ldap libwww mmx mpeg ncurses oggvorbis opengl oss pam pdflib perl pic png python quicktime readline spell sse ssl tcltk tcpd tiff truetype xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -falign-labels=1 -falign-jumps=16 -falign-loops=16 -falign-functions=64 -fmerge-all-constants -fforce-addr -ffast-math -foptimize-register-move -frename-registers -mfpmath=sse,387 -mno-push-args -mno-align-stringops -maccumulate-outgoing-args" CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -falign-labels=1 -falign-jumps=16 -falign-loops=16 -falign-functions=64 -fmerge-all-constants -fforce-addr -ffast-math -foptimize-register-move -frename-registers -mfpmath=sse,387 -mno-push-args -mno-align-stringops -maccumulate-outgoing-args" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j4" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc cvs notitles userpriv"
no way, you have to turn sandbox off, added a comment on that
Would that not be an improper ebuild, then? I believe all ebuilds should build with and without sandbox.
yes, you are right, but i tried several hours to get rid of the errors with sandbox and i couldn't find a solution :(
At the very least, the check for sandbox in the ebuild is not working properly, since it let me emerge it anyway. Is there a reason the install.sh is using cpio? Could it not just use a simple cp -a ? I would think a simple dodir ${D}/opt/ltsp at the beginning of src_install would be sufficient. I'll test it locally and let you know. I am reopening this bug for now.
Ugh... OK, this is a pain. I need ltsp-core to build cleanyl for another ebuild I am working on. In fact, my ebuild is done and the only thing keeping me from submitting it, besides a horrendous bug in the actual upstream package (working on it with maintainer), is ltsp-core... I guess we can close this if you really want to, but I would like to at least see if we can resolve this bug properly.
if you are brave take a look at the ltsp-4_beta1 package ;)
it's working with ltsp-4 and it should work without sandbox, so i'll close it now...