GNU bug report logs - #15734
libtool 2.4.2.418 in UnixWare

Previous Next

Package: libtool;

Reported by: Tim Rice <tim <at> multitalents.net>

Date: Sun, 27 Oct 2013 16:56:02 UTC

Severity: normal

To reply to this bug, email your comments to 15734 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#15734; Package libtool. (Sun, 27 Oct 2013 16:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tim Rice <tim <at> multitalents.net>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Sun, 27 Oct 2013 16:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Rice <tim <at> multitalents.net>
To: bug-libtool <at> gnu.org
Subject: libtool 2.4.2.418 in UnixWare
Date: Sun, 27 Oct 2013 09:55:08 -0700 (PDT)
[Message part 1 (text/plain, inline)]
UnixWare 7.1.4

Things don't look so good on the alpha release.
......
   To: <bug-libtool <at> gnu.org>
   Subject: [GNU Libtool 2.4.2.418] testsuite: 9 10 11 15 16 18 21 122 123 124 125 129 failed
......

I've attached the complete log as testsuite.log.gz

I ran this for more detail
......
MAKE=gmake ; export MAKE
gmake check-local TESTS= TESTSUITEFLAGS='-x -v -d 9-11' | tee x.tst3
......

Attaching testsuite.dir_9-11.tar.gz

