Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376949 - sys-apps/fbset-2.1 needs bison in DEPEND
Summary: sys-apps/fbset-2.1 needs bison in DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 15:07 UTC by fuzzy_sys
Modified: 2012-01-31 16:13 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fuzzy_sys 2011-07-29 15:07:58 UTC
* fbset-2.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                          [ ok ]
 * Package:    sys-apps/fbset-2.1
 * Repository: gentoo
 * Maintainer: spock@gentoo.org base-system@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox userpriv
>>> Unpacking source...
>>> Unpacking fbset-2.1.tar.gz to /var/tmp/portage/sys-apps/fbset-2.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/fbset-2.1/work
>>> Compiling source in /var/tmp/portage/sys-apps/fbset-2.1/work/fbset-2.1 ...
make -j8 
x86_64-pc-linux-gnu-gcc -Wall -march=core2 -mtune=generic -O2 -pipe -fomit-frame-pointer -I. -march=core2 -mtune=generic -O2 -pipe -fomit-frame-pointer   -c -o fbset.o fbset.c
bison -d modes.y
make: bison: Command not found
make: *** [modes.tab.c] Error 127
make: *** Waiting for unfinished jobs....
emake failed


Reproducible: Always

Steps to Reproduce:
emerge fbset
Actual Results:  
emerge fails


emerge bison
emerge flex
after this emerge fbset works

maybe interesting information: this happened on a fresh install. i emerged only a few small programs
Comment 1 Matt Turner gentoo-dev 2011-07-31 18:28:42 UTC
Thanks, fixed.
Comment 2 Matt Sealey, Genesi 2012-01-31 16:05:42 UTC
This isn't fixed. While bison is a dependency, you also need flex; the fix instructions in the previous comment actually emerge flex so it just skirted the lack of dependency;

make
armv7a-hardfloat-linux-gnueabi-gcc -Wall -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard   -c -o fbset.o fbset.c
bison -d modes.y
armv7a-hardfloat-linux-gnueabi-gcc -Wall -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard   -c -o modes.tab.o modes.tab.c
flex modes.l
make: flex: Command not found
make: *** [lex.yy.c] Error 127
emake failed
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-01-31 16:13:13 UTC
(In reply to comment #2)
> This isn't fixed. While bison is a dependency, you also need flex; the fix
> instructions in the previous comment actually emerge flex so it just skirted
> the lack of dependency;
> 
> make
> armv7a-hardfloat-linux-gnueabi-gcc -Wall -O2 -pipe -march=armv7-a
> -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16
> -mfloat-abi=hard   -c -o fbset.o fbset.c
> bison -d modes.y
> armv7a-hardfloat-linux-gnueabi-gcc -Wall -O2 -pipe -march=armv7-a
> -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16
> -mfloat-abi=hard   -c -o modes.tab.o modes.tab.c
> flex modes.l
> make: flex: Command not found
> make: *** [lex.yy.c] Error 127
> emake failed

This should have gone to new bug, but no worries.

+  31 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> fbset-2.1.ebuild:
+  Missing sys-devel/flex DEPEND wrt #376949, Comment #2 by Matt Sealey

For completeness:

ssuominen@null /tmp/fbset-2.1 $ grep -r -i flex *
Makefile:FLEX =		flex
Makefile:		$(FLEX) modes.l