From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id upQGBLa+a2SFSAAASxT56A (envelope-from ) for ; Mon, 22 May 2023 21:12:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QERWAra+a2R8jQAAG6o9tA (envelope-from ) for ; Mon, 22 May 2023 21:12:54 +0200 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 C8EB11906D for ; Mon, 22 May 2023 21:12:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1Ax0-0004ll-Jn; Mon, 22 May 2023 15:12:10 -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 1q1Aws-0004UU-BQ for bug-guix@gnu.org; Mon, 22 May 2023 15:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1Awr-0005Hl-Re for bug-guix@gnu.org; Mon, 22 May 2023 15:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1Awr-0005h2-KE for bug-guix@gnu.org; Mon, 22 May 2023 15:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54097: [PATCH] import: go: Handle subpackage versioning correctly. Resent-From: "Timo Wilken" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54097 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "wolf" Cc: 54097@debbugs.gnu.org Received: via spool by 54097-submit@debbugs.gnu.org id=B54097.168478271221867 (code B ref 54097); Mon, 22 May 2023 19:12:01 +0000 Received: (at 54097) by debbugs.gnu.org; 22 May 2023 19:11:52 +0000 Received: from localhost ([127.0.0.1]:36630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1Awh-0005gd-P2 for submit@debbugs.gnu.org; Mon, 22 May 2023 15:11:52 -0400 Received: from mx1.mythic-beasts.com ([46.235.224.141]:48117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1Awe-0005gN-W4 for 54097@debbugs.gnu.org; Mon, 22 May 2023 15:11:50 -0400 Received: by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q1AwY-005oCx-W6; Mon, 22 May 2023 20:11:43 +0100 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 22 May 2023 21:11:34 +0200 Message-Id: From: "Timo Wilken" X-Mailer: aerc 0.14.0 References: <6dd1de3dd4d968876fa55f5126056834c77b0244.1684703258.git.guix@twilken.net> In-Reply-To: X-BlackCat-Spam-Score: 7 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684782773; a=rsa-sha256; cv=none; b=j/zmlJ43v2Xp0rySXnJVrnqFsmGGtyvre7woXMk/9vNO/Km3qj4Sf9abxYzaieh/FR8aA5 dz6IWnFINP3D/EWZA7SDUNrwQEpgry/Qx5GKKFYjpO7Q9bIYrsTuHlGM5WZ5YO7EKCiOEr MeFcQZFMmBfkyk5rOhxi0Du6fmK53BY2gq00TcsvKS6kUqD6/AGhqFbqE9kFnjXpIovoPY kynd5kHBdYMAMUmx3rFld0NvQtcwXvzVdnwZrxsFfeNkiniKRg99EypKvXGpmJ6KN5GExU aCwS36I99NUC6O+p2JrCrh2uJiYOpyM4J8zWo6Ph3UWuTnBsjRnq5IOMCUJRtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684782773; 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; bh=X1Ml23l0LI11tLASHm8qJizZ0XBC7Y/c7SHCaXr2nGg=; b=GK+jrxYVZ9avpBmtwzxVu4vdWYk6FacmKHwNN71SF2GwLbnuM/TkNkmjfbdNZ+NjLOB1YX cbvSTi6y+RGHRICMte/WixQZ+m5WCpUt0cCPFC4JHyzeoX22IxFddL6qYZiGuf79vYk9H4 VB2y5kpKUiJ0fklVfBAb43AenUd6g1cmecr1f7oKR4jlgBKe2qGtsXmTmAJcbaUqOc5QJs ni5s8uIksS+Ia8bC0VOcmH7SFCmkzAouJeZXe69xobOm77heUyEVcSDtasTJYHe0lQt8oE GdKJEr6ujGpecMsU+eMJuo5/QAm6pa/RbJ+Stzowc1ML4aP5YhpvSg1KrMEztQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.87 X-Spam-Score: -2.87 X-Migadu-Queue-Id: C8EB11906D X-TUID: FgZAvL0Az224 Hi wolf, On Sun May 21, 2023 at 11:54 PM CEST, wolf wrote: > Please give the github.com/Azure/go-autorest/tracing@v0.6.0 a go. My cod= e > failed on it, and (assuming I applied the patch correctly) your does as w= ell. > Here are reproduction steps to make it easier for you (please tell me if = I did > something wrong): I don't think you did anything wrong there. That's an issue I've run into in the past as well, though it seems to be a = bug in the Go build system, not the importer (and in my patch I only touch the importer). > I will not pretend to have a full grasp on how (guix build-system go) wor= ks, > however my debugging lead me to the observation that it tries to unpack t= wo > dependencies into one file system tree overlayed on top of each other. I= think > the current way (GO111MODULE=3Doff) of building of golang packages does n= ot play > very well with well, go modules. Fair enough! I don't know much about Go -- I don't write software in it, I just want to package some stuff written in it; in my case, that's Matrix-related programs. > Either the build system needs to be smarter about unpacking dependencies = (and > doing it in a correct order), or we should start using go modules for the= builds > (it can still be down offline, just the dependencies are in different pat= hs). > The second approach is what I wanted to explore, but did not get to it ye= t (and > likely will not for a month or two). Your second approach sounds sensible! If I can find the time and motivation to dig in to this, I might have a go = as well... But if you get anything working, that would be much appreciated! :) Cheers, Timo