From patchwork Mon Sep 2 15:33:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 15233 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 532141734D; Mon, 2 Sep 2019 16:36:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 20F5017329 for ; Mon, 2 Sep 2019 16:36:08 +0100 (BST) Received: from localhost ([::1]:37602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4oNC-000300-Oi for patchwork@mira.cbaines.net; Mon, 02 Sep 2019 11:36:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42630) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4oMH-0002FT-6B for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4oMF-0004OX-Pg for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4oMF-0004NX-LW for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i4oMF-0006dP-I4 for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36477] [PATCH v3 24/48] gnu: procps: Fix cross-compilation. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Sep 2019 15:35:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 36477@debbugs.gnu.org Received: via spool by 36477-submit@debbugs.gnu.org id=B36477.156743847225160 (code B ref 36477); Mon, 02 Sep 2019 15:35:07 +0000 Received: (at 36477) by debbugs.gnu.org; 2 Sep 2019 15:34:32 +0000 Received: from localhost ([127.0.0.1]:58785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4oLf-0006Xe-TW for submit@debbugs.gnu.org; Mon, 02 Sep 2019 11:34:32 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:44847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4oLN-0006SC-7j for 36477@debbugs.gnu.org; Mon, 02 Sep 2019 11:34:16 -0400 Received: by mail-wr1-f42.google.com with SMTP id 30so3508778wrk.11 for <36477@debbugs.gnu.org>; Mon, 02 Sep 2019 08:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9hjR3+4eM0GBKFqxXfhhnIEaiXyPg25y/KMRDi4m/rs=; b=l9eja4to7LLAGf6z6OesIMsQI+8VqZVAsqCvY1LD7ZcfhakBWWrQuFcx7iSEWRi7M6 +KLfGwcDvr4ESaRdKOEtM3s9i6q3PJnWlyiL7JZgAUdepARJFFsiNIqohhyiEp+nR/aD FTrZytbWpiWSXpcyoTGx1BsuyLYlz9hNSLnACDs8b4+wwXOB/sJKrynCAcsDPhs6nPIG XYRy1CPTFDrCLyLAOizVZLOU7zteMuPocYkjw7qDDifxQFggXWSaBn6GyfLnUBdXFhvC va4S1eLR+kOg3Ty51ijZrCTSUsxmahRAGAYVRLdsOpEdcl4INabVrx8SXEoIf3RjSSTn VPmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9hjR3+4eM0GBKFqxXfhhnIEaiXyPg25y/KMRDi4m/rs=; b=BBu388fIDl8TnTlKu7tdRWZFhtCY9GLHp4A+uLvTZhRnMnCtVqycMpAUlL9cqmLgQ0 eXe+0mc+K1RuGYkJ6McMEt9u2EeXHCqbDGmgnNiLNF6rxSyAVBkoj4X/XFRV9rgJardA gBvWtNqQY9h0Cp5F42lmaGETGZ3wXiHB6SOGzhyXAVheyaEfZYaGsEqMAJIae9yp3839 iQtQKMBE7M7fuA8tsaMSmIS0VFtjVRNKuYezlupF5qaT2xh4LJX+4/tpxwA2Zt86NIQJ Y9p4wDvISdEhfAfPz3OrO5bOrQIRh/8DU2J76TmNHsHnVFsqRJ3QjIz8ZPlumPm0LRXy hdSA== X-Gm-Message-State: APjAAAWAWL8wS+B5h7AUENftzTckCjXmKrbV2+YVNVk1Y5hK69EoBRGB TVjdlaZPxak90R9HQ2TQ0jVcYkoB X-Google-Smtp-Source: APXvYqwakvs/k6HdUWwoXhVpb5xDEPP+9B9un8EMuKMX+QJgYn78SA6iOjn+Q1TKws96bAvXcfYR6Q== X-Received: by 2002:adf:fd03:: with SMTP id e3mr28390100wrr.291.1567438447411; Mon, 02 Sep 2019 08:34:07 -0700 (PDT) Received: from localhost.localdomain ([80.12.63.115]) by smtp.gmail.com with ESMTPSA id b26sm17232265wmj.14.2019.09.02.08.34.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 08:34:06 -0700 (PDT) From: Mathieu Othacehe Date: Mon, 2 Sep 2019 17:33:09 +0200 Message-Id: <20190902153333.11190-25-m.othacehe@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190902153333.11190-1-m.othacehe@gmail.com> References: <20190902153333.11190-1-m.othacehe@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (procps)[arguments]: Add configure flags needed from cross-compilation. --- gnu/packages/linux.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9c1ba6d5b9..874fa819e5 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1138,10 +1138,16 @@ by Robert Shea and Robert Anton Wilson.") "0r84kwa5fl0sjdashcn4vh7hgfm7ahdcysig3mcjvpmkzi7p9g8h")))) (build-system gnu-build-system) (arguments - '(#:modules ((guix build utils) + `(#:modules ((guix build utils) (guix build gnu-build-system) (srfi srfi-1) (srfi srfi-26)) + ,@(if (%current-target-system) + '(#:configure-flags + (list + "ac_cv_func_malloc_0_nonnull=yes" + "ac_cv_func_realloc_0_nonnull=yes")) + '()) #:phases (modify-phases %standard-phases (add-after