Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246681 - =sys-devel/bison-2.4-r1 fail to compile parser.y from dev-libs/libIDL configure
Summary: =sys-devel/bison-2.4-r1 fail to compile parser.y from dev-libs/libIDL configure
Status: RESOLVED DUPLICATE of bug 246262
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-14 09:41 UTC by Francesco Riosa
Modified: 2008-11-14 16:34 UTC (History)
0 users

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


Attachments
tmp/portage/dev-libs/libIDL-0.8.11/work/libIDL-0.8.11/parser.y (parser.y,49.58 KB, text/plain)
2008-11-14 09:44 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2008-11-14 09:41:09 UTC
dev-libs/libIDL stop configure phase with:

make -j1
bison -y -d -v 2>/dev/null ./parser.y
make: *** [stamp-parser] Error 1


Reproducible: Always

Actual Results:  
Manually running bison-2.4 on the incriminated parser.y return
bison -y -d -v  ./parser.y || echo "FAILURE"
./parser.y:610.9-10: $$ for the midrule at $6 of `struct_type' has no declared type
./parser.y:627.9-10: $$ for the midrule at $10 of `union_type' has no declared type
FAILURE


Expected Results:  
Manually running bison-2.3 on parser.y give
bison -y -d -v  ./parser.y && echo "SUCCESS"
./parser.y:606.25-618.1: warning: unused value: $3
./parser.y:621.25-635.1: warning: unused value: $3
./parser.y:716.25-732.1: warning: unused value: $4
./parser.y:780.25-781.68: warning: unused value: $1
./parser.y:811.25-818.1: warning: unused value: $3
./parser.y:926.25-933.1: warning: unused value: $3
conflicts: 23 shift/reduce, 3 reduce/reduce
SUCCESS
Comment 1 Francesco Riosa 2008-11-14 09:44:18 UTC
Created attachment 171699 [details]
tmp/portage/dev-libs/libIDL-0.8.11/work/libIDL-0.8.11/parser.y

The incriminated parser.py
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-14 16:34:29 UTC

*** This bug has been marked as a duplicate of bug 246262 ***