bug-libtool
[Top][All Lists]
Advanced

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

libtool-2.2.11a on AIX 5.3 / 5.3 current git master - tests/nomode.test


From: Rainer Tammer
Subject: libtool-2.2.11a on AIX 5.3 / 5.3 current git master - tests/nomode.test
Date: Wed, 04 Aug 2010 08:41:26 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0

Hello Ralf,
now that I can compile the current version I get the following error
during make -k check:

FAIL: tests/nomode.test

This failure is due to the following error:

$ ./libtool
./libtool[1591]: shift: bad number

-> code
  # save first non-option argument
  nonopt="$opt"; shift

But there is nothing in $1, so the shift fails.

I avoided this by first testing if $1 is available

  # save first non-option argument
  nonopt="$opt"
  if test -n "${1}"; then
    shift
  fi

result:

# ./libtool
libtool: error: you must specify a MODE.


The output of libtool-2.2.10 is:

address@hidden rc:127 # libtool
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
libtool: warning: cannot infer operation mode without MODE-ARGS
libtool: you must specify a MODE
Try `libtool --help' for more information.


Bye
  Rainer




Attachment: testsuite.log.gz
Description: GNU Zip compressed data


reply via email to

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