pkgsrc-Users archive

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

libtool fails in pkg make, but succeeds in work dir



Help.

I am new to packaging.

I have submitted a new package, bouml, in pkgsrc-wip. To get the source, cd to /usr/pkgsrc/devel. Then, checkout wip/bouml.

$cd /usr/pkgsrc/devel
$cvs -d:pserver:anonymous%pkgsrc-wip.cvs.sourceforge.net@localhost:/cvsroot/pkgsrc-wip co -P -d bouml wip/bouml

When I run make, the source is retrieved, a patch is made to the author's makefile, and the build begins. The build uses the QT3 qmake tool to create a Makefile from a .pro file in the author's source directory, src. The resulting Makefile from QT3 is executed from the proper subdirectory, but fails. I can switch to the failed directory on the command line, and execute make on the same QT3 Makefile, and the build succeeds. Can anyone help me understand why libtool is failing while executing inside the pkgsrc framework???

Thanks in advance.

Failed make...
$make
....
===> Building for bouml-2.17.1
Generate BOUML and the hand made plug-outs
for i in src src/CppGenerator src/CppReverse src/JavaGenerator src/JavaReverse src/JavaCat src/IdlGenerator src/PlugOutUpgrade; do ( if [ -d $i ]; then cd $i ; /usr/pkg/qt3/bin/qmake ; make ; fi; ) ; done libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -DQT_NO_DEBUG -I/usr/pkg/qt3/mkspecs/netbsd-g++ -I. -Ibrowser -Idata -Idiagram -Idialog -Imisc -Itool -Ixpm -I../../../../../../pkg/include -I/usr/pkg/qt3/include -o BrowserAttribute.lo browser/BrowserAttribute.cpp
*** Error code 1

Succeeded make...
$ pwd
/usr/pkgsrc/devel/bouml/work/bouml_2.17.1
$ make
Generate BOUML and the hand made plug-outs
for i in src src/CppGenerator src/CppReverse src/JavaGenerator src/JavaReverse src/JavaCat src/IdlGenerator src/PlugOutUpgrade; do ( if [ -d $i ]; then cd $i ; /usr/pkg/qt3/bin/qmake ; make ; fi; ) ; done libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -DQT_NO_DEBUG -I/usr/pkg/qt3/mkspecs/netbsd-g++ -I. -Ibrowser -Idata -Idiagram -Idialog -Imisc -Itool -Ixpm -I../../../../../../pkg/include -I/usr/pkg/qt3/include -o BrowserAttribute.lo browser/BrowserAttribute.cpp libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -DQT_NO_DEBUG -I/usr/pkg/qt3/mkspecs/netbsd-g++ -I. -Ibrowser -Idata -Idiagram -Idialog -Imisc -Itool -Ixpm -I../../../../../../pkg/include -I/usr/pkg/qt3/include -o BrowserExtraMember.lo browser/BrowserExtraMember.cpp

CONFIGURATION
$ libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

Copyright (C) 2005  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

NetBSD papadog.genken 3.99.21 NetBSD 3.99.21 (XSPD) #0: Thu Jul 13 07:51:25 EST 
2006  solomon%papadog.genken@localhost:/usr/obj/sys/arch/i386/compile/XSPD i386






Home | Main Index | Thread Index | Old Index