GNU logs - #50066, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#50066: core-update: Raw origin tarballs are not handled correctly.
Resent-From: Mathieu Othacehe <othacehe@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 15 Aug 2021 08:43:02 +0000
Resent-Message-ID: <handler.50066.B.162901693820087 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 50066
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 50066 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.162901693820087
          (code B ref -1); Sun, 15 Aug 2021 08:43:02 +0000
Received: (at submit) by debbugs.gnu.org; 15 Aug 2021 08:42:18 +0000
Received: from localhost ([127.0.0.1]:45715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mFBik-0005Du-Cq
	for submit <at> debbugs.gnu.org; Sun, 15 Aug 2021 04:42:18 -0400
Received: from lists.gnu.org ([209.51.188.17]:47592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1mFBii-0005Dm-7U
 for submit <at> debbugs.gnu.org; Sun, 15 Aug 2021 04:42:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52118)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1mFBih-0007RU-Vu
 for bug-guix@HIDDEN; Sun, 15 Aug 2021 04:42:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43726)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1mFBih-0005Vy-HT; Sun, 15 Aug 2021 04:42:15 -0400
Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=44658 helo=meije)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1mFBih-0005u4-8m; Sun, 15 Aug 2021 04:42:15 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
Date: Sun, 15 Aug 2021 10:42:13 +0200
Message-ID: <87bl5z85ga.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hello,

When building "emacs-org-contrib" on core-updates-frozen, the following
message is printed:

