Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220555 - dev-tex/detex-2.7 fails installation
Summary: dev-tex/detex-2.7 fails installation
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-06 10:58 UTC by Matthias Fechner
Modified: 2008-06-04 18:58 UTC (History)
0 users

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 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