Re: [patch] 1.5.26 do echo=echo if necessary

2008-03-09 Thread Thien-Thi Nguyen
() Peter O'Gorman <[EMAIL PROTECTED]>
() Sat, 08 Mar 2008 17:33:47 -0600

   It seems likely that you have a configure that was created with
   a different version of libtool than ltmain.sh was created with.

Are you talking about the configure script in
libtool-1.5.26.tar.gz?  I don't see how that enters into the
post-install problem of trying to install Automake 1.10.1.

   For matching versions of libtool.m4 and ltmain.sh from
   libtool-1.5.26, the generated libtool script should already
   have:

   # An echo program that does not interpret backslashes.
   echo="echo"

OK.  Perhaps this is a problem w/ Automake, then.

thi


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: [patch] 1.5.26 do echo=echo if necessary

2008-03-09 Thread Ralf Wildenhues
Hi Thien-Thi,

* Thien-Thi Nguyen wrote on Sun, Mar 09, 2008 at 10:29:13AM CET:
> () Peter O'Gorman <[EMAIL PROTECTED]>
> () Sat, 08 Mar 2008 17:33:47 -0600
> 
>It seems likely that you have a configure that was created with
>a different version of libtool than ltmain.sh was created with.
> 
> Are you talking about the configure script in
> libtool-1.5.26.tar.gz?  I don't see how that enters into the
> post-install problem of trying to install Automake 1.10.1.
> 
>For matching versions of libtool.m4 and ltmain.sh from
>libtool-1.5.26, the generated libtool script should already
>have:
> 
># An echo program that does not interpret backslashes.
>echo="echo"
> 
> OK.  Perhaps this is a problem w/ Automake, then.

You probably have to let aclocal know where Libtool 2.2's macro files
are.  I do that with
  echo "$libtool_prefix/share/aclocal" \
   >> "$automake_prefix/share/aclocal/dirlist"

Cheers,
Ralf


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool runs compiler command in wrong locale

2008-03-09 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Thu, Mar 06, 2008 at 08:42:02PM CET:
> Playing on the rather safe side, I consider applying this patch for now.
> OK?

No comments, so I applied this now.

Cheers,
Ralf

> 2008-03-06  Bruno Haible  <[EMAIL PROTECTED]>
>   and Ralf Wildenhues  <[EMAIL PROTECTED]>
> 
>   Fix compiler output to be in the user locale.
>   * libltdl/config/general.m4sh (func_show_eval_locale): New
>   function, for running commands in the user locale.
>   * libltdl/config/ltmain.m4sh (func_mode_compile): Use it for
>   compiling.
>   * tests/localization.at (localized compiler messages): New test.
>   * Makefile.am: Adjust.
>   Report by Bruno Haible.


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: cross compilation to w32

2008-03-09 Thread Roumen Petrov

Ralf Wildenhues wrote:

Hello,

we have a couple of problems wrt. cross compilation to w32 in 2.2.
When I cross-compile from GNU/Linux to MinGW using Debian's mingw32
packages (i586-mingw32msvc-gcc etc.), then link mode already
requires executing a host program; for example:

cd tests/demo
/bin/sh -x ./libtool --tag=CC   --mode=link i586-mingw32msvc-gcc  -g -O2 
-export-dynamic -dlpreopen libhello.la -L/usr/i586-mingw32msvc/lib -o 
helldl.exe dlmain.o

[...]
+ ./helldl.exe --lt-dump-script
Wine exited with a successful status
+ exit 0

This means that building will fail on systems without a simulator.

The other problem I've stumbled over so far is this one: the
*_ltshwrapper file has DOS line endings.  This causes 'make install'
to fail, because the native /bin/sh cannot parse the script:

  /bin/sh ./libtool --mode=install /usr/bin/install -c 'hell.exe' 
