a2ps ebuild fails with the following error when building.. make[2]: Entering directory `/var/tmp/portage/a2ps-4.13b-r5/work/a2ps-4.13/src' bison -y -dtv parsessh.y && mv y.tab.c parsessh.c parsessh.y:246.9: syntax error, unexpected "|" parsessh.y:246.51-52: invalid $ value parsessh.y:246.51-52: $4 of `requirement' has no declared type parsessh.y:271.9: syntax error, unexpected "|" parsessh.y:271.40-41: $2 of `version' has no declared type parsessh.y:721.9: syntax error, unexpected "|" parsessh.y:724.16-17: invalid $ value parsessh.y:724.16-17: $2 of `closers_opt' has no declared type make[2]: *** [parsessh.c] Error 1 make[2]: Leaving directory `/var/tmp/portage/a2ps-4.13b-r5/work/a2ps-4.13/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/a2ps-4.13b-r5/work/a2ps-4.13' make: *** [all-recursive-am] Error 2 Bison is 1.875 (of course) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test5-mm4) ================================================================= System uname: 2.6.0-test5-mm4 i686 Intel(R) Xeon(TM) CPU 2.80GHz ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu 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 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts aalib svga java ruby postgres X sdl tcpd pam ssl perl python imlib oggvorbis gnome gtk qt kde opengl ldap afs apache2 artswrappersuid bonobo cdr cscope curl dedicated dga dnd dv dvd esd ethereal faad fltk glut gnomedb gphoto2 gstreamer gtk2 gtkhtml guile icc imagemagick imap jack lcms lua maildir mldonkeypango mng mozcalendar mozilla mozp3p mozsvg mpi offensive openal parse-clocks pic sasl skey slp sse tcltk tiff transcode usb videos wmf wxwin wxwindows Xaw3d xface xine xml xosd xvid -gpm -motif -nls"
i wonder if forcing the package to use yacc instead of bison would fix this ... i had a similar bug in another package and using yacc fixed things up for me ...
Created attachment 18435 [details] a2ps-4.13b-r5.ebuild Alexander, could you test attached ebuild? It forces you to use yacc instead of bison -y. However, I cannot commit it immediately though I don't have any problem compiling a2ps with this change because yacc is still marked as unstable on alpha while a2ps-4.13b-r5 is marked as stable. alpha people: is there any reason you don't change keyword back to stable? From the ChangeLog it was once commited as stable but after few weeks it went back to unstable. If there is no serious bug I'd like to have it stable and then I can commit the change to a2ps.
Committed.
I think I forgot to close...