Re: nanobsd build failure 'WITHOUT_CASPER=YES' r259661 and earlier

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Fri, 20 Dec 2013 12:51:31 -0800
Hi,

Please file a PR and then ask the developer (pjd_at_) very nicely to take
a look at it.

Thanks,


-adrian


On 20 December 2013 12:45, Stefan Hegnauer <stefan.hegnauer_at_gmx.ch> wrote:
> When using 'WITHOUT_CAPSICUM=YES', 'WITHOUT_CASPER=YES' my nanobsd builds in
> a Virtualbox VM (i386, march=geode, GENERIC without debug+Witness et. al.)
> fail buildworld for any revision from at least r259518-r259661; like so
> (this example is r259661):
>
>
>
> " ...
>
> ===> 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/includ
> e -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I.
> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/in
> clude -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/ConvertU
> TF.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/regfree.
> c
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regstrlc
> py.c
>
> mkdep -f .depend -a
> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include
> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/includ
> e -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I.
> -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/in
> clude -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.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APSInt.c
> pp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Allocato
> r.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Atomic.c
> pp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/BlockFre
> quency.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/BranchPr
> obability.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/CommandL
> ine.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Constant
> Range.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ConvertU
> TFWrapper.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/CrashRec
> overyContext.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DAGDelta
> Algorithm.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Debug.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DeltaAlg
> orithm.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Dwarf.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/DynamicL
> ibrary.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Errno.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ErrorHan
> dling.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/FileOutp
> utBuffer.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/FoldingS
> et.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Formatte
> dStream.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/GraphWri
> ter.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/IncludeF
> ile.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IntEqCla
> sses.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Interval
> Map.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Intrusiv
> eRefCntPtr.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IsInf.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/IsNAN.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Locale.c
> pp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/LockFile
> Manager.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ManagedS
> tatic.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Memory.c
> pp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/MemoryBu
> ffer.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/MemoryOb
> ject.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Mutex.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Path.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PathV2.c
> pp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PluginLo
> ader.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PrettySt
> ackTrace.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/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.cp
> p
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SearchFo
> rAddressOfSpecialSymbol.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Signals.
> cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SmallPtr
> Set.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SmallVec
> tor.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/SourceMg
> r.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Statisti
> c.cpp
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Streamab
> leMemoryObject.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/tcpdump/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/tcpdump/print-sunatm.c
> /usr/src/usr.sbin/tcpdump/tcpdump/../../../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/tcpdump/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:1
> 0: 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"
>
>
>
> Note that this is with PMAKE="-j1", i.e. single threaded build (same happens
> with standard PMAKE=-j3 but slightly less intuitive to see where it fails)
>
>
>
> Removing WITHOUT_CASPER=YES in the build instructions cures the problem (!),
> however I fail to see why I should include it for an embedded device
> (pcengines.ch Alix boards, several different versions).
>
> Also, with the error reported above I have the impression it is not exactly
> intuitive that you have to include CASPER (and not CAPSICUM) to eliminate
> the failure?
>
> Any pointers/hints/solutions?
>
>
>
> Sorry for the rant & thanks
>
> Stefan
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Fri Dec 20 2013 - 19:51:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC