[lfs-dev] 6.24. Sed-4.4 test failure

Bruce Dubbs bruce.dubbs at gmail.com
Mon Jun 19 09:17:22 PDT 2017


Jonathan Cottrill wrote:
> On Thu Mar 2 05:08:07 PST 2017 Wayne Blaszczyk wrote:
>> Hi All,
>>
>> sed -i 's/panic-tests.sh//' Makefile.in
>> should be
>> sed -i 's/testsuite\/panic-tests.sh//' Makefile.in
>>
>> otherwise it leaves a directory and fails.
>>
>> >From http://www.linuxfromscratch.org/lfs/build-logs/8.0/i7-4700MQ/test-logs/091-sed-4.4
>>
>>
>>
>> PASS: testsuite/follow-symlinks-stdin.sh
>> make[6]: Entering directory '/sources/sed-4.4'
>> make[6]: Nothing to be done for 'testsuite/.log'.
>> make[6]: Leaving directory '/sources/sed-4.4'
>> fatal: making test-suite.log: failed to create testsuite/.trs
>> fatal: making test-suite.log: failed to create testsuite/.log
>> make[5]: *** [Makefile:3141: test-suite.log] Error 1
>> make[5]: Leaving directory '/sources/sed-4.4'
>> make[4]: *** [Makefile:3250: check-TESTS] Error 2
>> make[4]: Leaving directory '/sources/sed-4.4'
>> make[3]: *** [Makefile:4090: check-am] Error 2
>> make[3]: Leaving directory '/sources/sed-4.4'
>> Making check in gnulib-tests
>> make[3]: Entering directory '/sources/sed-4.4/gnulib-tests'
>> make  check-recursive
>> make[4]: Entering directory '/sources/sed-4.4/gnulib-tests'
>> Making check in .
>> make[5]: Entering directory '/sources/sed-4.4/gnulib-tests'
>>
>> Must have been using a -k to bypass the error.
>>
>> Also, I personal don't execute the first sed command, but that might work
>> for me due a different installation order from the book.
>>
>> Regards,
>> Wayne.
>>
>
> This is still an issue; the entire test path needs to be removed, not just the
> filename (confirmed this problem still exists in section 6.27 of latest
> snapshot).
>
> This worked well for me:
>
> sed -i 's at testsuite/panic-tests.sh@@' Makefile.in

Thanks,  this is what I will put in the book.

sed -i 's/testsuite.panic-tests.sh//' Makefile.in

I do like using / for delimiters, but do not like backslashes if they can 
be avoided.

   -- Bruce



More information about the lfs-dev mailing list