GNU logs - #66633, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#66633: (no subject)
Resent-From: Simon Tournier <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 19 Oct 2023 09:50:02 +0000
Resent-Message-ID: <handler.66633.B.169770895913424 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 66633
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 66633 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.169770895913424
          (code B ref -1); Thu, 19 Oct 2023 09:50:02 +0000
Received: (at submit) by debbugs.gnu.org; 19 Oct 2023 09:49:19 +0000
Received: from localhost ([127.0.0.1]:35860 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qtPeY-0003UL-MJ
	for submit <at> debbugs.gnu.org; Thu, 19 Oct 2023 05:49:19 -0400
Received: from lists.gnu.org ([2001:470:142::17]:45910)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1qtPeV-0003TO-Cd
 for submit <at> debbugs.gnu.org; Thu, 19 Oct 2023 05:49:16 -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 <zimon.toutoune@HIDDEN>)
 id 1qtPdz-0007IE-6r
 for bug-guix@HIDDEN; Thu, 19 Oct 2023 05:48:43 -0400
Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1qtPdx-0004gH-1J
 for bug-guix@HIDDEN; Thu, 19 Oct 2023 05:48:42 -0400
Received: by mail-lj1-x231.google.com with SMTP id
 38308e7fff4ca-2c506d1798eso16763561fa.0
 for <bug-guix@HIDDEN>; Thu, 19 Oct 2023 02:48:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1697708919; x=1698313719; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:to:from:from
 :to:cc:subject:date:message-id:reply-to;
 bh=FK8j/HebUBCpyvei+0G6HYglX7ZvDVO3zcPkwwciKuc=;
 b=J4wrlMnFw0ySzGL0GgsabrzWf33CQV0DXlH2rTbKS7n8iAM+N/5nHg/KJxzpvLnuci
 3vFIocQSbBI33cXaoiZpQjw0d/u4umUJBtWnRKW9/Q6IB2151AhXnEaxy1R/FFNMSW0G
 Lk/FlwACgJM64UZJ7ycobErlBhwAfnxTBlZGfU7y5IY0IaQj+1c6/jt0CCIq3SSUdKXT
 NLUoSWapWhH9e+sR+OPgje6V48FQe+Jq2I2e273hfxabbmUcsYb0dDU6v+UZohYz+x9M
 82W47A1F8oQNWsjx216eq6aZ25ejyrxQaeKUfVGBBxLFn/B4rvTdktiuA8anEwOXJTSp
 d32w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1697708919; x=1698313719;
 h=content-transfer-encoding:mime-version:message-id:date:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=FK8j/HebUBCpyvei+0G6HYglX7ZvDVO3zcPkwwciKuc=;
 b=LqVhcIGCTkPwTvsqKPCbIFt85WKYeV0INqABLRGzXC17xzHShaUFUpRgdl17aoalmT
 DRPRQlHPNhxLUrbcSvgsSAJbiGJ3UtnNeRPwhwGy8p5oDkq2gFB2ybTlOWU9zmMnfFv0
 c6p8sqvjY1j4sEr+AF22oKUWkthe1R3SrJ1oAodjLtCn8J9RVIS9AhanIbc2rQjzqf7t
 2qgLmmF4/ZVWSSAKGMBjPQwepLrqpnQ0hsE21Koa4VG1G8IHfirxLY69+H/X3unVFZd5
 y7o7QR2xvmNGI8rBbnR4KBcsn85pJiviP6eOAlobBCCRnoBpYfd7eaqg64+YhvKbUncD
 DuKw==
X-Gm-Message-State: AOJu0YyhUabgBPcDQXBpYfAYwkRiJ4YGrFdDObWvrpD14i0fyxUkSweY
 TEUoOXb8Ll2dFKa17TNN6x0LxnTdGNo=
X-Google-Smtp-Source: AGHT+IFYeMyHmEhTRuc0pXQZaPCFTwPe9tQ/Cigv+VZaI4cQBwoU5oPI6rpHrgiBSpXyuJD6mCTxag==
X-Received: by 2002:a2e:a233:0:b0:2bf:e5dc:aa68 with SMTP id
 i19-20020a2ea233000000b002bfe5dcaa68mr928544ljm.3.1697708919130; 
 Thu, 19 Oct 2023 02:48:39 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 j6-20020adff006000000b003198a9d758dsm4066053wro.78.2023.10.19.02.48.38
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 19 Oct 2023 02:48:38 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
Date: Thu, 19 Oct 2023 11:36:11 +0200
Message-ID: <87fs27ned0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::231;
 envelope-from=zimon.toutoune@HIDDEN; helo=mail-lj1-x231.google.com
