Build of portage dev-tex/detex-2.7 fails. Reproducible: Always Steps to Reproduce: 1. emerge -av detex Actual Results: cc -O2 -march=i686 -pipe -DNO_MALLOC_DECL -c -o detex.o detex.c cc -O2 -march=i686 -pipe -DNO_MALLOC_DECL -o detex detex.o -lfl /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfl collect2: ld returned 1 exit status make: *** [detex] Error 1 Expected Results: Should be installed successfully.
Installation of sys-devel/flex fixed the problem. Is there a dependency in detex missing?
(In reply to comment #1) > Installation of sys-devel/flex fixed the problem. > Is there a dependency in detex missing? which ebuild are you using ? the one I have here has flex as a dep.
(In reply to comment #2) > which ebuild are you using ? the one I have here has flex as a dep. the ebuild from portage. equery d dev-tex/detex says: [ Searching for packages depending on dev-tex/detex... ] app-text/texlive-2007-r3 (dev-tex/detex) so no dependency to flex?
> the ebuild from portage. > equery d dev-tex/detex says: > > [ Searching for packages depending on dev-tex/detex... ] > app-text/texlive-2007-r3 (dev-tex/detex) > > so no dependency to flex? this checks for packages depending on detex, not what packages detex depends on :) to check it, use for ex. portageq : $ portageq metadata / installed dev-tex/detex-2.8-r1 DEPEND sys-devel/flex
ok: portageq metadata / installed dev-tex/detex-2.7 DEPEND virtual/libc sys-devel/flex so maybe something was wrong with the installation of flex and a (re)installation of flex fixed that.
closing as worksforme, flex should always install libfl.a