From nobody Mon Jan 10 11:13:16 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 798781955C8D for ; Mon, 10 Jan 2022 11:13:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JXWQh1kQCz3wNT for ; Mon, 10 Jan 2022 11:13:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C90223F51 for ; Mon, 10 Jan 2022 11:13:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20ABDGNq008860 for ; Mon, 10 Jan 2022 11:13:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20ABDGYA008859 for ports-bugs@FreeBSD.org; Mon, 10 Jan 2022 11:13:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261082] branch 2022Q1 , net-mgmt/prometheus2 checksum error Date: Mon, 10 Jan 2022 11:13:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dor.bsd@xm0.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641813196; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=pVH/e5sdY12q35RvWHJf3LlsGiqh1GpyCGo/WH8Lyyc=; b=H3rlSwvHxybQ10J8eYZHrm2+3z/jCyQEJDnVZzN5sn0q4yH+V4yeYbothO2qNHpEuz/5Pu rpvlzrEJoEeH3rDyF/asTlJ+29/0CfRsLiz7FpA5SsSXveXFTS35YB5BeqNkh3SfKpRZqP nXmXil3s0St+q+0mI1CuTValsRg0Au5BcGgtu22WG/K99SIH0sZ9jwNJiscCV5wdiINyvQ LVxx3QBtgAeCCWQ26g6GGoZ2N58uQOPEw1umKaN2c49BnxzYlSY9nha2ylHjB8DTRR9HmF fitaQxE76RzPTk61P6kQNE6xSuIfVv3YRsH3WhE7IG+iMqWIZ/atDjPLVkq3VQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641813196; a=rsa-sha256; cv=none; b=BKM9/nIbGkLlhYKoW6IerKiTIlYGRIEGVMPELrell+74LqahOR7IaATZ7SX1ggcNTBaWlj xFv/z1hQmBfF05QMQSlp2oxjIsO9V5GzXK7jVAKSkSp8MRe+lJpHQRLUFVSM/SPE21sJcw fBM9n1sC/QnpoerD135uUWoHVa4OtqI5hugA8KkzxG5bKCn7AIyUe1JDai7Luf8aoibT7i FberwpTiQs0IpzMJ9kO8P+ya5/Oo8hkgM3lVtUp7cOCbvWrCsrrZ0m15mjr0go4M18h3oo 8Erx4uvTz9b3ghsIQ3vrPWJYuY4SDBbkaiWTdHIjlfpQOZnrWEua9+2b+MbeRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261082 --- Comment #1 from David O'Rourke --- Hi, Unfortunately this is because GitHub archives are not fit for purpose. Specifically, the issue here is that GitHub archives are generated on the f= ly by `git archive` and then cached for some period of time. `git archive` doe= s a number of things outside of just generating the archives (tar.gz), such as search and replace in files for specific format strings. In this case, the string causing the problem is at https://github.com/containerd/containerd/blob/v1.5.4/vendor/k8s.io/client-g= o/pkg/version/base.go#L58. It feels like there are GitHub backends running different versions of Git, = so each of them is generating slightly different strings for that file (some generate a hash with N characters, others a hash with N-1 characters), which obviously means we get conflicting checksums on the final generated archive sometimes. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258724#c= 2 for an example of what's being generated. Future versions of containerd (1.6.0+) fix this by using a newer version of= the client-go dependency which uses the full version of the commit hash (%H) instead of an abbreviated version (%h). For now, it's probably best to just fix the checksum locally for your build= as I'm not sure what my options for fixing this in a more permanent way are, a= nd if I "fix" the port now, I'll just have "fix" it again when GitHub decides = its time to break things once again. -David --=20 You are receiving this mail because: You are the assignee for the bug.=