Compilation fails with errors: bison -v -d -y -pAslCompiler aslcompiler.y aslcompiler.y:797.42-43: $$ for the midrule at $3 of `DefinitionBlockTerm' has no declared type aslcompiler.y:1114.50-51: $$ for the midrule at $3 of `IncludeTerm' has no declared type aslcompiler.y:1115.38-39: $$ for the midrule at $6 of `IncludeTerm' has no declared type aslcompiler.y:1150.50-51: $$ for the midrule at $3 of `BankFieldTerm' has no declared type aslcompiler.y:1201.42-43: $$ for the midrule at $3 of `CreateBitFieldTerm' has no declared type aslcompiler.y:1211.42-43: $$ for the midrule at $3 of `CreateByteFieldTerm' has no declared type aslcompiler.y:1221.42-43: $$ for the midrule at $3 of `CreateDWordFieldTerm' has no declared type aslcompiler.y:1231.42-43: $$ for the midrule at $3 of `CreateFieldTerm' has no declared type aslcompiler.y:1242.42-43: $$ for the midrule at $3 of `CreateQWordFieldTerm' has no declared type aslcompiler.y:1252.42-43: $$ for the midrule at $3 of `CreateWordFieldTerm' has no declared type aslcompiler.y:1262.42-43: $$ for the midrule at $3 of `DataRegionTerm' has no declared type aslcompiler.y:1273.50-51: $$ for the midrule at $3 of `DeviceTerm' has no declared type aslcompiler.y:1282.50-51: $$ for the midrule at $3 of `EventTerm' has no declared type aslcompiler.y:1290.50-51: $$ for the midrule at $3 of `FieldTerm' has no declared type aslcompiler.y:1302.50-51: $$ for the midrule at $3 of `FunctionTerm' has no declared type aslcompiler.y:1316.42-43: $$ for the midrule at $3 of `IndexFieldTerm' has no declared type ... (long list) with bison 2.3 it gives some warnings, but compiles fine: bison -v -d -y -pAslCompiler aslcompiler.y aslcompiler.y:1114.7-1117.75: warning: unused value: $6 aslcompiler.y:1329.7-1337.134: warning: unused value: $6 aslcompiler.y:1478.7-1483.74: warning: unused value: $10 aslcompiler.y:1478.7-1483.74: warning: unused value: $12 aslcompiler.y:2578.7-2593.120: warning: unused value: $5 aslcompiler.y:2650.7-2664.116: warning: unused value: $5 aslcompiler.y:2811.7-2826.120: warning: unused value: $5 aslcompiler.y:2922.7-2937.120: warning: unused value: $5 aslcompiler.y:3076.37-48: warning: rule never reduced because of conflicts: OptionalResourceType: /* empty */ cp y.tab.c aslcompilerparse.c As a _very temp_ fix I propose to modify ebuild and modify DEPEND="sys-devel/bison to DEPEND="<=sys-devel/bison-2.3 Reproducible: Always
Thanks for reporting this issue, assigning to maintainer.
*** Bug 246221 has been marked as a duplicate of this bug. ***
While I know nothing about bison, this looks a bit like bug 246262, so the bug may lay in iasl after all.
Should be fixed with bison-2.4-r1. Please test.
(In reply to comment #4) > Should be fixed with bison-2.4-r1. Please test. > Updated to bison-2.4-r1. Still having the same compile problems as before.
Could somebody who's actually using iasl report this upstream ? Their bugzilla is at http://www.acpica.org/bugzilla, mailing list details at http://lists.acpica.org/mailman/listinfo/devel
*** Bug 246815 has been marked as a duplicate of this bug. ***
I guess some kind of solution is to downgrade bison to 2.4...without -r1../
(In reply to comment #8) > I guess some kind of solution is to downgrade bison to 2.4...without -r1../ > There is no bison-2.4 in present portage. Confirm this bug. Got the same log as Wormo
confirmed with bison 2.4-r1 works after downgrading to 2.3
*** Bug 249685 has been marked as a duplicate of this bug. ***
with bison-2.4-r1 sys-power/iasl not compile, but bison-2.3 solved problem [U] sys-devel/bison Available versions: 1.875d 2.3 (~)2.4-r1 {nls static} Installed versions: 2.3(11:44:58 12/03/08)(nls -static) Tulum ~ # emerge =sys-devel/bison-2.3 Tulum ~ # emerge sys-power/iasl
(In reply to comment #6) > Could somebody who's actually using iasl report this upstream ? > Their bugzilla is at http://www.acpica.org/bugzilla, > mailing list details at http://lists.acpica.org/mailman/listinfo/devel > I've created a bugreport on the upstream bugzilla: http://www.acpica.org/bugzilla/show_bug.cgi?id=745
(In reply to comment #12) > with bison-2.4-r1 sys-power/iasl not compile, but bison-2.3 solved problem > > [U] sys-devel/bison > Available versions: 1.875d 2.3 (~)2.4-r1 {nls static} > Installed versions: 2.3(11:44:58 12/03/08)(nls -static) > > Tulum ~ # emerge =sys-devel/bison-2.3 > Tulum ~ # emerge sys-power/iasl > I can verify this one :)
Created attachment 176594 [details, diff] Upstream patch Upstream patch used in following ebuild.
Created attachment 176603 [details, diff] Updated ebuild Updated ebuild. After adding this file and the patch to your repository, you will need to run "ebuild /path/to/ebuild/iasl-20080701-r1.ebuild digest"
> Updated ebuild. After adding this file and the patch to your repository, you > will need to run "ebuild /path/to/ebuild/iasl-20080701-r1.ebuild digest" I can confirm that this ebuild and patch compiles with bison-2.4.1.
this patch worked for me too. thanks alot!
still broken for me with bison 2.4.1 (iasl-20080701, the -r1 isn't in portage yet)
The patch did work, but was too large for $FILESDIR. I just bumped the version to what was released yesterday instead.