'/home/ralf/download/cvs/libtool/HEAD/build-mingw/_inst/bin/hell.exe'
: command not foundapper: line 2:
: command not foundapper: line 11:
: command not foundapper: line 16:
./.libs/hell_ltshwrapper: line 26: syntax error near unexpected token `newline'
./.libs/hell_ltshwrapper: line 26: `  case `(set -o) 2>/dev/null` in *posix*) 
se' -o posix;; esac
libtool: install: invalid libtool wrapper script `./.libs/hell_ltshwrapper'

Does anybody see easy ways out?

Verbose old suite log and new suite testsuite.log attached, bzip2
(tests run with CVS HEAD plus a couple of pending patches).

Thanks,
Ralf



Please find attached my check.log (12 of 77 tests failed).
Tested libtool 2.2.
env:
  gcc (GCC) 3.4.5 (mingw special)
  wine(0.9.24).

Make install is fine.

Did you run tests/install inside wine session or you use binfmt for run 
w32 applications test inside linux ?


Roumen
make  check-recursive
make[1]: Entering directory `[LOCAL]/mingw-cross/libtool-2.2/.build'
make[2]: Entering directory `[LOCAL]/mingw-cross/libtool-2.2/.build'
make  check-TESTS check-local
make[3]: Entering directory `[LOCAL]/mingw-cross/libtool-2.2/.build'
PASS: tests/link.test
PASS: tests/link-2.test
PASS: tests/nomode.test
PASS: tests/objectlist.test
PASS: tests/quote.test
PASS: tests/sh.test
PASS: tests/suffix.test
PASS: tests/tagtrace.test
PASS: tests/cdemo-static.test
PASS: tests/cdemo-make.test
PASS: tests/cdemo-exec.test
PASS: tests/demo-static.test
PASS: tests/demo-make.test
PASS: tests/demo-exec.test
PASS: tests/demo-inst.test
PASS: tests/demo-unst.test
PASS: tests/depdemo-static.test
PASS: tests/depdemo-make.test
PASS: tests/depdemo-exec.test
PASS: tests/depdemo-inst.test
PASS: tests/depdemo-unst.test
PASS: tests/mdemo-static.test
PASS: tests/mdemo-make.test
PASS: tests/mdemo-exec.test
PASS: tests/mdemo-inst.test
PASS: tests/mdemo-unst.test
PASS: tests/cdemo-conf.test
PASS: tests/cdemo-make.test
SKIP: tests/cdemo-exec.test
PASS: tests/demo-conf.test
PASS: tests/demo-make.test
SKIP: tests/demo-exec.test
FAIL: tests/demo-inst.test
SKIP: tests/demo-unst.test
SKIP: tests/demo-deplibs.test
PASS: tests/depdemo-conf.test
PASS: tests/depdemo-make.test
SKIP: tests/depdemo-exec.test
FAIL: tests/depdemo-inst.test
SKIP: tests/depdemo-unst.test
PASS: tests/mdemo-conf.test
PASS: tests/mdemo-make.test
SKIP: tests/mdemo-exec.test
FAIL: tests/mdemo-inst.test
SKIP: tests/mdemo-unst.test
FAIL: tests/mdemo-dryrun.test
PASS: tests/mdemo2-conf.test
SKIP: tests/mdemo2-make.test
SKIP: tests/mdemo2-exec.test
PASS: tests/pdemo-conf.test
PASS: tests/pdemo-make.test
SKIP: tests/pdemo-exec.test
FAIL: tests/pdemo-inst.test
PASS: tests/demo-nofast.test
PASS: tests/demo-make.test
SKIP: tests/demo-exec.test
FAIL: tests/demo-inst.test
SKIP: tests/demo-unst.test
PASS: tests/depdemo-nofast.test
PASS: tests/depdemo-make.test
SKIP: tests/depdemo-exec.test
FAIL: tests/depdemo-inst.test
SKIP: tests/depdemo-unst.test
PASS: tests/demo-pic.test
PASS: tests/demo-make.test
SKIP: tests/demo-exec.test
PASS: tests/demo-nopic.test
PASS: tests/demo-make.test
SKIP: tests/demo-exec.test
PASS: tests/cdemo-shared.test
PASS: tests/cdemo-make.test
SKIP: tests/cdemo-exec.test
PASS: tests/demo-shared.test
PASS: tests/demo-make.test
SKIP: tests/demo-exec.test
FAIL: tests/demo-inst.test
FAIL: tests/demo-hardcode.test
FAIL: tests/demo-relink.test
PASS: tests/demo-noinst-link.test
SKIP: tests/demo-unst.test
PASS: tests/depdemo-shared.test
PASS: tests/depdemo-make.test
SKIP: tests/depdemo-exec.test
FAIL: tests/depdemo-inst.test
SKIP: tests/depdemo-relink.test
SKIP: tests/depdemo-unst.test
PASS: tests/mdemo-shared.test
PASS: tests/mdemo-make.test
SKIP: tests/mdemo-exec.test
FAIL: tests/mdemo-inst.test
SKIP: tests/mdemo-unst.test
PASS: tests/cdemo-undef.test
PASS: tests/cdemo-make.test
SKIP: tests/cdemo-exec.test
PASS: tests/tagdemo-static.test
PASS: tests/tagdemo-make.test
PASS: tests/tagdemo-exec.test
PASS: tests/tagdemo-conf.test
PASS: tests/tagdemo-make.test
SKIP: tests/tagdemo-exec.test
PASS: tests/tagdemo-shared.test
PASS: tests/tagdemo-make.test
SKIP: tests/tagdemo-exec.test
PASS: tests/tagdemo-undef.test
PASS: tests/tagdemo-make.te

