Bug 240031

Summary: games/quake2-extras fails to fetch distfile models.zip from host
Product: Ports & Packages Reporter: Alastair Hogge <agh>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: In Progress ---    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (danfe)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Update mastersite to reflect new location of distfile models.zip none

Description Alastair Hogge 2019-08-22 05:18:07 UTC
Created attachment 206777 [details]
Update mastersite to reflect new location of distfile models.zip

Port fails to build because distfile models.zip has moved:

=>> Building games/quake2-extras
build started at Wed Aug 14 02:29:00 UTC 2019
port directory: /usr/ports/games/quake2-extras
package name: quake2-extras-1.0
building for: FreeBSD direwolf.local. 13.0-CURRENT FreeBSD 13.0-CURRENT amd64
maintained by: danfe@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/quake2-extras/Makefile 412346 2016-04-01 14:00:51Z mat $
Poudriere version: 3.3.99.20190803
Host OSVERSION: 1300039
Jail OSVERSION: 1300039
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300039
UNAME_v=FreeBSD 13.0-CURRENT
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20190803
MASTERMNT=/usr/local/poudriere/data/.m/direwolf-head-direwolf/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen-256color
GID=0
UID=0
PWD=/usr/local/poudriere/data/.m/direwolf-head-direwolf/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=direwolf-head-direwolf
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/direwolf-head-direwolf/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for quake2-extras-1.0:
     RETEXTURE=on: Install high quality textures
     RETEXTURE_FULL=off: Install more textures (120MB)
     SKINS=on: Install high quality skins
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
danfe@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2-extras/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2-extras/work  HOME=/wrkdirs/usr/ports/games/quake2-extras/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2-extras/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
Q2DIR="/usr/local/share/quake2" XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2-extras/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2-extras/work  HOME=/wrkdirs/usr/ports/games/quake2-extras/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2-extras/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
Q2DIR="share/quake2" RETEX="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/extras"  EXAMPLESDIR="share/examples/extras"  DATADIR="share/extras"  WWWDIR="www/extras"  ETCDIR="etc/extras"
--End PLIST_SUB--

--SUB_LIST--
Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/extras DOCSDIR=/usr/local/share/doc/extras EXAMPLESDIR=/usr/local/share/examples/extras  WWWDIR=/usr/local/www/extras ETCDIR=/usr/local/etc/extras
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/home/agh/etc/direwolf-make.conf ####
ALWAYS_CHECK_MAKE=	YES
#CPUTYPE?=		bdver2
DEFAULT_VERSIONS+=      bdb=5
DEFAULT_VERSIONS+=	linux=c7_64
DEFAULT_VERSIONS+=	ssl=openssl
LICENSES_ACCEPTED+=	MSPAT
KERNCONF=               DIREWOLF
MALLOC_PRODUCTION=
MODULES_OVERRIDE=	linux_common linuxkpi linprocfs linsysfs linux64 \
linux vmm
QT4_OPTIONS=            CUPS
WINE_CROSS_BUILD=
WITH_NVIDIA_GL=
WITH_PKG=		devel
WITH_SSP_PORTS=

# Debugging ports outside of poudriere.
# Non-root user should be able to build any with the following settings,
# provided that all the distfiles have been fetched.
#WITH_DEBUG="YES"
#PORT_DBDIR=/usr/local/etc/poudriere.d/direwolf-head-direwolf-options
#WRKDIRPREFIX=/tmp/wrk/direwolf
#DISTDIR=/net/fafnir/usr/distfiles
#PREFIX=${WRKDIRPREFIX}/usr/local
#.if ${.CURDIR:M*/math/suitesparse}
#.undef CPUTYPE
#.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300039
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
_SMP_CPUS=8
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  34304
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   quake2-extras-1.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.99.1.txz
[direwolf.local.] Installing pkg-1.11.99.1...
[direwolf.local.] Extracting pkg-1.11.99.1: .......... done
=====
Message from pkg-1.11.99.1:

--
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   quake2-extras-1.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of quake2-extras-1.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
=> models.zip doesn't seem to exist in /portdistfiles/quake2-extras.
=> Attempting to fetch http://www-personal.umich.edu/~jimw/q2/aq2_install/models.zip
fetch: http://www-personal.umich.edu/~jimw/q2/aq2_install/models.zip: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/quake2-extras/models.zip
fetch: http://distcache.FreeBSD.org/ports-distfiles/quake2-extras/models.zip: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/quake2-extras and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/quake2-extras
=>> Cleaning up wrkdir
===>  Cleaning for quake2-extras-1.0
build of games/quake2-extras | quake2-extras-1.0 ended at Wed Aug 14 02:29:05 UTC 2019
build time: 00:00:05
!!! build failure encountered !!!

Distfile is now relocated at:
http://www-personal.umich.edu/~jimw/q2/Quake2/baseq2/:models

See attached patch for fix.
Comment 1 Alexey Dokuchaev freebsd_committer freebsd_triage 2019-11-14 08:57:17 UTC
Indeed, I've completely missed this PR (sorry).  There is a problem with all_q2_textures_07_17_2006.zip distfile as well, I'll fix both once I find the copy of the latter.