Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221415 - x11-base/xorg-server: probably needs flex build-time dependency
Summary: x11-base/xorg-server: probably needs flex build-time dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: flex-depends
  Show dependency tree
 
Reported: 2008-05-11 13:19 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-02-27 18:59 UTC (History)
0 users

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


Attachments
xorg-server-flex.patch (xorg-server-flex.patch,768 bytes, patch)
2008-06-15 00:46 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-05-11 13:19:00 UTC
The configure of your package checks for flex, even though your package might not contain .l files that flex uses to generate parsers. Your ebuild does not list a dependency on flex as per http://tinderbox.dev.gentoo.org/misc/dindex/sys-devel/flex .

Either disable the flex test during configure to avoid false positive, or add the dependency upon flex if it's needed by your package.

Thanks in advance,
Diego
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2008-05-12 08:27:50 UTC
Diego,

This bug would be much more helpful if it contained a suggestion for how to prevent autotools from checking for flex.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-15 00:06:57 UTC
configure.ac contains AC_PROG_LEX.

x11-base/xorg-server contains these files:
hw/dmx/config/scanner.l
hw/xwin/winprefslex.l

Please add sys-devel/flex to DEPEND.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-15 00:24:44 UTC
(In reply to comment #2)
> Please add sys-devel/flex to DEPEND.

I meant:
dmx? ( sys-devel/flex )

And a patch to configure.ac.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-15 00:46:20 UTC
Created attachment 156813 [details, diff]
xorg-server-flex.patch
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 18:59:50 UTC
That's actually been fixed for a while now. Closing.

Thanks