Re: cross compilation to w32

2008-03-09 Thread Ralf Wildenhues
* Roumen Petrov wrote on Sun, Mar 09, 2008 at 05:01:30PM CET:
>
> Please find attached my check.log (12 of 77 tests failed).

Can you also post verbose log output, and also test the new testsuite's
results (see README for details on how to do all this)?  Thanks.

> Tested libtool 2.2.
> env:
>   gcc (GCC) 3.4.5 (mingw special)
>   wine(0.9.24).
>
> Make install is fine.
>
> Did you run tests/install inside wine session or you use binfmt for run  
> w32 applications test inside linux ?

binfmt.

Cheers,
Ralf


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: [patch] 1.5.26 do echo=echo if necessary

2008-03-09 Thread Thien-Thi Nguyen
() Ralf Wildenhues <[EMAIL PROTECTED]>
() Sun, 9 Mar 2008 15:08:47 +0100

   You probably have to let aclocal know where Libtool 2.2's
   macro files are.  I do that with
 echo "$libtool_prefix/share/aclocal" \
  >> "$automake_prefix/share/aclocal/dirlist"

Hmm.  Maybe you are right (indirectly).  Here is what i see:

- Libtool 1.5.24 installed under one prefix (in this case, ~/local)
- Libtool 2.2 installed under another prefix (/tmp/a/b/c)
- Automake 1.10.1 built but not installed
  - configure --prefix /tmp/a/b/c
  - "make check" => FAIL for 14 tests

After uninstalling Libtool 2.2, i see:

- Libtool 1.5.24 installed under one prefix (in this case, ~/local)
- Automake 1.10.1 built but not installed
  - configure --prefix /tmp/a/b/c
  - "make check" => SKIP (for those tests that had FAIL before)

After reconfiguring Automake 1.10.1, i see:

- Libtool 1.5.24 installed under one prefix (in this case, ~/local)
- Automake 1.10.1 built but not installed
  - configure --prefix ~/local
  - "make check" => PASS (for those tests that had FAIL before)

Perhaps we should add a blurb to Automake's README, such as:

|If you have previously installed Libtool with prefix P, and are
|experiencing FAILed tests with "make check", try to reconfigure
|using prefix P.

Either that, or tests/defs.in (~ line 286) needs to infer its
`aclocaldir' from the installed Libtool's location (somehow).

thi


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: cross compilation to w32

2008-03-09 Thread Roumen Petrov

Roumen Petrov wrote:

Ralf Wildenhues wrote:

* Roumen Petrov wrote on Sun, Mar 09, 2008 at 05:01:30PM CET:

[SNIP]


Hmm during the tests tests/demo/helldl.exe is compiled many times.
First is ok, later don't produce output(exit code 127) and 
tests/demo/.libs/helldl.exe crash.


Roumen


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: [libtool 2.2] testsuite: 40 41 42 44 45 46 48 49 50 51 52 53 failed

2008-03-09 Thread Peter O'Gorman
snowcrash+libtool wrote:
> (hm. looks like a list 'scrip is needed for bug-libtool. 'take 2'.)
> 

> 
>   13: duplicate_deps.at:25 preserve duplicate convenience deps
>   libtool
>   17: convenience.at:109 F77 convenience archives
>   F77 libtool
>   18: convenience.at:169 FC convenience archives
>   FC libtool
>   19: convenience.at:229 Java convenience archives
>   GCJ libtool
>   21: link-order2.at:46  Link order of deplibs.
>   libtool
>   55: template.at:126template test with subdirs
>   CXX libtool
> 

I have tried and failed to reproduce your failures on powerpc Mac OS X
10.4, and i386 Mac OS X 10.4 and 10.5.

What versions of autoconf and automake did you use?

Peter
-- 
Peter O'Gorman
http://pogma.com


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: [libtool 2.2] testsuite: 40 41 42 44 45 46 48 49 50 51 52 53 failed

2008-03-09 Thread snowcrash+libtool
hm.

>  What versions of autoconf and automake did you use?

local builds of,

  AUTOCONF v2.61
  AUTOMAKE v1.10.1


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool