Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387649 - dev-util/cproto-4.7e : add virtual/yacc and sys-devel/flex in DEPEND
Summary: dev-util/cproto-4.7e : add virtual/yacc and sys-devel/flex in DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autodep
  Show dependency tree
 
Reported: 2011-10-19 10:21 UTC by bay
Modified: 2011-11-12 13:27 UTC (History)
0 users

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


Attachments
Build log (cproto.txt,6.55 KB, text/plain)
2011-10-19 10:21 UTC, bay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bay 2011-10-19 10:21:29 UTC
Created attachment 290227 [details]
Build log

Package dev-util/cproto-4.7e doesn't compiles without virtual/yacc and sys-devel/flex.

The error is:
# compiling
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64 -I. -I.  -DHAVE_CONFIG_H   symbol.c
yacc ./grammar.y
yacc: 1 shift/reduce conflict, 30 reduce/reduce conflicts.
: ./lex.l
# compiling
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64 -I. -I.  -DHAVE_CONFIG_H   y.tab.c
./grammar.y:868:21: error: lex.yy.c: No such file or directory
./grammar.y: In function 'yaccError':
./grammar.y:886: error: 'yytext' undeclared (first use in this function)
./grammar.y:886: error: (Each undeclared identifier is reported only once
./grammar.y:886: error: for each function it appears in.)
./grammar.y: In function 'process_file':
./grammar.y:983: error: 'BEGIN' undeclared (first use in this function)
./grammar.y:983: error: expected ';' before 'LEXYACC'
./grammar.y:991: error: 'included_files' undeclared (first use in this function)
./grammar.y:994: error: 'inc_depth' undeclared (first use in this function)
./grammar.y:995: error: 'curly' undeclared (first use in this function)
./grammar.y:996: error: 'ly_count' undeclared (first use in this function)
./grammar.y:998: error: 'yyin' undeclared (first use in this function)
make: *** [y.tab.o] Error 1
emake failed

Please add virtual/yacc and sys-devel/flex as a runtime deps of dev-util/cproto-4.7e.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2011-11-12 13:27:49 UTC
+  12 Nov 2011; Michael Weber <xmw@gentoo.org> cproto-4.7e.ebuild:
+  Added dependencies virtual/yacc and sys-devel/flex (thanks to bay, bug
+  387649)
+