snip laptop snip # emerge --info Portage 2.1-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686) ================================================================= System uname: 2.6.16-gentoo-r13 i686 Mobile Intel(R) Pentium(R) III CPU - M 1000MHz Gentoo Base System version 1.6.14 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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-r3 sys-devel/gcc-config: 1.3.12-r6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -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/gconf /etc/terminfo" CXXFLAGS="-march=pentium3 -O2 -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" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --time 180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts asf audio avi berkdb bitmap-fonts cli crypt cups dlloader dri dvd eds emboss encode es ffmpeg foomaticdb fortran g gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcmcia- cre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts bis win32codecs xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland " Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Never paste logs into bug summary. Use bug description for such stuff.
Extracting xsubpp (with variable substitutions) make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/utils' Making x2p stuff make[1]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/x2p' You haven't done a "make depend" yet! make[1]: *** [hash.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/x2p' make: *** [translators] Error 2 !!! ERROR: dev-lang/perl-5.8.8-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile perl-5.8.8-r2.ebuild, line 267: Called die !!! Unable to make !!! If you need support, post the topmost build error, and the call stack if relevant.
Post about 20 more lines above the output you've posted here, and also the result of 'hostname --fqdn' command.
(In reply to comment #3) result of 'hostname --fqdn': snip laptop snip # hostname --fqdn /etc/host.conf: line 24: bad command `mdns off' hostname: Unknown host and the latge outpout: Extracting s2p (with variable substitutions) Linking s2p to psed. make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/x2p' ./miniperl -I`pwd`/lib pod/pod2html.PL Extracting pod2html (with variable substitutions) ./miniperl -I`pwd`/lib pod/pod2latex.PL Extracting pod2latex (with variable substitutions) ./miniperl -I`pwd`/lib pod/pod2man.PL Extracting pod2man (with variable substitutions) ./miniperl -I`pwd`/lib pod/pod2text.PL Extracting pod2text (with variable substitutions) ./miniperl -I`pwd`/lib pod/pod2usage.PL Extracting pod2usage (with variable substitutions) ./miniperl -I`pwd`/lib pod/podchecker.PL Extracting podchecker (with variable substitutions) ./miniperl -I`pwd`/lib pod/podselect.PL Extracting podselect (with variable substitutions) Making utilities make[1]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/utils' ../miniperl -I../lib c2ph.PL Extracting c2ph (with variable substitutions) Linking c2ph to pstruct. ../miniperl -I../lib cpan.PL Extracting cpan (with variable substitutions) ../miniperl -I../lib h2ph.PL Extracting h2ph (with variable substitutions) ../miniperl -I../lib h2xs.PL Extracting h2xs (with variable substitutions) ../miniperl -I../lib instmodsh.PL Extracting instmodsh (with variable substitutions) ../miniperl -I../lib perlbug.PL Extracting perlbug (with variable substitutions) ../miniperl -I../lib perldoc.PL Extracting "perldoc" (with variable substitutions) ../miniperl -I../lib perlivp.PL Extracting perlivp (with variable substitutions) ../miniperl -I../lib pl2pm.PL Extracting pl2pm (with variable substitutions) ../miniperl -I../lib prove.PL Extracting prove (with variable substitutions) ../miniperl -I../lib splain.PL Extracting splain (with variable substitutions) ../miniperl -I../lib perlcc.PL Extracting perlcc (with variable substitutions) ../miniperl -I../lib dprofpp.PL Extracting dprofpp (with variable substitutions) ../miniperl -I../lib libnetcfg.PL Extracting libnetcfg (with variable substitutions) ../miniperl -I../lib piconv.PL Extracting piconv (with variable substitutions) ../miniperl -I../lib enc2xs.PL Extracting enc2xs (with variable substitutions) ../miniperl -I../lib xsubpp.PL Extracting xsubpp (with variable substitutions) make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/utils' Making x2p stuff make[1]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/x2p' You haven't done a "make depend" yet! make[1]: *** [hash.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/x2p' make: *** [translators] Error 2 !!! ERROR: dev-lang/perl-5.8.8-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile perl-5.8.8-r2.ebuild, line 267: Called die !!! Unable to make !!! If you need support, post the topmost build error, and the call stack if relevant. thank you very much for your help
(In reply to comment #4) > (In reply to comment #3) > result of 'hostname --fqdn': > > snip laptop snip # hostname --fqdn > /etc/host.conf: line 24: bad command `mdns off' > hostname: Unknown host So, set your hostname to something valid and it will work (and remove mdsn off from host.conf, not honored by your glibc version any more).
(In reply to comment #5) > So, set your hostname to something valid and it will work (and remove mdsn off > from host.conf, not honored by your glibc version any more). > I've my hostname defined in /etc/conf.d/hostname snip laptop snip # nano -w /etc/conf.d/hostname # /etc/conf.d/hostname # Set to the hostname of this machine HOSTNAME="snip_laptop" i've removed the option you said, and retried to emerge perl, with the same erroe. i've tried to put HOSTNAME="snip_laptop" in the /etc/host.conf but it says the line is not valid
(In reply to comment #6) > (In reply to comment #5) > i've tried to put > HOSTNAME="snip_laptop" in the /etc/host.conf but it says >the line is not valid I've told you to remove msdn off from there, not to stick nonsense in...
To summary - won't work while hostname --fqdn returns 'Unknown host' - fix it. first.
(In reply to comment #8) > To summary - won't work while hostname --fqdn returns 'Unknown host' - fix it. > first. > done snip_laptop snip # hostname --fqdn snip_laptop the problem persists :(
I add the lines before the ones I've posted before, in case it may help to solve the problem ./config.sh: line 91: syntax error near unexpected token `(' ./config.sh: line 91: `d_Gconvert='gcvt((x),(n),(b))'' CCCMD = i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium3 -O2 -pipe ./config.sh: line 91: syntax error near unexpected token `(' ./config.sh: line 91: `d_Gconvert='gcvt((x),(n),(b))'' ./config.sh: line 91: syntax error near unexpected token `(' ./config.sh: line 91: `d_Gconvert='gcvt((x),(n),(b))'' Making DynaLoader (static_pic) Processing hints file hints/linux.pl Writing Makefile for DynaLoader make[1]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/DynaLoader' make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/DynaLoader' make[1]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/DynaLoader' ../../miniperl "-I../../lib" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm ../../miniperl "-I../../lib" "-I../../lib" XSLoader_pm.PL XSLoader.pm cp XSLoader.pm ../../lib/XSLoader.pm cp DynaLoader.pm ../../lib/DynaLoader.pm AutoSplitting ../../lib/DynaLoader.pm (../../lib/auto/DynaLoader) rm -f DynaLoader.xs cp dl_dlopen.xs DynaLoader.xs ../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs > DynaLoader.xsc && mv DynaLoader.xsc DynaLoader.c i686-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium3 -O2 -pipe -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" -fPIC "-I../.." -DPERL_CORE -DLIBC="/lib/libc-2.3.6.so" DynaLoader.c rm -rf ../../lib/auto/DynaLoader/DynaLoader.a /usr/bin/ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : ../../lib/auto/DynaLoader/DynaLoader.a chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/DynaLoader' i686-pc-linux-gnu-gcc -o perl -L/usr/local/lib -rdynamic perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.a `cat ext.libs` -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc cd x2p; make s2p make[1]: Entering directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/x2p' ../miniperl -I../lib s2p.PL
Well, underscore is not a legal character for hostname, remove it and try again.
Well that made emerge works. Thank you very much. I was searching deeper and would'nt think that the problem came by an invalid hostname
*** Bug 205380 has been marked as a duplicate of this bug. ***