ebuild output: ------------------ nibbler root # emerge ser Calculating dependencies ...done! >>> emerge (1 of 1) net-misc/ser-0.8.10 to / >>> Downloading http://gentoo.osuosl.org/distfiles/ser-0.8.10_src.tar.gz --09:00:28-- http://gentoo.osuosl.org/distfiles/ser-0.8.10_src.tar.gz => `/usr/portage/distfiles/ser-0.8.10_src.tar.gz' Resolving gentoo.osuosl.org... 140.211.166.134 Connecting to gentoo.osuosl.org[140.211.166.134]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 931,150 [application/x-gzip] 100%[==================================================================================================================>] 931,150 289.66K/s ETA 00:00 09:00:31 (277.74 KB/s) - `/usr/portage/distfiles/ser-0.8.10_src.tar.gz' saved [931150/931150] >>> md5 src_uri ;-) ser-0.8.10_src.tar.gz >>> Unpacking source... >>> Unpacking ser-0.8.10_src.tar.gz to /var/tmp/portage/ser-0.8.10/work >>> Source unpacked. ipv6 mysql head: `-1' option is obsolete; use `-n 1' since this will be removed in the future head: `-1' option is obsolete; use `-n 1' since this will be removed in the future head: `-1' option is obsolete; use `-n 1' since this will be removed in the future Makefile.defs:290: You are using an old and unsupported gcc version (8.7), compile at your own risk! Makefile.rules:81: action.d: No such file or directory Makefile.rules:81: crc.d: No such file or directory Makefile.rules:81: data_lump.d: No such file or directory Makefile.rules:81: data_lump_rpl.d: No such file or directory Makefile.rules:81: dprint.d: No such file or directory Makefile.rules:81: dset.d: No such file or directory Makefile.rules:81: error.d: No such file or directory Makefile.rules:81: fifo_server.d: No such file or directory Makefile.rules:81: flags.d: No such file or directory Makefile.rules:81: forward.d: No such file or directory Makefile.rules:81: hash_func.d: No such file or directory Makefile.rules:81: ip_addr.d: No such file or directory Makefile.rules:81: main.d: No such file or directory Makefile.rules:81: md5.d: No such file or directory Makefile.rules:81: md5utils.d: No such file or directory Makefile.rules:81: modparam.d: No such file or directory Makefile.rules:81: msg_translator.d: No such file or directory Makefile.rules:81: proxy.d: No such file or directory Makefile.rules:81: receive.d: No such file or directory Makefile.rules:81: resolve.d: No such file or directory Makefile.rules:81: route.d: No such file or directory Makefile.rules:81: route_struct.d: No such file or directory Makefile.rules:81: script_cb.d: No such file or directory Makefile.rules:81: sr_module.d: No such file or directory Makefile.rules:81: stats.d: No such file or directory Makefile.rules:81: timer.d: No such file or directory Makefile.rules:81: udp_server.d: No such file or directory Makefile.rules:81: mem/f_malloc.d: No such file or directory Makefile.rules:81: mem/mem.d: No such file or directory Makefile.rules:81: mem/memtest.d: No such file or directory Makefile.rules:81: mem/q_malloc.d: No such file or directory Makefile.rules:81: mem/shm_mem.d: No such file or directory Makefile.rules:81: mem/vq_malloc.d: No such file or directory Makefile.rules:81: parser/hf.d: No such file or directory Makefile.rules:81: parser/msg_parser.d: No such file or directory Makefile.rules:81: parser/parse_cseq.d: No such file or directory Makefile.rules:81: parser/parse_event.d: No such file or directory Makefile.rules:81: parser/parse_expires.d: No such file or directory Makefile.rules:81: parser/parse_fline.d: No such file or directory Makefile.rules:81: parser/parse_from.d: No such file or directory Makefile.rules:81: parser/parse_hname2.d: No such file or directory Makefile.rules:81: parser/parse_hostport.d: No such file or directory Makefile.rules:81: parser/parse_to.d: No such file or directory Makefile.rules:81: parser/parse_uri.d: No such file or directory Makefile.rules:81: parser/parse_via.d: No such file or directory Makefile.rules:81: parser/parser_f.d: No such file or directory Makefile.rules:81: parser/digest/digest.d: No such file or directory Makefile.rules:81: parser/digest/digest_parser.d: No such file or directory Makefile.rules:81: parser/digest/param_parser.d: No such file or directory Makefile.rules:81: parser/contact/contact.d: No such file or directory Makefile.rules:81: parser/contact/cparam.d: No such file or directory Makefile.rules:81: parser/contact/parse_contact.d: No such file or directory Makefile.rules:81: db/db.d: No such file or directory Makefile.rules:81: lex.yy.d: No such file or directory Makefile.rules:81: cfg.tab.d: No such file or directory bison -d -b cfg cfg.y head: `-1' option is obsolete; use `-n 1' since this will be removed in the future cfg.y:154.17: warning: stray `,' treated as white space cfg.y:155.22: warning: stray `,' treated as white space cfg.y:155.31: warning: stray `,' treated as white space cfg.y:155.36: warning: stray `,' treated as white space cfg.y:155.44: warning: stray `,' treated as white space cfg.y:156.20: warning: stray `,' treated as white space cfg.y:156.26: warning: stray `,' treated as white space cfg.y:586.9: syntax error, unexpected "|" make: *** [cfg.tab.c] Error 1 !!! ERROR: net-misc/ser-0.8.10 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ------ I noticed the complaint about the gcc version, which seems bogus: nibbler root # gcc --version gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Reproducible: Always Steps to Reproduce: 1. emerge ser Actual Results: ebuild failed Expected Results: ebuild installed
Could you please try emerging ser-0.8.11 to see if it fixes the problem? Also, I'm interested in your emerge --info. Thanks.
nibbler smiley # emerge --info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-gentoo-r6 i686) ================================================================= System uname: 2.4.26-gentoo-r6 i686 AMD Sempron(tm) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 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/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow acl apache2 apm arts avi berkdb bitmap-fonts crypt cups curl emacs encode esd fastcgi foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imap imlib ipv6 java jpeg kde libg++ libwww mad maildir mbox mikmod motif mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pcre pdflib perl php pic png posix postgres python qt quicktime readline ruby samba sdl shared simplexml soap sockets speex spell ssl svga tcpd tiff truetype vhosts xml2 xmlrpc xmms xv zlib"
What are your bison and yacc (or byacc) versions?
nibbler smiley # bison --version bison (GNU Bison) 1.875 Written by Robert Corbett and Richard Stallman. Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. yacc-1.9.1-r2
Ok, I really don't know how to deal with this one - could you please test ser-0.8.14 ?
I've had the same problem with ser-0.8.10 as described by Justin. Just tried ser-0.8.14. Build works fine, so I'm happy :-)
Justin, if this is still an issue, feel free to reopen. 0.8.14 should work though.