From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YIivK6DdPmJVewEAgWs5BA (envelope-from ) for ; Sat, 26 Mar 2022 10:32:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EI12KKDdPmLSBwAAauVa8A (envelope-from ) for ; Sat, 26 Mar 2022 10:32:16 +0100 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 5501531155 for ; Sat, 26 Mar 2022 10:32:16 +0100 (CET) Received: from localhost ([::1]:43158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY2mM-0001ee-EK for larch@yhetil.org; Sat, 26 Mar 2022 05:32:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY2mA-0001eO-Nw for guix-patches@gnu.org; Sat, 26 Mar 2022 05:32:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nY2mA-00027a-Fc for guix-patches@gnu.org; Sat, 26 Mar 2022 05:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nY2mA-0005dC-9k for guix-patches@gnu.org; Sat, 26 Mar 2022 05:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 01/47] gnu: Add go-google-golang-org-protobuf. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Mar 2022 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo =?UTF-8?Q?Nikkil=C3=A4?= , 54560@debbugs.gnu.org Received: via spool by 54560-submit@debbugs.gnu.org id=B54560.164828708821605 (code B ref 54560); Sat, 26 Mar 2022 09:32:02 +0000 Received: (at 54560) by debbugs.gnu.org; 26 Mar 2022 09:31:28 +0000 Received: from localhost ([127.0.0.1]:53059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY2lc-0005cO-Dd for submit@debbugs.gnu.org; Sat, 26 Mar 2022 05:31:28 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:48446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY2lZ-0005cC-EU for 54560@debbugs.gnu.org; Sat, 26 Mar 2022 05:31:26 -0400 Received: from [172.20.10.9] ([213.119.160.242]) by baptiste.telenet-ops.be with bizsmtp id AxXP270025E5NyV01xXPfw; Sat, 26 Mar 2022 10:31:23 +0100 Message-ID: <774959929b959d2dd38e516d84d0e779ecf47083.camel@telenet.be> From: Maxime Devos Date: Sat, 26 Mar 2022 10:31:16 +0100 In-Reply-To: References: <20220325055517.2060-1-hello@lnikki.la> <20220325133211.5128-1-hello@lnikki.la> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-QkBkmL13n/qAV2FO64Dc" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648287084; bh=2omNkEsp/GGsz8E+G4P0AEbx5SeH5WAokew35RIdvHE=; h=Subject:From:To:Date:In-Reply-To:References; b=HqJod465b/D01JQMayBQsOUIT16CJl1G6S3328vaPyWrDsyfNXnzoD+EJuA4Mfeh8 QAtpS3/z1sRe21iW/D5U3yQZJuOBDr3qWykSY+Ihzo8PGdXGXiXDJW0LhXPLrAaqJo y2ja6XpXCo13xvRxiy3Z6AAuYjuqTRIngn83vmseLPK27I67hHLPuWId8KO9Yqi/aZ PM7Y51atouRqRZCPxOg8KGe+nXqNy2s8jFb2pVfN2WawDoSlUu4bvhb6/StZkchk19 pTVsa1J1d2n0PdYag+xrtQWTJnYIgmKiRMCU1Q4+VMvMFmHvXjhIrTSeD3DG6gteVY yaXeH37/8+27g== 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648287136; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=2omNkEsp/GGsz8E+G4P0AEbx5SeH5WAokew35RIdvHE=; b=Udu3WjKgbsrsS/IliMH5ZVZQF7tTrJfZ2cJ5ZBklaVJhTt/ZDyi4uYSbjICtc2P2SPWl0m R4RGOasvnQA3TcwoaCtjduKPw/OPqScvq6Cjt/5ne6NBzegLaq7Ibi0Xh0TS3vhaaSirL9 AQC13skJkpfByCVbCpGIifibf3H2m2qSyaVUdTGozpaRQ9qRnobpJ9q7CwcKb6yD4h/zUK vnOAl9pPCuqs37QcEO1AsbnmBbnmmDyd1abstTdpF9840ukNRBM29GdW/DfZCFNhdrnHo2 Ga5iWtyrLtYgyzWVfLNVuBXZ50J+11nH1VUMvtyThun7yAgSzV5uJge/CtUGNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648287136; a=rsa-sha256; cv=none; b=TH8GvRrNHmj785dW07ok11FFOgEF/jHPLSAfDtYLz4zAcxPeP9w6bh0pwiUI4ykSgdondr e958bC2ge9MirZ8zN2VylwYxYE1IRqzBbfZm4iM8TeoaEZjY5sQ8FDuMLXkuVFCuI9HKMA FJDJGWM45OxX+ILacU3lmc0X26lo5Kbl+z+7JEzCVyuFGItIbhkiJcLlzcogogWKoL5Yh5 Tc2SL3iM8BKWEB924z5gSuV0FuNxUeCZnegNz8XV6IDlnNajhETeF6idfMfZncpkelWOnt aWj0i38aT2hYu4rg742hRZDyOv41F6x99i2e9/tUHDOinx31rOLFvYZRPiNDEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=HqJod465; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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" X-Migadu-Spam-Score: 3.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=HqJod465; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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" X-Migadu-Queue-Id: 5501531155 X-Spam-Score: 3.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: bx1rzFezmcAX --=-QkBkmL13n/qAV2FO64Dc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Leo Nikkil=C3=A4 schreef op vr 25-03-2022 om 22:55 [+0000]: > However, due to how go-build-system correlates these import paths with di= rectory paths, supporting wildcards in `#:import-path` directly would requi= re further changes to the build system. Looking at go-build-system.scm, it seems that 'unpack, 'install' and 'install-licenses' need to be modified to drop the "/..." suffix, if any? If this is done in go-build-system, then more packages could benefit and perhaps some existing package definitions could be simplified. ;; See ;; for how wildcard paths work. (define (unwildcard-import-path import-path (if (string-suffix? "/..." import-path) (string-drop-right import-path 4) import-path)) ;; in 'unpack', change =20 ;; (when (string-null? unpack-path) ;; (set! unpack-path import-path)) ;; to ;; (when (string-null? unpack-path) ;; (set! unpack-path (unwildcard-import-path unpack-path))) ;; ;; and likewise in 'install' and and 'install-license-files'. Greetings, Maxime. --=-QkBkmL13n/qAV2FO64Dc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj7dZBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7te5AP4+yHh0NcAe2g9PJOycz8OwoHMJ F1nAKXPRT6ecl3QoFwD/W9a8IM6i9b1dY334lKWMGzZhYBZB9YJ0pSZ6sQ4qTwQ= =Hd8b -----END PGP SIGNATURE----- --=-QkBkmL13n/qAV2FO64Dc--