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
*** This bug has been marked as a duplicate of bug 141947 ***