Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 382987

Summary: add sys-devel/bison as a dependency to dev-libs/gobject-introspection
Product: Gentoo Linux Reporter: ari edelkind <edelkind-gentoo-bugzilla>
Component: New packagesAssignee: Matt Turner <mattst88>
Status: RESOLVED FIXED    
Severity: minor CC: gnome
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ari edelkind 2011-09-14 18:51:22 UTC
When building gobject-introspection, econf fails without bison installed:

checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... no
configure: error: bison not found but required

After installing bison, the build succeeds.

Reproducible: Always

Steps to Reproduce:
1. Do not have bison installed
2. emerge gobject-introspection
3. Profit!
Comment 1 Matt Turner gentoo-dev 2011-09-20 19:53:21 UTC
Fixed. Not sure why gnome@ wasn't able to beat me to it.
Comment 2 Pacho Ramos gentoo-dev 2011-09-20 20:04:28 UTC
(In reply to comment #1)
> Fixed. Not sure why gnome@ wasn't able to beat me to it.

Thanks for fixing it :)

For some reason I lost track on this bug :(
Comment 3 Pacho Ramos gentoo-dev 2011-09-20 20:06:30 UTC
(In reply to comment #1)
> Fixed. Not sure why gnome@ wasn't able to beat me to it.

But I think it should DEPEND on virtual/yacc, can you check if it would be possible (I cannot test it just now :()

Thanks again
Comment 4 Matt Turner gentoo-dev 2011-09-20 20:15:41 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Fixed. Not sure why gnome@ wasn't able to beat me to it.
> 
> But I think it should DEPEND on virtual/yacc, can you check if it would be
> possible (I cannot test it just now :()
> 
> Thanks again

I've tried with a few programs (I've done a lot of these bison bugs) and I haven't found one yet that worked with plain yacc. I'm not going to bother to do it.

Feel free to close or reassign the bug.
Comment 5 Pacho Ramos gentoo-dev 2011-09-21 13:35:42 UTC
Yeah, just checked it doesn't work with plain yacc :( (maybe the virtual should be dropped if there are a lot of packages not working with dev-util/yacc)
Comment 6 Pacho Ramos gentoo-dev 2011-09-21 13:36:08 UTC
Original solution is ok then