Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3519 - bison-1.34
Summary: bison-1.34
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-08 14:13 UTC by Francisco Gimeno
Modified: 2002-08-30 05:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Gimeno 2002-06-08 14:13:35 UTC
Hi 
 
I really have problems with bison...  
First time I used gcc-2.95 and bison made segment violations... 
Now, I'm in a system with gcc-3.1, and bison go on making segment violations... 
 
This is and extract of emerging Xaw3d 
------------- 
+ rm -f ViewportP.h 
+ ln -s ../../../.././ViewportP.h . 
+ rm -f XawImP.h 
+ ln -s ../../../.././XawImP.h . 
+ rm -f XawInit.h 
+ ln -s ../../../.././XawInit.h . 
bison --yacc -d laygram.y 
make: *** [laygram.c] Violaci
Comment 1 Francisco Gimeno 2002-06-08 14:13:35 UTC
Hi 
 
I really have problems with bison...  
First time I used gcc-2.95 and bison made segment violations... 
Now, I'm in a system with gcc-3.1, and bison go on making segment violations... 
 
This is and extract of emerging Xaw3d 
------------- 
+ rm -f ViewportP.h 
+ ln -s ../../../.././ViewportP.h . 
+ rm -f XawImP.h 
+ ln -s ../../../.././XawImP.h . 
+ rm -f XawInit.h 
+ ln -s ../../../.././XawInit.h . 
bison --yacc -d laygram.y 
make: *** [laygram.c] Violación de segmento 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 8, Exitcode 2 
!!! (no error message) 
-------- 
[ Violacion de segmento = Segment Violation. ] 
 
I didn't put the bugs before cause I though that it was a mistake by me, but 
know... I have reinstalled gentoo completely and I find the same problem. 
 
With very old versions of bison I could solve temporaly the situation... but, 
when making emerge -u world,  X| ... 
 
Some programs, can be compile with Yacc, but others no... I really don't know 
nothing about bison, so I can't see more.  
 
Nevertheless I would help gracefully if you can show me a way to do it :] ( 
making test or something ) 
 
Thx in advance,  
Slt!
Comment 2 Francisco Gimeno 2002-06-13 12:38:25 UTC
in other comp, with default FLAGS for i686
--------------
make[5]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype/internal'
make[4]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype'
make[3]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2'
depending in lib/Xft...
make[3]: Cambiando a directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft'
flex -l  xftlex.l
sed 's/yy/XftConfig/g' lex.yy.c | sed 's/__REALLY_YY__/yy/' > xftlex.c && rm -f lex.yy.c bison -y -d xftgram.y
xftgram.y:168: warning: previous rule lacks an ending `;'
make[3]: *** [xftgram.c] Violaci
Comment 3 Francisco Gimeno 2002-06-13 12:38:25 UTC
in other comp, with default FLAGS for i686
--------------
make[5]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype/internal'
make[4]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype'
make[3]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2'
depending in lib/Xft...
make[3]: Cambiando a directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft'
flex -l  xftlex.l
sed 's/yy/XftConfig/g' lex.yy.c | sed 's/__REALLY_YY__/yy/' > xftlex.c && rm -f lex.yy.c bison -y -d xftgram.y
xftgram.y:168: warning: previous rule lacks an ending `;'
make[3]: *** [xftgram.c] Violación de segmento
make[3]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft'
make[2]: *** [depend] Error 2
make[2]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib'
make[1]: *** [depend] Error 2
make[1]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: *** [World] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 13, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild .
main:/# emerge unmerge bison
----------

Comment 4 Francisco Gimeno 2002-06-13 12:52:39 UTC
I have found this googling.
----
http://www.geocrawler.com/mail/msg.php3?msg_id=6015471&list=350
----
"Are you using any of the Flex %array or -l options? -- If so, see the
manual, section 0.8. Even though the default is
  #define YYLMAX 8192"

Well.. When should I define this?

Thx
Comment 5 Francisco Gimeno 2002-06-13 13:05:45 UTC
Anyway...
bison-1.35 is out, just cp bison-1.34-r1.ebuild bison-1.35.ebuild. It compiles...
I haven't tested it...

Slt

Comment 6 José Alberto Suárez López 2002-06-13 15:48:10 UTC
make[2]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wmc'
cd `dirname wrc/__depend__` && make depend
make[2]: Cambiando a directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wrc'
bison -y  -bppy -ppp -d -t ./ppy.y
make[2]: *** [ppy.tab.c] Violaci
Comment 7 José Alberto Suárez López 2002-06-13 15:48:10 UTC
make[2]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wmc'
cd `dirname wrc/__depend__` && make depend
make[2]: Cambiando a directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wrc'
bison -y  -bppy -ppp -d -t ./ppy.y
make[2]: *** [ppy.tab.c] Violación de segmento
make[2]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wrc'
make[1]: *** [wrc/__depend__] Error 2
make[1]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools'
make: *** [tools/__depend__] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-emulation/winex/winex-20020511.ebuild
Comment 8 José Alberto Suárez López 2002-06-13 15:48:28 UTC
make[2]: Saliendo directorio 
`/var/tmp/portage/winex-20020511/work/wine/tools/wmc'
cd `dirname wrc/__depend__` && make depend
make[2]: Cambiando a directorio 
`/var/tmp/portage/winex-20020511/work/wine/tools/wrc'
bison -y  -bppy -ppp -d -t ./ppy.y
make[2]: *** [ppy.tab.c] Violaci
Comment 9 José Alberto Suárez López 2002-06-13 15:48:28 UTC
make[2]: Saliendo directorio 
`/var/tmp/portage/winex-20020511/work/wine/tools/wmc'
cd `dirname wrc/__depend__` && make depend
make[2]: Cambiando a directorio 
`/var/tmp/portage/winex-20020511/work/wine/tools/wrc'
bison -y  -bppy -ppp -d -t ./ppy.y
make[2]: *** [ppy.tab.c] Violación de segmento
make[2]: Saliendo directorio 
`/var/tmp/portage/winex-20020511/work/wine/tools/wrc'
make[1]: *** [wrc/__depend__] Error 2
make[1]: Saliendo directorio 
`/var/tmp/portage/winex-20020511/work/wine/tools'
make: *** [tools/__depend__] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)

!!! emerge aborting on  
/usr/portage/app-emulation/winex/winex-20020511.ebuild
Comment 10 Julian J. 2002-07-21 09:13:56 UTC
I have the same problems, but only when LANG=es_ES (haven't tested other
locales). If I uset LANG or LANG=en_US, it works without problems. I think this
is a mayor bug (don't know if it's gentoo specifig), as many people have
localized settings.

I have currently bison 1.34-r1

It fails (for example) compiling lm_sensors.
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-28 06:13:21 UTC
this issue is fixed in bison-1.35 (it was an upstream one).  so, everyone
affected by this, please test that.