Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2015 16:41:26 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285280 - head/release/picobsd/build
Message-ID:  <201507081641.t68GfQ0i012498@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Wed Jul  8 16:41:25 2015
New Revision: 285280
URL: https://svnweb.freebsd.org/changeset/base/285280

Log:
  trap some errors when building picobsd

Modified:
  head/release/picobsd/build/picobsd

Modified: head/release/picobsd/build/picobsd
==============================================================================
--- head/release/picobsd/build/picobsd	Wed Jul  8 16:37:48 2015	(r285279)
+++ head/release/picobsd/build/picobsd	Wed Jul  8 16:41:25 2015	(r285280)
@@ -725,10 +725,10 @@ populate_mfs_tree() {
     # /stand/crunch is our main binary, we extract its libs
     find_progs ${dst}/stand/crunch
     if [ -n "${u_libs}" ] ; then
-	mkdir -p ${dst}/lib && cp -p ${u_libs} ${dst}/lib
+	mkdir -p ${dst}/lib && (cp -p ${u_libs} ${dst}/lib || log "copy libs ${u_libs} failed" )
 	mkdir -p ${dst}/libexec
         create_includes_and_libraries2 libexec/rtld-elf
-        find_progs ld-elf.so.1 && cp -p ${u_progs} ${dst}/libexec
+        find_progs ld-elf.so.1 && ( cp -p ${u_progs} ${dst}/libexec || log "copy ${u_progs} failed" )
     fi
 
     [ -n "${copy_files}" ] && do_copyfiles ${dst} copy_files
@@ -959,6 +959,7 @@ set_build_parameters() {
 	export WITH_GNUCXX=yes
 	export WITHOUT_CLANG=yes
 	export WITHOUT_ICONV=yes
+	export WITHOUT_TESTS=yes
 
 	# XXX why change machine_arch ?
 	#-- export MACHINE_ARCH=`uname -m` MACHINE=`uname -m`



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507081641.t68GfQ0i012498>