Subject: [Solaris] py-clearsilver won't build
To: None <pkgsrc-users@netbsd.org>
From: Frederic Touboul <frederic.touboul@gmail.com>
List: pkgsrc-users
Date: 07/28/2006 12:00:45
Greetings,

While trying to build py-clearsilver, I encountered this problem
(using pkgsrc-2006Q2):

-----
===> Building for py23-clearsilver-0.10.1nb1
/usr/bin/rm -f /usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILDLINK_PREFIX.dl"=     "/usr >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILDLINK_PREFIX.gettext"=        "/usr/pkg >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILDLINK_PREFIX.iconv"=  "/usr/pkg >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILDLINK_PREFIX.pthread"=        "/usr >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILDLINK_PREFIX.python23"=       "/usr/pkg >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILDLINK_PREFIX.zlib"=   "/usr/pkg >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_GETTEXT_NGETTEXT"=        "yes >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_LIB_FOUND.c_r"=   "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_LIB_FOUND.dl"=    "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_LIB_FOUND.iconv"= "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_LIB_FOUND.intl"=  "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_LIB_FOUND.pthread"=       "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_LIB_FOUND.rt"=    "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo BUILTIN_PKG.zlib"=        "zlib-1.1.4 >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo H_DL"=    "/usr/include/dlfcn.h >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo H_GETTEXT"=       "__nonexistent__ >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo H_ICONV"= "/usr/include/iconv.h >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo H_PTHREAD"=       "/usr/include/pthread.h >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo H_ZLIB"=  "/usr/include/zlib.h >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo IS_BUILTIN.dl"=   "yes >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo IS_BUILTIN.gettext"=      "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo IS_BUILTIN.iconv"=        "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo IS_BUILTIN.pthread"=      "yes >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo IS_BUILTIN.zlib"= "yes >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo TOOLS_PREFIX.gmake"=      "/usr/pkg >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo USE_BUILTIN.dl"=  "yes >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo USE_BUILTIN.gettext"=     "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo USE_BUILTIN.iconv"=       "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo USE_BUILTIN.pthread"=     "yes >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo USE_BUILTIN.zlib"=        "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLNK_DLOPEN_REQUIRE_PTHREADS"=   "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLNK_PHYSICAL_PATH.LOCALBASE"=   "/usr/pkg >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLNK_PHYSICAL_PATH.WRKDIR"=
"/usr/pkgsrc/www/py-clearsilver/work >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLNK_PKG_DBDIR.gettext"=
"/var/db/pkg/gettext-lib-0.14.5 >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLNK_PKG_DBDIR.iconv"=   "/var/db/pkg/libiconv-1.10nb3
>> /usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLNK_PKG_DBDIR.python23"=
"/var/db/pkg/python23-2.3.5nb9 >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLNK_PKG_DBDIR.zlib"=    "/var/db/pkg/zlib-1.2.3 >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLTN_GETTEXT_NEEDS_ICONV"=       "yes >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _BLTN_H_GETTEXT"= "/usr/include/libintl.h >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _IGNORE_INFO_PATH"=       " >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _MANCOMPRESSED"=  "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _MANZ"=   "no >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _REV_ALL_PHASES"= "package\ install\ build\ configure\
wrapper\ patch\ extract\ tools\ fetch >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _USE_TOOLS"=      "\[\ awk\ basename\ cat\ chgrp\ chmod\
chown\ cmp\ cp\ cut\ date\ diff\ dirname\ echo\ egrep\ env\ expr\
false\ file\ find\ gmake\ grep\ gzcat\ head\ hostname\ id\ install\
ln\ ls\ mkdir\ mtree\ mv\ patch\ pax\ pwd\ rm\ rmdir\ sed\ sh\ sort\
tail\ tar\ test\ touch\ tr\ true\ uname\ wc\ xargs >>
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
/usr/ucb/echo _WRAP_PATH"=
"/usr/pkgsrc/www/py-clearsilver/work/.buildlink/bin:/usr/pkgsrc/www/py-clearsilver/work/.sunpro/bin:/usr/pkgsrc/www/py-clearsilver/work/.tools/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/sbin:/usr/bin:/opt/SUNWspro/bin:/usr/bin:/usr/ccs/bin:/usr/ccs/lib:/opt/netcool/omnibus/bin:/opt/netcool/ssm/bin
>> /usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp
if test -f /usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp;
then                              ( /usr/ucb/echo ".if
!defined(_MAKEVARS_MK)";                   /usr/ucb/echo
"_MAKEVARS_MK=   defined";                /usr/ucb/echo "";
                                   /usr/bin/cat
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp;
                    /usr/ucb/echo "";
             /usr/ucb/echo ".endif # _MAKEVARS_MK";                  )
> /usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk;
                               /usr/bin/rm -f
/usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk.tmp;
                  fi
/usr/bin/touch -f /usr/pkgsrc/www/py-clearsilver/work/.build_makevars.mk
cd /usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1 && cd
/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1 &&
                          /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\
