Bug 245015

Summary: x11/xkeyboard-config: fetch fails as upstream path now includes /data/
Product: Ports & Packages Reporter: Dave Cottlehuber <dch>
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: Closed FIXED    
Severity: Affects Only Me CC: zeising
Priority: --- Flags: bugzilla: maintainer-feedback? (x11)
Version: Latest   
Hardware: Any   
OS: Any   

Description Dave Cottlehuber freebsd_committer 2020-03-23 20:16:51 UTC
upstream seems to have moved repo, as FETCH no longer works (nb no IPv6 available at my end)

===>   xkeyboard-config-2.27 depends on file: /usr/local/sbin/pkg - found
=> xkeyboard-config-2.27.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/xorg/data.
=> Attempting to fetch https://xorg.freedesktop.org/releases/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://xorg.freedesktop.org/releases/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://mirror.csclub.uwaterloo.ca/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://mirror.csclub.uwaterloo.ca/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://artfiles.org/x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://artfiles.org/x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://ftp.gwdg.de/pub/x11/x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://ftp.gwdg.de/pub/x11/x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://mi.mirror.garr.it/mirrors/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://mi.mirror.garr.it/mirrors/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://mirrors.ircam.fr/pub/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://mirrors.ircam.fr/pub/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://www.mirrorservice.org/sites/ftp.x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://www.mirrorservice.org/sites/ftp.x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://mirror.nl.leaseweb.net/xorg/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://mirror.nl.leaseweb.net/xorg/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch https://ftp.yz.yamagata-u.ac.jp/pub/X11/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: https://ftp.yz.yamagata-u.ac.jp/pub/X11/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch http://piotrkosoft.net/pub/mirrors/ftp.x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: http://piotrkosoft.net/pub/mirrors/ftp.x.org/pub/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Connection refused
=> Attempting to fetch http://xorg.mirrors.pair.com/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: http://xorg.mirrors.pair.com/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch http://ftp.kaist.ac.kr/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2
fetch: http://ftp.kaist.ac.kr/x.org/individual//xkeyboard-config/xkeyboard-config-2.27.tar.bz2: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/xorg/data/xkeyboard-config-2.27.tar.bz2


This diff fixed fetch but I am not certain if this is canonical source, nor if other packages are also impacted.

diff --git x11/xkeyboard-config/Makefile x11/xkeyboard-config/Makefile
index cdb257d9113a..a9d0f047bcc4 100644
--- x11/xkeyboard-config/Makefile
+++ x11/xkeyboard-config/Makefile
@@ -3,8 +3,7 @@
 PORTNAME=      xkeyboard-config
 PORTVERSION=   2.27
 CATEGORIES=    x11
-MASTER_SITES=  XORG/individual/${XORG_CAT}/${PORTNAME}
+MASTER_SITES=  XORG/individual/data/${XORG_CAT}/${PORTNAME}
Comment 1 Niclas Zeising freebsd_committer 2020-04-06 06:41:30 UTC
This was fixed as part of the xkeyboard-config update to 2.29.  Unfortunately I didn't remember this PR, and came up with the same solution myself. Sorry for not paying attention and giving you more credit.