| Summary: | cdecl depends on yacc being on the machine | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mark D Baushke <mdb+gentoo> |
| Component: | Current packages | Assignee: | Patrick Kursawe (RETIRED) <phosphan> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | 1.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Thanks, fixed. |
The cdecl package needs to add yacc to the USE list. If yacc is not available, an 'emerge cdecl' will fail. The workaround is to do emerge yacc cdecl but I suggest that the cdecl package should list yacc in the USE list. Reproducible: Always Steps to Reproduce: 1. emerge -C yacc cdecl 2. emerge cdecl Actual Results: emerge -n cdecl Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/cdecl-2.5-r1 to / >>> Downloading http://gentoo.oregonstate.edu/distfiles/cdecl-2.5.tar.gz --20:21:27-- http://gentoo.oregonstate.edu/distfiles/cdecl-2.5.tar.gz => `/usr/portage/distfiles/cdecl-2.5.tar.gz' Resolving gentoo.oregonstate.edu... 128.193.0.3 Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 21,435 [application/x-tar] 100%[====================================>] 21,435 120.65K/s 20:21:28 (120.36 KB/s) - `/usr/portage/distfiles/cdecl-2.5.tar.gz' saved [21435/21435] >>> md5 src_uri ;-) cdecl-2.5.tar.gz >>> Unpacking source... >>> Unpacking cdecl-2.5.tar.gz to /var/tmp/portage/cdecl-2.5-r1/work * Applying cdecl-2.5.patch... [ ok ] >>> Source unpacked. yacc cdgram.y && mv y.tab.c cdgram.c lex cdlex.l && mv lex.yy.c cdlex.c /bin/sh: line 1: yacc: command not found make: *** [cdgram.c] Error 127 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-util/cdecl-2.5-r1 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! (no error message) Expected Results: The 'emerge cdecl' should have realized it needed yacc and merged that first before attempting to go to cdecl.