automake
[Top][All Lists]
Advanced

[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/libbase.la /usr/src/automake/devel/automake-1.6.2/.build/tests/testSubDir/inst/foo/libbase.la /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'...

---Chuck


from <builddir>/tests/testSubDir:
$ ls -aR
.:
.            aclocal.m4      configure.in  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
Makefile.am  config.sub      ltmain.sh     source2.o
Makefile.in  configure       missing       sub

./.deps:
.  ..  source.Po  source2.Plo

./.libs:
.  ..  source2.o

./autom4te.cache:
.  ..  output.0  requests  traces.0

./inst:
.  ..  foo

./inst/foo:
.  ..  base.dat  base.h  libbase.a  libbase.dll.a  sub

./inst/foo/sub:
.  ..  nobase.dat  nobase.h

./sub:
.          base.dat  libbase.a     nobase.dat
..         base.exe  libbase.la    nobase.exe
.dirstamp  base.h    libnobase.a   nobase.h
.libs      base.sh   libnobase.la  nobase.sh

./sub/.libs:
.              cygnobase-0.dll  libbase.la   libnobase.dll.a
..             libbase.a        libbase.lai  libnobase.la
cygbase-0.dll  libbase.dll.a    libnobase.a  libnobase.lai




reply via email to

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