Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182310 - app-editors/nano-2.0.4 doesn't compile with USE="slang unicode -ncurses"
Summary: app-editors/nano-2.0.4 doesn't compile with USE="slang unicode -ncurses"
Status: RESOLVED DUPLICATE of bug 141947
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-17 10:23 UTC by Kir Kolyshkin
Modified: 2007-06-17 21:08 UTC (History)
0 users

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


Attachments
config.log (config.log,45.85 KB, text/plain)
2007-06-17 10:23 UTC, Kir Kolyshkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kir Kolyshkin 2007-06-17 10:23:21 UTC
Here's what I get trying to compile nano:

Calculating dependencies... done!
[ebuild  N    ] app-editors/nano-2.0.4  USE="slang unicode -debug -justify -minimal -ncurses -nls -spell" 0 kB 

<....>

Using slang as the curses library
checking for use_default_colors in -lslang... no
configure: error:
*** UTF-8 support was requested, but insufficient UTF-8 support was
*** detected in your curses and/or C libraries.  Please verify that your
*** slang was built with UTF-8 support or your curses was built with
*** wide character support, and that your C library was built with wide
*** character support.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /usr/tmp/portage/app-editors/nano-2.0.4/work/nano-2.0.4/config.log

!!! ERROR: app-editors/nano-2.0.4 failed.

Apparently nano needs slang-2 which is masked due to bug #141947.

kir@mmx ~ $ emerge --info
Portage 2.1.2.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Pentium II (Klamath)
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 16 Jun 2007 21:50:01 +0000
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://dgap-gw.mipt.ru/Gentoo/ ftp://172.16.3.79/Linux/gentoo/ http://distfiles.gentoo.org/"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://dgap-gw.mipt.ru/gentoo-portage"
USE="7zip berkdb bzip2 crypt cscope curl gd hardened innodb logrotate mailwrapper md5sum midi mysql nptl pam pcre pic pie png readline rrdtool slang ssl tcpd unicode urandom x86 xml2 zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I will attach config.log
Comment 1 Kir Kolyshkin 2007-06-17 10:23:44 UTC
Created attachment 122308 [details]
config.log
Comment 2 Kir Kolyshkin 2007-06-17 10:26:14 UTC
Besides, the error diagnostics printed by configure looks wrong to me -- this has nothing to do with unicode support, since both ncurses and slang are compiled with unicode. Mainstream issue?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 10:26:21 UTC
Run emerge -NuD world or re-emerge slang w/ USE=unicode at least.

*** This bug has been marked as a duplicate of bug 159621 ***

*** This bug has been marked as a duplicate of bug 159621 ***
Comment 4 Kir Kolyshkin 2007-06-17 10:56:27 UTC
Jacub,

My slang is already compiled with unicode, and I have unicode in global USE flags as you can see.

kir@mmx ~ $ sudo emerge -pv slang ncurses

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/slang-1.4.9-r2  USE="unicode -cjk" 629 kB 
[ebuild   R   ] sys-libs/ncurses-5.6  USE="unicode -bootstrap -build -debug -doc -gpm -minimal -nocxx -trace" 0 kB 

Total: 2 packages (2 reinstalls), Size of downloads: 629 kB
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 11:01:34 UTC
Well, re-emerge slang and try again.
Comment 6 Kir Kolyshkin 2007-06-17 11:53:09 UTC
Did that, it's all exactly the same
Comment 7 SpanKY gentoo-dev 2007-06-17 21:08:29 UTC
USE=unicode wont work with slang-1.x, you need slang-2.x

slang sucks anyways, dont USE=-ncurses

*** This bug has been marked as a duplicate of bug 141947 ***