From owner-freebsd-pkg@FreeBSD.ORG Wed Nov 20 08:31:36 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04E1A587 for ; Wed, 20 Nov 2013 08:31:36 +0000 (UTC) Received: from smtp3.hushmail.com (smtp3.hushmail.com [65.39.178.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB6F22685 for ; Wed, 20 Nov 2013 08:31:35 +0000 (UTC) Received: from smtp3.hushmail.com (localhost [127.0.0.1]) by smtp3.hushmail.com (Postfix) with SMTP id F105CE0188 for ; Wed, 20 Nov 2013 07:58:04 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp3.hushmail.com (Postfix) with ESMTP; Wed, 20 Nov 2013 07:58:03 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id CC83C20111; Wed, 20 Nov 2013 07:58:03 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 20 Nov 2013 02:58:03 -0500 To: bapt@freebsd.org, bdrewery@freebsd.org Subject: pkg won't built in jail From: "Kenta Suzumoto" In-Reply-To: <528BA4D0.4060509@gmail.com> References: <20131117020827.4F9C320111@smtp.hushmail.com> <20131118192038.D018120112@smtp.hushmail.com> <528A6A0C.5080805@gmail.com> <20131118200746.E7D0720111@smtp.hushmail.com> <528B5973.3000906@gmail.com> <20131119160453.B9DCD20112@smtp.hushmail.com> <528B94CD.2000902@gmail.com> <20131119170733.8E86D20111@smtp.hushmail.com> <528BA027.8060501@gmail.com> <20131119173913.5EC8B20111@smtp.hushmail.com> <528BA4D0.4060509@gmail.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20131120075803.CC83C20111@smtp.hushmail.com> Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 08:31:36 -0000 pkg builds fine on the host with the exact same settings, but won't compile in my jail. 9.2 i386, latest ports tree. clang -O2 -pipe -Qunused-parameter -Qunused-arguments -march=native -fno-strict-aliasing -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg/../libpkg -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg/../external/uthash -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c convert.c clang -O2 -pipe -Qunused-parameter -Qunused-arguments -march=native -fno-strict-aliasing -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg/../libpkg -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg/../external/uthash -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c create.c clean.c:373:25: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] if (((&dl)->stqh_first == ((void *)0))) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ clean.c:373:25: note: remove extraneous parentheses around the comparison to silence this warning if (((&dl)->stqh_first == ((void *)0))) { ~ ^ ~ clean.c:373:25: note: use '=' to turn this equality comparison into an assignment if (((&dl)->stqh_first == ((void *)0))) { ^~ = 1 error generated. *** [clean.o] Error code 1 1 error *** [all] Error code 2 1 error ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /basejail/usr/ports/ports-mgmt/pkg. *** [/ram/basejail/usr/ports/ports-mgmt/pkg/work/.build_done.pkg._usr_local] Error code 1 Stop in /basejail/usr/ports/ports-mgmt/pkg. ===>>> make failed for ports-mgmt/pkg ===>>> Aborting update ===>>> Update for pkg-1.1.4_9 failed ===>>> Aborting update