21481012 libarchive fails to build when nettle is installed
authorJohn Beck <John.Beck@Oracle.COM>
Tue, 21 Jul 2015 14:27:42 -0700
changeset 4684 6c8208a08539
parent 4677 6bacf1a9d9ea
child 4690 384db5537828
21481012 libarchive fails to build when nettle is installed
components/libarchive/Makefile
components/libarchive/test/results-all.master
--- a/components/libarchive/Makefile	Mon Jul 20 12:28:35 2015 -0700
+++ b/components/libarchive/Makefile	Tue Jul 21 14:27:42 2015 -0700
@@ -42,6 +42,11 @@
 # Userland default includes -mt which links with libthread which we don't need.
 studio_MT =
 
+# Nettle is coming.  Disable building with it until it actually arrives, at
+# which point we can verify it works, then remove the following (and add a
+# REQUIRED_PACKAGES entry below).
+CONFIGURE_OPTIONS +=	--without-nettle
+
 # libarchive's Makefile hard-codes some gcc-only flags in COMMON_CFLAGS, then
 # appends CFLAGS to that.  Reset the former here so we can build with Studio.
 COMPONENT_BUILD_ARGS +=	COMMON_CFLAGS=''
--- a/components/libarchive/test/results-all.master	Mon Jul 20 12:28:35 2015 -0700
+++ b/components/libarchive/test/results-all.master	Tue Jul 21 14:27:42 2015 -0700
@@ -176,6 +176,7 @@
 DEPDIR=.deps depmode=none /bin/bash $(SOURCE_DIR)/build/autoconf/depcomp \
 source='libarchive/filter_fork.c' object='libarchive/libarchive_test-filter_fork.o' libtool=no \
 DEPDIR=.deps depmode=none /bin/bash $(SOURCE_DIR)/build/autoconf/depcomp \
+"$(SOURCE_DIR)/libarchive/filter_fork.c", line 80: warning:  "vfork" is deprecated, declared in : "/usr/include/unistd.h", line 627
 source='libarchive/test/main.c' object='libarchive/test/libarchive_test-main.o' libtool=no \
 DEPDIR=.deps depmode=none /bin/bash $(SOURCE_DIR)/build/autoconf/depcomp \
 "$(SOURCE_DIR)/libarchive/test/main.c", line 390: warning: statement not reached