Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35508 - yacc not needed for wine ebuilds
Summary: yacc not needed for wine ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 02:30 UTC by Jack Pham
Modified: 2003-12-15 01:02 UTC (History)
0 users

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 Jack Pham 2003-12-10 02:30:10 UTC
There is no reason for the wine ebuilds to depend on the yacc package, for the reasons provided:

- bison provides identical parser generator functionalities. From the bison(1) man page: "Bison is a parser generator  in  the  style  of  yacc(1).   It  should  be upwardly compatible with input files designed for yacc." It also follows that bison imitates output file naming by specifying the -y flag. 

- The configure script provided with the wine source checks for the existence of both yacc and "bison -y".

- bison is required as a core Portage package (since it is listed in sys-devel); thus installing yacc would be rather redundant. (We could also make a claim that there is never an instance in which yacc will be required, since it is superceded by bison. Perhaps defining the two to provide a virtual package would be a better compromise?)

My only verification of this is modification of wine-20031118-r1.ebuild by removing the line reading "dev-lang/yacc" in the DEPENDS variable. Wine then successfully compiles and merges, without ever installing yacc.

Reproducible: Always
Steps to Reproduce:
Comment 1 Jack Pham 2003-12-10 02:31:45 UTC
apologies for not line-wrapping the description. any way to fix retroactively?
Comment 2 Spider (RETIRED) gentoo-dev 2003-12-10 03:48:01 UTC
wrapping has been fixed.

And, I'm not sure about wine (you're prolly right) but in some cases the bison -y yacc pretence isn't enough, as it doesn't handle the obscurities of yacc. (Google around for it and you'll see some examples)

Comment 3 Alex Veber (RETIRED) gentoo-dev 2003-12-15 01:02:46 UTC
yacc dep removed from wine-20031212