Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 65341

Summary: app-misc/mc ebuild
Product: Gentoo Linux Reporter: hifly <hifly>
Component: Current packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description hifly 2004-09-25 12:21:42 UTC
Cannot emerge mc-4.6.0-r11 with USE="-slang"
There is something wrong in link proces with slang, which I don't want to use.

Reproducible: Always
Steps to Reproduce:
1.USE="ncurses -X -slang" emerge mc
2.
3.

Actual Results:  
compile error

Expected Results:  
successfull build

maybe it is mc problem, not ebuild?
should i report it to GNU mc guys?
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-09-25 14:50:26 UTC
please post the actual compile error and emerge info(read the bug report guidelines)
Comment 2 hifly 2004-09-26 01:39:53 UTC
Here we go, this is actual compile error folowed by emerge info you've asked:
(...)
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/usr/share/mc/"\" -DLOCALEDIR=\""/usr/share/locale"\" -DLIBDIR=\""/usr/lib/mc"\" -I../intl -I../intl -I..  -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -O3 -march=pentium4 -msse2 -fomit-frame-pointer -pipe -funroll-loops -I/usr/include/gssapi -Wall -MT cons.saver.o -MD -MP -MF ".deps/cons.saver.Tpo" \
  -c -o cons.saver.o `test -f 'cons.saver.c' || echo './'`cons.saver.c; \
then mv -f ".deps/cons.saver.Tpo" ".deps/cons.saver.Po"; \
else rm -f ".deps/cons.saver.Tpo"; exit 1; \
fi
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -O3 -march=pentium4 -msse2 -fomit-frame-pointer -pipe -funroll-loops -I/usr/include/gssapi -Wall   -o mc  achown.o background.o boxes.o chmod.o chown.o cmd.o color.o command.o complete.o cons.handler.o dialog.o dir.o dlg.o ext.o file.o filegui.o filenot.o fileopctx.o find.o findme.o fsusage.o help.o hotlist.o info.o key.o keyxdef.o layout.o learn.o listmode.o main.o menu.o mountlist.o mouse.o option.o panelize.o popt.o poptconfig.o popthelp.o poptparse.o profile.o regex.o rxvt.o screen.o setup.o slint.o subshell.o terms.o text.o textconf.o tree.o treestore.o user.o util.o utilunix.o view.o widget.o win.o wtools.o charsets.o selcodepage.o ../edit/libedit.a  ../vfs/libvfs-mc.a ../intl/libintl.a  -lglib-2.0   -L/usr/X11R6/lib  -lSM -lICE -lX11  -lncurses   
../edit/libedit.a(editdraw.o)(.text+0x6cd): In function `edit_draw_this_line':
: undefined reference to `SLsmg_write_char'
collect2: ld returned 1 exit status
make[2]: *** [mc] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/tmp/portage/mc-4.6.0-r11/work/mc-4.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tmp/portage/mc-4.6.0-r11/work/mc-4.6.0'
make: *** [all] Error 2

!!! ERROR: app-misc/mc-4.6.0-r11 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

zion ~ # emerge info
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.9-rc2-mm1 i686)
=================================================================
System uname: 2.6.9-rc2-mm1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -msse2 -fomit-frame-pointer -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -msse2 -fomit-frame-pointer -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acl alsa apm avi berkdb bitmap-fonts bzlib crypt cups dba doc dvd encode fbcon foomaticdb gd-external gdbm gif gtk gtk2 imlib jpeg libg++ libwww lzw-tiff mad mikmod mmx mmx2 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl session spell sse sse2 ssl tcpd tiff truetype unicode x86 xinerama xml2 xmms xosd xprint xv xvid zlib video_cards_radeon linguas_en linguas_pl linguas_de"

And verbose USE flags:
zion ~ # emerge -pv mc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-misc/mc-4.6.0-r11  +X -debug -gpm +ncurses +nls -samba -slang +unicode 0 kB

Sorry, "X" is turned on, but error still exists. hifly
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-27 00:55:26 UTC
fixed.