-D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS= PTHREADBASE=/usr
DL_CFLAGS= DL_LDFLAGS= DL_LIBS= CC=cc CFLAGS=-O\ -I/usr/pkg/include\
-I/usr/pkg/include/python2.3\ -I/usr/include
CPPFLAGS=-I/usr/pkg/include\ -I/usr/pkg/include/python2.3\
-I/usr/include CXX=CC CXXFLAGS=-O\ -I/usr/pkg/include\
-I/usr/pkg/include/python2.3\ -I/usr/include
COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C
LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C
LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\
-L/usr/pkg/lib/python2.3/config\ -Wl,-R/usr/pkg/lib/python2.3/config\
-L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R
PATH=/usr/pkgsrc/www/py-clearsilver/work/.wrapper/bin:/usr/pkgsrc/www/py-clearsilver/work/.buildlink/bin:/usr/pkgsrc/www/py-clearsilver/work/.sunpro/bin:/usr/pkgsrc/www/py-clearsilver/work/.tools/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/sbin:/usr/bin:/opt/SUNWspro/bin:/usr/bin:/usr/ccs/bin:/usr/ccs/lib:/opt/netcool/omnibus/bin:/opt/netcool/ssm/bin:/usr/pkg/bin:/usr/openwin/bin
PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp CPP=cpp
LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-z\
defaultextract WHOLE_ARCHIVE_FLAG=-z\ allextract X11BASE=/usr/openwin
X11PREFIX=/usr/pkg PKGMANDIR=man MAKECONF=/dev/null OBJECT_FMT=ELF
USETOOLS=no BSD_INSTALL_PROGRAM=/usr/ucb/install\ -c\ -s\ -o\ root\
-g\ root\ -m\ 555            BSD_INSTALL_SCRIPT=/usr/ucb/install\ -c\
-o\ root\ -g\ root\ -m\ 555
BSD_INSTALL_LIB=/usr/ucb/install\ -c\ -o\ root\ -g\ root\ -m\ 555
                 BSD_INSTALL_DATA=/usr/ucb/install\ -c\ -o\ root\ -g\
root\ -m\ 444                      BSD_INSTALL_MAN=/usr/ucb/install\
-c\ -o\ root\ -g\ root\ -m\ 444
BSD_INSTALL=/usr/ucb/install
BSD_INSTALL_PROGRAM_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\ -m\
755       BSD_INSTALL_SCRIPT_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\
root\ -m\ 755                BSD_INSTALL_LIB_DIR=/usr/ucb/install\ -d\
-o\ root\ -g\ root\ -m\ 755
BSD_INSTALL_DATA_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\ -m\ 755
         BSD_INSTALL_MAN_DIR=/usr/ucb/install\ -d\ -o\ root\ -g\ root\
-m\ 755           BSD_INSTALL_GAME=/usr/ucb/install\ -c\ -s\ -o\ root\
-g\ root\ -m\ 555
BSD_INSTALL_GAME_DATA=/usr/ucb/install\ -c\ -o\ root\ -g\ root\ -m\
444                 BSD_INSTALL_GAME_DIR=/usr/ucb/install\ -d\ -o\
root\ -g\ root\ -m\ 755 INSTALL_INFO=
MAKEINFO=/usr/pkgsrc/www/py-clearsilver/work/.tools/bin/makeinfo
PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/www/py-clearsilver/work/.buildlink/lib/pkgconfig
PKG_CONFIG_LOG=/usr/pkgsrc/www/py-clearsilver/work/.pkg-config.log
WRAPPER_DEBUG=yes WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg
/usr/pkg/bin/gmake PYTHON_SITE=/usr/pkg/lib/python2.3/site-packages
-f Makefile all
gmake[1]: Entering directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/util'
*******************************************
** Building Dependencies
** OSNAME: SunOS
find: bad option -maxdepth
find: path-list predicate-list
gmake[1]: *** [Makefile.depends] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/util'
gmake[1]: Entering directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/cs'
*******************************************
** Building Dependencies
** OSNAME: SunOS
find: bad option -maxdepth
find: path-list predicate-list
gmake[1]: *** [Makefile.depends] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/cs'
gmake[1]: Entering directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/cgi'
*******************************************
** Building Dependencies
** OSNAME: SunOS
find: bad option -maxdepth
find: path-list predicate-list
gmake[1]: *** [Makefile.depends] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/cgi'
gmake[1]: Entering directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/python'
*******************************************
** Building Dependencies
** OSNAME: SunOS
find: bad option -maxdepth
find: path-list predicate-list
gmake[1]: *** [Makefile.depends] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/www/py-clearsilver/work/clearsilver-0.10.1/python'
gmake: *** [cs] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/www/py-clearsilver
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/www/py-clearsilver/work/.work.log
===>
*** Error code 1
-----

the file '/usr/pkgsrc/www/py-clearsilver/work/.work.log' does not seem
to have valuable information on the error. Does anyone have any idea
on how to solve this problem?

Regards,
Frederic.