From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WEfyDlLqRGakhgAAqHPOHw:P1 (envelope-from ) for ; Wed, 15 May 2024 19:01:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WEfyDlLqRGakhgAAqHPOHw (envelope-from ) for ; Wed, 15 May 2024 19:01:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=azBAmuSt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715792466; a=rsa-sha256; cv=none; b=uccwgb9qB7khXUFM0smQWHVe1k8VIOeq9kphoSCo3HHlGPACxbj54rXDCezMe8YIbH4h/x ip8dEXiTpsQ+ICyPdYtNCG67GR2gOwzs07KUe+Hh+2zQIM7bf0rKRWt/9MeclkWnynqPfF IkWbZxJ2c1sYqzStfnxBkY3C8j4APtNhv38mr+1k011Mkn7FyxdHO8ua49+CIE8X9Fw6aL bp0a2eArK/sY1dAkcg/l+KOPPhfW7A0UAfRWgA+XSYZfLNsQzYh/Xrr0F1eKMdCHnQUV18 xjgBnrvftXDlBpaprOYNMVgvgSJ1zibJs8hcpeEt/ml6MSxNuWchnvU6C2hr4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=azBAmuSt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715792466; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xAMhv2MXFQt9/sKycNDkh8VXp07MURfDX94CRMp5mxY=; b=uqjCaYlhQuY8/aTqa4bI9BA9CsKQ9QH0lxNNMeUW/dorC3OkGS0kCOf5zk9LRiYx+6WbNw B5p2dnAMONoRVQKnFXiNH9I5DhurND/6D8314+7jCG4bZUyusO9gFEtwTTvTmZFAkl+sqV IQz1kcKj+RFVCqiHxQfhK2GswXJ+P8hJNVkHVAUZ0KIzMcH8NfzVR0FiPd8ZUOuWnG88m1 NwkqxkXEB40hZ/yjUQiU41JuSIujKYENeE1RCGyiCSxdWmx5+UQfzFKbrPVsBzRqsuhi7+ u1JPERlgNBvxREqPVyWVqNhqiZNpoF55edddXo7Ln9BZRzzZADqKPJgup6naQw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E55D51D6E5 for ; Wed, 15 May 2024 19:01:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7HzE-0001rv-Us; Wed, 15 May 2024 13:00:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7Hz5-0001p4-Q6 for guix-patches@gnu.org; Wed, 15 May 2024 13:00:09 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7Hz2-0007GC-TC for guix-patches@gnu.org; Wed, 15 May 2024 13:00:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7Hz1-0007BW-Pl; Wed, 15 May 2024 13:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70962] [PATCH 04/14] gnu: libbpf: Use gexps. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, me@tobias.gr, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Wed, 15 May 2024 17:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70962 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70962@debbugs.gnu.org Cc: Maxim Cournoyer , Leo Famulari , Tobias Geerinckx-Rice , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Tobias Geerinckx-Rice , Wilko Meyer Received: via spool by 70962-submit@debbugs.gnu.org id=B70962.171579235827426 (code B ref 70962); Wed, 15 May 2024 17:00:03 +0000 Received: (at 70962) by debbugs.gnu.org; 15 May 2024 16:59:18 +0000 Received: from localhost ([127.0.0.1]:43151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7HyH-00078G-PD for submit@debbugs.gnu.org; Wed, 15 May 2024 12:59:18 -0400 Received: from mail-qv1-f49.google.com ([209.85.219.49]:59604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7HyF-00077s-MA for 70962@debbugs.gnu.org; Wed, 15 May 2024 12:59:16 -0400 Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-6a0b4622ea0so22642306d6.2 for <70962@debbugs.gnu.org>; Wed, 15 May 2024 09:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715792287; x=1716397087; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xAMhv2MXFQt9/sKycNDkh8VXp07MURfDX94CRMp5mxY=; b=azBAmuStoSWm6ucWtk2jwURnZ0dfmbgGBLoLCFA41UW7RSHdYe4rq6BzQ5DsWd/j64 P9ff/O5YWE0UzP2ysIIcU2kJ4VWaWhJtPcwieX4zfHz51D8BV7FWeIoUQCMZbhgk66GI HjLVcxQKqHmz+eqbGS0mcYaWh+nZYnXkYBKjIh2ARA4UylWxRZZg5wiVFuwR5li/52Pd wKhXBXvwq6yuGZgoqnCfcCXlEal9PZ5hiyWOZR4Z+oLd239tdGBR2vzhu+WZKOKDBIPv Do8ZD0c78KeVOOvdpHcgotwMORMf8q4RxU12FYhRGpfdFAoo0afXVm+WLwKuOVznk6OJ K4DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715792287; x=1716397087; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xAMhv2MXFQt9/sKycNDkh8VXp07MURfDX94CRMp5mxY=; b=MkvoHRzafvxkozlTiDjLJB2nWQraBhkFSXiZfancgGhWyngefbcNmcfeEKFqB4pPxk kFZi0ffQVUMjtcoj6Rb2oYsfeDd1zKQBhpDnngzGw1QGs4Bkm9rtS4KJLBBbvcE0gNum 0D8qhKXSHfedY7uMEgEB3ok2wlaiznK8jbfi3N/+lehZFSVK8uj46Fqf/Nbwkk5pvMm9 5F3JDPFop1tbxHRNFa1LWg4awKWNd1sOVqXixIu4KPeUd6obg/pvAJAXbrL9q6V9/E6q uLi6HxvbJ9rzUBdphbQqCDFuQDG6m6N7heEYntixSY+HSBAgbHQVrxUzvix1rQ1Q8X9U 22Ww== X-Gm-Message-State: AOJu0YwTHHYH0YokTmiAg46lxQjK/tpx/+3+VojeHj9B46X0w855ci5N vcQNqncS/N5wY//2gMkcZdOGMK9sVdMufNrmrY7P1QclPMh1tor1yYHcMA== X-Google-Smtp-Source: AGHT+IH6DL13bh+toxmusjyQhr3DCqlYnbVjXRvWxCaUhy/jcD6bVsAHlM8R/XnqVrhYcMT+YumxMg== X-Received: by 2002:a05:6214:5509:b0:6a0:c6e3:c025 with SMTP id 6a1803df08f44-6a168163e1emr206318676d6.18.1715792287408; Wed, 15 May 2024 09:58:07 -0700 (PDT) Received: from localhost.localdomain (dsl-205-233-125-107.b2b2c.ca. [205.233.125.107]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a15f194871sm66068896d6.59.2024.05.15.09.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 09:58:07 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 15 May 2024 12:57:14 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <7cf609dcf83c85b6897c9fb9af46ce8a854a15c8.1715791830.git.maxim.cournoyer@gmail.com> References: <7cf609dcf83c85b6897c9fb9af46ce8a854a15c8.1715791830.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: E55D51D6E5 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 5.63 X-Spam-Score: 5.63 X-TUID: 8IcavYoTdmVd * gnu/packages/linux.scm (libbpf) [arguments]: Use gexps. Change-Id: I5529cda3b316a24b48f4a33bfd685695614350bb --- gnu/packages/linux.scm | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 8a849d146a..dea203a692 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9795,31 +9795,27 @@ (define-public libbpf (base32 "1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm")))) (build-system gnu-build-system) - (native-inputs - (list pkg-config)) - (propagated-inputs - ;; In Requires.private of libbpf.pc. - (list elfutils zlib)) (arguments - `(#:tests? #f ; no tests - #:make-flags - (list - (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "LIBDIR=$(PREFIX)/lib") - (string-append "CC=" ,(cc-for-target))) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (add-before 'build 'pre-build - (lambda _ - (chdir "src")))))) + (list + #:tests? #f ;self-tests run in QEMU + #:make-flags + #~(list (string-append "PREFIX=" #$output) + (string-append "LIBDIR=$(PREFIX)/lib") + (string-append "CC=" #$(cc-for-target))) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'pre-build + (lambda _ + (chdir "src")))))) + (native-inputs (list pkg-config)) + (propagated-inputs (list elfutils zlib)) ;in Requires.private of libbpf.pc (home-page "https://github.com/libbpf/libbpf") (synopsis "BPF CO-RE (Compile Once – Run Everywhere)") (description "Libbpf supports building BPF CO-RE-enabled applications, which, in contrast to BCC, do not require the Clang/LLVM runtime or linux kernel headers.") - (license `(,license:lgpl2.1 ,license:bsd-2)))) + (license (list license:lgpl2.1 license:bsd-2)))) (define-public bcc (package -- 2.41.0