Hello Ralf,
On Tue, 27 Mar 2007, Ralf Wildenhues wrote:
* Martin Koeppe wrote on Tue, Mar 27, 2007 at 10:32:41PM CEST:
For libtool-2.1a I replaced the outdated config.* and also put a copy
in the root source dir, ran ./configure && make (i.e. GNU make!), then
make -k check. The output is attached, 2 errors besides hardcode!
Cool. Gary's fixes for non-GNU make took care of the build issues,
the test failures (beside hardcode) are due to one issue only.
I ran the test with GNU make, not Interix make!
I guess the XPASS we observed back then must be on Interix 3 only then.
Does the patch below fix both failures? You can test faster by
make check-local TESTSUITEFLAGS='47 49'
after applying the patch.
I now downloaded libtool-2.1a as of 20070328 13:48 +0200,
applied the patch below and did a complete re-test, i.e. I
renamed both the "make"s to "make.gnu" and "make.itx" respectively,
made sure that there is no plain "make" in PATH, and built both on 3.5
and 5.2 with both make's. (./configure MAKE=make.{gnu,itx})
Unfortunately, the build on 3.5 has stopped for reasons not related to
libtool. Will retest that later.
On 5.2 with GNU make the check-local test now finishes as expected: 47
expected, 2 skipped.
On 5.2 with Interix make, however, there is no build! I ran:
$ ./configure MAKE=make.itx
[ normal configure output ]
$ make.itx
[ configure is rerun here and the last lines are: ]
checking for gcj... no
checking for windres... no
configure: creating ./config.status
cd . && /bin/sh /tmp/libtool-2.1a-itx/libltdl/config/missing --run
autoheader
rm -f stamp-h1
touch ./config-h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make: not found
*** Error code 1
Stop.
So Interix make decides to rerun ./configure while GNU make doesn't,
and at some point there must be hardcoded "make"! configure isn't
rerun by GNU make, so the bug might be hidden for it.
-> Native make on interix is not usable, only to build GNU make ;o)
Apparently it is now, for Libtool. :-)
No, not yet!
Martin
Markus is right, it was the native interix make, which is some 4.4BSD
make. I have the man page attached. That man page says something about
a difference to gmake with recursive make calls.
Thanks. The issues noted in the manpage shouldn't matter now, I guess.
Cheers,
Ralf
2007-03-27 Ralf Wildenhues <[EMAIL PROTECTED]>
* tests/deplibs-ident.at: XPASS only on Interix 3.
Report by Martin Koeppe <[EMAIL PROTECTED]>.
Index: tests/deplibs-ident.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/deplibs-ident.at,v
retrieving revision 1.7
diff -u -r1.7 deplibs-ident.at
--- tests/deplibs-ident.at 25 Mar 2007 12:12:43 -0000 1.7
+++ tests/deplibs-ident.at 27 Mar 2007 21:07:12 -0000
@@ -67,7 +67,7 @@
[0],[stdout],[ignore])
AT_CHECK([$EGREP 'cee.*cee' stdout], 1, [ignore], [ignore])
AT_XFAIL_IF([case $host in
- *-*-aix*|hppa*-*-hpux*|*-*-interix*|*-*-openbsd*) false;;
+ *-*-aix*|hppa*-*-hpux*|*-*-interix3|*-*-openbsd*) false;;
*):;;
esac])
dnl This is currently broken in libtool