X-Spam_score_int: -2
X-Spam_score: -0.3
X-Spam_bar: /
X-Spam_report: (-0.3 / 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,
 MISSING_SUBJECT=1.799, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi, Trying to answer to this message [1], I notice something
 unexpected for me. I read from the manual: --8<cut herestart>8--- --
 Procedure:
 url-fetch url hash-algo hash [name] [#:executable? #f] Return a fixed-output
 derivation that fetches data from URL (a st [...] 
 Content analysis details:   (2.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (zimon.toutoune[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
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.9 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, Trying to answer to this message [1], I notice something
    unexpected for me. I read from the manual: --8<cut herestart>8--- -- Procedure:
    url-fetch url hash-algo hash [name] [#:executable? #f] Return a fixed-output
    derivation that fetches data from URL (a st [...] 
 
 Content analysis details:   (1.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (zimon.toutoune[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
  1.8 MISSING_SUBJECT        Missing Subject: header
  0.2 NO_SUBJECT             Extra score for no subject
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hi,

Trying to answer to this message [1], I notice something unexpected for
me.  I read from the manual:

--8<---------------cut here---------------start------------->8---
-- Procedure: url-fetch url hash-algo hash [name] [#:executable? #f]
     Return a fixed-output derivation that fetches data from URL (a
     string, or a list of strings denoting alternate URLs), which is
     expected to have hash HASH of type HASH-ALGO (a symbol).  By
     default, the file name is the base name of URL; optionally, NAME
     can specify a different file name.  When EXECUTABLE? is true, make
     the downloaded file executable.

     When one of the URL starts with =E2=80=98mirror://=E2=80=99, then its =
host part is
     interpreted as the name of a mirror scheme, taken from
     =E2=80=98%mirror-file=E2=80=99.

     Alternatively, when URL starts with =E2=80=98file://=E2=80=99, return =
the
     corresponding file name in the store.
--8<---------------cut here---------------end--------------->8---

Therefore, I do:

--8<---------------cut here---------------start------------->8---
(define-module (pkg)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (gnu packages pdf)
  #:use-module (gnu packages gnome))

(define-public zathura-custom
  (package
   (inherit zathura)
   (name "zathura-custom")
   (version "4.0")
   (source
    (origin
     (method url-fetch)
     (uri
      ;"https://pwmt.org/projects/zathura/download/zathura-0.5.2.tar.xz"
      "file:///tmp/zathura-custom/zathura-mine.tar.xz"
      )
     (sha256
      (base32
       "0000000000000000000000000000000000000000000000000000"))))))
--8<---------------cut here---------------end--------------->8---

And then:

--8<---------------cut here---------------start------------->8---
$ guix build -L /tmp/zathura-custom zathura-custom -S -d
Backtrace:
          12 (primitive-load "/home/simon/.config/guix/current/bin/guix")
In guix/ui.scm:
   2323:7 11 (run-guix . _)
  2286:10 10 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/status.scm:
    839:4  8 (call-with-status-report _ _)
In ice-9/boot-9.scm:
  1752:10  7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   659:37  6 (thunk)
   1298:8  5 (call-with-build-handler #<procedure 7f31d1cb85d0 at guix/ui.s=
cm:1219:2 (continue store things mode)> _)
In guix/scripts/build.scm:
   797:43  4 (_)
In srfi/srfi-1.scm:
   586:17  3 (map1 ("/gnu/store/mkx0xbh68sihhqxdwbjcdi1njdqra7cq-zathura-mi=
ne.tar.xz"))
In guix/derivations.scm:
    136:0  2 (%derivation-file-name-procedure "/gnu/store/mkx0xbh68sihhqxdw=
bjcdi1njdqra7cq-zathura-mine.tar.xz")
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting st=
ruct): "/gnu/store/mkx0xbh68sihhqxdwbjcdi1njdqra7cq-zathura-mine.tar.xz"
--8<---------------cut here---------------end--------------->8---


Note:

    $ guix hash /tmp/zathura-custom/zathura-mine.tar.xz
    15314m9chmh5jkrd9vk2h2gwcwkcffv2kjcxkd4v3wmckz5sfjy6

    $ guix download https://pwmt.org/projects/zathura/download/zathura-0.5.=
2.tar.xz
    Starting download of /tmp/guix-file.d3GzTC
[...]
    15314m9chmh5jkrd9vk2h2gwcwkcffv2kjcxkd4v3wmckz5sfjy6


Cheers,
simon


1: [TIL] guix doesn't check hash when uri starts with file:///
Rodrigo Morales <moralesrodrigo1100@HIDDEN>
Wed, 20 Sep 2023 19:18:57 +0000
id:CAGxMbPbuP1HOFU1UwfV0AojP+7z62Q2wv_FGUYY6kvkK4XytiQ@HIDDEN
https://lists.gnu.org/archive/html/help-guix/2023-09
https://yhetil.org/guix/CAGxMbPbuP1HOFU1UwfV0AojP+7z62Q2wv_FGUYY6kvkK4XytiQ=
@mail.gmail.com




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: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: bug#66633: Acknowledgement ((no subject))
Message-ID: <handler.66633.B.169770895913424.ack <at> debbugs.gnu.org>
References: <87fs27ned0.fsf@HIDDEN>
X-Gnu-PR-Message: ack 66633
X-Gnu-PR-Package: guix
Reply-To: 66633 <at> debbugs.gnu.org
Date: Thu, 19 Oct 2023 09:50: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 66633 <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
66633: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66633
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


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


Received: (at control) by debbugs.gnu.org; 19 Oct 2023 09:55:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 19 05:55:10 2023
Received: from localhost ([127.0.0.1]:35874 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qtPkD-0003f2-Vt
	for submit <at> debbugs.gnu.org; Thu, 19 Oct 2023 05:55:10 -0400
Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:41024)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1qtPkB-0003eZ-FA
 for control <at> debbugs.gnu.org; Thu, 19 Oct 2023 05:55:08 -0400
Received: by mail-wm1-x32b.google.com with SMTP id
 5b1f17b1804b1-408363c2918so3148695e9.0
 for <control <at> debbugs.gnu.org>; Thu, 19 Oct 2023 02:54:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1697709275; x=1698314075; darn=debbugs.gnu.org;
 h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id
 :reply-to; bh=8+vSljG8juPVx1qS0jKEH3NlPmOJnJEAEv+svGvTDhc=;
 b=EBt+2AExUxFSpVjP8gGNWh+KFt7YiZlrnIXM/w6orCaGVfhUFOlMw3cmyZyugY3d31
 rqGDqZabNI22/d2jxWIAtFNSnxt+dxDY9Mh6apkaJV1J8rsLJACCJR3XgpZczJpN7MAG
 tquYMQhK6Bq+ZTu2iludSB9qWAMBUObkZHz4mLVUy1ypvZL6T74Nf+ddEpNYFBi/2O1U
 HL0QnUji0A2yIUEy03wSQG3w0OVIHwGOiVSPh3ITZP00Cmg8Q34WxStMvD0HIT29Tq6b
 vBiLdCV7ImrttmTD1EhZ8IqeLxLAnD9Q04rW6ovQLxMfueWk6grH/0e08kfTLgeOV+Ct
 B1tw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1697709275; x=1698314075;
 h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=8+vSljG8juPVx1qS0jKEH3NlPmOJnJEAEv+svGvTDhc=;
 b=eWec6dvVXD/+mPA+thmhQWkDX/Ch8wG0bnjbQ2LWSmm1spi++0772MhwIl6XVc8DiW
 a3ClxXsqCAXAMaSaC2nLQI16ell2sgXoyqmI+tt425mWIdTJtIYjHLbZTJupg4qa0v1G
 plfoSv1aK3TdHVcJP6Y0zgF6Oj2OhjOnZvMEl+DJBE6kuMup5kBdJ04ZlLRkXxMYQiqu
 odwVZnWXQqSG6i/ALaKNFIe5D/TPi+DiC6sP3r3dL7B9j2TYjbWO0Ds5cs3Xy3NtbFTM
 wIMQdZ6rS0Hpv2vKoyZFD6Dt1DgzhEZgRc2jp2Lka5hFWBe/pu/+bJi5HcweatDl6Rjv
 curA==
X-Gm-Message-State: AOJu0YxlN9x/RIt5YXA5THuWB/uWenRs3R8qUUqsKZ1vYWxyno27mLfg
 Ha29kiD7KAyL14BKC3wp6nM4GV3uxXM=
X-Google-Smtp-Source: AGHT+IH9lmgaKBBaKTDtum3BhbxvzaTG9b+J3mbIPEoTyfanzSwE8SHt+14j7f+5uqMezJh97WUGRw==
X-Received: by 2002:a1c:7206:0:b0:3fe:21a6:a18 with SMTP id
 n6-20020a1c7206000000b003fe21a60a18mr1330702wmc.3.1697709274775; 
 Thu, 19 Oct 2023 02:54:34 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 j4-20020a5d4524000000b00317a04131c5sm4113541wra.57.2023.10.19.02.54.34
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 19 Oct 2023 02:54:34 -0700 (PDT)
Date: Thu, 19 Oct 2023 11:54:31 +0200
Message-Id: <86zg0f7x9k.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: control message for bug #66633
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 (-)

retitle 66633 backtrace for origin url-fetch with file:///
quit






Last modified: Thu, 19 Oct 2023 10:00:02 UTC

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