libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rm -f


From: Patrick Welche
Subject: Re: rm -f
Date: Wed, 19 Dec 2007 15:53:20 +0000
User-agent: Mutt/1.5.14 (2007-03-22)

On Sun, Dec 16, 2007 at 10:04:59AM +0100, Ralf Wildenhues wrote:
> Only if you have a dummy file to remove.  In libtool it's easier to just
> add
>   test -z "$files" || $RM $files
> 
> as appropriate.  Which tests are failing for you, Patrick?  I assume
> this is NetBSD?

First good news: it is test singular - I think I got confused
reading testsuite.log, and yes it is NetBSD-current, autotools HEAD
from 12 December.  I tried the following patch to help track it
down, but didn't get anywhere - shouldn't I hope echo output to at
least end up in stdout? I thought that the other instances of RM
would at least have a character printed even if all variables were
empty.

This is a highlight of testsuite.log:

> libtool: link: rm -f "/usr/src/local/libtool/tests/testsuite.dir/56/tests/test
suite.dir/55/sub3/.libs/dlselfS.o"
> /stresstest.at:267: ./sub3/dlself; lt_status=$?; if test $lt_status -eq 0; the
n :;
>          elif test "X$host" != "X$build" && \
>               { test -x "./sub3/dlself" || test -x "./sub3/dlself"$EXEEXT; }
>          then (exit 77); else (exit $lt_status); fi
> Not enabling shell tracing (command contains an embedded newline)
> eval '/usr/src/local/libtool/tests/testsuite.dir/56/libtool --mode=link gcc -g
 -O2  -o ""sub2/liba.la ""sub/a.lo' "" -export-symbols-regex "v.*" -rpath /nonex
istent
> /stresstest.at:251: eval '$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o "$rel"s
ub2/liba.la "$rel"sub/a.lo' $linkargs
> stderr:
> usage: rm [-f|-i] [-dPRrvW] file ...
> stdout:
> libtool: link: rm -fr  sub2/.libs/liba.a sub2/.libs/liba.la
> libtool: link: generating symbol list for `liba.la'
> libtool: link: using reloadable object file for export list...
> libtool: link: creating reloadable object files...
> libtool: link: generating symbol list for `liba.la'
> libtool: link: creating a temporary reloadable object file: sub2/.libs/liba.la
-1.o
> libtool: link: /usr/bin/ld -r -o sub2/.libs/liba.la-1.o sub/.libs/a.o 
> libtool: link: rm -f 
> /stresstest.at:251: exit code was 1, expected 0
> 55. stresstest.at:31: 55. Link option thorough search test (stresstest.at:31):
 FAILED (stresstest.at:251)
> 
> 
56. cmdline_wrap.at:28: 56. Run tests with low max_cmd_len (cmdline_wrap.at:28):
 FAILED (cmdline_wrap.at:43)


Cheers,

Patrick

Attachment: debugpat
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]