If I try to unpack a stage3 tarball on a system that has /usr mounted, I get this error: === Begin === Unpacking /inst/dist/stage3-x86-20040213.tar.bz2... tar: ./usr/share/terminfo/v/vt100-am: Cannot hard link to `./etc/terminfo/v/vt100': No such file or directory tar: ./usr/share/terminfo/v/vt200: Cannot hard link to `./etc/terminfo/v/vt220': No such file or directory tar: ./usr/share/terminfo/s/sun1: Cannot hard link to `./etc/terminfo/s/sun': No such file or directory tar: ./usr/share/terminfo/s/sun2: Cannot hard link to `./etc/terminfo/s/sun': No such file or directory tar: Error exit delayed from previous errors === End === As /etc and /usr are on different filesystems, HardLinks are not supported. Instead, SymLinks should be used (or rather, just one, from /usr/share/terminfo to /etc/terminfo). Reproducible: Always Steps to Reproduce: Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-cube-2) ================================================================= System uname: 2.4.23-cube-2 i686 AMD Athlon(tm) processor distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/vice/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage" USE="3dnow X acl afs apm avi berkdb cdr crypt dga doc dvd encode foomaticdb gdbm gif gtk gtk2 gtkhtml guile hbci imap imlib ipv6 j-noaim j-nomsn j-noyahoo jpeg kde krb4 lcms libg++ libwww linguas_en,de mad maildir mbox mikmod mmx monitor mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib png postgres python qt qtmt quicktime readline samba sdl skey spell ssl tetex tiff truetype x86 xml xml2 xv zlib"
Appending "--enable-symlinks" to the configure run of ncurses fixes this problem.
Created attachment 26037 [details, diff] patch for sys-libs/ncurses/ncurses-5.3-r5.ebuild: append --symlinks to configure options
forwarding to base-system
Any chance of getting my patch into the official Portage tree? I currently have to manually patch the Portage tree before using catalyst to create the stage tarballs. :(
*** Bug 40625 has been marked as a duplicate of this bug. ***
Is it possible for users to create their own stage tarball to fix this problem without having gentoo in the first place, and how? Thanks.
A work around has been proposed on the gentoo install forum that can be done after untaring the stage. I post it here for reference: http://forums.gentoo.org/viewtopic.php?t=171095
I'm curious why such a simple problem and solution is taking so long to remedy. I create numerous liveCDs for automated/unnattended installs of gentoo and changing the ebuild to use softlinks instead of hardlinks before I take a fresh snapshot is very very irritating. Not everyone wants /etc and /usr on the same filesystem.
Arrrr! This still be a problem in 2004.2. Arrrrrrr!!!
Frankly, it takes a long time to remedy because base-system is overloaded and understaffed. Committed to CVS.
*** Bug 61204 has been marked as a duplicate of this bug. ***
Reopening this bug...
...and reassigning it to release as a test-request
*** Bug 62648 has been marked as a duplicate of this bug. ***