From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KBQWHFqcuWWqDAEAqHPOHw:P1 (envelope-from ) for ; Wed, 31 Jan 2024 02:03:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KBQWHFqcuWWqDAEAqHPOHw (envelope-from ) for ; Wed, 31 Jan 2024 02:03:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dwv+yclv; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706663002; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=iPcBMh+JOzou5v8403GPDN5yR25k3gSopJ+HB2NtBzk=; b=d4ZsRbq+J3lrgjM0dLeLIWnI4sVQGTT3WA3EEASIXC3ycK/E0Za/Pth7x4qw2q/hNfsYzC VkDsTo9lNh/PoWUjAgv1GpE+nNJBXY7beRYxXySTfBQII/rJ3gxHYRCGybMNUCMh028zNW NVTCfmRSwTLim17JhXBz63nbkAYBbExrDytgls0PEBVAb2367WaVsV1qIqGumXIbe7+dXf LUp0D0gcPi3W95d+ckmgvQstSTRcwwu29BvmakfisX6yXl9sUhlYIuilZfGHqKfimQbqLh DJosxLa+wfRykB2k/5AbXjWVDGqxvMvOb43i3nDzI5WEmBLToAFxURrv+Zg62g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dwv+yclv; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706663002; a=rsa-sha256; cv=none; b=lzXMKeYYXOIQyVJprmrcDhqLTyB4gqiltgOXTdaSIkaoIWDRUzXsxroeHUGIioFbzfh36+ YO5mv7nXGx+pycq9CK/zpW6Jqmt+1uyV2dzdGvCodwYz9n7ZpCD1xbp4tUzHxKSjEynNto kMn/OGMXVgcAlBJ+mdGDgzksQowgDQyiUgk442p4gysFfrCD7Bg610YCKZpN14K9LF7cin aatl+LxfdL3H0oJqNW6MPqWdpM5AehpUJFMENy7gylJlacUkTDGZHGMnEQDcR9qKyo0wWr KTp44E6cNWy5u7ODcikV/aQ4FZfkzuMO9yQBLeiioWOP3yvvr/FzfssN/zq43A== 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 0161646D14 for ; Wed, 31 Jan 2024 02:03:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUz0B-0001y1-1b; Tue, 30 Jan 2024 20:02:55 -0500 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 1rUz09-0001xl-Ag for bug-guix@gnu.org; Tue, 30 Jan 2024 20:02:53 -0500 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 1rUz09-0003OJ-0c for bug-guix@gnu.org; Tue, 30 Jan 2024 20:02:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUz0I-0003PZ-0l for bug-guix@gnu.org; Tue, 30 Jan 2024 20:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68835: Resolving package inheritance issue Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 Jan 2024 01:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68835 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 68835@debbugs.gnu.org Cc: dev@jpoiret.xyz, zimon.toutoune@gmail.com, othacehe@gnu.org, ludo@gnu.org, me@tobias.gr, rekado@elephly.net, guix@cbaines.net X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170666295213070 (code B ref -1); Wed, 31 Jan 2024 01:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2024 01:02:32 +0000 Received: from localhost ([127.0.0.1]:37198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUyzo-0003Oj-4y for submit@debbugs.gnu.org; Tue, 30 Jan 2024 20:02:32 -0500 Received: from lists.gnu.org ([2001:470:142::17]:36380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUyzl-0003OU-43 for submit@debbugs.gnu.org; Tue, 30 Jan 2024 20:02:30 -0500 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 1rUyzT-0001wJ-VK for bug-guix@gnu.org; Tue, 30 Jan 2024 20:02:12 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUyzQ-0003JW-Nw; Tue, 30 Jan 2024 20:02:10 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40fb3b5893eso1479525e9.0; Tue, 30 Jan 2024 17:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706662926; x=1707267726; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=iPcBMh+JOzou5v8403GPDN5yR25k3gSopJ+HB2NtBzk=; b=dwv+yclvpgga1qUsvBhPKM2dsWGlPvvY8BYQqkmJ/bjwjkSi7CSbbKGyNqF8dfIrjO /CsKxawhxOXJMT8XXLqD1AU1OmyYpZ9EG9biR6HJOpgAH37G5Jt6X6Mf9squVosbEaIR MtBhyRN7ECpbRPzFh9iADSnEGaG5lmuyt8DtMbucGGizLNGhlYv3KlqeVArT95BAVqmg QW2E8cpODinq6Xr0squpy1rZ9x+x1IJpCkGcaY8PBqErLrioN7rarJwUqDBaIroMyIyN FXlkljaqKxgDETYK7PvZiXWhPwx3CTVEGTt2DId8oy7HK0Fwjymf89yUIrgoXK+ekEjb jMmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706662926; x=1707267726; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iPcBMh+JOzou5v8403GPDN5yR25k3gSopJ+HB2NtBzk=; b=IWNKi3ePy6/XQaZhhMagmbeo2CtukgjSAz4K7krYiuRPbEzLIxZ0eaIAucm7M1H+Lz eapE07VsipDBXXAZ2bumUOL8CDOeni2FOqCT4vsg86LfwwglwhnnHsAmu5tAcJg7/d2H hhMKyqNW6gMre4QFGhop6PmJ/gBoiJjGAVou+nNNqHHjofS11F/DtIMFgq1eG/S2rEBB 3pIewOHRdajz+ks/1vCe0jokZcf/K/Nw3Cl4O4agx22wg4y+R64Qw9l5kihwV1BsN1RG 0JeqBSKOOKy3L/8J6ehPFL3ELmoGw3OnExikNbl8CthjQKSliLC8U1mPIPYfGUKE2zqy oK4Q== X-Gm-Message-State: AOJu0Yxl0K5Nw+BZsKbL8lOG+72pgt7LWaTt9v941dgk6it4xU2ABly7 xMVchQjlTnVymZwoVyRLTQqgZjY1V2SoAdzmkMAp3LH3QA8nIoLmoqnibF2q6JIPsg== X-Google-Smtp-Source: AGHT+IFnPZMuqbhfaI4+n8XRd0+xe/I87WvCjnCBQMRuequ1/rwy1hMWUnkPijcPx9mxu0K6AJvKrQ== X-Received: by 2002:a05:600c:19d4:b0:40f:afd7:f986 with SMTP id u20-20020a05600c19d400b0040fafd7f986mr135681wmq.10.1706662925501; Tue, 30 Jan 2024 17:02:05 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXrQ/oif1fSrKpbyFvREUt7AwuDsmPIeJlzZMqQpBeHL2xkgQ7KZEhQiSKCpdEH27H/SVJ1pJTkq2ATjhQ1VteiCQOhIlgpj7vDbsPl40tt4TZjf9Zhs6JQ1jPtZ0jfqlDOXARVUwZ+ZnEmMP6b44XV7BoIwWzYgEXzk4JiRrtH8IFMl5dELChjqzItKIxtlh3+HoHpKpskZtOvZA== Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id cw7-20020a056000090700b0033afcb5b5d2sm2506602wrb.80.2024.01.30.17.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 17:02:04 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 31 Jan 2024 01:01:55 +0000 Message-ID: <87sf2es4cc.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::333; envelope-from=sharlatanus@gmail.com; helo=mail-wm1-x333.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Migadu-Spam-Score: 1.74 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: 1.74 X-Migadu-Queue-Id: 0161646D14 X-TUID: 0T/IEdYqMU21 --=-=-= Content-Type: text/plain Hi Guix! > ./etc/teams.scm cc core - guix@cbaines.net - dev@jpoiret.xyz - ludo@gnu.org - othacehe@gnu.org - rekado@elephly.net - zimon.toutoune@gmail.com - me@tobias.gr Long story short, how to resolve package inheritance which would not break CI ;-) ? While reviewing and amending patch series from I've stabilized it on my local checkout, which passed complete reconfigure and rebuild few times (not...). When I've pushed changes to the commit f8c2d8141efef4565d12d8247bade069889b720e broke CI . --8<---------------cut here---------------start------------->8--- In unknown file: 6 (primitive-load-path "gnu/packages/web" #) In ice-9/eval.scm: 619:8 5 (_ #f) 626:19 4 (_ #) 173:55 3 (_ #(#(#(# "minify") #) #)) 159:9 2 (_ #(#(#(# "minify") #) #)) 223:20 1 (proc #(#(#(# "minify") #) #)) In unknown file: 0 (%resolve-variable (7 . go-github-com-tdewolff-minify-v2) #) ERROR: In procedure %resolve-variable: error: go-github-com-tdewolff-minify-v2: unbound variable --8<---------------cut here---------------end--------------->8--- My rational was to keep golang module in (gnu packages golang-web) and the new inherited package providing executable in (gnu packages web) which introduced the regression. Here it is that bad boy! --8<---------------cut here---------------start------------->8--- (define-public minify (package (inherit go-github-com-tdewolff-minify-v2) (name "minify") (arguments (substitute-keyword-arguments (package-arguments go-github-com-tdewolff-minify-v2) ((#:install-source? _ #t) #f) ((#:import-path _ "github.com/tdewolff/minify/v2") "github.com/tdewolff/minify/cmd/minify"))) (inputs (list go-github-com-djherbis-atime go-github-com-dustin-go-humanize go-github-com-fsnotify-fsnotify go-github-com-matryer-try go-github-com-spf13-pflag)))) --8<---------------cut here---------------end--------------->8--- Having that all too close to my heart I've pushed revert commit c4687f5437ad89a7e87deed1933b60f6eac83176 wich fixed CI and `guix pull`. I've started reviewing what could be wrong and maybe the current split process of (gnu packages golang) into logical modules e.g. golang-xyz, golang-check, golang-crypto, golang-web introduced deep level of circular dependencies among Guile modules. I search for solutions to mitigate the introduced issue. My plan is to start cleaning up dependency to (gnu packages golang) for each recently introduced module by moving packages away from it into groups. I would be appreciated on any documentation link or examples in code where package inheritance is used to source package from other module ^.^ Regards, Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmW5nAMACgkQdtcnv/Ys 0rWl5w//QsT1xC5twokpQfFezmu/vhJNmRqfkNmoIOWHD+rZifwzw7y6nhoW+Bgb 7fdKVCt9NcI4D0zKBk5MJlivBdBsYgI7ViIJkKP3URPR5q69xMwQNo6GFEIQtZrP m8+8e6ImvfxvQxUC7EwCpO4x2c5BvAGTBD57Op8s3k/asGIen2ktIaIfOesjadTr UuXE+ToBGBZLeKrE0oPZr9Y7vdtgXO4cgCntayio3PlX76zEgGIkGV5mQAadsZlM y5kYDvo9WRfxJUXoXTWWAr7V+uqLvzXyB3H3fasSVxxlCrdPsGFzE0AoTqOAQ70r xoS+m+tKqiAjJ9PtTZls7i1ohKym2fe3HL0iAZfKVmo+L98a7qUiCMP4aYe4k32q Z7tal7O7H8j9RCk5DaTTvDvhEG7/7N+fIAYb97yQAsFobRXSYKsljpv6Vmg6LgSr 2lGOjfbY9i1tQTXnMMPy8BtwMuHrgGtAzqESp4V2z3w2ugScw6Qgca1TWetHg5R9 0aY3NLRSXKOsgyWJjZgBCP/FRMFb+pef4WCMtfdfeSW0XKF5ytu3YSySti7Nk1G7 p13kbE5Eay1dE5y7m75JlcPgKr9Qr4jF+j0hInhp8Ycc2L0c1VL36bTyre0xiQ1M nPTvqKbRuTlyRp6roPss4LvYsUwZpxJXv7C9KrSBrnsf6m6pgMU= =CG9a -----END PGP SIGNATURE----- --=-=-=--