Spurious addition of '-k'

Dan Nicholson dbn.lists at gmail.com
Mon Aug 6 06:38:00 PDT 2007


On 8/6/07, Jeremy Huntwork <jhuntwork at linuxfromscratch.org> wrote:
> Manuel,
>
> There seems to be a problem with the stylesheet used to generate the
> scriptlets in jhalfs-2.3. When using the 6.3 branch and enabling all
> tests in the final system, the build stops at bash. The problem is that
> an unknown parameter '-k' was passed to sed. I believe this is the '-k'
> that gets added to keep the 'make tests' or 'make checks' targets
> moving, but somehow it's getting added to the sed line. The scriplet for
> bash ends up looking like this:
>
> sed -i 's/LANG/LC_ALL/' -k tests/intl.tests
>
> If I spent some time poring through the stylesheet, I might be able to
> find the solution, but I know you can do it much faster. :)

The stylesheet is bit too greedy because it looks for "tests" (causing
the above error) instead of "make tests". There's a patch attached
here:

http://linuxfromscratch.org/pipermail/alfs-discuss/2007-August/009423.html

Which appears to be applied here:

http://wiki.linuxfromscratch.org/alfs/changeset/3430

--
Dan



More information about the alfs-discuss mailing list