Bug 261547 - sysutils/tree file not found
Summary: sysutils/tree file not found
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-29 05:15 UTC by Vladyslav V. Prodan
Modified: 2022-01-29 12:12 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (gb)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladyslav V. Prodan 2022-01-29 05:15:37 UTC
The archive cannot be downloaded. Put it somewhere public 
```
...
--------------------------------------------------------------------------------
--  Phase: fetch
--------------------------------------------------------------------------------
===>  License GPLv2 accepted by the user
=> tree-2.0.1.tgz doesn't seem to exist in /distfiles/.
=> Attempting to fetch http://mama.indstate.edu/users/ice/tree/src/tree-2.0.1.tgz
fetch: http://mama.indstate.edu/users/ice/tree/src/tree-2.0.1.tgz: Operation timed out
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/tree-2.0.1.tgz
fetch: http://distcache.FreeBSD.org/ports-distfiles/tree-2.0.1.tgz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /distfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /xports/sysutils/tree
```
Comment 1 Alexey Dokuchaev freebsd_committer freebsd_triage 2022-01-29 05:50:36 UTC
(In reply to Vladislav V. Prodan from comment #0)
> The archive cannot be downloaded.
Hmm, the distfile indeed cannot be downloaded from Russia right now (tried Saint Petersburg and Novosibirsk).  Let me see what I can do.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-01-29 06:37:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7fbb727e11bec00da6a84653a0bea0b02d9b9d4e

commit 7fbb727e11bec00da6a84653a0bea0b02d9b9d4e
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-01-29 06:36:26 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-01-29 06:36:26 +0000

    sysutils/tree: provide fallback download URL and other improvements

    - For some reason, upstream distfile site is currently inaccessible
      in certain parts of the world, e.g. Russia
    - Pass build-related variables down to inner Makefile via MAKE_ARGS
      and remove the patch file (particularly, it was patching `install'
      target which is useless as the port is using its own)
    - Adjust LICENSE (it's GPLv2 or later) and install documentation in
      the dedicated helper target (also install TODO file while here)

    PR:     261547

 sysutils/tree/Makefile                    | 12 ++++----
 sysutils/tree/files/patch-Makefile (gone) | 47 -------------------------------
 2 files changed, 7 insertions(+), 52 deletions(-)
Comment 3 Alexey Dokuchaev freebsd_committer freebsd_triage 2022-01-29 06:38:39 UTC
Should be fine now, thanks for reporting!
Comment 4 Vladyslav V. Prodan 2022-01-29 06:39:07 UTC
From France managed to get access.
From Ukraine - no access ... 

```
# mtr -c 4 -w mama.indstate.edu
Start: 2022-01-29T08:35:39+0200
HOST: mail2.support.od.ua          Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- 51.77.136.1                   0.0%     4    0.1   0.1   0.1   0.1   0.0
  2.|-- 192.168.143.254               0.0%     4    0.1   0.1   0.1   0.2   0.0
  3.|-- 10.69.96.254                  0.0%     4    0.2   0.3   0.2   0.3   0.0
  4.|-- 10.69.96.110                  0.0%     4    0.2   0.3   0.2   0.3   0.1
  5.|-- 10.69.96.106                  0.0%     4    0.2   0.2   0.2   0.3   0.0
  6.|-- 10.17.193.110                 0.0%     4    0.7   0.6   0.6   0.7   0.0
  7.|-- 10.73.8.62                    0.0%     4    0.2   0.2   0.2   0.3   0.0
  8.|-- 10.95.48.10                   0.0%     4    0.7   0.6   0.5   0.7   0.1
  9.|-- be105.fra-fr5-sbb2-nc5.de.eu  0.0%     4    3.2   3.4   3.2   3.6   0.2
 10.|-- be102.rbx-g4-nc5.fr.eu        0.0%     4   11.1  10.9  10.7  11.1   0.2
 11.|-- lon-drch-sbb1-nc5.uk.eu       0.0%     4   14.9  14.9  14.5  15.5   0.4
 12.|-- nyc-ny1-sbb2-8k.nj.us        50.0%     4   88.8  89.1  88.8  89.4   0.4
 13.|-- 10.200.3.135                  0.0%     4   91.5  92.6  91.5  93.1   0.8
 14.|-- de-cix-ny.net.internet2.edu   0.0%     4   87.3  87.0  86.5  87.7   0.6
 15.|-- ???                          100.0     4    0.0   0.0   0.0   0.0   0.0
 16.|-- ???                          100.0     4    0.0   0.0   0.0   0.0   0.0
 17.|-- ???                          100.0     4    0.0   0.0   0.0   0.0   0.0
 18.|-- ???                          100.0     4    0.0   0.0   0.0   0.0   0.0
 19.|-- ???                          100.0     4    0.0   0.0   0.0   0.0   0.0
 20.|-- ???                          100.0     4    0.0   0.0   0.0   0.0   0.0
 21.|-- ???                          100.0     4    0.0   0.0   0.0   0.0   0.0
 22.|-- 64.57.21.174                  0.0%     4  114.7 114.7 114.6 114.7   0.0
 23.|-- 199.8.220.6                   0.0%     4  112.2 112.4 112.2 112.9   0.3
 24.|-- 199.8.202.10                  0.0%     4  113.7 113.7 113.7 113.8   0.1
 25.|-- 139.102.10.129                0.0%     4  114.9 123.5 114.9 148.9  16.9
 26.|-- mama.indstate.edu             0.0%     4  116.6 116.6 116.6 116.7   0.0

```
Comment 5 Alexey Dokuchaev freebsd_committer freebsd_triage 2022-01-29 06:47:00 UTC
(In reply to Vladislav V. Prodan from comment #4)

I see, thank you.  So I should've written in the log, e.g. Russia *and Ukraine*.
Comment 6 Vladyslav V. Prodan 2022-01-29 06:48:27 UTC
Rollback to the buggy commit and add the change :

-MASTER_SITES=	http://mama.indstate.edu/users/ice/tree/src/
+MASTER_SITES=	http://mama.indstate.edu/users/ice/tree/src/ \
+		https://fossies.org/linux/misc/
Comment 7 George L. Yermulnik 2022-01-29 12:12:58 UTC
JFYI: The old master site works for me from Ukraine

> LANG=C wget ftp://mama.indstate.edu/linux/tree//tree-2.0.1.tgz -O /dev/null
--2022-01-29 14:11:35--  ftp://mama.indstate.edu/linux/tree//tree-2.0.1.tgz
           => '/dev/null'
Resolving mama.indstate.edu (mama.indstate.edu)... 139.102.70.201
Connecting to mama.indstate.edu (mama.indstate.edu)|139.102.70.201|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /linux/tree/ ... done.
==> SIZE tree-2.0.1.tgz ... 57213
==> PASV ... done.    ==> RETR tree-2.0.1.tgz ... done.
Length: 57213 (56K) (unauthoritative)

tree-2.0.1.tgz           100%[==================================>]  55.87K   213KB/s    in 0.3s

2022-01-29 14:11:37 (213 KB/s) - '/dev/null' saved [57213]