>Number: 185052 >Category: bin >Synopsis: buildworld fails if WITHOUT_CASPER=YES is set >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 20 23:30:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Stefan Hegnauer >Release: 11.0-current r259518 >Organization: >Environment: FreeBSD BUILDMASTER 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r259518: Tue Dec 17 18:33:11 CET 2013 root@BUILDMASTER:/usr/obj/usr/src/sys/ASUS i386
Differences to GENERIC: - no modules are built - not debugging, WITNESS etc. enabled, MALLOC_PRODUCTION=YES - march=geode >Description: Using FreeBSD to build NanoBSD images in a Virtualbox VM. If WITHOUT_CASPER=YES is set togheter with WITHOUT_CAPSICUM=YES, buildworld fails: " ... ===> lib/clang/libllvmsupport (obj,depend,all,install) /usr/obj/nanobsd.sstream//usr/src/tmp/usr/src/lib/clang/libllvmsupport created for /usr/src/lib/clang/libllvmsupport rm -f .depend mkdep -f .depend -a -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"\" -DNDEBUG -I/usr/obj/nanobsd.sstream//usr/src/tmp/legacy/usr/include -std=gnu99 /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ConvertUTF.c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regcomp.c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regerror.c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regexec.c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/r egfree.c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regstrlcpy.c mkdep -f .depend -a -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"\" -DNDEBUG -I/usr/obj/nanobsd.sstream//usr/src/tmp/legacy/usr/include /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloat.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APInt.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APSInt.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Allocator.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Atom ic.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/BlockFrequency.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/BranchProbability.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/CommandLine.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ConstantRange.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ConvertUTFWrapper.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/CrashRecoveryContext.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DAGDeltaAlgorithm.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Debug.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DeltaAlgorithm.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Dwarf.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DynamicLibrary.cpp /usr/src/lib/clang/libllvmsupport/../../ ../contrib/llvm/lib/Support/Errno.cpp /usr/s! rc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ErrorHandling.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/FileOutputBuffer.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/FoldingSet.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/FormattedStream.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/GraphWriter.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Hashing.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Host.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IncludeFile.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IntEqClasses.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IntervalMap.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IntrusiveRefCntPtr.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IsIn f.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IsNAN.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Locale.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/LockFileManager.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ManagedStatic.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Memory.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/MemoryBuffer.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/MemoryObject.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Mutex.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Path.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PathV2.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PluginLoader.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PrettyStackTrace.cpp /us r/src/lib/clang/libllvmsupport/../../../cont! rib/llvm/! lib/Support/Process.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Program.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/RWMutex.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Regex.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Signals.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SmallPtrSet.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SmallVector.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SourceMgr.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Statistic.cpp /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/StreamableMemoryObject.cpp /usr/src/lib/clang...skipping... pdump/print-gre.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-hsrp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-icmp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-igmp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-igrp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ip.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ipcomp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ipfc.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ipnet.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ipx.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-isakmp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-isoclns.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-juniper.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-krb.c /usr/src/usr.sbin/tcpdump/tcpdump/../ ../../contrib/tcpdump/print-l2tp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lane.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ldp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-llc.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lldp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lmp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lspping.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lwapp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-lwres.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-mobile.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-mpcp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-mpls.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-msdp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-msnlb.c /usr/src/usr.sbin/tcp dump/tcpdump/../../../contrib/tcpdump/print-! nfs.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ntp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-null.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-olsr.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ospf.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-otv.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pgm.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pim.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ppi.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ppp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pppoe.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pptp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-radius.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-raw.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ print-rip.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-rpki-rtr.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-rrcp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-rsvp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-rx.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-sctp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-sflow.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-sip.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-sl.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-sll.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-slow.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-smb.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-snmp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-stp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/t cpdump/print-sunatm.c /usr/src/usr.sbin/tcpd! ump/tcpdu! mp/../../../contrib/tcpdump/print-sunrpc.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-symantec.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-syslog.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-tcp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-telnet.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-tftp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-timed.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-tipc.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-token.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-udld.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-udp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-vjc.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-vqp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-vrrp.c /usr/src/usr .sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-vtp.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-vxlan.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-wb.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-zephyr.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-zeromq.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/setsignal.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/signature.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/smbutil.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/tcpdump.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/util.c version.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-babel.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-dhcp6.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-frag6.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-icmp6.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../! contrib/t! cpdump/print-ip6.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ip6opts.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-mobility.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ospf6.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ripng.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-rt6.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pflog.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/addrtoname.c:36:10: fatal error: 'libcapsicum.h' file not found #include <libcapsicum.h> ^ 1 error generated. mkdep: compile failed *** [.depend] Error code 1 make[5]: stopped in /usr/src/usr.sbin/tcpdump/tcpdump 1 error make[5]: stopped in /usr/src/usr.sbin/tcpdump/tcpdump *** [depend] Error code 2 make[4]: stopped in /usr/src/usr.sbin/tcpdump 1 error make[4]: stopped in /usr/src/usr.sbin/tcpdump *** [depend] Error code 2 make[3]: stopped in /usr/src/usr.sbin 1 error make[3]: stopped in /usr/src/usr.sbin *** [usr.sbin.depend__D] Error code 2 make[2]: stopped in /usr/src 1 error make[2]: stopped in /usr/src *** [_depend] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src" >How-To-Repeat: Buildworld with (at least) WITHOUT_CAPSICUM=YES and WITHOUT_CASPER=YES in sstream.conf (src.conf). Original nanoBSD configuration file: ---- # sstream.conf - configuration for SSTREAM sound streamer on Alix.3d2 # Name of this NanoBSD build. (Used to construct workdir names) NANO_NAME=sstream # Source tree directory NANO_SRC=/usr/src NANO_ARCH=i386 # Parallel Make NANO_PMAKE="make -j1" #NANO_PMAKE="make -j"`sysctl -n hw.ncpu` # Kernel config file to use NANO_KERNEL=SSTREAM NANO_BOOT0CFG="-o packet -s 1 -m 3" NANO_BOOTLOADER="boot/boot0sio" # The drive name of the media at runtime NANO_DRIVE=ada0 # Target media size in 512 bytes sectors # PCEngines 4GB (-e required for expr to work for 4GB!) NANO_MEDIASIZE=`expr -e 4017807360 / 512` # Media geometry, only relevant if bios doesn't understand LBA. #NANO_SECTS=63 #NANO_HEADS=16 #FlashDevice SanDisk 2G # Number of code images on media (1 or 2) NANO_IMAGES=2 # 0 -> Leave second image all zeroes so it compresses better. # 1 -> Initialize second image with a copy of the first NANO_INIT_IMG2=0 # Size of code file system in 512 bytes sectors # If zero, size will be as large as possible. NANO_CODESIZE=0 # Size of configuration file system in 512 bytes sectors # Cannot be zero. NANO_CONFSIZE=20480 # Size of data file system in 512 bytes sectors # If zero: no partition configured. # If negative: max size possible NANO_DATASIZE=0 # Size of the /etc ramdisk in 512 bytes sectors NANO_RAM_ETCSIZE=20480 # Size of the /tmp+/var ramdisk in 512 bytes sectors NANO_RAM_TMPVARSIZE=40960 # configuration options customize_cmd cust_comconsole customize_cmd cust_allow_ssh_root customize_cmd cust_pkgng customize_cmd cust_my_pkgng customize_cmd cust_install_files customize_cmd cust_install_my_files late_customize_cmd patch_fstab late_customize_cmd patch_hints ####################################################################### # Install the stuff under ./sstream/Files cust_install_my_files () ( cd ${NANO_TOOLS}/sstream/Files find . -print | grep -Ev '/(CVS|\.svn)' | cpio -Ldumpv ${NANO_WORLDDIR} ) ####################################################################### # Install packages from ${NANO_PACKAGE_DIR}/../sstream/Pkg cust_my_pkgng () ( # If the package directory doesn't exist, we're done. if [ ! -d ${NANO_TOOLS}/sstream/Pkg ]; then echo "DONE 0 packages" return 0 fi # Find a pkg-* package for x in `find -s ${NANO_TOOLS}/sstream/Pkg -iname 'pkg-*'`; do _NANO_PKG_PACKAGE=`basename "$x"` done if [ -z "${_NANO_PKG_PACKAGE}" -o ! -f "${NANO_TOOLS}/sstream/Pkg/${_NANO_PKG_PACKAGE}" ]; then echo "FAILED: need a pkg/ package for bootstrapping" exit 2 fi # Copy packages into chroot mkdir -p ${NANO_WORLDDIR}/Pkg ( cd ${NANO_TOOLS}/sstream/Pkg find ${NANO_PACKAGE_LIST} -print | cpio -Ldumpv ${NANO_WORLDDIR}/Pkg ) #Bootstrap pkg chroot ${NANO_WORLDDIR} sh -c \ "env ASSUME_ALWAYS_YES=YES SIGNATURE_TYPE=none /usr/sbin/pkg add /Pkg/${_NANO_PKG_PACKAGE}" chroot ${NANO_WORLDDIR} sh -c "pkg -N >/dev/null 2>&1;" if [ "$?" -ne "0" ]; then echo "FAILED: pkg bootstrapping faied" exit 2 fi rm -f ${NANO_WORLDDIR}/Pkg/pkg-* # Count & report how many we have to install todo=`ls ${NANO_WORLDDIR}/Pkg | /usr/bin/wc -l` todo=$(expr $todo + 1) # add one for pkg since it is installed already echo "=== TODO: $todo" ls ${NANO_WORLDDIR}/Pkg echo "===" while true do # Record how many we have now have=`chroot ${NANO_WORLDDIR} sh -c \ 'env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg info | /usr/bin/wc -l'` # Attempt to install more packages # ...but no more than 200 at a time due to (XXX still the case?) pkg_add's internal # limitations. chroot ${NANO_WORLDDIR} sh -c \ 'ls Pkg/*txz | xargs -n 200 env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg add ' || true # See what that got us now=`chroot ${NANO_WORLDDIR} sh -c \ 'env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg info | /usr/bin/wc -l'` echo "=== NOW $now" chroot ${NANO_WORLDDIR} sh -c \ 'env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg info' echo "===" if [ $now -eq $todo ] ; then echo "DONE $now packages" break elif [ $now -eq $have ] ; then echo "FAILED: Nothing happened on this pass" exit 2 fi done rm -rf ${NANO_WORLDDIR}/Pkg ) patch_fstab() ( # add fstab entry to automatically mount //samba/music #echo "//nobody@samba/music /media smbfs ro,noauto,-N,-E=UTF-8:cp858 0 0" >> ${NANO_WORLDDIR}/etc/fstab echo "# NFS from Samba-Jail running net/unfs3 which cannot lock files" >> ${NANO_WORLDDIR}/etc/fstab echo "samba:/server/My\040Music /media nfs ro,soft,intr,nolockd,rsize=1024,wsize=1024 0 0" >> ${NANO_WORLDDIR}/etc/fstab ) ####################################################################### patch_hints() ( # add hint for glxiic interrupt (free irq 5, normally used for 2nd printer) echo hint.glxiic.0.irq="5" >> ${NANO_WORLDDIR}/boot/device.hints ) ####################################################################### # Options to put in make.conf during buildworld only # CONF_BUILD=' ' # Options to put in make.conf during installworld only CONF_INSTALL=' WITHOUT_TOOLCHAIN=YES ' # Options to put in make.conf during both build- & installworld. CONF_WORLD=' COMCONSOLE_SPEED=38400 BOOT_COMCONSOLE_SPEED=38400 CFLAGS= -O2 -fno-strict-aliasing -pipe COPTFLAGS= -O -pipe CPUTYPE?=geode NO_MODULES=YES MALLOC_PRODUCTION=YES # Atheros debug tools #LOCAL_DIRS=tools/tools/ath/athstats tools/tools/ath/athsurvey tools/tools/net80211/wlanstats #LOCAL_DIRS=tools/tools/athradar tools/tools/ath/athaggrstats tools/tools/ath/athratestats tools/tools/ath/athstats tools/tools/ath/athsurvey tools/tools/ath/athalq tools/tools/net80211/wlanstats #LOCAL_DIRS=tools/tools/ath tools/tools/net80211/wlanstats WITHOUT_ACCT=YES WITHOUT_ACPI=YES WITHOUT_AMD=YES WITHOUT_APM=YES WITHOUT_ASSERT_DEBUG=YES ##WITHOUT_AT=YES WITHOUT_TESTS=YES WITHOUT_ATM=YES WITHOUT_AUDIT=YES WITHOUT_AUTHPF=YES WITHOUT_BLUETOOTH=YES WITH_BSD_GREP=YES WITHOUT_BSNMP=YES WITHOUT_CALENDAR=YES WITHOUT_CAPSICUM=YES WITHOUT_CASPER=YES WITHOUT_CDDL=YES #WITHOUT_CLANG=YES #WITHOUT_CPP=YES #WITHOUT_CRYPT=YES WITHOUT_CTM=YES #WITHOUT_CXX=YES WITHOUT_DICT=YES #WITHOUT_DYNAMICROOT=YES #WITHOUT_EXAMPLES=YES WITHOUT_FLOPPY=YES #WITHOUT_FORTH=YES #WITHOUT_FP_LIBC=YES WITHOUT_FREEBSD_UPDATE=YES WITHOUT_GAMES=YES WITHOUT_GCOV=YES WITHOUT_GDB=YES WITHOUT_GPIB=YES #WITHOUT_GPIO=YES #WITHOUT_GROFF=YES WITHOUT_GSSAPI=YES WITHOUT_HTML=YES #WITHOUT_INET=YES #WITHOUT_INET6=YES WITHOUT_INFO=YES #WITHOUT_INSTALLLIB=YES WITHOUT_IPFILTER=YES WITHOUT_IPFW=YES WITHOUT_IPX=YES WITHOUT_JAIL=YES WITHOUT_KDUMP=YES WITHOUT_KERBEROS=YES WITHOUT_KERNEL_SYMBOLS=YES #WITHOUT_LDNS=YES #XXX WITH_LIBCPLUSPLUS=YES #WITHOUT_LEGACY_CONSOLE=YES #WITHOUT_LOCALES=YES #WITHOUT_LOCATE=YES WITHOUT_LPR=YES WITHOUT_MAIL=YES #WITHOUT_MAN=YES WITHOUT_NDIS=YES #WITHOUT_NETCAT=YES #WITHOUT_NETGRAPH=YES WITHOUT_NIS=YES WITHOUT_NLS=YES WITHOUT_NLS_CATALOGS=YES #WITHOUT_NS_CACHING=YES #WITHOUT_NTP=YES WITHOUT_PC_SYSINSTALL=YES #WITHOUT_PF=YES #WITHOUT_PKGBOOTSTRAP=YES WITHOUT_PMC=YES WITHOUT_PORTSNAP=YES #WITHOUT_PPP=YES WITHOUT_PROFILE=YES WITHOUT_QUOTAS=YES WITHOUT_RCMDS=YES WITHOUT_RCS=YES WITHOUT_RESCUE=YES #WITHOUT_ROUTED=YES WITHOUT_SENDMAIL=YES WITHOUT_SHAREDOCS=YES WITHOUT_SSP=YES WITHOUT_SVNLITE=YES WITHOUT_SYSCONS=YES WITHOUT_SYSINSTALL=YES #WITHOUT_TELNET=YES #WITHOUT_TEXTPROC=YES #WITHOUT_USB=YES #WITHOUT_UTMPX=YES #WITHOUT_WIRELESS=YES #WITHOUT_WPA_SUPPLICANT_EAPOL=YES WITHOUT_ZFS=YES #WITHOUT_ZONEINFO=YES ' ---- Kernel configuration files: # /usr/src/sys/i386/conf/SSTREAM # include /usr/src/sys/i386/conf/GENERIC include /usr/src/sys/i386/conf/GENEXCLUDE include /usr/src/sys/i386/conf/ALIX.SPECIAL ident SSTREAM device snd_uaudio # # SMB/CIFS requester # NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV # options. #options NETSMB #SMB/CIFS requester #options LIBMCHAIN # mchain library #options LIBICONV # Kernel side iconv library #options SMBFS #SMB/CIFS filesystem # FreeBSD-10: Allow mounting non-MPSAFE filesystems, expose hw.usb.uaudio sysctl #options VFS_ALLOW_NONMPSAFE options USB_DEBUG --- # /usr/src/sys/i386/conf/GENEXCLUDE nocpu I486_CPU cpu I586_CPU nocpu I686_CPU nooptions COMPAT_FREEBSD4 # Compatible with FreeBSD4 nooptions COMPAT_FREEBSD5 # Compatible with FreeBSD5 nooptions COMPAT_FREEBSD6 # Compatible with FreeBSD6 nooptions KTRACE # ktrace(1) support nooptions STACK # stack(9) support nooptions KBD_INSTALL_CDEV # install a CDEV entry in /dev nooptions HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) nooptions AUDIT # Security event auditing nooptions CAPABILITY_MODE # Capsicum capability mode nooptions CAPABILITIES # Capsicum capabilities #nooptions KDTRACE_HOOKS # Kernel DTrace hooks nomakeoptions DEBUG # Build kernel with gdb(1) debug symbols # For minimum debugger support (stable branch) use: options KDB_TRACE # Print a stack trace for a panic. # For full debugger support use this instead: nooptions DDB # Support DDB. nooptions GDB # Support remote GDB. nooptions DEADLKRES # Enable the deadlock resolver nooptions INVARIANTS # Enable calls of extra sanity checking nooptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS nooptions WITNESS # Enable checks to detect deadlocks and cycles nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones # CPU frequency control nodevice cpufreq # Bus support. nodevice acpi nodevice eisa # Floppy drives nodevice fdc # ATA controllers nodevice mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA nodevice siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA # SCSI Controllers nodevice ahb # EISA AHA1742 family nodevice ahc # AHA2940 and onboard AIC7xxx devices nooptions AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. nodevice ahd # AHA39320/29320 and onboard AIC79xx devices nooptions AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. nodevice esp # AMD Am53C974 (Tekram DC-390(T)) nodevice hptiop # Highpoint RocketRaid 3xxx series nodevice isp # Qlogic family #nodevice ispfw # Firmware for QLogic HBAs- normally a module nodevice mpt # LSI-Logic MPT-Fusion #nodevice ncr # NCR/Symbios Logic nodevice sym # NCR/Symbios Logic (newer chipsets + those of `ncr') nodevice trm # Tekram DC395U/UW/F DC315U adapters nodevice adv # Advansys SCSI adapters nodevice adw # Advansys wide SCSI adapters nodevice aha # Adaptec 154x SCSI adapters nodevice aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. nodevice bt # Buslogic/Mylex MultiMaster SCSI adapters nodevice ncv # NCR 53C500 nodevice nsp # Workbit Ninja SCSI-3 nodevice stg # TMC 18C30/18C50 nodevice isci # Intel C600 SAS controller # ATA/SCSI peripherals nodevice ch # SCSI media changers nodevice sa # Sequential Access (tape etc) nodevice ses # Enclosure Services (SES and SAF-TE) # RAID controllers interfaced to the SCSI subsystem nodevice amr # AMI MegaRAID nodevice arcmsr # Areca SATA II RAID nodevice asr # DPT SmartRAID V, VI and Adaptec SCSI RAID nodevice ciss # Compaq Smart RAID 5* nodevice dpt # DPT Smartcache III, IV - See NOTES for nooptions nodevice hptmv # Highpoint RocketRAID 182x nodevice hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx nodevice hpt27xx # Highpoint RocketRAID 27xx nodevice iir # Intel Integrated RAID nodevice ips # IBM (Adaptec) ServeRAID nodevice mly # Mylex AcceleRAID/eXtremeRAID nodevice twa # 3ware 9000 series PATA/SATA RAID nodevice tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller # RAID controllers nodevice aac # Adaptec FSA RAID nodevice aacp # SCSI passthrough for aac (requires CAM) nodevice ida # Compaq Smart RAID nodevice mfi # LSI MegaRAID SAS nodevice mlx # Mylex DAC960 family nodevice pst # Promise Supertrak SX6000 nodevice twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse nodevice atkbdc # AT keyboard controller nodevice atkbd # AT keyboard nodevice psm # PS/2 mouse nodevice kbdmux # keyboard multiplexer nodevice vga # VGA video card driver nooptions VESA # Add support for VESA BIOS Extensions (VBE) nodevice splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console nodevice sc nooptions SC_PIXEL_MODE # add support for the raster text mode nodevice agp # support several AGP chipsets # Power management support (see NOTES for more nooptions) #nodevice apm # Add suspend/resume support for the i8254. nodevice pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support nodevice cbb # cardbus (yenta) bridge nodevice pccard # PC Card (16-bit) bus nodevice cardbus # CardBus (32-bit) bus # Parallel port nodevice ppc nodevice ppbus # Parallel port bus (required) nodevice lpt # Printer nodevice plip # TCP/IP over parallel nodevice ppi # Parallel port interface device #nodevice vpo # Requires scbus and da nodevice puc # Multi I/O cards and multi-channel UARTs # PCI Ethernet NICs. nodevice bxe # Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet nodevice de # DEC/Intel DC21x4x (``Tulip'') nodevice em # Intel PRO/1000 Gigabit Ethernet Family nodevice igb # Intel PRO/1000 PCIE Server Gigabit Family nodevice ixgb # Intel PRO/10GbE Ethernet Card nodevice le # AMD Am7900 LANCE and Am79C9xx PCnet nodevice ti # Alteon Networks Tigon I/II gigabit Ethernet nodevice txp # 3Com 3cR990 (``Typhoon'') nodevice vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'nodevice miibus' line in order to use these NICs! nodevice ae # Attansic/Atheros L2 FastEthernet nodevice age # Attansic/Atheros L1 Gigabit Ethernet nodevice alc # Atheros AR8131/AR8132 Ethernet nodevice ale # Atheros AR8121/AR8113/AR8114 Ethernet nodevice bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet nodevice bfe # Broadcom BCM440x 10/100 Ethernet nodevice bge # Broadcom BCM570xx Gigabit Ethernet nodevice cas # Sun Cassini/Cassini+ and NS DP83065 Saturn nodevice dc # DEC/Intel 21143 and various workalikes nodevice et # Agere ET1310 10/100/Gigabit Ethernet nodevice fxp # Intel EtherExpress PRO/100B (82557, 82558) nodevice gem # Sun GEM/Sun ERI/Apple GMAC nodevice hme # Sun HME (Happy Meal Ethernet) nodevice jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet nodevice lge # Level 1 LXT1001 gigabit Ethernet nodevice msk # Marvell/SysKonnect Yukon II Gigabit Ethernet nodevice nfe # nVidia nForce MCP on-board Ethernet nodevice nge # NatSemi DP83820 gigabit Ethernet #nodevice nve # nVidia nForce MCP on-board Ethernet Networking nodevice pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') nodevice re # RealTek 8139C+/8169/8169S/8110S nodevice rl # RealTek 8129/8139 nodevice sf # Adaptec AIC-6915 (``Starfire'') nodevice sge # Silicon Integrated Systems SiS190/191 nodevice sis # Silicon Integrated Systems SiS 900/SiS 7016 nodevice sk # SysKonnect SK-984x & SK-982x gigabit Ethernet nodevice ste # Sundance ST201 (D-Link DFE-550TX) nodevice stge # Sundance/Tamarack TC9021 gigabit Ethernet nodevice tl # Texas Instruments ThunderLAN nodevice tx # SMC EtherPower II (83c170 ``EPIC'') nodevice vge # VIA VT612x gigabit Ethernet nodevice vte # DM&P Vortex86 RDC R6040 Fast Ethernet nodevice wb # Winbond W89C840F nodevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. nodevice cs # Crystal Semiconductor CS89x0 NIC # 'nodevice ed' requires 'device miibus' nodevice ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards nodevice ex # Intel EtherExpress Pro/10 and Pro/10+ nodevice ep # Etherlink III based cards nodevice fe # Fujitsu MB8696x based cards nodevice ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. nodevice sn # SMC's 9000 series of Ethernet chips nodevice xe # Xircom pccard Ethernet # Wireless NIC cards nodevice an # Aironet 4500/4800 802.11 wireless NICs. #nodevice bwi # Broadcom BCM430x/BCM431x wireless NICs. #nodevice bwn # Broadcom BCM43xx wireless NICs. nodevice ipw # Intel 2100 wireless NICs. nodevice iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. nodevice iwn # Intel 4965/1000/5000/6000 wireless NICs. nodevice malo # Marvell Libertas wireless NICs. nodevice mwl # Marvell 88W8363 802.11n wireless NICs. nodevice ral # Ralink Technology RT2500 wireless NICs. nodevice wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #nodevice wl # Older non 802.11 Wavelan wireless NIC. nodevice wpi # Intel 3945ABG wireless NICs. # USB support # FireWire support nodevice firewire # FireWire bus code # sbp(4) works for some systems but causes boot failure on others #nodevice sbp # SCSI over FireWire (Requires scbus and da) nodevice fwe # Ethernet over FireWire (non-standard!) nodevice fwip # IP over FireWire (RFC 2734,3146) nodevice dcons # Dumb console driver nodevice dcons_crom # Configuration ROM for dcons # Sound support nodevice snd_cmi # CMedia CMI8338/CMI8738 nodevice snd_csa # Crystal Semiconductor CS461x/428x nodevice snd_emu10kx # Creative SoundBlaster Live! and Audigy nodevice snd_es137x # Ensoniq AudioPCI ES137x nodevice snd_hda # Intel High Definition Audio nodevice snd_ich # Intel, NVidia and other ICH AC'97 Audio nodevice snd_via8233 # VIA VT8233x Audio # MMC/SD nodevice mmc # MMC/SD bus nodevice mmcsd # MMC/SD memory card nodevice sdhci # Generic PCI SD Host Controller --- # /usr/src/sys/i386/conf/ALIX.SPECIAL # ALIX specials nocpu I486_CPU nocpu I686_CPU options NO_SWAPPING options CPU_GEODE #options HZ=1000 #options HZ=100 options HZ=25 options CONSPEED=38400 options DEVICE_POLLING # altq(9). Enable the base part of the hooks with the ALTQ option. # Individual disciplines must be built into the base system and can not be # loaded as modules at this point. ALTQ requires a stable TSC so if yours is # broken or changes with CPU throttling then you must also have the ALTQ_NOPCC # option. options ALTQ options ALTQ_CBQ # Class Based Queueing options ALTQ_RED # Random Early Detection options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler options ALTQ_CDNR # Traffic conditioner options ALTQ_PRIQ # Priority Queueing options ALTQ_NOPCC # Required if the TSC is unusable # netgraph(4). Enable the base netgraph code with the NETGRAPH option. # Individual node types can be enabled with the corresponding option # listed below; however, this is not strictly necessary as netgraph # will automatically load the corresponding KLD module if the node type # is not already compiled into the kernel. Each type below has a # corresponding man page, e.g., ng_async(8). options NETGRAPH # netgraph(4) system options NETGRAPH_SOCKET options NETGRAPH_MPPC_ENCRYPTION options NETGRAPH_IFACE options NETGRAPH_PPP options NETGRAPH_TEE options NETGRAPH_PPPOE options NETGRAPH_ETHER device pf # PF OpenBSD packet-filter firewall device pflog # logging support interface for PF #device pfsync # synchronization interface for PF device enc # IPsec interface device glxsb # AMD Geode LX Security Block device crypto device cryptodev # /dev/crypto for access to h/w device glxiic # AMD Geode LX CS5536 I2C controller driver device isa device iicbus options TMPFS # Atheros 11n support options ATH_ENABLE_11N #options AH_DEBUG #options ATH_DEBUG #options ATH_DIAGAPI --- >Fix: remove WITHOUT_CASPER=YES from sstream.conf (src.conf) >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"