Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220555

Summary: dev-tex/detex-2.7 fails installation
Product: Gentoo Linux Reporter: Matthias Fechner <idefix>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthias Fechner 2008-05-06 10:58:24 UTC
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.
Comment 1 Matthias Fechner 2008-05-06 13:59:05 UTC
Installation of sys-devel/flex fixed the problem.
Is there a dependency in detex missing?
Comment 2 Alexis Ballier gentoo-dev 2008-05-10 15:06:12 UTC
(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.
Comment 3 Matthias Fechner 2008-05-13 07:36:05 UTC
(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?
Comment 4 Alexis Ballier gentoo-dev 2008-05-13 07:49:35 UTC
> 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
Comment 5 Matthias Fechner 2008-05-13 08:14:25 UTC
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.
Comment 6 Alexis Ballier gentoo-dev 2008-06-04 18:58:51 UTC
closing as worksforme, flex should always install libfl.a