From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GDdGCwvm6V8jEQAA0tVLHw (envelope-from ) for ; Mon, 28 Dec 2020 14:04:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UBkcBwvm6V9ibwAAB5/wlQ (envelope-from ) for ; Mon, 28 Dec 2020 14:04:59 +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 B38319404FE for ; Mon, 28 Dec 2020 14:04:58 +0000 (UTC) Received: from localhost ([::1]:53012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktt8r-0003uB-JZ for larch@yhetil.org; Mon, 28 Dec 2020 09:04:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktt7z-0003ps-99 for bug-guix@gnu.org; Mon, 28 Dec 2020 09:04:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktt7y-0004gL-3q for bug-guix@gnu.org; Mon, 28 Dec 2020 09:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktt7y-0005p1-0W for bug-guix@gnu.org; Mon, 28 Dec 2020 09:04:02 -0500 Subject: bug#45494: f2fs-tools-static doesn't find uuid.h Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 28 Dec 2020 14:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45494 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom Mail-Followup-To: 45494@debbugs.gnu.org, dannym@scratchpost.org, raingloom@riseup.net Received: via spool by 45494-done@debbugs.gnu.org id=D45494.160916423622359 (code D ref 45494); Mon, 28 Dec 2020 14:04:01 +0000 Received: (at 45494-done) by debbugs.gnu.org; 28 Dec 2020 14:03:56 +0000 Received: from localhost ([127.0.0.1]:34654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktt7r-0005oZ-QK for submit@debbugs.gnu.org; Mon, 28 Dec 2020 09:03:56 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:34516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktt7q-0005oR-3A for 45494-done@debbugs.gnu.org; Mon, 28 Dec 2020 09:03:54 -0500 Received: from localhost (80-110-127-104.cgn.dynamic.surfer.at [80.110.127.104]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 44AB733653CF; Mon, 28 Dec 2020 15:03:52 +0100 (CET) Date: Mon, 28 Dec 2020 15:03:50 +0100 From: Danny Milosavljevic Message-ID: <20201228150350.00e02d8c@scratchpost.org> In-Reply-To: <20201227171145.749a3313@riseup.net> References: <20201227171145.749a3313@riseup.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/b1cJVFtyifY0ufmDkWeCttW"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45494-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B38319404FE X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: rHHBHYf3xcRs --Sig_/b1cJVFtyifY0ufmDkWeCttW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, thanks for the report! fixed in guix master commit a099d833af3afe69c50dbd016e9ed117462ca7ef. Analysis: According to https://linux.die.net/man/3/uuid users of the uuid lib should = do: >#include however, "man uuid" in Guix says to do (that's from util-linux-2.35.1/libuuid/man/uuid.3) > #include and f2fs-tools does (in mkfs/f2fs_format_main.c:21): > #include I've also checked their git repository at https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/tree= /mkfs/f2fs_format_main.c and they still do: > #include Then I tried guix environment --pure f2fs-tools-static --ad-hoc gcc-toolchain and we have: echo $C_INCLUDE_PATH >/gnu/store/w6266wwyy7ih2p22g8k4fzx7a1dj61qn-profile/include But /gnu/store/w6266wwyy7ih2p22g8k4fzx7a1dj61qn-profile/include/uuid.h does= not exist. But /gnu/store/w6266wwyy7ih2p22g8k4fzx7a1dj61qn-profile/include/uuid/uuid.h= does exist. cat /gnu/store/w6266wwyy7ih2p22g8k4fzx7a1dj61qn-profile/lib/pkgconfig/uuid.= pc=20 >Cflags: -I${includedir}/uuid So I'd say that pkg-config is missing. And indeed I had already worked around that in gnu/packages/linux.scm : >#:configure-flags > (let ((libuuid-static (assoc-ref %build-inputs "libuuid:static")) > (libuuid (assoc-ref %build-inputs "libuuid"))) > (list > (string-append "libuuid_CFLAGS=3D-I" libuuid "/include") Here, suffix "/uuid" is missing. > (string-append "libuuid_LIBS=3D-L" libuuid-static "/lib -luuid") > (string-append "libblkid_CFLAGS=3D-I" libuuid "/include") Here, suffix "/uuid" is missing. Similarly for "/blkid". > (string-append "libblkid_LIBS=3D-L" libuuid-static "/lib -lblkid= ") Ok --Sig_/b1cJVFtyifY0ufmDkWeCttW Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl/p5cYACgkQ5xo1VCww uqWCOgf+II2xeiWRVp+XVIOTadtWNKEcyPHK9iGdJsq1fXjcWaMVZ7i8NRYo9mPN ICNNtRRvLqSEfgZ1mOXPLs0zpGciYHR4Q+8qSBr3I+5sc4sfgUgpyGjDi8PcN/Hx abIdyFK5/xXUGR3bAdVf81xiJc79fo6MsyPPv2t5nXFtU1AvRB8waUTZzge4Q8UR 71bCGTmcq+NAUTcRq1CEZ0TgnDdzvrilcZd0r4Q/EqWTBrOW3LM/RMrUo1TfMsKt t4OMlJq1KBkHAYi6JK4J72OSdTCrVaQZYJxV6ZcYEqRIsleH5hiuhtqyDi/KC83P Z5rXe87v7w3Rb+jUQkIFNk98Fq1KsA== =MReP -----END PGP SIGNATURE----- --Sig_/b1cJVFtyifY0ufmDkWeCttW--