From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id ECCqEZF/OmbTXAEA62LTzQ:P1 (envelope-from ) for ; Tue, 07 May 2024 21:22:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id ECCqEZF/OmbTXAEA62LTzQ (envelope-from ) for ; Tue, 07 May 2024 21:22:57 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EBCibOlx; dmarc=pass (policy=none) header.from=gmail.com; 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=1715109777; a=rsa-sha256; cv=none; b=WeCO5cB/8vG6UHW9/2JoH+nSWok4w3Y1CsxMRk8q7XVys7fhYFTBmp1IQkW6fQHe7cZ3DR eMic61s8c0NFVBgBeRt/JArhRpzd4q4S5FHCjjCzPy/glbTn+9NFi4nqSY/QmRFv4CKIVH ozBl/bUKDu31rc9PrJCRgtugOVRsdXvICLvEbJlVzcOKWLBOCsHWpiJaqgd64gesnPjPg6 K77Ukv8+BPo3uNLrKaX6D8ZsRyptfuqo9uPi/wnGPO53GHkBR8rCamKTDEge1mMP1QZbP9 HLE1KV1xIbNy87waB/nQtz6HEiTrnhZQTyWaXnLss2BdqkVr9omdnOjzutrr7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EBCibOlx; dmarc=pass (policy=none) header.from=gmail.com; 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=1715109777; 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=ZgWw1RLUKDauIqRDTKlFySHKtjZRMCcOVpZTCHDiV9A=; b=GY3KtX0sveAyNBgIg2oTJ99SESN9su2Dh13rWcMm5I6uL8A3siWbleq+zpV51Vf7E/qE14 mizCBXaI5QzWcCvYtFKroFanAopvO9Y7cR0BHit4rR8mcJlekbYfm73tNfWObiPI67T3Uw 3mwfukTlOPSmxo9MeIsXkZ1AeVrM0EiD8La4yzlu0/InDCwVPFS3hxBQT2JKFcLV/PdIyj cCWiSAsv+rPhoFRVVcuCBgYOLSwdAEAGfC6RO4hn0b6hbt9LzwBNZzOcjH0Oln98jd6hb+ RI3QzX/ITmirab/6ZKgsfxx+IL9aOjWB9p79BcVEdYFL629ShJlJ2a0ogBr1bg== 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 F2DD922472 for ; Tue, 7 May 2024 21:22:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4QOk-0003U5-Fz; Tue, 07 May 2024 15:22:46 -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 1s4QOb-0003SU-QJ for guix-patches@gnu.org; Tue, 07 May 2024 15:22:42 -0400 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 1s4QOb-0007eJ-2l for guix-patches@gnu.org; Tue, 07 May 2024 15:22:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4QP0-0002fc-1C for guix-patches@gnu.org; Tue, 07 May 2024 15:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70684] [PATCH go-team 0/6] Update miniflux to 2.1.3 Resent-From: Rodion Goritskov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 May 2024 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70684 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sharlatan Hellseher Cc: 70684@debbugs.gnu.org Received: via spool by 70684-submit@debbugs.gnu.org id=B70684.171510976410243 (code B ref 70684); Tue, 07 May 2024 19:23:01 +0000 Received: (at 70684) by debbugs.gnu.org; 7 May 2024 19:22:44 +0000 Received: from localhost ([127.0.0.1]:44260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4QOi-0002f9-8k for submit@debbugs.gnu.org; Tue, 07 May 2024 15:22:44 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:52559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4QOf-0002es-4j for 70684@debbugs.gnu.org; Tue, 07 May 2024 15:22:43 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-34db9a38755so3284134f8f.1 for <70684@debbugs.gnu.org>; Tue, 07 May 2024 12:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715109730; x=1715714530; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZgWw1RLUKDauIqRDTKlFySHKtjZRMCcOVpZTCHDiV9A=; b=EBCibOlx/bKKNNoaAAaBrZrlNxgVBFwMOJxdRNNI+fd4x/MhxhlZ/sqt8LIGd4Oma9 Vdr7n0TAPTa9tCM+zzspOPNhopcEon0yIYeKyQhy5cn+X4b7YuVWS3YGbS/q532jUxaR Fdtqc3hdeoYoPmz5OD3cKduIoyEAOEXZuK9l6Air5fMSf6Ukxo9MsUJZghV8jYS7N1np cfiI6MafP/3T5d/CvM6NoJJYKYUHdiDpD9tkuzfQ4N6a0s3c0Z3ckfIA6Rfv3KPrK5ie 3RQ+TAA295bEbXCn74E8KtDLJkTkHzNNPqUdLy/vSHNANEF34oy1V4/IHTTAZgjdJafY qAcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715109730; x=1715714530; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZgWw1RLUKDauIqRDTKlFySHKtjZRMCcOVpZTCHDiV9A=; b=n12YzYMsK7x3IcOw3K6h+d8jtgPqRYf+mm9BBUQInOsuQZp4xMOeRVKph9I1nHGV79 TU+Sw76hTghAfUIJGfplNs4AU31fkbNuXBdnmnBm6+yOiPyjFlQ+K/MyUFbD4kkkhwGg GBr7uVwQwVcYP3WrqCmZhjr3z9UIIAUx5AqEHnGk/h/g3hJbR7YgdliG9wbFxI9DDe4M 1yaKx1ZcyeWh+r36LqWqLNrd8bwmCWKrntbQMKVsyNxMYbZUFtRhryOgCmZPSUdLO43e ZeB4cpSMObuTetdmunS8JwYFiWZjvh0r5whdOyBMueT8d6J8vRptf7/YImhCD2UUFwXh 00Fg== X-Gm-Message-State: AOJu0Yyy+VkZhqPtXps71UiJKfisi5MqmLFUurSqbDIVi+cFROkqdAEE LvfGXAa8JG5wqfUK+vuD2zW7k/QGJXXWj8Ahh7vTaYK39vQKpu/GsgUKDA== X-Google-Smtp-Source: AGHT+IHTADaMZpJ9J114ggn95FSf3BIZ7CuxOs2dTVavr7yHU6fy9NwXnRGtshEznlLJ9AaoXPl6SA== X-Received: by 2002:adf:b1d1:0:b0:34a:beb3:f6dc with SMTP id ffacd0b85a97d-34fca0550damr734232f8f.2.1715109729590; Tue, 07 May 2024 12:22:09 -0700 (PDT) Received: from bumblebee-mighty ([92.51.75.166]) by smtp.gmail.com with ESMTPSA id y17-20020a5d4ad1000000b0034cfa17d74dsm13498554wrs.104.2024.05.07.12.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 12:22:09 -0700 (PDT) From: Rodion Goritskov In-Reply-To: <87edajq2uq.fsf@gmail.com> (Sharlatan Hellseher's message of "Thu, 02 May 2024 23:13:33 +0100") References: <87edajq2uq.fsf@gmail.com> Date: Tue, 07 May 2024 23:22:06 +0400 Message-ID: <87v83po2ap.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: F2DD922472 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.71 X-Spam-Score: -9.71 X-TUID: fgID9o5QR6JQ Hi, thank you for review! > In general the <#:import-path> is what we may see on go.mod after > . In general <#:unpack-path> is not required to build golang > module. > > According to the > these two packages may be packed as single one: > . > > +(define-public go-github-com-google-go-tpm-legacy-tpm2 > +(define-public go-github-com-google-go-tpm-tpmutil I have a problem when trying to build these packages as one. When trying to build the single package (like this): (define go-github-com-google-go-tpm (package (name "go-github-com-google-go-tpm") (version "0.9.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/google/go-tpm") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1pv77fmlxrnxasj6fjvzrv9yaf2qb45x1zss3nbsdvzgpwviaiyi")))) (build-system go-build-system) (arguments (list #:go go-1.22 #:import-path "github.com/google/go-tpm")) (propagated-inputs (list go-golang-org-x-sys go-golang-org-x-crypto)) (home-page "https://github.com/google/go-tpm") (synopsis "Go-TPM library") (description "TPM 2.0 library for directly communicating with a TPM device.") (license license:asl2.0))) I get the following error on the "build" phase: command "go" "install" "-v" "-x" "-ldflags=-s -w" "-trimpath" "github.com/google/go-tpm" failed with status 1 Actually, it fails with the following go install error (found by running guix build with -K and running command manually in the build folder): package github.com/google/go-tpm: no Go files in /tmp/guix-build-go-github-com-google-go-tpm-0.9.0.drv-0/src/github.com/google/go-tpm This is true - there are no *.go files in the project's root. For this project to build succesfully, project directory for "go install" should end with /... (to build all subfolders recursively), like: "go" "install" "-v" "-x" "-ldflags=-s -w" "-trimpath" "github.com/google/go-tpm/..." So, for now I could remove the build (and check, because it has the same problem) phases from the build (easy, but, AFAIK, not the best fix). In this case we still have all the necessary sources, for dependent packages, but no checks. Or, maybe, we could add some kind of "recursive" flag to the go-build-system. In this case, as I see, it will lead to all go packages rebuild (even if it will not be enabled by default). What do you think? > This is one go-module no need to split it into 3 packages, see go.mod > > > > +(define-public go-github-com-go-webauthn-webauthn-protocol > +(define-public go-github-com-go-webauthn-webauthn-metadata > +(define-public go-github-com-go-webauthn-webauthn-webauthn For these package I have the same problem (no go files in the root folder).