From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AHrpN08o5F/sXgAA0tVLHw (envelope-from ) for ; Thu, 24 Dec 2020 05:34:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WBCvM08o5F98YwAAbx9fmQ (envelope-from ) for ; Thu, 24 Dec 2020 05:34:07 +0000 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 4B603940418 for ; Thu, 24 Dec 2020 05:34:07 +0000 (UTC) Received: from localhost ([::1]:36874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksJGI-0007A9-6U for larch@yhetil.org; Thu, 24 Dec 2020 00:34:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksJFy-0006xQ-6D for guix-devel@gnu.org; Thu, 24 Dec 2020 00:33:46 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:33220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ksJFv-00047J-VZ for guix-devel@gnu.org; Thu, 24 Dec 2020 00:33:45 -0500 Received: by mail-lf1-x12d.google.com with SMTP id l11so2535377lfg.0 for ; Wed, 23 Dec 2020 21:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dtRGGBHYnabfNZtdfvuxsDz5m7rUToAnL8N4G8drpE8=; b=Wc2c4M+LCrBfQQLqSNDKe/frDVYXLP9E1D9Wnk0GD0vSFQBcN4cFp4C71Hkc+2BkTS LsM+KYfz/08TFP8/qGImYZg40Bf4QDh02sjT0AGvVyQUl+nVlYj/Arh1AiLuneYBKU4R p1uYL74eB3+MyXMuQzqGAv7m3dGaLwzSno/QxjcSGKJWEeNdi8pIZk0zKx86bZFlQUON JemZPDM8L2jGJYDFOHBKyVNh73yMve8HAu/EKvpdCIWjehM7ANdoxGgejKx/pGFA1+s4 SrVY/8W7b3+yxz24dUZ8TRelS8wUOPHFteL7/y7btuWOQbzmqX1OeVCMv6G9vEc5onUX XhHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dtRGGBHYnabfNZtdfvuxsDz5m7rUToAnL8N4G8drpE8=; b=QhHUuFOsmuNEPagsTScaGMglCf7nXhZgTyJZxTiu57r3AAqFhvPC4jSa4Gavb7W2AO xUPgvhsa0x9pH1og9WmISQTOxqpPEp7BxcxoU4u73X2n6kJV/ByjWsMjZyxZP9o/f3vo u0mz1/lvheVbi2CiuTtBLa7rXloSU317HMzdzfiYH5noTRh9exkt80sBEyD2X7j4GmXZ xbvAUTOVX0fep9ntdlcD/mOEds2LoVeOqOitM7hz0ViKbZyjF6L17fHnpGLPF3VrcYWl AKmkWB0/W2OqWhfghp5KnwdK4Wd9Yjc+j/mwVlanPGlxEstIAQKhKQjsyVoPScYxbXLR Pr9A== X-Gm-Message-State: AOAM531GvbXJAMn40PYg5sRJsKwwfYdi0NxXhaUCQLWxi3ixudUsuSKm JoVo2xjw98U9Aow1BrJJC3/V/6KdWiu8XJrnqJEtvW8iMh4= X-Google-Smtp-Source: ABdhPJw5F+ecpvEy91fyMq2ICBjU8yQKYrYTpYIB2TVac+2zErmDCO851Zh3Yb0SGC3tiNRicXy1r2+FxcLwOwbSDYI= X-Received: by 2002:a19:8112:: with SMTP id c18mr11466357lfd.455.1608788021292; Wed, 23 Dec 2020 21:33:41 -0800 (PST) MIME-Version: 1.0 From: Nathan Dehnel Date: Wed, 23 Dec 2020 23:33:30 -0600 Message-ID: Subject: gnu-build-system not handling pkg-config properly in package definition To: guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=ncdehnel@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Wc2c4M+L; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4B603940418 X-Spam-Score: -1.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3SGTNTUFn7uM https://www.mail-archive.com/bug-guix@gnu.org/msg00180.html According to this, if you use gnu-build-system, all packages added to inputs get added to PKG_CONFIG_PATH, but for some reason it's not happening for util-linux, which causes a build error. During the build PKG_CONFIG_PATH ends up not containing any of the util-linux packages. Does anyone know how to fix this? Package below: (define-module (gooby-channel packages bcache-tools) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (guix build-system gnu) #:use-module (guix git-download) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config)) (define-public bcache-tools (package (name "bcache-tools") (version "1.1") (source (origin (method git-fetch) (uri (git-reference (url (string-append "https://git.kernel.org/pub/scm/linux/kernel/git/colyli/" name ".git")) (commit (string-append name "-" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1vfqm3asx7h1sjwyq45dki4wk7lkipqrx2pw2hnqm4xir85qf67h")) (patches (search-patches "bcache-tools-noprobe.patch")))) (build-system gnu-build-system) (arguments `(;;#:tests? #f ; no "check" target #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure)))) (inputs `(("util-linux" ,util-linux))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "https://bcache.evilpiepirate.org/") (synopsis "These are the userspace tools required for bcache.") (description "Bcache patches for the Linux kernel allow one to use SSDs to cache other block devices. It's analogous to L2Arc for ZFS, but Bcache also does writeback caching (besides just write through caching), and it's filesystem agnostic. ") (license gpl2)))