I installed gentoo 2006.0 in my amd64 box. I have all packages up to date (emerge --sync ; emerge -vaDN world). The problem is that when I compile mc with the samba USE flag, it fails. I have seen this problem in PPC also (bug #105960) Details of the error: atenea kdm # USE="samba" emerge -vaDN mc >>> --newuse implies --update... adding --update to options. These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-print/cups-1.1.23-r7 -gnutls +nls +pam +samba* -slp +ssl 0 kB [ebuild R ] app-misc/mc-4.6.0-r14 -7zip +X +gpm +ncurses +nls +pam +samba* +slang +unicode 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] (Yes entered) ... ... x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -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/lib64 -lSM -lICE -lX11 -lgpm -lslang -lsmbclient x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -I/usr/include/gssapi -Wall -o mcmfmt mfmt.o x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -I/usr/include/gssapi -Wall -o man2hlp man2hlp.o -lglib-2.0 x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -I/usr/include/gssapi -Wall -o cons.saver cons.saver.o ../vfs/libvfs-mc.a(smbfs.o): In function `loaddir_helper': smbfs.c:(.text+0xca3): undefined reference to `LocalTime' ../vfs/libvfs-mc.a(smbfs.o): In function `smbfs_get_path': smbfs.c:(.text+0x2422): undefined reference to `write_socket' collect2: ld returned 1 exit status make[2]: *** [mc] Error 1 make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0' make: *** [all] Error 2 Is there a workaround to this issue? Here is the output of emerge --info. Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrored.ca/ http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://gentoo.localhost.net.ar/ http://www.las.ic.unicamp.br/pub/gentoo/ http://gentoo.inode.at/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.ITDNet.net/gentoo http://mirror.uni-c.dk/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo/ http://gentoo.intergenia.de http://files.gentoo.org http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ http://ftp.physics.auth.gr/pub/mirrors/gentoo/ http://gentoo.inf.elte.hu/ http://ftp.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://darkstar.ist.utl.pt/gentoo/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl http://ftp.lug.ro/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://ftp.romnet.org/gentoo/ http://gentoo.ynet.sk/pub http://mirror.aiya.ru/pub/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo http://linuv.uv.es/mirror/gentoo/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.ankara.edu.tr/gentoo/ http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.etf.bg.ac.yu/gentoo http://public.planetmirror.com/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo/ http://ftp.swin.edu.au/gentoo http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ http://gentoo.channelx.biz/ http://fido.online.kz/gentoo http://ftp.gentoo.or.kr/ http://gentoo.kems.net http://gentoo.scphost.com http://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.twaren.net/Linux/Gentoo/ " LANG="en_US@euro" LC_ALL="en_US@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba directfb doc dri dvd dvdr dvdread eds emboss encode esd exif expat fam fastbuild fbcon ffmpeg foomaticdb force-cgi-redirect fortran ftp gd gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imlib ipv6 java jpeg kde lcms libcaca lm_sensors lzw lzw-tiff mad memlimit mng mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml slang soap sockets spell spl ssl svg tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xmms xpm xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Confirming the bug.
*** This bug has been marked as a duplicate of 102356 ***