Summary: | app-emulation/wine doesnt compile with bison-2.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Schwinn <schwinni> |
Component: | Current packages | Assignee: | Wine Maintainers <wine> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andres.becerra, athanasios.zorbas, caster, dkarasik, iaindb, jrmalaq, kanelxake, leio, m.debruijne, marcin.deranek, Martin.vGagern, optiluca, proteuss, radhermit, ryan, tetromino, y3dips |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log of the failing compilation of wine-1.1.8
Wine 1.1.8 patch fixed ebuild for wine-1.1.8 which applies Marcin's patch |
Description
Christian Schwinn
2008-11-09 18:31:59 UTC
Created attachment 171213 [details]
build.log of the failing compilation of wine-1.1.8
This is the build.log of the failing compilation of wine-1.1.8.
Same error here on ~amd64: parser.y: In function 'parser_parse': parser.y:320: error: expected ';' before '}' token make[2]: *** [parser.tab.o] Error 1 My system: paludis-0.30.3 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 x86_64) My use flags for wine: X alsa cups (-dbus) -esd gecko (-gnutls) (-hal) -jack jpeg lcms ldap (-nas) ncurses opengl oss -samba (-scanner) xml What are your use flags on amd64 ? Seems like either typo or new gcc is more picky than previous version.. See attached patch which fixes the problem.. at least for myself. Created attachment 171215 [details]
Wine 1.1.8 patch
Your patch worked. Thanks! I still wonder why the error didn't occur on my amd64 installation - with the same gcc version... Created attachment 171229 [details]
fixed ebuild for wine-1.1.8 which applies Marcin's patch
Installation instructions (replace <path_to_your_overlay> with your setup):
1. download the ebuild and put it in <path_to_your_overlay>/app-emulation/wine/
2. create the directory <path_to_your_overlay>/app-emulation/wine/files/
3. copy over "wine-gentoo-no-ssp.patch" from /usr/portage/app-emulation/wine/files/
4. download Marcin's patch to <path_to_your_overlay>/app-emulation/wine/files/ and name it "parser-y.patch"
5. run "ebuild <path_to_your_overlay>/app-emulation/wine/wine-1.1.8.ebuild digest"
6. emerge wine-1.1.8
Best regards
Chris
Looks like masking bison-2.4 (and using version 2.3) helps as well. Thanks for your fix, Christian and Marcin. Assigning to wine team. The problem here is that, while this bug is indeed caused by bison 2.4, it because of a behavior change, that bison upstream wants to make the default in 2.5. According to bug-bison mailing list, a lot more packages is hit by this bison problem, among other is gcc. Upstream found and fixed this issue as well: http://source.winehq.org/git/wine.git/?a=commitdiff;h=2827a74cb137001aff4c *** Bug 246427 has been marked as a duplicate of this bug. *** This is fixed with the bison commit we just applied in bison-2.4-r1. I'll have to test this fix to see if it's compatible with that and we may apply that as well since it's the way forward. *** Bug 246584 has been marked as a duplicate of this bug. *** *** Bug 246570 has been marked as a duplicate of this bug. *** if upstream bison (and our bison-2.4-r1) is changed to not require the ; and upstream wine is adding it, then there isnt much point in patching our ebuilds |