Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185988 - Failure to compile app-editors/nano-2.0.6 on a utf-8 system
Summary: Failure to compile app-editors/nano-2.0.6 on a utf-8 system
Status: RESOLVED DUPLICATE of bug 141947
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 13:59 UTC by Kim Hauge
Modified: 2007-07-20 14:05 UTC (History)
0 users

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 Kim Hauge 2007-07-20 13:59:36 UTC
Nano fails to compile on a system that was built with utf-8 from the ground up, complaining about utf-8 support. 

Reproducible: Always

Steps to Reproduce:
1. emerge nano

Actual Results:  
checking for wcwidth... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for getopt_long... yes
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:
!!! /var/tmp/portage/app-editors/nano-2.0.6/work/nano-2.0.6/config.log

!!! ERROR: app-editors/nano-2.0.6 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  nano-2.0.6.ebuild, line 45:   Called econf '--bindir=/bin' '--enable-color' '--enable-multibuffer' '--enable-nanorc' '--disable-wrapping-a
s-root' '--disable-spell' '--enable-justify' '--disable-debug' '--enable-nls' '--enable-utf8' '--disable-tiny' '--with-slang'
  ebuild.sh, line 578:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-editors/nano-2.0.6/temp/build.log'.

Expected Results:  
all is well, yay!

valhall htdocs # emerge -ptv slang ncurses

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

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

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB

valhall htdocs # uname -a
Linux valhall 2.6.14-hardened-r3-halvhel-hardened #1 SMP Mon Jan 30 10:38:16 CET 2006 x86_64 AMD Opteron(tm) Processor 246 AuthenticAMD GNU Linux
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-20 14:05:49 UTC

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