From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IERTKkEjsGXvMAAAqHPOHw:P1 (envelope-from ) for ; Tue, 23 Jan 2024 21:36:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IERTKkEjsGXvMAAAqHPOHw (envelope-from ) for ; Tue, 23 Jan 2024 21:36:17 +0100 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=OdyT2cH0; 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=1706042177; a=rsa-sha256; cv=none; b=Cn8n/dx5eOChz9RpaHfmYdaRUGEUGzNUfmZEj/RXBqKgLyvM3kHhIBKP7Pvqx32wh/p4HG 5ukx2EEv+4rudjV/S60JQ9uPyfD0coWCLnJ0AdxhPtmdOl/ntZgeuUaxYKyAnNTmwSLlJu aBKtTaxIrhJdqnd83Pj7j9oISLFnjH2BfEQvYuJPEJyq2RDRzgZRfdIAhX9pRVPQo9UAyL 9O3U40AQfaOpr35Ua3yztUIUWpeOMIgANS3/c+Neuewc13iwvTIMNLFA+JL+hQ0neSQm4K 3KaE9YeBOpvvE1VAgno5hhLdJjpg03raRGPzGByxg8gkIxb7w6YxA+86r6jWwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=OdyT2cH0; 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=1706042177; 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: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=oTUfifj2VzPBpK94efv3w70Dg5OnjTpA9MaU//Z8pBM=; b=TPEe35Qrap1D6IL4yh7s5xn45+Aprq2u1gqUHahFbWOKGCDt8uali2tApvQ0OGSGXsz1eN JZ1tCbULu81c+FyXMNvHDqmFVBkEhret2emYRPSh4KcC6kvorpr+5qKPqnI7lj5gHE4lT0 igjMHwBmj5VBwPBLmD1yNsYDIetD9zOZFViCduk2BeqKYyQYk4VlKwqmCjEx05spfJt5uD FH2sScoMick+1/dyGk2ok4V82jDX3TGJ2LLySahRhUuP09fIxQmVraVw0wXIJeLlAY4KEB mEaPkIhZ9CIa9yWVzd72GOG8pTeGQcGhf0SSPGYSAY8ERiBMHbzekWJOTLLQVg== 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 750DF72EF3 for ; Tue, 23 Jan 2024 21:36:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSNV2-0004vc-El; Tue, 23 Jan 2024 15:36:00 -0500 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 1rSNV0-0004vG-Hc for guix-patches@gnu.org; Tue, 23 Jan 2024 15:35:58 -0500 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 1rSNV0-0007IZ-4F for guix-patches@gnu.org; Tue, 23 Jan 2024 15:35:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSNV4-0001sp-Hz for guix-patches@gnu.org; Tue, 23 Jan 2024 15:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68423] [PATCH] guix: go-build-system: use trimpath go flag Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Jan 2024 20:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68423 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ekaitz Zarraga Cc: 68423@debbugs.gnu.org, Picnoir , Katherine Cox-Buday Received: via spool by 68423-submit@debbugs.gnu.org id=B68423.17060421157173 (code B ref 68423); Tue, 23 Jan 2024 20:36:02 +0000 Received: (at 68423) by debbugs.gnu.org; 23 Jan 2024 20:35:15 +0000 Received: from localhost ([127.0.0.1]:44040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSNUI-0001rb-Vm for submit@debbugs.gnu.org; Tue, 23 Jan 2024 15:35:15 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:42385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSNUH-0001rM-DC for 68423@debbugs.gnu.org; Tue, 23 Jan 2024 15:35:14 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5100c2f7a16so712608e87.1 for <68423@debbugs.gnu.org>; Tue, 23 Jan 2024 12:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706042102; x=1706646902; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oTUfifj2VzPBpK94efv3w70Dg5OnjTpA9MaU//Z8pBM=; b=OdyT2cH0EC80pHei15Dovwqlzl+TS43lajvfQVTA5ijpkrIYHkVJO0+wD8ReYVT1xS +AYQuaBqxgnAw7TRsoyOvw2xnFYGEZEUWJiJCVWcm3iChrduxg1iknIT9cyg5JgUU4th xhPyfMoXi9fn5rLGimEcdf5NyS2IwDpOcpzwmOlZW3thgP7JEv7Mb8J+UigBLbJUDmsI YbAjkfhDCeIVXE8CjBIbrEV+Vw/4ov/kwrQE8GUs4Pnog9iBS4ze+5/FoGh3GSkmteeE JLkZ91i3arR8DVsoJhEAHogRtCGk/zU7JzOlA1aEK8jO/3QaM0xuOccqHUre7r5I6nkW 37TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706042102; x=1706646902; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oTUfifj2VzPBpK94efv3w70Dg5OnjTpA9MaU//Z8pBM=; b=ZuRU16/QFbBKuiajEA4/4yDWvhIo1sgVsa5EGSl6tq2uIYxud3IwywDcbm/0/FYKjF YAWLMLOtvETgynTKjQUpByETTMcV1uuuwzFQsTUv+jXqPakwZT1OGGi5/ZfpKVfDSMLb YkBG4evyUoD9eu9Zcwy5SwaDnAMWj0RhBl27467gDSrujMkPUlogdxHvp2UQXNXFvEWC rJrQcq4a2BSTXECtLrYzw+4+4kLCil1vdeXzVIscyMFrgYRCc0OnYZ4On/nKG/gdoTRV yggxGpXx3oT9TnoDUL70tK1us0S+kzcj3RzBEGoD13wDAick/hB+r7qh7q86Y05oXGLS UhYA== X-Gm-Message-State: AOJu0YyJQKXWorYG1Zcd8N6jBH7FzgN/+bqUhJtQ1bVrEhqTU1cFvmCZ Iq/Iq7RKIi+D54TgKGSeRP/sYrn/yFbH9MWiuzsR9oaKHLHcmnc7SdalPnfX3ITFIK2wxO/ywQb AOS2mep2OwQ4z65Eh/FfCUZ4MzdI= X-Google-Smtp-Source: AGHT+IEnP7cUGy4erhHOzXr9jXtJNjm1vw1jRKIY0Su55upaXP54mAzbfXBRr9dgVelb/NPpsrwep5SjjjDSSuk9vVw= X-Received: by 2002:a19:9103:0:b0:510:36c:d78c with SMTP id t3-20020a199103000000b00510036cd78cmr66336lfd.31.1706042102245; Tue, 23 Jan 2024 12:35:02 -0800 (PST) MIME-Version: 1.0 References: <5171475c-288e-24c2-a91c-94ee9b7627af@elenq.tech> In-Reply-To: <5171475c-288e-24c2-a91c-94ee9b7627af@elenq.tech> From: Sharlatan Hellseher Date: Tue, 23 Jan 2024 20:34:50 +0000 Message-ID: Content-Type: multipart/alternative; boundary="00000000000079ec06060fa2e144" 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.07 X-Migadu-Queue-Id: 750DF72EF3 X-Migadu-Spam-Score: -4.07 X-TUID: bl7lc09tviUG --00000000000079ec06060fa2e144 Content-Type: text/plain; charset="UTF-8" Hi Ekaitz, > With the previous alternative the packager would just remove > the phase, but hardcoding the option as we did doesn't provide > any way to do that... Some kind of flag should be enough. It would be great to have more control over golang build envars and build flags, like it happen in gnu-build-system or cmake-build-system via #:make-flags and #:configure-flags. Having some common defaults hardcoded and kind of #:build-flags as a way to path anything else to compiler. There is a similar thread referring go test flags, I've listed all in here: https://mail.gnu.org/archive/html/guix-devel/2024-01/msg00235.html Thanks, Oleg --00000000000079ec06060fa2e144 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ekaitz,

<= div dir=3D"auto">
> With the previous alternative the p= ackager would just remove
> the phase, but hardco= ding the option as we did doesn't provide
> a= ny way to do that...=C2=A0 Some kind of flag should be enough.

It would be great to have more contr= ol over golang build envars
and build flags, like it= happen in gnu-build-system or cmake-build-system via #:make-flags and #:co= nfigure-flags.

Having so= me common defaults hardcoded and kind of #:build-flags as a way to path any= thing else to compiler.

= There is a similar thread referring go test flags, I've listed all in h= ere:=C2=A0https://mail.gnu.org/archive/html/guix-devel/2024-01/msg00235= .html

Thanks,
<= div dir=3D"auto">Oleg
--00000000000079ec06060fa2e144--