| Summary: | ncurses fails to install /usr/include/ncursesw with USE="unicode" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Graeme Humphries <unit3> |
| Component: | [OLD] Library | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | utf8 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Graeme Humphries
2005-04-14 10:20:14 UTC
can you paste the output of this please: emerge -Duv --newuse world -p thanks [blocks B ] media-gfx/bootsplash (is blocking media-gfx/splashutils-0.9.1) [blocks B ] media-gfx/splashutils (is blocking media-gfx/bootsplash-0.6.1-r7) [ebuild R ] app-shells/bash-2.05b-r9 -build -debug -nls* (-uclibc) 1,923 kB [ebuild R ] sys-apps/sed-4.0.9 -bootstrap -build -debug -nls* -static 751 kB [ebuild U ] sys-devel/gcc-config-1.3.10-r2 [1.3.10-r1] 0 kB [ebuild R ] sys-devel/gcc-3.4.3-r1 (-altivec) -bootstrap -boundschecking -build -debug -fortran -gcj +gtk -hardened* (-ip28) +multilib -multislot (-n32) (-n64) -nls -nocxx -objc -static (-uclibc) 0 kB [ebuild R ] sys-apps/grep-2.5.1-r6 -build -debug -nls* -pcre -static (-uclibc) 667 kB [ebuild R ] sys-apps/pam-login-3.14 -livecd -nls* (-selinux) 137 kB [ebuild R ] sys-fs/e2fsprogs-1.35-r1 -debug -diet -nls* -static 3,078 kB [ebuild R ] sys-devel/make-3.80-r1 -build -debug -hardened -nls* -static (-uclibc) 899 kB [ebuild R ] dev-util/pkgconfig-0.15.0 -debug -hardened* 0 kB [ebuild U ] dev-util/dialog-1.0.20050206 [1.0.20040731] +unicode* 0 kB [ebuild R ] x11-base/xorg-x11-6.8.2-r1 (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened* -insecure-drivers -ipv6 -minimal (-mmx) -nls +opengl +pam +sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv 0 kB [ebuild R ] app-shells/sash-3.7 -debug -readline* 49 kB [ebuild U ] x11-libs/pango-1.8.1 [1.6.0] -debug -doc -static 973 kB [ebuild R ] dev-libs/popt-1.7-r1 -nls* 561 kB [ebuild R ] sys-apps/tcp-wrappers-7.6-r8 -ipv6* 115 kB [ebuild U ] sys-libs/db-1.85-r2 [1.85-r1] 14 kB [ebuild N ] app-admin/sudo-1.6.7_p5-r2 +pam +skey 341 kB [ebuild U ] dev-db/postgresql-8.0.1-r2 [7.4.7-r1] -debug -doc +kerberos -libg++ -nls +pam -perl -pg-hier -pg-intdatetime -python -readline (-selinux) -ssl -tcltk +xml2 -zlib 7,745 kB [ebuild R ] net-print/cups-1.1.23-r1 -debug -nls +pam +samba (-slp)* -ssl 0 kB [ebuild U ] dev-db/mysql-4.0.24 [4.0.22-r2] -berkdb -debug -innodb -perl -readline (-selinux) -ssl -static -tcpd 16,489 kB [ebuild R ] sys-apps/diffutils-2.8.7 -debug -nls* -static 1,033 kB [ebuild R ] net-nds/openldap-2.1.26 -berkdb +crypt -debug +gdbm -ipv6 +kerberos +odbc -perl -readline +samba +sasl (-slp)* -ssl -tcpd 0 kB [ebuild U ] dev-perl/perl-ldap-0.31 [0.29] +sasl -ssl +xml 216 kB [ebuild U ] sys-apps/usbutils-0.11-r5 [0.11-r3] 48 kB [ebuild U ] sys-apps/hal-0.4.5-r2 [0.4.1-r1] -debug -doc -pcmcia 0 kB [ebuild U ] gnome-base/gnome-vfs-2.8.4-r1 [2.8.3-r1] -debug -doc -gnutls +hal +howl -ipv6 +samba -ssl 1,848 kB [ebuild U ] app-text/opensp-1.5.1 [1.5-r1] -nls 1,385 kB [ebuild U ] app-text/docbook-xsl-stylesheets-1.66.1 [1.65.1] 1,514 kB [ebuild N ] sys-fs/cryptsetup-0.1-r1 243 kB [ebuild U ] app-cdr/cdrtools-2.01-r2 [2.01] +crypt +unicode 24 kB [ebuild R ] media-sound/xmms-1.2.10-r13 (-3dnow) +alsa -arts -debug -directfb +esd +flac +jack -lirc -mad* +mikmod (-mmx) +mp3 -nls +oggvorbis +oss +sndfile 0 kB [ebuild R ] gnome-base/nautilus-2.8.2-r1 +cups -debug +flac +gstreamer -mad* +oggvorbis 0 kB [ebuild R ] media-video/totem-0.100-r2 -debug +gstreamer -lirc -mad* 0 kB [ebuild R ] app-editors/nano-1.3.4 -build -debug -justify -ncurses* -nls* -nomac -slang +spell* 939 kB [ebuild R ] app-pda/pilot-link-0.11.8-r1 +java* -perl +png -python -readline -tcltk 0 kB [ebuild U ] app-text/enchant-1.1.5 [1.1.3] -debug 430 kB [ebuild U ] media-libs/libexif-0.5.12-r2 [0.5.12-r1] -nls 0 kB [ebuild R ] sys-devel/distcc-2.18.3-r2 -debug +gnome* +gtk* -ipv6 (-selinux) 0 kB [ebuild R ] media-gfx/splashutils-0.9.1 -hardened* 0 kB [ebuild R ] sys-apps/findutils-4.1.20-r1 (-afs) -build -debug -nls* (-selinux) -static 759 kB [ebuild U ] media-libs/smpeg-0.4.4-r5 [0.4.4-r4] +X -debug +gtk +opengl 0 kB [ebuild R ] gnome-extra/gnome-media-2.8.0 -debug -mad* +oggvorbis 0 kB [ebuild U ] dev-perl/PodParser-1.28 [1.22] 89 kB [ebuild U ] dev-util/gob-2.0.9 [2.0.6] -debug 232 kB [ebuild U ] media-libs/libpixman-0.1.2 [0.1.1] 359 kB [ebuild U ] www-client/mozilla-1.7.6-r1 [1.7.5] +crypt -debug +gnome +java +ldap +mozdevelop -moznomail -moznoxft +mozsvg -mozxmlterm +postgres -ssl +xinerama +xprint 29,734 kB [ebuild NS ] x11-libs/qt-2.3.2-r2 -debug +gif -nas +opengl 8,767 kB [ebuild R ] games-roguelike/slashem-0.0.648 +X -debug +gnome +gtk +qt* 0 kB [ebuild R ] net-misc/iputils-021109-r3 -debug -doc -ipv6* -static (-uclibc) 418 kB [ebuild U ] media-gfx/bootsplash-0.6.1-r7 [0.6.1-r4] 301 kB [ebuild U ] app-portage/ufed-0.36 [0.35-r2] 12 kB [ebuild R ] media-sound/rhythmbox-0.8.8-r1 +aac -debug +flac -mad* +oggvorbis +pda 0 kB [ebuild R ] media-video/avidemux-2.0.38_rc1 +a52 +aac +alsa (-altivec) -arts -debug +encode -mad* (-mmx) -nls +oggvorbis +pic +sdl +truetype +xv +xvid 0 kB [ebuild U ] dev-java/ant-core-1.6.2-r2 [1.6.2] -doc 0 kB [ebuild NS ] dev-java/jakarta-oro-2.0.8-r1 -doc -examples -jikes -source 0 kB [ebuild U ] dev-java/commons-net-1.2.2-r1 [1.2.2] -doc -jikes -source 0 kB [ebuild N ] dev-java/gnu-crypto-2.0.1 -doc 3,804 kB [ebuild N ] dev-java/jakarta-regexp-1.3-r2 -doc -jikes -source 0 kB [ebuild U ] dev-java/bcel-5.1-r1 [5.1] -doc -jikes -source 0 kB [ebuild N ] dev-java/servletapi-2.3-r1 -doc -jikes 124 kB [ebuild N ] dev-java/bsf-2.3.0-r2 -doc -jikes -jython -rhino 1,021 kB [ebuild N ] dev-java/javacup-0.10k 186 kB [ebuild U ] dev-java/xalan-2.6.0-r2 [2.6.0] -doc -jikes -source 0 kB Total size of downloads: 87,243 kB i think this is a know issue, another user already informed me. Re-merging ncurses seemed to fix it. could you try a `emerge ncurses dialog` please? Did it, it dies with the same error. what does emerge -pv ncurses show? i can't reproduce this with USE="unicode" :/ emerge -pv gives me: [ebuild R ] sys-libs/ncurses-5.4-r5 -bootstrap -build -debug -doc -gpm -nocxx (-uclibc) +unicode 0 kB it looks like your ncurses doesn't install /usr/include/ncursesw and so uses the wrong curses.h although you emerged it with USE="unicode". This is pretty strange, here it works fine as soon as ncurses is also emerged with unicode support which is the expected behaviour. Could you give me the output of `ls -l /usr/include/ncursesw`? On a side note: I strongly advise you to update your profile to 2005.0 and to do a general system update. ls -l /usr/include/ncursesw ls: /usr/include/ncursesw: No such file or directory Heh, that might explain a thing or two. ;) qpkg -l ncurses | grep -i ncursesw /usr/lib/libncursesw.a /usr/lib/libncursesw.so /usr/lib/libncurses.a -> /usr/lib/libncursesw.a 1114441978 /usr/lib/libncurses.so -> /usr/lib/libncursesw.so 1114441978 /lib/libncursesw.so.5.4 /lib/libncursesw.so.5 -> libncursesw.so.5.4 1114441978 /lib/libncursesw.so -> libncursesw.so.5 1114441978 /lib/libcursesw.so -> libncursesw.so.5.4 1114441978 /lib/libncurses.so -> /lib/libncursesw.so 1114441978 /lib/libncurses.so.5 -> /lib/libncursesw.so.5 1114441978 /lib/libncurses.so.5.4 -> /lib/libncursesw.so.5.4 1114441978 So it looks like I've got the libraries, just not the include files. Note that the above is /after/ I switched to the 2005.0 profile, and did an "emerge sync && emerge -u ncurses dialog". yep, that's really strange: aqua ~ # qpkg -f /usr/include/ncursesw/curses.h sys-libs/ncurses * ncurses installs that directory when you emerge it with USE="unicode", but you said you already did that... so ncurses is the bad guy, but i can't figure out why :/ Just off hand, what's the easiest way to redirect the output of "emerge" to a file? It might be handy for me to scan through the emerge of ncurses, and see if anything sticks out at the point where it should be creating that directory. chances are it's because he's using the ncurses which doesnt install both a narrow and a wide version try emerging ncurses-5.4-r6 Yep, -r6 fixed it. Can we have a conditional dep in dialog, to dep on ncurses -r6 if USE="unicode"? lanius: any issues with moving -r6 to stable ? the only diff between -r5 and -r6 is the unicode change There are no issues, but i think -r6 is only a workaround. What's the output of ldd /usr/bin/dialog with ncurses-r6 ldd /usr/bin/dialog
libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0x40020000)
libm.so.6 => /lib/tls/libm.so.6 (0x40066000)
libc.so.6 => /lib/tls/libc.so.6 (0x40089000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
well, then go stable with -r6 thanks lanius, 5.4-r6 now stable |