Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75927 - ncurses failed to run tic because of USE=unicode
Summary: ncurses failed to run tic because of USE=unicode
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: utf8 herd (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 10:35 UTC by David Li
Modified: 2005-03-22 07:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Li 2004-12-28 10:35:26 UTC
I started a stage 2 install on a amd64. It turns out that when I do emerge ncurses, it fails when callic tic to install terminfo.

Output:
cd test && make DESTDIR="/var/tmp/portage/ncurses-5.4-r5/image/" install
make[1]: Entering directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/test'
cd misc && make DESTDIR="/var/tmp/portage/ncurses-5.4-r5/image/" install
make[1]: Entering directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/misc'
sh ./../mkinstalldirs /var/tmp/portage/ncurses-5.4-r5/image//usr/share/terminfo
mkdir /var/tmp/portage/ncurses-5.4-r5/image/usr/share/terminfo
sh ./../mkinstalldirs /var/tmp/portage/ncurses-5.4-r5/image//usr/share/tabset
mkdir /var/tmp/portage/ncurses-5.4-r5/image/usr/share/tabset
DESTDIR=/var/tmp/portage/ncurses-5.4-r5/image/ \
prefix=/usr \
exec_prefix=/usr \
bindir=/usr/bin \
top_srcdir=.. \
srcdir=. \
datadir=/usr/share \
ticdir=/usr/share/terminfo \
source=../misc/terminfo.src \
THIS_CC="gcc" \
THAT_CC="gcc" \
sh ./run_tic.sh
** Building terminfo database, please wait...
Running tic to install /var/tmp/portage/ncurses-5.4-r5/image//usr/share/terminfo ...
 
        You may see messages regarding unknown capabilities, e.g., AX.
        These are extended terminal capabilities which can be compiled
        using
                tic -x
        Read the INSTALL document before doing this - it can cause
        problems for older ncurses applications.
 
tic: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
? tic could not build /var/tmp/portage/ncurses-5.4-r5/image//usr/share/terminfo
make[1]: *** [install.data] Error 1
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/misc'
make: *** [install] Error 2
 
!!! ERROR: sys-libs/ncurses-5.4-r5 failed.
!!! Function src_install, Line 87, Exitcode 2
!!! make install failed
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge ncurses



System uname: 2.6.9-1.6_FC2smp x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.6-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X acpi apache2 avi berkdb bitmap-fonts cdr crypt cups directfb
divx4linux doc dvd f77 fbconf flash foomaticdb fortran ftp gif gnome gpm gtk
gtk2 imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mime ming motif mozilla
mpeg multilib mysql ncurses nls ntpl nvidia oggvorbis opengl pam perl php png
python quicktime readline samba sdl session slang spell ssl tcpd tga tiff
truetype unicode usb userlocales wmf xml xml2 xpm xrandr xv xvid zlib"
Comment 1 David Li 2004-12-28 13:52:41 UTC
Using USE="-unicode" is unacceptable due to bug 74130
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-01-11 06:28:46 UTC
please attach a complete log, maybe there are errors earlier in the process
Comment 3 SpanKY gentoo-dev 2005-01-17 15:03:32 UTC
*** Bug 78313 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Simonov 2005-01-28 13:07:03 UTC
I think problem in ncurses install procedure.
Then user add into USE unicode flag then he having some big troubles.
Some programs (I don't have any thinks why?) using not libncurses.so.(*) 
This program using libncursesw.so.(*).
And then user delete unicode from USE and rebuild ncurses (but why? may be
using emerge -e system ) he has trouble with this some programms.
I think we may remove unicode flag from ncurses and always build ncurses with unicode. Or remove symlinks of libncurses.so.(*) and using only libncurses.so.(*)
on unicode and on not unicode system. I think last way it's bad becouse we MUST
rewriting some ebuilds.
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-22 07:46:40 UTC
David Li: you have to options, you can install the complete system with unicode or without unicode, but a mixture doesn't work, so please try again