On Sun, 2012-12-30 at 10:49 +0100, Pierre Labastie wrote: > Le 30/12/2012 02:07, g....@free.fr a écrit : > >>> I also got a failure in the coreutils test suite: > >>> FAIL: test-getlogin > >>> =================== > >>> test-getlogin.c:48: assertion failed > >>> > > This is fixed by upstream commit 4f81aa5778dc88b99d21ad8d04a4bc9401366311 > > in gnulib tree. > > http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=4f81aa5778dc88b99d21ad8d04a4bc9401366311 > > Apply with > > cd $(DIR_APP)/gnulib-tests&& patch -p2 > > > > Gilles > Why not do: > sed -i -e '/buf.*getlogin/i\ > fprintf(stderr,"Skipping test: not meaningful during an LFS build.\\n");\ > return 77;' gnulib-tests/test-getlogin.c
Thanks to you both for the pointers to the fix. I've generated an LFS-style patch that includes the above upstream commit and the sed that is currently in the book. This way, when we upgrade, I can't forget to check the whole du and /etc/mtab issue as the current patch won't apply any more :) Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page