From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJ8tDuUxjGAa+QAAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 18:35:49 +0200 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 eP7ACeUxjGCXTAAAbx9fmQ (envelope-from ) for ; Fri, 30 Apr 2021 16:35:49 +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 9CA2D2182A for ; Fri, 30 Apr 2021 18:35:48 +0200 (CEST) Received: from localhost ([::1]:57086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcW7H-00026D-Dq for larch@yhetil.org; Fri, 30 Apr 2021 12:35:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcT8G-0002UP-Ca for help-guix@gnu.org; Fri, 30 Apr 2021 09:24:36 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:41218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcT8D-00024y-Kb for help-guix@gnu.org; Fri, 30 Apr 2021 09:24:35 -0400 Date: Fri, 30 Apr 2021 13:24:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1619789063; bh=mRGUPv5Bn8r1gXyCiIP+yJWWOp0TV4B5LgpHR1rNk6U=; h=Date:To:From:Reply-To:Subject:From; b=vEKPCz4/hl3XEec0em+EF9dlRk38I+P5itkPl+M4WJfr9bhOd7jZz0ggpLF7UgluX lVCGPjFtFAMHVhEow1M0wh29voyX+DQ3WKWWxLgXReSj1GtkQzx7fAAW1B8lV5fDgy 16wCt/MTeD9wbvRJcyRgeNfjgljTWrU0cia+XX14= To: "help-guix@gnu.org" From: Formbi Subject: Packaging Golang programs Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.140; envelope-from=formbi@protonmail.com; helo=mail-40140.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 30 Apr 2021 12:30:59 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Formbi Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619800548; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mRGUPv5Bn8r1gXyCiIP+yJWWOp0TV4B5LgpHR1rNk6U=; b=Uv/CxF/IaeYR7OHlvoe8PixmPMdRp//BFJuch75Rd95YDKYpeS0GZxpfP2A3lvXHDVwIe8 4GUNkOtcq3Mm+PXVwPF/YmAcHlZ7Ysp+Sk7HsVenEG4K9g3EAs2R6azfT7OEPQG2TEa9nH 2XVmmw8WIURa02cloG0N9AvcNOY9bDt65VLaomTFdlvz5SmzBBEnpPzLnzRmf0WK6+Tdje FgQO/PnSo7rBgx0WxWTEzr0wfvtqE6/SUspTXK7eAn5lQB/cUtLWvBVttExHh8JoBUGKv2 D6u7DOoa3t9iJRqgxnIlSNcpcTYneL3IyanQXDue+tYcR3YFyal6zMl5n0j6yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619800548; a=rsa-sha256; cv=none; b=FxUnRtExC2yz4Dr9n5N29hrHVYqg8AiHDYU+U0h9Q1FzfpxzeeuPQtX9osIKmwbS4QDPRZ 4GYyx2TTiutHkWVvXnTQYQ5Whed2GLyp0XhWPkidBStJkZQxOrdQUVesi07Z5Hl9oznL0n U89nti9rXCz3MPTVa+pDCPIm8E5iBUAZ0aAoK9Nyp1ypIaABJWGNZWfNBrNOLEijAeJn4l 3WGpNTF7CMQKf/AYJY6ZaY2+xCSZPqZNDnQlfES/ydwGv5g4sB9KVcp08G0Ngq8h5/U2J1 HOA8vPARPySnJlO7d2lzxnzOgMZ9uym49RM5s6gIanDdVe+WMdakat6MHPHr7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b="vEKPCz4/"; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b="vEKPCz4/"; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 9CA2D2182A X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: qSUQV3DxNl30 Hi I'm trying to package Protonmail's proton-bridge, which is written in Go. I= n most cases, it's quite easy to import a package or write the definition m= anually. However, some packages are made of sub-packages and the build syst= em says, for example: can't load package: package golang.org/x/mobile: no Go files in (=E2=80= =A6) Those packages are referenced as whole, though. If the sub-packages (with #= :unpack-path) are needed, they don't really work either. For example github= .com/shurcooL/httpfs/vfsutil in the test suite can't find itself: package github.com/shurcool/httpfs/vfsutil_test =09imports github.com/shurcooL/httpfs/vfsutil: cannot find package "github.= com/shurcooL/httpfs/vfsutil" in any of: =09/gnu/store/y5rwacd5l4q26pxis28wsmswj2603hkw-go-1.14.15/src/github.com/sh= urcooL/httpfs/vfsutil (from $GOROOT) =09/tmp/guix-build-go-github-com-shurcool-httpfs-vfsutil-0.0.0-201907072206= 28-8d4bc4ba7749.drv-0/src/github.com/shurcooL/httpfs/vfsutil (from $GOPATH) FAIL=09github.com/shurcool/httpfs/vfsutil [setup failed] FAIL Disabling the tests doesn't suffice here, because after it =C2=ABbuilds= =C2=BB, it can't be found by a package which needs it. Could you please giv= e me some directions? Kind regards.