--8<---------------cut here---------------start------------->8---
tar: Exiting with failure status due to previous errors
error: in phase 'unpack': uncaught exception:
%exception #<&invoke-error program: "tar" arguments: ("xvf" "/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `unpack' failed after 0.0 seconds
command "tar" "xvf" "/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar" failed with status 2
note: keeping build directory `/tmp/guix-build-emacs-org-contrib-20210809.drv-6'
builder for `/gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv' failed with exit code 1
build of /gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv failed
View build log at '/var/log/guix/drvs/52/jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv.bz2'.
guix build: error: build of `/gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv' failed
--8<---------------cut here---------------end--------------->8---

That's because
"/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar"
is empty. I believe this is a consequence of:
cfcead2e515c0dae02127e5a76496463898be6b6, and in particular this
section:

--8<---------------cut here---------------start------------->8---
              ;; If SOURCE is a directory (such as a checkout), return a
              ;; directory.  Otherwise create a tarball.
              (cond
               ((file-is-directory? #+source)
                (copy-recursively directory #$output
                                  #:log (%make-void-port "w")))
               ((not #+comp)
                (copy-file file #$output)) <---------- We should call repack instead here for raw tarballs?
               (else
                (repack directory #$output)))))))
--8<---------------cut here---------------end--------------->8---

Maxim, could you please have a look?

Thanks,

Mathieu




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: bug#50066: Acknowledgement (core-update: Raw origin tarballs are
 not handled correctly.)
Message-ID: <handler.50066.B.162901693820087.ack <at> debbugs.gnu.org>
References: <87bl5z85ga.fsf@HIDDEN>
X-Gnu-PR-Message: ack 50066
X-Gnu-PR-Package: guix
Reply-To: 50066 <at> debbugs.gnu.org
Date: Sun, 15 Aug 2021 08:43:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 50066 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
50066: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50066
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#50066: core-update: Raw origin tarballs are not handled correctly.
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 27 Aug 2021 04:20:02 +0000
Resent-Message-ID: <handler.50066.B.163003798826965 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50066
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Mathieu Othacehe <othacehe@HIDDEN>
Cc: 50066 <at> debbugs.gnu.org
X-Debbugs-Original-Cc: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.163003798826965
          (code B ref -1); Fri, 27 Aug 2021 04:20:02 +0000
Received: (at submit) by debbugs.gnu.org; 27 Aug 2021 04:19:48 +0000
Received: from localhost ([127.0.0.1]:50990 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mJTLA-00070j-Ri
	for submit <at> debbugs.gnu.org; Fri, 27 Aug 2021 00:19:48 -0400
Received: from lists.gnu.org ([209.51.188.17]:37772)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1mJTL9-00070b-Dw
 for submit <at> debbugs.gnu.org; Fri, 27 Aug 2021 00:19:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57710)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1mJTL9-000295-4Y
 for bug-guix@HIDDEN; Fri, 27 Aug 2021 00:19:39 -0400
Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]:41890)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1mJTL7-0007Pf-EI; Fri, 27 Aug 2021 00:19:38 -0400
Received: by mail-qv1-xf2c.google.com with SMTP id f7so3319041qvt.8;
 Thu, 26 Aug 2021 21:19:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=7HXpKI4uvqDmNrivb2iDZ19xRZzWv4kF4x59jkgSKAE=;
 b=uC+2ukXK/UGgAgxSE9vaRrRXTtZFV8Gf0+LipnGO0YZw5enT8tU40B6K+AoU7z2j7l
 XYSj7y9T0DCWT8znVAx/YMBQ+r0GG7BX7zjTC5VDl08vd5pKSnThs56sfvDtChz5S80Z
 +bfBxcyEGTnCXqtEjm0PuhccM1DdNr2V5GaU4h757P1d++KERKK9yiMaj/2n4SC0WzRJ
 NdQAq86QGr8bN7G894zgH2xDQvZgzJPerB5ZPB1oI/xJa6/eMfxGmqb8ptZ4e5nCgIg0
 cXFevJ5KJifLrEd46qc+RItWpZVy0ziAojM8aJ4C/dne4/cjg4LvVLoP9g+hoS7/rIA5
 mU3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=7HXpKI4uvqDmNrivb2iDZ19xRZzWv4kF4x59jkgSKAE=;
 b=uHWNKAtG8h0VZYGl/Iz3GeJ8yDNqClQPHfzhbK5mUjISU5ZF90fOHzoXYyOU9t511b
 Fy1YONEiLewGjd4NF9in/XNVFwviWi0s7QPK/vNx8HP43LS1BscSrbiPrwr8NXw+k7g6
 AQQV+guF4OCAQaDkSfuUrp3rkQrw4Ap2Zl9cTk+AlzNGeY67XWCk+/vadM44Y13YuCNF
 v5s6mcFu0G53kXTRCJ7eDi6nJlGqBKLSl2CusNwsx9LvAB6rA9eNTaQDlIIwBzsvRXGS
 dwoRmUsJjiWZrg/2uUWTQP4L4XYP4VmenQsB4R01Zo9BNP7DCDEP6x6m+dC4d1w7FHbw
 ih4w==
X-Gm-Message-State: AOAM530Ym/Nfy7AaZWritbro7/X4MjrqIiSNnbdpUOtx1k/ONFfieKCd
 JDwFEM1bNTwFd8YtZMJXzKx638ZwJpw=
X-Google-Smtp-Source: ABdhPJzaRNNH58d9VDdQ5lAceHSg93H2VgOEw5japLnl2WuwFVOw+KFdsrJCARtGzkyC4i7ANZ9Asg==
X-Received: by 2002:a05:6214:250f:: with SMTP id
 gf15mr7926109qvb.2.1630037975135; 
 Thu, 26 Aug 2021 21:19:35 -0700 (PDT)
Received: from hurd (dsl-157-184.b2b2c.ca. [66.158.157.184])
 by smtp.gmail.com with ESMTPSA id s20sm2905242qtw.14.2021.08.26.21.19.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 26 Aug 2021 21:19:34 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <87bl5z85ga.fsf@HIDDEN>
Date: Fri, 27 Aug 2021 00:19:33 -0400
In-Reply-To: <87bl5z85ga.fsf@HIDDEN> (Mathieu Othacehe's message of "Sun, 15
 Aug 2021 10:42:13 +0200")
Message-ID: <87lf4nsene.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qv1-xf2c.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-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello Mathieu,

Mathieu Othacehe <othacehe@HIDDEN> writes:

> Hello,
>
> When building "emacs-org-contrib" on core-updates-frozen, the following
> message is printed:
>
> tar: Exiting with failure status due to previous errors
> error: in phase 'unpack': uncaught exception:
> %exception #<&invoke-error program: "tar" arguments: ("xvf" "/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar") exit-status: 2 term-signal: #f stop-signal: #f> 
> phase `unpack' failed after 0.0 seconds
> command "tar" "xvf" "/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar" failed with status 2
> note: keeping build directory `/tmp/guix-build-emacs-org-contrib-20210809.drv-6'
> builder for `/gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv' failed with exit code 1
> build of /gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv failed
> View build log at '/var/log/guix/drvs/52/jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv.bz2'.
> guix build: error: build of `/gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv' failed
>
>
> That's because
> "/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar"
> is empty. I believe this is a consequence of:
> cfcead2e515c0dae02127e5a76496463898be6b6, and in particular this
> section:
>
>               ;; If SOURCE is a directory (such as a checkout), return a
>               ;; directory.  Otherwise create a tarball.
>               (cond
>                ((file-is-directory? #+source)
>                 (copy-recursively directory #$output
>                                   #:log (%make-void-port "w")))
>                ((not #+comp)
>                 (copy-file file #$output)) <---------- We should call repack instead here for raw tarballs?
>                (else
>                 (repack directory #$output)))))))
>
> Maxim, could you please have a look?

Thanks for the report; it looks like a bug indeed.  I had probably
overlooked that case (where there is no compression but we are still
dealing with an archive format).  The annoying thing is that touching
this code will trigger a world rebuild; so unless we find other big
problems and batch the fixes, it may not be worth it.

The site.py problem you reported may be one, if I find a solution.

Other things on my mind:

1. rustc bootstrap from 1.39 (the itch to make it faster comes back
everytime I have to build it ;-)).

2. fontconfig update that should allow per-profile fonts management via
  XDG_DATA_DIRS (I have the commit ready, but failed to test it due to
  having to build rust and getting distracted by 1. :-))

Not a very useful reply in itself, but I felt that communicating what
I've been busy with was better than a longer silence :-).

Thank you,

Maxim




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 27 Aug 2021 17:03:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 27 13:03:32 2021
Received: from localhost ([127.0.0.1]:52857 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mJfGO-0003mE-F9
	for submit <at> debbugs.gnu.org; Fri, 27 Aug 2021 13:03:32 -0400
Received: from mail-qt1-f173.google.com ([209.85.160.173]:37380)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1mJfGJ-0003lv-21
 for control <at> debbugs.gnu.org; Fri, 27 Aug 2021 13:03:31 -0400
Received: by mail-qt1-f173.google.com with SMTP id l24so5856443qtj.4
 for <control <at> debbugs.gnu.org>; Fri, 27 Aug 2021 10:03:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=date:message-id:to:from:subject;
 bh=6oDbHxzdKaEdcQjkgmLY5LoudVpBG4MuJOGKLu3axGY=;
 b=U50nsIHztN9jv4gsy41OYDVSm+kEsryfqLUp0hYkgSmaSsR7VO6y9cSL/WTmjDX17H
 rvwUtl4CRvYnVNpypDHV3QhsegI7db7Uf06sV2U8H1hDQ5y84UYyw3zskwCsquqs2gDS
 thSPP9VOTHdv0yfcknOOqhX9fwqR5CNjt9O2v6IQ1Wwswm/nUwB5cNYJ9DZ0ZayWsrdB
 T4uMr790ijTBHlEyYD0jUWrOVN36SkpLvHhK82Djx2TqVFRaYk7sb0t9zzPQ9+sKhMkW
 lH/fz7nijE3QzE55mkUB3eR3ocn3JCFT0jSO9t0u+yeOdzhDGjNL3Zp6kyzrDUWSFnuX
 /SvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:message-id:to:from:subject;
 bh=6oDbHxzdKaEdcQjkgmLY5LoudVpBG4MuJOGKLu3axGY=;
 b=tgHu7PepBv0QRUmilRhIusXfgRn790b7flBqqD9vv68V5QcjtuUFpgqrSTg85YhC8T
 RNYcLm3VCyTnQfe7IZ87lfa+mUu5vO3LdW1Ov/FPgo3Lw7RuYX9f8fKvDYo15fCXcY3w
 q7U8N+AaX4mzzUlwhoHMedWOFSu2LReXd5FuR1KKIJMK2XdmOEYRGKXdoSLYThlpc3Wn
 c+uqdZxsb5WnHPZWxYkYxGQS9thxrPh/J17xJFTdO5QMZcv7hRvLDXJk3bx/qd8QFzSW
 /bSQA5Y8rsL2mqQqekDIxzyqTH5fb50zizB0Rxq6Elh8LBezzUTiq3IrE5owD+6sjhhc
 pqAQ==
X-Gm-Message-State: AOAM5320wH0R9pBpD6RhW4v/h4xzjl2SKkmO+uS+kBXzh4OP1MwRrqa0
 CJLHRxBZ3rxlbsfU7qIHZEjrPsAX/Ls=
X-Google-Smtp-Source: ABdhPJzvz6RHscz/tfLLX2/iacWJMbxc5XuVw0yg3gdxwAeM6jMbP3q9uU2lDDhNVD/veAAkZYpuaA==
X-Received: by 2002:a05:622a:1456:: with SMTP id
 v22mr9049252qtx.275.1630083800809; 
 Fri, 27 Aug 2021 10:03:20 -0700 (PDT)
Received: from hurd (dsl-205-151-56-126.b2b2c.ca. [205.151.56.126])
 by smtp.gmail.com with ESMTPSA id r23sm3736975qtp.60.2021.08.27.10.03.20
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 27 Aug 2021 10:03:20 -0700 (PDT)
Date: Fri, 27 Aug 2021 13:03:19 -0400
Message-Id: <87k0k6stuw.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: control message for bug #50066
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 50066 important
quit





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#50066: core-update: Raw origin tarballs are not handled correctly.
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 31 Aug 2021 03:51:02 +0000
Resent-Message-ID: <handler.50066.B50066.163038183022965 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50066
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Mathieu Othacehe <othacehe@HIDDEN>
Cc: 50066 <at> debbugs.gnu.org
Received: via spool by 50066-submit <at> debbugs.gnu.org id=B50066.163038183022965
          (code B ref 50066); Tue, 31 Aug 2021 03:51:02 +0000
Received: (at 50066) by debbugs.gnu.org; 31 Aug 2021 03:50:30 +0000
Received: from localhost ([127.0.0.1]:60842 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKun8-0005yL-6c
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 23:50:30 -0400
Received: from mail-qk1-f175.google.com ([209.85.222.175]:43904)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1mKun5-0005y4-8P
 for 50066 <at> debbugs.gnu.org; Mon, 30 Aug 2021 23:50:28 -0400
Received: by mail-qk1-f175.google.com with SMTP id ay33so18126826qkb.10
 for <50066 <at> debbugs.gnu.org>; Mon, 30 Aug 2021 20:50:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=+QLzocNo31EmFjmDUvrgHCAg1e4z3XnV9JcBusiAHvI=;
 b=u04vKKmC6spaMCWZJw/bHnXeNG10xFidtHCdFtzGIkzYxCeyf5ZElL7zIHFatoOcAH
 7X5KT2W3F2bWxBSr3q+dJXIoVubM+B6titUwywYc2u7XrP5SgBphnOACxTT3HBsURyN8
 B/KJ+gWLEE1BiQeDAzEBcc79WCvWu67JPrDUGNdrU/XCft/v8YzFkBykhyDkXQ6tCVtQ
 GNsx7EVr6fHVpFS985lfI3Ifl8XnYECBsPVrsVdA5EInNpwsGDmNYglDHxxwA6Mk2tNm
 nRxgicX5a+QbaNfAatdXK0BQav7UlOBO5Cl/VtJkpB65P9aEEcguE6wCEZBVnNTgm4gG
 wbVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=+QLzocNo31EmFjmDUvrgHCAg1e4z3XnV9JcBusiAHvI=;
 b=Yrd7qsCCHxQjDQIi/mX+Tx71JjZlYXkkLLo7aYXFxzChAImbTQa0jLYWExmKWXH1Cp
 HbZXXbD5Z4sk3oN+bpDM64gq41+QivkFF35NChffrKPKk42XY+Nt1+sD/E3pLT7osX52
 bIoUNBovu2h67qeTH+iyJ4T8oLXWlZG7Wuk7IOHCvPcyO/bZX9FxGpts5MKuuQDgrCch
 liOceMot0b8cJEL/j8Mcm0+s3uvUH0Nm1qPFjddm/qMrzLRub7K60++1JTeygO3+yXw8
 it9LuS62pAap3YN+T7H+pMnuXWNMTZqEPZLxKRpXmcep+wpJ0wxVjm5BK0il6t2N8D5Y
 My9w==
X-Gm-Message-State: AOAM531yaphizni4h3MX4rNSRLa4+G9n+UjRSoVDSwkHTkwc0aPvUXDA
 nq1pon9xOpfGy/ZupUlYcs3iNfQUjKEpIA==
X-Google-Smtp-Source: ABdhPJzwSHK9M5eMS+4LNpJ1CQBWJT3mg5oKV2QVbbJT7qFb9xkZLRhjN36vVCID1atW7BKEg9n4UA==
X-Received: by 2002:a37:9445:: with SMTP id w66mr1057667qkd.410.1630381821574; 
 Mon, 30 Aug 2021 20:50:21 -0700 (PDT)
Received: from hurd (dsl-10-141-212.b2b2c.ca. [72.10.141.212])
 by smtp.gmail.com with ESMTPSA id v27sm12653440qkj.129.2021.08.30.20.50.20
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 30 Aug 2021 20:50:21 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <87bl5z85ga.fsf@HIDDEN> <87lf4nsene.fsf@HIDDEN>
Date: Mon, 30 Aug 2021 23:50:20 -0400
In-Reply-To: <87lf4nsene.fsf@HIDDEN> (Maxim Cournoyer's message of "Fri, 27
 Aug 2021 00:19:33 -0400")
Message-ID: <874kb6jmrn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Mathieu,

[...]

> Thanks for the report; it looks like a bug indeed.  I had probably
> overlooked that case (where there is no compression but we are still
> dealing with an archive format).  The annoying thing is that touching
> this code will trigger a world rebuild; so unless we find other big
> problems and batch the fixes, it may not be worth it.
>
> The site.py problem you reported may be one, if I find a solution.
>
> Other things on my mind:
>
> 1. rustc bootstrap from 1.39 (the itch to make it faster comes back
> everytime I have to build it ;-)).

I'm nearing completion on this front.

> 2. fontconfig update that should allow per-profile fonts management via
>   XDG_DATA_DIRS (I have the commit ready, but failed to test it due to
>   having to build rust and getting distracted by 1. :-))

I'll propose a few patches to include in the 'frozen' core-updates
branch since we've found a world-rebuilding change worthy of addressing
anyway (the patch below).

1 file changed, 4 insertions(+), 4 deletions(-)
guix/packages.scm | 8 ++++----

modified   guix/packages.scm
@@ -836,10 +836,10 @@ specifies modules in scope when evaluating SNIPPET."
                ((file-is-directory? #+source)
                 (copy-recursively directory #$output
                                   #:log (%make-void-port "w")))
-               ((not #+comp)
-                (copy-file file #$output))
-               (else
-                (repack directory #$output)))))))
+               ((or #+comp (tarball? #+source))
+                (repack directory #$output))
+               (else                    ;single uncompressed file
+                (copy-file file #$output)))))))
 
     (let ((name (if (or (checkout? original-file-name)
                         (not (compressor original-file-name)))

Sadly the plain .tar file was/is not covered by tests (and not easily
so), but if his was my only omission, it should be correct (TM).
Attentive review needed :-).

Thank you!

Maxim




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 31 Aug 2021 13:47:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 31 09:47:24 2021
Received: from localhost ([127.0.0.1]:33327 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mL46m-0004bM-N7
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 09:47:24 -0400
Received: from mail-qv1-f46.google.com ([209.85.219.46]:38822)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1mL46k-0004ay-IV
 for control <at> debbugs.gnu.org; Tue, 31 Aug 2021 09:47:23 -0400
Received: by mail-qv1-f46.google.com with SMTP id ew6so10357542qvb.5
 for <control <at> debbugs.gnu.org>; Tue, 31 Aug 2021 06:47:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=date:message-id:to:from:subject;
 bh=wsyeMZz6z2ZyTt8kRKc40xPow5G+csEBowiPqFgOrVo=;
 b=bQ6rVhzd6QKQ1xc6NRzPLd/67XW+nidTWHGzDe6Z4z/x8ZBhVe4248EefqtEwmdj0u
 Fwz2tq6IjnGdeoXCXu1tzIljxgHi1K+QF1rG7mzPIJzsrnLCzZfY45cDrek5fT+2URZW
 svXEGpM92LtKsaiDOP8H6ahugU1w2iLSz3v0aSpt8NAWiQgmNbLHh3HeQhsw0EvLSAf9
 GHzLxQJ+ndBSPaPem3ur2hGi6ksJw9B6S8xNz+AFoDO8MpRkxtlnyFr61tfsJpvZtTtG
 quMmDxJgYdS+Dk+KCyZQv5VfqM421D2L/0TmpZV+CwuU7hGdGwgw81WRDoaaWUpFZ7VG
 /1dA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:message-id:to:from:subject;
 bh=wsyeMZz6z2ZyTt8kRKc40xPow5G+csEBowiPqFgOrVo=;
 b=UKEwiIDS0sjZXyaEeLFAARBniiijsi2pm1cyS1h6GjSz+jvFmh5KHxnO9Wxoiczq+p
 b0XMae21k0eatwAe1MNrPmHuBOtgTNUicXbct5sdUB0pOhyi6CCN8RrYImGob6lX9uBt
 3ftaVE9tnroAmS+lidcddH8nQhF4vDwLVgvgJ60xWN3HFGM0fuPuYw10SKgrrWl2CEUg
 5PkGI2sP2XuZKnGWsImAV5iNTFyq79Y1NNDcJ9bwsJxV4l7yJan1ne3bO9RfEiOqzxgk
 8cNNiDtUQv9I8uWq4ATkZzv2egR2EuwBcf0LcQMlJFSCH3u8FxsdaJdOosfzj6jf/cwf
 ri3A==
X-Gm-Message-State: AOAM530KZvkSFAia5eDzGUszRgz0e1xk3IiV1+GbH2erPhPjfBwmL1+U
 W+Bz9ooMj2ePr9TrVg5CCgxY9Nr6PTTYAw==
X-Google-Smtp-Source: ABdhPJx0G6Ts/d4qxUd3uDHbgFHKTWs2jp5rMDyy2rvao+aoUNYCzYkUAWPj+ej9Pwoi+ZfgeViAUA==
X-Received: by 2002:a0c:be8e:: with SMTP id n14mr28412389qvi.16.1630417636949; 
 Tue, 31 Aug 2021 06:47:16 -0700 (PDT)
Received: from hurd (dsl-153-61.b2b2c.ca. [66.158.153.61])
 by smtp.gmail.com with ESMTPSA id y185sm14054084qkb.36.2021.08.31.06.47.16
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 31 Aug 2021 06:47:16 -0700 (PDT)
Date: Tue, 31 Aug 2021 09:47:15 -0400
Message-Id: <87v93liv4s.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: control message for bug #50066
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 50066 + patch
quit






Last modified: Tue, 31 Aug 2021 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.