From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id UHl1NN8bKGC/HAAA0tVLHw
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 13 Feb 2021 18:35:11 +0000
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0 with LMTPS
	id wGlVMN8bKGBDIgAA1q6Kng
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 13 Feb 2021 18:35:11 +0000
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 2DD2611844
	for <larch@yhetil.org>; Sat, 13 Feb 2021 19:35:11 +0100 (CET)
Received: from localhost ([::1]:49376 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	id 1lAzl8-0006zN-6H
	for larch@yhetil.org; Sat, 13 Feb 2021 13:35:10 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:45906)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lAzl0-0006yz-FU
 for bug-guix@gnu.org; Sat, 13 Feb 2021 13:35:02 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:51735)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1lAzl0-0001Ip-8O
 for bug-guix@gnu.org; Sat, 13 Feb 2021 13:35:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1lAzl0-0001nn-5T
 for bug-guix@gnu.org; Sat, 13 Feb 2021 13:35:02 -0500
X-Loop: help-debbugs@gnu.org
Subject: bug#46482: [core-updates] u-boot source cannot be downloaded
Resent-From: Bengt Richter <bokr@bokr.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Sat, 13 Feb 2021 18:35:02 +0000
Resent-Message-ID: <handler.46482.B46482.16132412646882@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 46482
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Danny Milosavljevic <dannym@scratchpost.org>
Received: via spool by 46482-submit@debbugs.gnu.org id=B46482.16132412646882
 (code B ref 46482); Sat, 13 Feb 2021 18:35:02 +0000
Received: (at 46482) by debbugs.gnu.org; 13 Feb 2021 18:34:24 +0000
Received: from localhost ([127.0.0.1]:35048 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1lAzkN-0001mw-SZ
 for submit@debbugs.gnu.org; Sat, 13 Feb 2021 13:34:24 -0500
Received: from imta-38.everyone.net ([216.200.145.38]:44310)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bokr@oz.net>) id 1lAzkL-0001mm-K1
 for 46482@debbugs.gnu.org; Sat, 13 Feb 2021 13:34:22 -0500
Received: from pps.filterd (omta003.sj2.proofpoint.com [127.0.0.1])
 by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 11DIWVE5004081;
 Sat, 13 Feb 2021 10:34:20 -0800
X-Eon-Originating-Account: eZ0wO29bT-nB_utwU6P9yjn_3OlDJW6Hx4SRluMaSKg
X-Eon-Dm: m0116953.ppops.net
Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 5a81cebb)
 id m0116953.6000aa5f.401a60; Sat, 13 Feb 2021 10:34:18 -0800
X-Eon-Sig: AQMHrIJgKBuq8X4i6gIAAAAC,5b55ca05d1acda71d86da76bc1550492
X-Eip: KihCXGsteMPhy5zrH8T5JxdnZmYf1nIgNqwdIuR82xc
Date: Sat, 13 Feb 2021 19:34:09 +0100
From: Bengt Richter <bokr@bokr.com>
Message-ID: <20210213183409.GA4220@LionPure>
References: <20210213033752.499715c0@scratchpost.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20210213033752.499715c0@scratchpost.org>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.737
 definitions=2021-02-13_02:2021-02-12,
 2021-02-13 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0
 priorityscore=1501
 mlxscore=0 spamscore=0 mlxlogscore=999 lowpriorityscore=0 bulkscore=0
 suspectscore=0 malwarescore=0 impostorscore=0 phishscore=0 clxscore=1034
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000
 definitions=main-2102130171
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 <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Reply-To: Bengt Richter <bokr@bokr.com>
Cc: 46482@debbugs.gnu.org
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -1.86
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org
X-Migadu-Queue-Id: 2DD2611844
X-Spam-Score: -1.86
X-Migadu-Scanner: scn0.migadu.com
X-TUID: sYUF39yUMaxl

Hi,

On +2021-02-13 03:37:52 +0100, Danny Milosavljevic wrote:
> failed to download "/gnu/store/1idpm6f9pcm9dajm90qgk6x1r6qywfv8-u-boot-2021.01.tar.bz2" from "ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2"
> builder for `/gnu/store/5s92y4l66f8qh4p4gx79jvsjaxhl208k-u-boot-2021.01.tar.bz2.drv' failed to produce output path `/gnu/store/1idpm6f9pcm9dajm90qgk6x1r6qywfv8-u-boot-2021.01.tar.bz2'
> build of /gnu/store/5s92y4l66f8qh4p4gx79jvsjaxhl208k-u-boot-2021.01.tar.bz2.drv failed
> View build log at '/var/log/guix/drvs/5s/92y4l66f8qh4p4gx79jvsjaxhl208k-u-boot-2021.01.tar.bz2.drv.bz2'.
> cannot build derivation `/gnu/store/m09apasn4glhf2lvsq8bn2ci5ncjq0fz-u-boot-tools-2021.01.drv': 1 dependencies couldn't be built
> building /gnu/store/5s4pczxlp3v8yfavmgjf93093msfaxym-ucommon-7.0.0.tar.gz.drv...
> 
> Changing the URL to "https" instead of "ftp" would work.
> Changing it to "http" instead of "ftp" would also work.
> Which should we use?
> 
> Reason is bug #46481.
> 
> But do we maybe want to change over to http or https anyway?

So long as you can check the hash of the downloaded file,
IMO other considerations ought to dominate the choice.

I would prefer something that fits in with mes-philosopy.
ftp seems old and simple, so I would vote for push-back
to fix the ftp client involved.

FWIW:
I clicked on the
    "ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2"
URL in your "failed to download" message above, and got an open/save-as popup choice widget,
and clicked save-as and successfully downloaded it, and can inspect it with
    tar -tjvf u-boot-2021.01.tar.bz2|less

I am running pureos (debian variant):
--8<---------------cut here---------------start------------->8---
4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30)
--8<---------------cut here---------------end--------------->8---

and was in a tilix terminal when I clicked the URL, which started 
    Mozilla Firefox 78.7.0esr
which gave me the open/save-as popup choice.

IDK what firefox does with ftp://...
but it worked. I guess I could strace it, but what does firefox or icecat do on your box
if directed to 
    ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2
?
HTH
-- 
Regards,
Bengt Richter