[Buildroot] [PATCH 1/1] flex: delete broken flex++ symlink from target

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 30 06:55:56 UTC 2014


Dear Danomi Manchego,

On Tue, 29 Jul 2014 18:20:59 -0400, Danomi Manchego wrote:

> Actually, I don't know *anything* about flex.  The only reason I ran
> into this is that linux-pam now pulls in flex as a dependency, and the
> flex++ came up as a difference in my before-2014.05/after-2014.05
> upgrade comparison check.

Nice catch then, it was a good idea to do this comparison!

> But I am somewhat knowledgeable about
> makefiles, so if this amounts to sending patches to some sourceforge
> mailing list, then I can try.

Yes, I don't think you need to know much about flex, it's mostly about
autotools that you need to know a few things.

> We just want an option to officially not install the bin and the
> flex++ symlink, and add in the "AR" definition?

Yes, except for AR: our patch actually *removes* the AR definition, so
that it can be passed from the environment. But I see that this might
have been fixed in 2.5.39 (yes it does).

For the rest, a --enable-program / --disable-program autoconf option
would be good to enable/disable the compilation/installation of the
program.

> What's was the reason for dropping the tool - is it too large, or is
> the m4 dependency objectionable?

The dependency on host-m4 is always there. No, the main reason is 1/
space and 2/ the library builds on noMMU platforms, but not the
program, because it uses fork().

> Additionally, I see that the last change to buildroot's flex package
> was to revert the bump to 2.5.39, because it broke a couple packages -
> back in April 2014.  If the mods got in, would we be able to upgrade?

No, additional changes would be needed. As pointed out in the commit
log of 1be95896dde41c668e1c884db704b0da2ea360c9, bumping flex broke at
least two packages. It would be good to see if those packages have been
fixed since then, and investigate if we can bump flex.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list