pkgsrc-Bulk archive

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

Re: pkgsrc Darwin 12.1.0/i386 2012-09-23 22:31



On Wed, 26 Sep 2012, Ryo ONODERA wrote:

build log of devel/nss is the following.

=== === === === === === === === === === === === === === === ===
=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for nss-3.13.6nb2
cd /Users/kristerw/pbulk/scratch/devel/nss/work/nss-3.13.6/mozilla/security/nss && 
/usr/bin/env USETOOLS=no BUILD_OPT=1 INCLUDES=-I/usr/pkg/include/nspr NSS_USE_SYSTEM_SQLITE=1 
EXTRA_SHARED_LIBS="-Wl,-R/usr/pkg/lib/nspr -Wl,-R,/usr/pkg/lib/nss -L/usr/pkg/lib/nspr 
-lplc4 -lplds4 -lnspr4" PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= 
PTHREAD_LIBS=-lpthread PTHREADBASE=/usr CC=gcc CFLAGS=-pipe\ -O2\ -I/usr/pkg/include\ 
-I/usr/pkg/include/nspr\ -I/usr/include CPPFLAGS=-no-cpp-precomp\ -isystem\ /usr/include\ 
-I/usr/pkg/include\ -I/usr/pkg/include/nspr\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ 
-I/usr/pkg/include\ -I/usr/pkg/include/nspr\ -I/usr/include COMPILER_RPATH_FLAG=-L 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\ -L/usr/pkg/lib/nspr\ -L/usr/lib LINKER_RPATH_FLAG=-L 
PATH=/Users/kristerw/pbulk/scratch/devel/nss/work/.wrapper/bin:/Users/kristerw/pbulk/scratch/devel/nss/work/.buildlink/bin:/Users/kristerw/pbulk/scratch/devel/nss/work/.gcc/bin:/Users/kristerw/pbulk/scratch/devel/nss/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/pkg/bin:/usr/X11/bin
 PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=gcc\ -E\ -no-cpp-precomp\ -isystem\ 
/usr/include HOME=/Users/kristerw/pbulk/scratch/devel/nss/work/.home CPP=gcc\ -E\ 
-no-cpp-precomp\ -isystem\ /usr/include LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg 
NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive 
X11BASE=/usr/X11 X11PREFIX=/usr/pkg PKGMANDIR=man PKGINFODIR=info MAKECONF=/dev/null 
OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ kristerw\ -g\ 
staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 755 
BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 755 
BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 644 
BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 644 
BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ 
staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 
BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 
BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 
BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 
BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ kristerw\ -g\ staff\ -m\ 2555 
BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 664 
BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 775 INSTALL_INFO= 
MAKEINFO=/Users/kristerw/pbulk/scratch/devel/nss/work/.tools/bin/makeinfo FLEX= BISON= 
PKG_CONFIG=/Users/kristerw/pbulk/scratch/devel/nss/work/.tools/bin/pkg-config 
PKG_CONFIG_LIBDIR=/Users/kristerw/pbulk/scratch/devel/nss/work/.buildlink/lib/pkgconfig:/Users/kristerw/pbulk/scratch/devel/nss/work/.buildlink/share/pkgconfig
 PKG_CONFIG_LOG=/Users/kristerw/pbulk/scratch/devel/nss/work/.pkg-config.log PKG_CONFIG_PATH= 
WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/bin/gnumake  build_coreconf 
build_dbm all
cd ../coreconf ;  /usr/bin/gnumake
cd nsinstall; /usr/bin/gnumake export
gnumake[2]: Nothing to be done for `export'.
cd nsinstall; /usr/bin/gnumake libs
gcc -arch i386 -o Darwin12.1.0_OPT.OBJ/nsinstall.o -c -O2 -fPIC -Di386 -Wall 
-fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK  -DXP_UNIX -UDEBUG 
-DNDEBUG -DUSE_UTIL_DIRECTLY -I/usr/pkg/include/nspr 
-I../../dist/Darwin12.1.0_OPT.OBJ/include -I../../dist/public/ 
-I../../dist/private/ -I../../dist/Darwin12.1.0_OPT.OBJ/include 
-I../../dist/public/coreconf -I../../dist/private/coreconf 
-I../../../dist/Darwin12.1.0_OPT.OBJ/include -I../../../dist/public/coreconf 
-I../../../dist/private/coreconf  nsinstall.c
/Users/kristerw/pbulk/scratch/devel/nss/work/.wrapper/bin/gcc[77]: eval: line 
1: /Users/kristerw/pbulk/scratch/devel/nss/work/.gcc/bin/gcc: cannot execute 
[Permission denied]
gnumake[2]: *** [Darwin12.1.0_OPT.OBJ/nsinstall.o] Error 126
gnumake[1]: *** [libs] Error 2
gnumake: *** [build_coreconf] Error 2
*** Error code 2

Stop.
bmake: stopped in /Users/kristerw/pbulk/pkgsrc/devel/nss
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/pkgsrc/devel/nss
=== === === === === === === === === === === === === === === ===

I suspect that something wrong is happened to pbulk environment.
Could you try the build outside pbulk environment?

It fails because the post-extract rule

  post-extract:
        find ${WRKDIR} -type f | xargs ${CHMOD} 644
        find ${WRKDIR} -type d | xargs ${CHMOD} 755

removes the executable bit from work/.gcc/bin/gcc.  Shouldn't it say
${WRKSRC} instead of ${WRKDIR}?

Anyway, changing it to ${WRKSRC} makes this work, but the build fails later with some dylib problem...

   /Krister


Home | Main Index | Thread Index | Old Index