Crash emerge mc with USE="slang" Reproducible: Always #emerge -pv slang 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" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB # revdep-rebuild Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... Nothing to rebuild Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done #emerge mc Calculating dependencies... done! >>> Emerging (1 of 1) app-misc/mc-4.6.1-r3 to / * mc-4.6.1-utf8-r1.patch.bz2 RMD160 ;-) ... [ ok ] * mc-4.6.1-utf8-r1.patch.bz2 SHA1 ;-) ... [ ok ] ............................................... checking slang.h usability... yes checking slang.h presence... yes checking for slang.h... yes checking if S-Lang uses termcap... yes configure: using S-Lang screen library with termcap checking for tgoto in -ltermcap... no checking for SLang_init_tty in -lslang... no configure: error: S-Lang library not found !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/app-misc/mc-4.6.1-r3/work/mc-4.6.1/config.log !!! ERROR: app-misc/mc-4.6.1-r3 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3295: Called src_compile mc-4.6.1-r3.ebuild, line 98: Called econf '--with-vfs' '--with-ext2undel' '--with-edit' '--enable-charset' '--with-screen=slang' '--without-gpm-mouse' '--with-included-gettext' '--with-x' '--with-samba' '--with-configdir=/etc/samba' '--with-codepagedir=/var/lib/samba/codepages' '--with-privatedir=/etc/samba/private' ebuild.sh, line 577: 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-misc/mc-4.6.1-r3/temp/build.log'. # emerge --info Portage 2.1.2.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686) ================================================================= System uname: 2.6.20-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 07 Mar 2007 11:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 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.17 sys-devel/gcc-config: 1.3.15 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LINGUAS="ru" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib alsa arts asf audiofile avi bitmap-fonts cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode esd firefox flac gif hal iconv isdnlog jpeg kde libg++ mad midi mikmod minimal mmx mp3 mpeg nis nls nptl nptlonly ogg oss pam pcre png pppd qt qt3 quicktime rar readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vorbis win32codecs x264 x86 xine xorg xv xvid zlib" ALSA_CARDS="usb-audio" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** Bug 169800 has been marked as a duplicate of this bug. ***
> !!! Please attach the following file when filing a report to bugs.gentoo.org: > !!! /var/tmp/portage/app-misc/mc-4.6.1-r3/work/mc-4.6.1/config.log
Created attachment 113089 [details] /var/tmp/portage/app-misc/mc-4.6.1-r3/work/mc-4.6.1/config.log
I add attachment
<snip> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libslang.so: undefined reference to `tgetnum' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libslang.so: undefined reference to `tgetflag' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libslang.so: undefined reference to `tgetent' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libslang.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status </snip> Your slang is messed up, re-emerge it.
See my first message. I already re-emerge it. #emerge -pv slang 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" 0 kB emerge slang ................. --- !mtime obj /usr/include/slcurses.h --- !mtime obj /usr/include/slang.h --- !empty dir /usr/share/doc/slang-1.4.9-r2/html --- !empty dir /usr/share/doc/slang-1.4.9-r2 --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr/lib --- !empty dir /usr/include --- !empty dir /usr >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> sys-libs/slang-1.4.9-r2 merged. >>> No packages selected for removal by clean >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
Probably any information is required still?
(In reply to comment #6) do you also get while emerge slang: >>> Completed installing slang-1.4.9-r2 into /var/tmp/portage/sys-libs/slang-1.4.9-r2/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded usr/lib/libslang-utf8.so.1.4.9 usr/lib/libslang-utf8.a * QA Notice: Found an absolute symlink in a library directory: * usr/lib/libslang.so.1 -> /usr/lib/libslang-utf8.so.1 * It should be a relative symlink if in the same directory * or a linker script if it crosses the /usr boundary. * QA Notice: Found an absolute symlink in a library directory: * usr/lib/libslang.so.1.4.9 -> /usr/lib/libslang-utf8.so.1.4.9 * It should be a relative symlink if in the same directory * or a linker script if it crosses the /usr boundary. * QA Notice: Found an absolute symlink in a library directory: * usr/lib/libslang.so -> /usr/lib/libslang-utf8.so * It should be a relative symlink if in the same directory * or a linker script if it crosses the /usr boundary. [ebuild R ] app-misc/mc-4.6.1-r3 USE="7zip gpm nls pam slang unicode -X -ncurses -samba" 0 kB works for me but [ebuild U ] app-editors/nano-2.0.6 [2.0.4] USE="nls slang* spell unicode -debug -justify -minimal -ncurses*" 0 kB fails: *** 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.
Created attachment 123811 [details] /var/log/enotice/app-editors:nano-2.0.6:20070703-192928.log
Created attachment 123974 [details] My emerge slang log I add my emerge slang log
I noticed this on quite some systems by now. It happens if you install mc on a fresh system, not sure about --emptytree though. It also is not x86 specific, it happens on amd64 as well. On an old system it says: ... checking slang.h usability... yes checking slang.h presence... yes checking for slang.h... yes checking if S-Lang uses termcap... no checking for SLang_init_tty in -lslang... yes checking if S-Lang exports private functions... yes ... which seems quite well for me. However on a freshly installed Gentoo: ... checking slang.h usability... yes checking slang.h presence... yes checking for slang.h... yes checking if S-Lang uses termcap... yes configure: using S-Lang screen library with termcap checking for tgoto in -ltermcap... no checking for SLang_init_tty in -lslang... no configure: error: S-Lang library not found So it seems to be something about termcap. Anyone who can help? The symlinks are like that on both systems by the way: OLD: chain@richWORK ~ $ ls -lha /usr/lib/*slang* lrwxrwxrwx 1 root root 24 8. Jän 04:53 /usr/lib/libslang.a -> /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 25 8. Jän 04:53 /usr/lib/libslang.so -> /usr/lib/libslang-utf8.so lrwxrwxrwx 1 root root 27 8. Jän 04:53 /usr/lib/libslang.so.1 -> /usr/lib/libslang-utf8.so.1 lrwxrwxrwx 1 root root 31 8. Jän 04:53 /usr/lib/libslang.so.1.4.9 -> /usr/lib/libslang-utf8.so.1.4.9 -rw-r--r-- 1 root root 506K 8. Jän 04:53 /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 22 8. Jän 04:53 /usr/lib/libslang-utf8.so -> libslang-utf8.so.1.4.9 lrwxrwxrwx 1 root root 22 8. Jän 04:53 /usr/lib/libslang-utf8.so.1 -> libslang-utf8.so.1.4.9 -rwxr-xr-x 1 root root 374K 8. Jän 04:53 /usr/lib/libslang-utf8.so.1.4.9 NEW: richEee701 lib # ls -lha /usr/lib/*slang* -rw-r--r-- 1 root root 432K Jan 28 16:09 /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 22 Jan 28 16:09 /usr/lib/libslang-utf8.so -> libslang-utf8.so.1.4.9 lrwxrwxrwx 1 root root 22 Jan 28 16:09 /usr/lib/libslang-utf8.so.1 -> libslang-utf8.so.1.4.9 -rwxr-xr-x 1 root root 374K Jan 28 16:09 /usr/lib/libslang-utf8.so.1.4.9 lrwxrwxrwx 1 root root 24 Jan 28 16:09 /usr/lib/libslang.a -> /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 25 Jan 28 16:09 /usr/lib/libslang.so -> /usr/lib/libslang-utf8.so lrwxrwxrwx 1 root root 27 Jan 28 16:09 /usr/lib/libslang.so.1 -> /usr/lib/libslang-utf8.so.1 lrwxrwxrwx 1 root root 31 Jan 28 16:09 /usr/lib/libslang.so.1.4.9 -> /usr/lib/libslang-utf8.so.1.4.9 Any other things I should try?
Comment #8 and following (nano/slang-2 issues) are totally unrelated and off-topic. Since noone can reproduce the original issue here and noone reported anything like this for almost a year, closing this bug.
Heh? I can reproduce this on several machines, if you want to reproduce please take a fresh livecd and try it out yourself.
Hey! Please don't close the bug. I definitely can reproduce the bug: I cannot emerge mc with slang support on my machine either (fresh system, by the way). I voted for the bug a few days ago. Please reopen it.
on my ~amd64 box following packages fail to compile with 'missing slang' errors even after reemerge of slang: app-misc/mc-4.6.1-r4 media-libs/libcaca-0.99_beta13 media-libs/aalib-1.4_rc5 emerge -pvC slang >>> These are the packages that would be unmerged: sys-libs/slang selected: 2.1.3 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Portage 2.1.4.1 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo x86_64) ================================================================= System uname: 2.6.24-gentoo x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz Timestamp of tree: Sun, 10 Feb 2008 02:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -Os -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -Os -pipe -fomit-frame-pointer" DISTDIR="/home/tnt/main/distfiles" FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://mirror.ing.unibo.it/gentoo/ http://gentoo.inf.elte.hu/ http://ftp.gentoo.bg/" LANG="en_US@euro" LC_ALL="en_US@euro" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en sr sr@Latn ru" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sajinet /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aften alsa amd64 amr amrnb amrwb aotuv apache2 ares arts asf audacious avi berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups daap dbus dga dri dts dv dvb dvd dvdnav dvdr dvdread encode exif fam fasttrack ffmpeg firefox flac fontconfig fortran gcc4 gd gdbm geoip gif gimp gimpprint glitz gnutella gnutls h264 hal hashstyle iconv imagemagick imlib isdnlog ithreads java javascript jpeg kde kvm lame libcaca libsamplerate lm_sensors logitech-mouse logrotate lzo mad matroska midi mmx mmxext mng mp2 mp3 mp4 mpeg mplayer mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia ogg openal openft opengl openmp oss pam pch pcre pdf pdflib perl png pppd python qemu qt qt4 quicktime radio rar readline reflection rtc samba sdl session slang smp speex spl sse sse2 sse3 ssl ssse3 stream svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb visualization vmware vorbis wma wmf x264 xanim xcomposite xext xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="azalia" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sr sr@Latn ru" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I experimented a bit, and I may have found the solution. I have the 'minimal' USE flag in my make.conf. I re-emerged ncurses without the 'minimal' flag. After that I re-emerged slang, then mc emerged fine (without choking on slang check). It may have something to do with the /usr/lib/terminfo symlink. It was broken before I re-emerged ncurses without the 'minimal' USE flag. I was rushing a bit when posting this, so some of the above info could be inaccurate. I'll post more if I have corrections.
I can confirm. Putting USE="-minimal", Recompiling slang (important!) and then compiling mc works. Removing myself therefore. Thanks for the help.