From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oJc7IzUIlWZwQwEAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Jul 2024 11:29:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oJc7IzUIlWZwQwEAqHPOHw (envelope-from ) for ; Mon, 15 Jul 2024 13:29:57 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=AqO2zWMm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721042997; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aa3ops7xPxeFTEZ3CR/anH9RBShoYWG/w7EyELfdFWA=; b=W7pcJZ4IuF6wT4W3gCdaT5tKLu9EQiuUSMF5Cul6YUb0nzcjy0ipkeu+/nrV5gKx8+Bm6u Wk6vk20BS0Rby32OL3iqUBnQtvmJ58eDlOPeaF3AkjJCPWcZmmfxhUhMvdqN2YFqtr6mph oeMvO6Z9kb+vCJq1714WItxPG30CyLtj3xRH0mwdiLWXbInneV+6DBeq2KVEisePr5tXCv A69MEx5LWEem7DLjVhce3NwlUauByirkPKQHKCi1GASdOj2ZnP3b7Z/VhoITSPTTvMcP6q qrJWbW4mX9rU6POvas56Y2KeW4Q7cKvraFLVbJhtdjQ8gszfu/K2l/Mxjo5Jvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721042997; a=rsa-sha256; cv=none; b=b+QySiu2lLFuKKv7PRGyoafgIBnfY2JKuAEOtpQGSavi01vg1KRpYMlHbrN8TBs/HcR18i Df6PJo8s24q/x/6SFnSNEBtPhRTKmEP2lIJFfNbBcl9VQnc7duSFl8wBweGgKt0lezMDdQ plirozMr5bFso4AxGwYwNBfmk9fK0iGuFIUH1GqdKR1bvx8nrwVPWgZBxZUkM9Q7JH3iFE NKSrum3jUP9mvlF/HCS8UqYBXqZyTU4WXPpTZ4AOfZasx4NWohOBwutHFNAfXWGpFGLI5V DCtwmcdphiw0TkQrycMguXnlW3BuSjimrbeDxUvGudf9jF5GIfPRvD+ShjHnWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=AqO2zWMm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" 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 53F6E7123D for ; Mon, 15 Jul 2024 13:29:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTJtK-0002iC-CR; Mon, 15 Jul 2024 07:29:14 -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 1sTJtI-0002Z3-2p for guix-devel@gnu.org; Mon, 15 Jul 2024 07:29:12 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTJtG-0001Uw-8j for guix-devel@gnu.org; Mon, 15 Jul 2024 07:29:11 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3678f36f154so2454711f8f.2 for ; Mon, 15 Jul 2024 04:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721042948; x=1721647748; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=aa3ops7xPxeFTEZ3CR/anH9RBShoYWG/w7EyELfdFWA=; b=AqO2zWMmKoIV0/tcWNBFelLbFlQil2PQXLLibQJAKbHAnAxG3kyBLPr/gmOrXaUc2G y67Ba8/oxrAXBTUin10tIXUvXA2AOXV72b+nRxmE5tajot4owK5YyV6EioAMbXGq40MJ zm4VQrfil91Ti8tyukHnuOTjDy1LZ0adltmjLEshzMhLQl0Mn76kuvOEdRKUW4xmwyQ9 Z0gq8Uf4bOVRlP26i0VqcWn3/2/0sA1ckBcMeoYvEC5+eVBeCnzzYpzHvZ0ZxJCTC8qV GLoxwh/gx3Lfzjp10as58jg+iCV5nuYfkHuoHN5fDlfGiXxXHKeoMP+nZw0/sivzvhFc btHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721042948; x=1721647748; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aa3ops7xPxeFTEZ3CR/anH9RBShoYWG/w7EyELfdFWA=; b=bMek1SyYPRgN4N/DhYByWHsoYJvvndPEiA14SInbEfFJCaURADMEoGOTVQXu8D7rRP mAweSKXbToj1BlWnDdQCt/YX5nnNCHy84I0pzyrDOHvg6CZmTQOpzRchLFDYLO03k3Ir 6mu4cSnKU+QmayNvollCEpBK6DuqqR+ke4YplBA1oTCOIMbcAAoxQ535Lu2l37s2y1xC ntdkE33jnnZyeKkq7YU1SXYNEIRlQIZawWnghvN1vUz/3P0/adq/omMA6RJdW9QqP85w rODQx8q0WWbhOCp0UW/WM+IEmxZLvMO0sLFscPZW90ESmLgavBudnZz/NKM6HVeAlq5+ exnA== X-Gm-Message-State: AOJu0Yz8hXEZM3m4LvKi445o3Wh6vkCNTMn9YAswCQJHgpu+ObgDRAWh 4nxW3eblF4W278DorbTGjsBwcO6ZDur3hbCP8TpKqcb+G2R+2a5H/KCWJa43 X-Google-Smtp-Source: AGHT+IGUSTV3FFx8Xf57g3QA1kTkkL7ZZMrU8DWDE5vtAJ2BPmrLUWe/4fqi+Sj8g0nQx329frFxZA== X-Received: by 2002:a5d:6345:0:b0:367:9988:84a0 with SMTP id ffacd0b85a97d-367ceadc7a7mr11726737f8f.58.1721042948091; Mon, 15 Jul 2024 04:29:08 -0700 (PDT) Received: from guxtil (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680db0489csm6158080f8f.104.2024.07.15.04.29.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 04:29:07 -0700 (PDT) From: Sharlatan Hellseher To: guix-devel@gnu.org Subject: Update default Golang version on go-team branch Date: Mon, 15 Jul 2024 12:28:56 +0100 Message-ID: <8734oaq4g7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.34 X-Spam-Score: -8.34 X-Migadu-Queue-Id: 53F6E7123D X-Migadu-Scanner: mx11.migadu.com X-TUID: /M1FBJ+2xWOJ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Guix! I had a courage to refresh the default Goang version to build packages from 1.17 to 1.21 as all version before it are already EoL. After rebuilt 900+ packages locally I've fixed some failing to build packages. The packages in golang-build were refresh as well which involve to rebuild about 1000+ packages depending on them. The changes are pushed to go-team brunch to check any other failures. My plan is to continue shifting packages from golang.scm to dedicated submodules which may boost maintainability of Golang ecosystem. I'd like to highlight a "feature" of the `go:embedded` build option which fails to archive during build without this hack: =2D-8<---------------cut here---------------start------------->8--- ;; FIXME: Pattern embedded: cannot embed directory embedded: ;; contains no embeddable files. ;; ;; This happens due to Golang can't determine the valid directory= of ;; the module which is sourced during setup environment phase, but ;; easy resolved after coping to expected directory "vendor" with= in ;; the current package, see details in Golang source: ;; ;; - URL: ;; - commit: 82c14346d89ec0eeca114f9ca0e88516b2cda454 ;; - file: src/cmd/go/internal/load/pkg.go#L2059 (add-before 'build 'copy-input-to-vendor-directory (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (mkdir "vendor") (copy-recursively (string-append #$(this-package-native-input "go-github-com-charmbracelet= -glamour") "/src/github.com") "vendor/github.com") (copy-recursively (string-append #$(this-package-native-input "go-github-com-alecthomas-ch= roma-v2") "/src/github.com") "vendor/github.com")))) (add-before 'install 'remove-vendor-directory (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (delete-file-recursively "vendor"))))))) =2D-8<---------------cut here---------------end--------------->8--- It might need some adjustment to go-build-system. Related issues: =2D https://issues.guix.gnu.org/71011 =2D- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmaVB/gACgkQdtcnv/Ys 0rVy1RAAk2bxFZBhSgFyaXs3y6F/qdtE4aoOWaMLO7o7QnF97x3otxNMMtI4xwry k2wjZdn3nkhDkhLmw2OaGsZQc8kHmH2L5AQncPWWuiGi5CdDOYLBllofkkxRPTKS WTW7kn/hyeqjee51x7vo7dqUHaBsPtSRiYP734Vx1piXF1+dUSZXXrYd2tKvMpQv mKGtZruWJIuGTxAziXlDQmJNNZNt+HPAoriUtFIGZij6V3Ri7V7aj9lQ2mcRd1vR U3eNZjkV7pEFY1upwkk3JNNW9Tmj30Boq2LNrO/5ixPBD+oat7eqOBEQN+fFqtf8 gs4HQMNRQxLGyM47SRgodIbh/lwmAeKPyILXc1rO7p5ZJBQxqfnePfctKka9ohRl cxPvz7apPmQI7ummtrhAeW6UOEyCl26KX/awZN8KtrEa5OjchJNRv0/PNZ8inNP/ /q7xdcN6R6WXQD54w9SNzYrA7B5rX3ov7aOBBW+bXiLIbVZOl7cK1QHjqa3y+K8y IFrwVoELhckuMTaK+9TroKP2zs+Aj2o0P/DtV8ygT7Aenw1aufkYA/Su5nm0+6/j 42ZkuFCAB37OFdB32uAZTJz6T9xSpFP60TqDb+DazNGWH0AExOwQAAgvJNoYILC+ rz/R2+LJ2IAIO9xHVELhVeeSpCYWy1X8E4nOvB5DmES2AeJoLnE= =iwr7 -----END PGP SIGNATURE----- --=-=-=--