-- 
Tim Rice				Multitalents
tim <at> multitalents.net
[testsuite.log.gz (application/octet-stream, attachment)]
[testsuite.dir_9-11.tar.gz (application/octet-stream, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#15734; Package libtool. (Sun, 27 Oct 2013 18:36:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Rice <tim <at> multitalents.net>
To: bug-libtool <at> gnu.org
Subject: Re: libtool 2.4.2.418 in UnixWare
Date: Sun, 27 Oct 2013 11:35:15 -0700 (PDT)
On Sun, 27 Oct 2013, Tim Rice wrote:

> 
> UnixWare 7.1.4
> 
> Things don't look so good on the alpha release.
> ......
>    To: <bug-libtool <at> gnu.org>
>    Subject: [GNU Libtool 2.4.2.418] testsuite: 9 10 11 15 16 18 21 122 123 124 125 129 failed
> ......

Saw this in the build log.
------
  GEN      libtoolize
UX:sed: ERROR: Command garbled:           s|^m4trace: -1- AC_CONFIG_AUX_DIR[([]*||
  GEN      libltdl/argz.h
------

$ grep "SED =" Makefile
SED = /opt/bin/sed
$ /opt/bin/sed --version
GNU sed version 4.1.2
[snip]

I haven't found out why the system sed is being used.

-- 
Tim Rice				Multitalents
tim <at> multitalents.net






Information forwarded to bug-libtool <at> gnu.org:
bug#15734; Package libtool. (Sun, 27 Oct 2013 20:08:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Rice <tim <at> multitalents.net>
To: bug-libtool <at> gnu.org
Subject: Re: libtool 2.4.2.418 in UnixWare
Date: Sun, 27 Oct 2013 13:06:57 -0700 (PDT)
[Message part 1 (text/plain, inline)]
On Sun, 27 Oct 2013, Tim Rice wrote:

| On Sun, 27 Oct 2013, Tim Rice wrote:
| 
| > 
| > UnixWare 7.1.4
| > 
| > Things don't look so good on the alpha release.
| > ......
| >    To: <bug-libtool <at> gnu.org>
| >    Subject: [GNU Libtool 2.4.2.418] testsuite: 9 10 11 15 16 18 21 122 123 124 125 129 failed
| > ......
| 
| Saw this in the build log.
| ------
|   GEN      libtoolize
| UX:sed: ERROR: Command garbled:           s|^m4trace: -1- AC_CONFIG_AUX_DIR[([]*||
|   GEN      libltdl/argz.h
| ------

This patch helps some.

.........
--- libtool-2.4.2.418/Makefile.am.old	2013-01-25 20:19:11.000000000 -0800
+++ libtool-2.4.2.418/Makefile.am	2013-10-27 12:13:43.776276925 -0700
@@ -248,7 +248,7 @@
 ## ---------------- ##
 
 abs_aux_dir = `$(lt__cd) '$(srcdir)/$(aux_dir)' && pwd`
-ltdl_ac_aux_dir = `$(extract_trace) AC_CONFIG_AUX_DIR $(srcdir)/libltdl/configure.ac`
+ltdl_ac_aux_dir = `SED=$(SED) $(extract_trace) AC_CONFIG_AUX_DIR $(srcdir)/libltdl/configure.ac`
 
 configure_edit = $(bootstrap_edit) \
 	-e '/^\. /s|@auxscriptsdir\@|'$(abs_aux_dir)'|g' \
.........

   To: <bug-libtool <at> gnu.org>
   Subject: [GNU Libtool 2.4.2.418] testsuite: 21 122 123 124 125 129 failed

New testsuite.log.gz attached.

-- 
Tim Rice				Multitalents
tim <at> multitalents.net
[testsuite.log.gz (application/octet-stream, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#15734; Package libtool. (Sun, 27 Oct 2013 22:15:01 GMT) Full text and rfc822 format available.

Message #14 received at 15734 <at> debbugs.gnu.org (full text, mbox):

From: "Gary V. Vaughan" <gary <at> gnu.org>
To: Tim Rice <tim <at> multitalents.net>
Cc: Libtool Patches List <libtool-patches <at> gnu.org>, 15734 <at> debbugs.gnu.org
Subject: Re: bug#15734: libtool 2.4.2.418 in UnixWare
Date: Mon, 28 Oct 2013 11:14:06 +1300
[Message part 1 (text/plain, inline)]
Hi Tim,

Thanks for the report.

On Oct 28, 2013, at 9:06 AM, Tim Rice <tim <at> multitalents.net> wrote:

> On Sun, 27 Oct 2013, Tim Rice wrote:
> 
> | On Sun, 27 Oct 2013, Tim Rice wrote:
> | 
> | > 
> | > UnixWare 7.1.4
> | > 
> | > Things don't look so good on the alpha release.
> | > ......
> | >    To: <bug-libtool <at> gnu.org>
> | >    Subject: [GNU Libtool 2.4.2.418] testsuite: 9 10 11 15 16 18 21 122 123 124 125 129 failed
> | > ......
> | 
> | Saw this in the build log.
> | ------
> |   GEN      libtoolize
> | UX:sed: ERROR: Command garbled:           s|^m4trace: -1- AC_CONFIG_AUX_DIR[([]*||
> |   GEN      libltdl/argz.h
> | ------
> 
> This patch helps some.
> 
> .........
> --- libtool-2.4.2.418/Makefile.am.old	2013-01-25 20:19:11.000000000 -0800
> +++ libtool-2.4.2.418/Makefile.am	2013-10-27 12:13:43.776276925 -0700
> @@ -248,7 +248,7 @@
> ## ---------------- ##
> 
> abs_aux_dir = `$(lt__cd) '$(srcdir)/$(aux_dir)' && pwd`
> -ltdl_ac_aux_dir = `$(extract_trace) AC_CONFIG_AUX_DIR $(srcdir)/libltdl/configure.ac`
> +ltdl_ac_aux_dir = `SED=$(SED) $(extract_trace) AC_CONFIG_AUX_DIR $(srcdir)/libltdl/configure.ac`
> 
> configure_edit = $(bootstrap_edit) \
> 	-e '/^\. /s|@auxscriptsdir\@|'$(abs_aux_dir)'|g' \
> .........
> 
>   To: <bug-libtool <at> gnu.org>
>   Subject: [GNU Libtool 2.4.2.418] testsuite: 21 122 123 124 125 129 failed
> 


Most of the remaining failures seem to be caused by the unset variable in the testsuite
getting set to ‘no’ rather than ‘unset’ or ‘:’ as was originally intended on your host.
However, Autotest already provides as_unset, so the following patch switches to that:

diff --git a/tests/demo.at b/tests/demo.at
index f1fd9a8..c0a1486 100644
--- a/tests/demo.at
+++ b/tests/demo.at
@@ -796,7 +796,7 @@ rm -f libhello.la "hell$EXEEXT"

 # If this check fails (i.e. the make succeeds), then the installed library
 # was used, which is wrong.
-AT_CHECK([$unset LIBTOOL LIBTOOLIZE; $MAKE hell$EXEEXT libhello_la_OBJECTS=hello.lo || (exit 1)],
+AT_CHECK([$as_unset LIBTOOL; $as_unset LIBTOOLIZE; $MAKE hell$EXEEXT libhello_la_OBJECTS=hello.lo || (exit 1)],
          [1], [ignore], [ignore])

 AT_CLEANUP
diff --git a/tests/testsuite.at b/tests/testsuite.at
index ecbdfc2..99122be 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -51,11 +51,6 @@ fi
 if test -n "$to_tool_file_cmd"; then
   configure_options="$configure_options lt_cv_to_tool_file_cmd=$to_tool_file_cmd"
 fi
-if (FOO=bar; unset FOO) >/dev/null 2>&1; then
-  unset=unset
-else
-  unset=false
-fi
 : ${mkdir_p="$abs_top_srcdir/build-aux/install-sh -d"}
 # Fix relative paths in $lt_INSTALL
 case $lt_INSTALL in
@@ -193,7 +188,7 @@ m4_define([LT_AT_CONFIGURE],
 m4_define([LT_AT_MAKE],
 [for target in m4_default([$1], [all])
 do
-  AT_CHECK([$unset LIBTOOL LIBTOOLIZE; $MAKE $target $2], [0], [ignore], [ignore])
+  AT_CHECK([$as_unset LIBTOOL; $as_unset LIBTOOLIZE; $MAKE $target $2], [0], [ignore], [ignore])
 done
 ])

I’ve pushed this patch already.

The remaining failure looks to be a similar problem to the sed issue you discovered but with
grep.  Since extract-trace is supposed to work standalone, I’ll find a way to have funclib.sh
find a suitable sed and grep, which will fix not only the problems your patch works on, but
also the remaining test failure, and no doubt similar latent bugs in other funclib.sh clients
(bootstrap and libtoolize).

Please, let me know if your still having issues after that.

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#15734; Package libtool. (Sun, 03 Nov 2013 01:40:04 GMT) Full text and rfc822 format available.

Message #17 received at 15734 <at> debbugs.gnu.org (full text, mbox):

From: Tim Rice <tim <at> multitalents.net>
To: "Gary V. Vaughan" <gary <at> gnu.org>
Cc: Libtool Patches List <libtool-patches <at> gnu.org>, 15734 <at> debbugs.gnu.org
Subject: Re: bug#15734: libtool 2.4.2.418 in UnixWare
Date: Sat, 2 Nov 2013 18:19:17 -0700 (PDT)
[Message part 1 (text/plain, inline)]
Hi Gary,

On Mon, 28 Oct 2013, Gary V. Vaughan wrote:

> Hi Tim,
> 
> Thanks for the report.
> 
> On Oct 28, 2013, at 9:06 AM, Tim Rice <tim <at> multitalents.net> wrote:
> 
> > On Sun, 27 Oct 2013, Tim Rice wrote:
> > 
> > | On Sun, 27 Oct 2013, Tim Rice wrote:
> > | 
> > | > 
> > | > UnixWare 7.1.4
> > | > 
> > | > Things don't look so good on the alpha release.
> > | > ......
> > | >    To: <bug-libtool <at> gnu.org>
> > | >    Subject: [GNU Libtool 2.4.2.418] testsuite: 9 10 11 15 16 18 21 122 123 124 125 129 failed
> > | > ......
> > | 
> > | Saw this in the build log.
> > | ------
> > |   GEN      libtoolize
> > | UX:sed: ERROR: Command garbled:           s|^m4trace: -1- AC_CONFIG_AUX_DIR[([]*||
> > |   GEN      libltdl/argz.h
> > | ------
> > 
> > This patch helps some.
> > 
> > .........
> > --- libtool-2.4.2.418/Makefile.am.old	2013-01-25 20:19:11.000000000 -0800
> > +++ libtool-2.4.2.418/Makefile.am	2013-10-27 12:13:43.776276925 -0700
> > @@ -248,7 +248,7 @@
> > ## ---------------- ##
> > 
> > abs_aux_dir = `$(lt__cd) '$(srcdir)/$(aux_dir)' && pwd`
> > -ltdl_ac_aux_dir = `$(extract_trace) AC_CONFIG_AUX_DIR $(srcdir)/libltdl/configure.ac`
> > +ltdl_ac_aux_dir = `SED=$(SED) $(extract_trace) AC_CONFIG_AUX_DIR $(srcdir)/libltdl/configure.ac`
> > 
> > configure_edit = $(bootstrap_edit) \
> > 	-e '/^\. /s|@auxscriptsdir\@|'$(abs_aux_dir)'|g' \
> > .........
> > 
> >   To: <bug-libtool <at> gnu.org>
> >   Subject: [GNU Libtool 2.4.2.418] testsuite: 21 122 123 124 125 129 failed
> > 
> 
> 
> Most of the remaining failures seem to be caused by the unset variable in the testsuite
> getting set to ‘no’ rather than ‘unset’ or ‘:’ as was originally intended on your host.
> However, Autotest already provides as_unset, so the following patch switches to that:
> 
[snip patch]

Thanks for the patch. Doesn't seem to help though.
   Subject: [GNU Libtool 2.4.2.418] testsuite: 21 122 123 124 125 129 failed

Here is a snip from testsuite.log
/opt/src/gnu/libtool-2.4.2.418/tests/standalone.at:50: $as_unset LIBTOOL; $as_unset LIBTOOLIZE; $MAKE $target
stderr:
sh: line 1: no: not found
automake: no failed with exit status: 127

I've attached testsuite.log.gz and testsuite.dir.tgz

> I’ve pushed this patch already.
> 

> The remaining failure looks to be a similar problem to the sed issue you 
> discovered but with grep.

I've confirmed that the test 21 failure is due to needing GNU grep.

> Since extract-trace is supposed to work standalone, I’ll find a way to 
> have funclib.sh find a suitable sed and grep, which will fix not only 
> the problems your patch works on, but also the remaining test failure, 
> and no doubt similar latent bugs in other funclib.sh clients

Looking forward to that fix.

> (bootstrap and libtoolize).
> 
> Please, let me know if your still having issues after that.
> 
> Cheers,
> 

Thanks for all your help.

-- 
Tim Rice				Multitalents
tim <at> multitalents.net
[testsuite.log.gz (application/octet-stream, attachment)]
[testsuite.dir.tgz (application/octet-stream, attachment)]

This bug report was last modified 11 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.