Bug 261393

Summary: textproc/fop: Fails to fetch: fop-2.6-src.tar.gz: Not Found
Product: Ports & Packages Reporter: Alain De Vos <devosalain>
Component: Individual Port(s)Assignee: Max Brazhnikov <makc>
Status: Closed FIXED    
Severity: Affects Many People Keywords: needs-patch, needs-qa
Priority: --- Flags: bugzilla: maintainer-feedback? (makc)
koobs: merge-quarterly?
Version: Latest   
Hardware: amd64   
OS: Any   

Description Alain De Vos 2022-01-21 21:08:30 UTC
Error log:
[00:00:02] =======================<phase: fetch-depends  >============================
[00:00:02] ===========================================================================
[00:00:02] =======================<phase: fetch          >============================
[00:00:02] => fop-2.6-src.tar.gz doesn't seem to exist in /portdistfiles/.
[00:00:02] => Attempting to fetch https://dlcdn.apache.org/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:02] fetch: https://dlcdn.apache.org/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:02] => Attempting to fetch https://mirror.netcologne.de/apache.org/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:03] fetch: https://mirror.netcologne.de/apache.org/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:03] => Attempting to fetch https://ftp.wayne.edu/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:03] fetch: https://ftp.wayne.edu/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:03] => Attempting to fetch https://mirror.its.dal.ca/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:04] fetch: https://mirror.its.dal.ca/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:04] => Attempting to fetch http://mirror.cogentco.com/pub/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:04] fetch: http://mirror.cogentco.com/pub/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:04] => Attempting to fetch http://mirror.navercorp.com/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:05] fetch: http://mirror.navercorp.com/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:05] => Attempting to fetch http://ftp.kddi-research.jp/infosystems/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:07] fetch: http://ftp.kddi-research.jp/infosystems/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:07] => Attempting to fetch http://miroir.univ-lorraine.fr/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:07] fetch: http://miroir.univ-lorraine.fr/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz: Not Found
[00:00:07] => Attempting to fetch ftp://ftp.acc.umu.se/mirror/apache.org/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:07] fetch: ftp://ftp.acc.umu.se/mirror/apache.org/xmlgraphics/fop/source/fop-2.6-src.tar.gz: File unavailable (e.g., file not found, no access)
[00:00:07] => Attempting to fetch ftp://ftp.nluug.nl/internet/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz
[00:00:08] fetch: ftp://ftp.nluug.nl/internet/apache/xmlgraphics/fop/source/fop-2.6-src.tar.gz: File unavailable (e.g., file not found, no access)
[00:00:08] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/fop-2.6-src.tar.gz
[00:00:08] fetch: http://distcache.FreeBSD.org/ports-distfiles/fop-2.6-src.tar.gz: Not Found
[00:00:08] => Couldn't fetch it - please try to retrieve this
[00:00:08] => port manually into /portdistfiles/ and try again.
[00:00:08] *** Error code 1
[00:00:08] 
[00:00:08] Stop.
[00:00:08] make: stopped in /usr/ports/textproc/fop
[00:00:08] =>> Cleaning up wrkdir
[00:00:08] ===>  Cleaning for fop-2.6
[00:00:08] build of textproc/fop | fop-2.6 ended at Fri Jan 21 21:33:03 CET 2022
[00:00:08] build time: 00:00:08
[00:00:08] !!! build failure encountered !!!
Comment 1 Alain De Vos 2022-01-21 21:34:47 UTC
Probably fop is currently at version 2.7
Note : fop is a requirement for remmina & eclipse
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-21 23:03:14 UTC
Is latest also affected?. Latest has:

 MASTER_SITES=   APACHE/xmlgraphics/fop/source/:fop \
                 SF/offo/offo-hyphenation/2.2:hyph
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-01-23 19:52:02 UTC
A commit in branch main references this bug:

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

commit d645d740be3b194ba58defaad7df79beb545510a
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-01-23 19:50:11 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-01-23 19:50:11 +0000

    textproc/fop: fix fetch

    Add archive.apache.org as a backup.

    PR:             261393
    Reported by:    Alain De Vos

 textproc/fop/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2022-01-23 20:11:35 UTC
(In reply to Kubilay Kocak from comment #2)
Apparently, https://dlcdn.apache.org and mirrors now host sources for current releases only, old sources are available at archive.apache.org/
However, archive.apache.org has restriction for daily download, probably it should not be added to MASTER_SITES_APACHE.
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-01-23 20:33:16 UTC
A commit in branch 2022Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c12f5129752c82e988287404b3b13b3856e1863

commit 1c12f5129752c82e988287404b3b13b3856e1863
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-01-23 19:50:11 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-01-23 20:31:35 +0000

    textproc/fop: fix fetch

    Add archive.apache.org as a backup.

    PR:             261393
    Reported by:    Alain De Vos

    (cherry picked from commit d645d740be3b194ba58defaad7df79beb545510a)

 textproc/fop/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)