Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41886 - ncurses doesnt create softlinks to terminfo files
Summary: ncurses doesnt create softlinks to terminfo files
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 40625 61204 62648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-17 04:15 UTC by Sascha Silbe
Modified: 2004-09-02 14:59 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for sys-libs/ncurses/ncurses-5.3-r5.ebuild: append --symlinks to configure options (ncurses-5.3-r5.symlink.patch,666 bytes, patch)
2004-02-21 01:56 UTC, Sascha Silbe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2004-02-17 04:15:07 UTC
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"
Comment 1 Sascha Silbe 2004-02-21 01:54:30 UTC
Appending "--enable-symlinks" to the configure run of ncurses fixes this problem.

Comment 2 Sascha Silbe 2004-02-21 01:56:07 UTC
Created attachment 26037 [details, diff]
patch for sys-libs/ncurses/ncurses-5.3-r5.ebuild: append --symlinks to configure options
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2004-03-11 07:17:10 UTC
forwarding to base-system
Comment 4 Sascha Silbe 2004-04-13 09:51:54 UTC
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. :(

Comment 5 Benjamin Judas (RETIRED) gentoo-dev 2004-05-05 10:45:35 UTC
*** Bug 40625 has been marked as a duplicate of this bug. ***
Comment 6 Martin d'Anjou 2004-05-05 20:59:09 UTC
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.
Comment 7 Martin d'Anjou 2004-05-09 09:18:47 UTC
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
Comment 8 Stuart Buckland 2004-07-12 06:02:44 UTC
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.
Comment 9 G.P. LeChuck 2004-07-27 20:58:43 UTC
Arrrr! This still be a problem in 2004.2. Arrrrrrr!!!
Comment 10 Jon Portnoy (RETIRED) gentoo-dev 2004-07-28 11:47:21 UTC
Frankly, it takes a long time to remedy because base-system is overloaded and understaffed.

Committed to CVS.
Comment 11 Benjamin Judas (RETIRED) gentoo-dev 2004-08-22 02:27:08 UTC
*** Bug 61204 has been marked as a duplicate of this bug. ***
Comment 12 Benjamin Judas (RETIRED) gentoo-dev 2004-08-22 02:27:53 UTC
Reopening this bug...
Comment 13 Benjamin Judas (RETIRED) gentoo-dev 2004-08-22 02:28:42 UTC
...and reassigning it to release as a test-request
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-02 14:59:24 UTC
*** Bug 62648 has been marked as a duplicate of this bug. ***