From patchwork Mon Dec 30 04:10:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 305698 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0D98D2C00ED for ; Mon, 30 Dec 2013 15:17:15 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 625F58BF30; Mon, 30 Dec 2013 04:17:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X04V1I3WotaT; Mon, 30 Dec 2013 04:17:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 696B78BF25; Mon, 30 Dec 2013 04:17:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 47A4B1BFA25 for ; Mon, 30 Dec 2013 04:17:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3F2C233161 for ; Mon, 30 Dec 2013 04:17:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EFO5PDA70Gde for ; Mon, 30 Dec 2013 04:17:09 +0000 (UTC) X-Greylist: delayed 00:06:26 by SQLgrey-1.7.6 Received: from mail-qe0-f45.google.com (mail-qe0-f45.google.com [209.85.128.45]) by silver.osuosl.org (Postfix) with ESMTPS id 147403315B for ; Mon, 30 Dec 2013 04:17:08 +0000 (UTC) Received: by mail-qe0-f45.google.com with SMTP id 6so11161479qea.18 for ; Sun, 29 Dec 2013 20:17:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5kAzcxG5VGzGC59IE8v8rVCM05a4TYeutxCnwbgRJIw=; b=AEsICgCDq729dKuVB/tRvqxRfGSziyJMP8tm/pin3ludAKB017NWxCqvl9qGETQVyR h8UdI1CQYln7OFBwuHdtJ1qzalhmtXc0DyMMGjUvNSk7lb06xThCSz2OA+FofpK+9Hzc CRxtMeV3WOtdIEXe+uPzbopaPMen83PrPa+fK12j5JAknd7RZRJbwfBhVm85N90VCXEz OHb75lghNrAVDl9Ds6F1APtihSh8xWeTAb0R8Y2SmufQRfJSle5ljll0C0N8i/LRuKJQ R5OBpRFCC8QgX4sldDMUoPDUxLfwAVUSjCaRtN4qGyeCtzJczh8AXvwGiNv23hqtNzEl NcoA== X-Gm-Message-State: ALoCoQnD0JsL5WXeXXLNbCbZjFnXuROl9ikUWAUEKF3flJn8ySDWBQDiZ3EvxwcdaFsh4huJGq/t MIME-Version: 1.0 X-Received: by 10.49.116.5 with SMTP id js5mr106255130qeb.36.1388376642777; Sun, 29 Dec 2013 20:10:42 -0800 (PST) Received: by 10.96.65.40 with HTTP; Sun, 29 Dec 2013 20:10:42 -0800 (PST) X-Originating-IP: [218.164.140.140] In-Reply-To: <20131229073008.BA8E5101B76@stock.ovh.net> References: <20131229073008.BA8E5101B76@stock.ovh.net> Date: Mon, 30 Dec 2013 12:10:42 +0800 Message-ID: From: Axel Lin To: Thomas Petazzoni Cc: "buildroot@uclibc.org" Subject: Re: [Buildroot] [autobuild.buildroot.net] Build results for 2013-12-28 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net > powerpc | cryptsetup-1.6.3 | NOK | http://autobuild.buildroot.net/results/9cad1cf49ee6b5c58d8260ee33beef2e6c1ada4d/ > powerpc | cryptsetup-1.6.3 | NOK | http://autobuild.buildroot.net/results/d0dbddba3b6dc5b25e9440b7f7d6ff713b4d6d79/ Hi, To fix this build error, I added below changes: it can cause data corruption.]) However, I hit another build error when making install in po: make[2]: Entering directory `/opt/test/br-ppc/buildroot/output/build/cryptsetup-1.6.3/po' /opt/test/br-ppc/buildroot/output/target/usr/share make[2]: execvp: /opt/test/br-ppc/buildroot/output/target/usr/share: Permission denied make[2]: *** [install-data-yes] Error 127 make[2]: Leaving directory `/opt/test/br-ppc/buildroot/output/build/cryptsetup-1.6.3/po' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/opt/test/br-ppc/buildroot/output/build/cryptsetup-1.6.3' make: *** [/opt/test/br-ppc/buildroot/output/build/cryptsetup-1.6.3/.stamp_target_installed] Error 2 Looks like $(MKDIR_P) is empty. In output/build/cryptsetup-1.6.3/po/Makefile: Add "MKDIR_P= /bin/mkdir -p" before "mkdir_p = $(MKDIR_P)" fixes it. But I don't figure out how to fix it correctly. Comments are welcome. diff --git a/package/cryptsetup/cryptsetup.mk b/package/cryptsetup/cryptsetup.mk index 6ea3aae..cabf944 100644 --- a/package/cryptsetup/cryptsetup.mk +++ b/package/cryptsetup/cryptsetup.mk @@ -17,4 +17,6 @@ ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lintl" endif +CRYPTSETUP_AUTORECONF = YES + $(eval $(autotools-package)) diff -Nru cryptsetup-1.6.3.ori/configure.ac cryptsetup-1.6.3/configure.ac --- cryptsetup-1.6.3.ori/configure.ac 2013-12-28 22:59:37.888444142 +0800 +++ cryptsetup-1.6.3/configure.ac 2013-12-28 23:01:42.260446120 +0800 @@ -49,7 +49,8 @@ AC_SUBST(UUID_LIBS, $LIBS) LIBS=$saved_LIBS -AC_CHECK_FUNCS([posix_memalign]) +AC_SEARCH_LIBS([clock_gettime],[rt posix4]) +AC_CHECK_FUNCS([posix_memalign clock_gettime]) if test "x$enable_largefile" = "xno" ; then AC_MSG_ERROR([Building with --disable-largefile is not supported,