[Top][All Lists]

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

automake-1.6.2: bug in nobase.test ?

From: Charles Wilson
Subject: automake-1.6.2: bug in nobase.test ?
Date: Fri, 05 Jul 2002 20:22:51 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

On cygwin, I'm failing nobase.test -- which has been expanded in a big way between 1.6.1 and 1.6.2. I expected that there would be problems with missing $(EXEEXT) -- but I didn't even get that far(*) It failed in install-fooexecLTLIBRARIES

/bin/bash ./mkinstalldirs /usr/src/automake/devel/automake-1.6.2/.build/tests/testSubDir/inst/foo /bin/bash ./libtool --mode=install /usr/bin/install -c sub/ /usr/src/automake/devel/automake-1.6.2/.build/tests/testSubDir/inst/foo/ /usr/bin/install -c sub/.libs/libbase.dll.a /usr/src/automake/devel/automake-1.6.2/.build/tests/testSubDir/inst/foo/libbase.dll.a
dlpath=`bash 2>&1 -c '. sub/.libs/sub/libbase.lai;echo $dlname'`
dldir=/usr/src/automake/devel/automake-1.6.2/.build/tests/testSubDir/inst/foo/`dirname $dlpath`
dirname: too many arguments
Try `dirname --help' for more information.
make: *** [install-fooexecLTLIBRARIES] Error 1
FAIL: nobase.test

The interesting thing is that libtool is trying to access libbase.lai in sub/.libs/SUB/ -- but it's actually in sub/.libs/

Is this an automake bug, or a libtool bug? (testing on linux worked, so I'm guessing that this is a cygwin specific libtool bug in the postinstall_cmds)

(*) This looks like a libtool bug, but I wanted to post to automake because I *still* think there is going to be a problem with missing $EXEEXT in nobase.test, and wanted to 'raise the alarm'...


from <builddir>/tests/testSubDir:
$ ls -aR
.            aclocal.m4  mkinstalldirs
..           autom4te.cache  depcomp       source.c
.deps        config.guess    inst          source.o
.libs        config.log      install-sh    source2.c
Makefile     config.status   libtool       source2.lo  config.sub     source2.o  configure       missing       sub

.  ..  source.Po  source2.Plo

.  ..  source2.o

.  ..  output.0  requests  traces.0

.  ..  foo

.  ..  base.dat  base.h  libbase.a  libbase.dll.a  sub

.  ..  nobase.dat  nobase.h

.          base.dat  libbase.a     nobase.dat
..         base.exe    nobase.exe
.dirstamp  base.h    libnobase.a   nobase.h

.              cygnobase-0.dll   libnobase.dll.a
..             libbase.a        libbase.lai
cygbase-0.dll  libbase.dll.a    libnobase.a  libnobase.lai

reply via email to

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