set -e;/usr/bin/env AWK=/usr/bin/awk PKG_ADMIN=/usr/pkg/sbin/pkg_admin\ -K\ /var/db/pkg PKGSRCDIR=/usr/pkgsrc PWD_CMD=/bin/pwd SED=/usr/bin/sed /bin/sh /usr/pkgsrc/mk/pkgformat/pkg/list-dependencies " "\ \ digest\>=20010302:../../pkgtools/digest " " " " " " " " | while read type pattern dir; do test "$type" = "bootstrap" || continue; case $type in bootstrap) Type=Bootstrap;; tool) Type=Tool;; build) Type=Build;; test) Type=Test;; full) Type=Full;; esac; case $type in bootstrap|tool) if expr "NO" : '[yY][eE][sS]' >/dev/null; then extradep=""; else extradep=" unifont-13.0.02"; fi; cross=no; archopt=TARGET_ARCH=x86_64; pkg=`/usr/pkg/sbin/pkg_info -K /var/db/pkg -E "$pattern" || true`; ;; build|test|full) extradep=" unifont-13.0.02"; cross=NO; archopt=; pkg=`/usr/pkg/sbin/pkg_info -K /var/db/pkg -E "$pattern" || true`; ;; esac; case "$pkg" in "") echo "=>" "$Type dependency $pattern: NOT found"; target=/nonexistent; echo "=>" "Verifying $target for $dir"; [ -d "$dir" ] || /bin/sh /usr/pkgsrc/mk/scripts/fail echo 1>&2 "ERROR:" "[depends.mk] The directory \`\`$dir'' does not exist."; cd $dir; /usr/bin/env PATH=/var/pkgsrc/work/fonts/unifont/work/.cwrapper/bin:/var/pkgsrc/work/fonts/unifont/work/.buildlink/bin:/var/pkgsrc/work/fonts/unifont/work/.gcc/bin:/var/pkgsrc/work/fonts/unifont/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin _PKGSRC_DEPS="$extradep" PKGNAME_REQD="$pattern" USE_CROSS_COMPILE=$cross $archopt /usr/pkg/bin/bmake _MAKE=/usr/pkg/bin/bmake OPSYS=NetBSD OS_VERSION=9.0_STABLE LOWER_OPSYS=netbsd _PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20191008 _CC=/usr/bin/cc _PATH_ORIG=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin _AUTOMATIC=yes $target; case $type in bootstrap|tool) pkg=`/usr/pkg/sbin/pkg_info -K /var/db/pkg -E "$pattern" || true`;; build|test|full) pkg=`/usr/pkg/sbin/pkg_info -K /var/db/pkg -E "$pattern" || true`;; esac; case "$pkg" in "") echo 1>&2 "ERROR:" "[depends.mk] A package matching \`\`$pattern'' should"; echo 1>&2 "ERROR:" " be installed, but one cannot be found. Perhaps there is a"; echo 1>&2 "ERROR:" " stale work directory for $dir?"; exit 1; esac; echo "=>" "Returning to build of unifont-13.0.02"; ;; *) case $type in bootstrap|tool) objfmt=`/usr/pkg/sbin/pkg_info -K /var/db/pkg -Q OBJECT_FMT "$pkg"`;; build|test|full) objfmt=`/usr/pkg/sbin/pkg_info -K /var/db/pkg -Q OBJECT_FMT "$pkg"`;; esac; case "$objfmt" in "") echo 1>&2 "WARNING:" "[depends.mk] Unknown object format for installed package $pkg" ;; ELF) ;; *) echo 1>&2 "ERROR:" "[depends.mk] Installed package $pkg has an"; echo 1>&2 "ERROR:" " object format \`\`$objfmt'' which differs from \`\`ELF''. Please"; echo 1>&2 "ERROR:" " update the $pkg package to ELF."; exit 1; ;; esac; silent=; if test -z "${silent}"; then echo "=>" "$Type dependency $pattern: found $pkg"; fi; ;; esac; done => Bootstrap dependency digest>=20010302: found digest-20190127 => Fetching unifont-13.0.02.tar.gz set -e; /bin/mkdir -p /usr/pkgsrc/distfiles set -e; for d in "" ; do case $d in ""|/usr/pkgsrc/distfiles) continue ;; esac; file="$d/unifont-13.0.02.tar.gz"; if test -f $file; then echo "Using $file"; /bin/rm -f /usr/pkgsrc/distfiles/unifont-13.0.02.tar.gz; /bin/ln -s $file /usr/pkgsrc/distfiles/unifont-13.0.02.tar.gz; fi; done set -e; unsorted_sites="http://unifoundry.com/pub/unifont/unifont-13.0.02/"; sites=" `echo $unsorted_sites | /usr/bin/awk -v seed=$$ 'BEGIN { srand(seed); ORS = \" \" } { n = split($0, site); for (i = n; i > 0; i--) { ir = int(rand() * i + 1); t = site[i]; site[i] = site[ir]; site[ir] = t; print site[i]; } }'` http://cdn.NetBSD.org/pub/pkgsrc/distfiles/ http://ftp6.NetBSD.org/pub/pkgsrc/distfiles/ http://ftp.fr.NetBSD.org/pub/pkgsrc/distfiles/ http://ftp.NetBSD.org/pub/pkgsrc/distfiles/"; cd /usr/pkgsrc/distfiles && /usr/bin/env CHECKSUM=/usr/bin/env\ DIGEST=/usr/pkg/bin/digest\ CAT=/bin/cat\ \ ECHO=echo\ SED=/usr/bin/sed\ \ \ TEST=test\ \ \ \ \ \ /bin/sh\ /usr/pkgsrc/mk/checksum/checksum CP=/bin/cp ECHO=echo FETCH_CMD=/usr/bin/env\ \ \ \ \ \ \ \ /usr/bin/ftp FETCH_BEFORE_ARGS=\ \ \ \ FETCH_AFTER_ARGS= FETCH_RESUME_ARGS=-R FETCH_OUTPUT_ARGS=-o MKDIR=/bin/mkdir MV=/bin/mv RM=/bin/rm TEST=test TOUCH=/usr/bin/touch WC=/usr/bin/wc /bin/sh /usr/pkgsrc/mk/fetch/fetch -v -f /usr/pkgsrc/fonts/unifont/distinfo unifont-13.0.02.tar.gz $sites => Total size: 23021827 bytes /usr/bin/env /usr/bin/ftp -o unifont-13.0.02.tar.gz http://unifoundry.com/pub/unifont/unifont-13.0.02/unifont-13.0.02.tar.gz set -e; if test ! -f /usr/pkgsrc/distfiles/unifont-13.0.02.tar.gz; then echo 1>&2 "ERROR:" "Could not fetch the following file:"; echo 1>&2 "ERROR:" " unifont-13.0.02.tar.gz"; echo 1>&2 "ERROR:" ""; echo 1>&2 "ERROR:" "Please retrieve this file manually into:"; echo 1>&2 "ERROR:" " /usr/pkgsrc/distfiles"; exit 1; fi set -e; /bin/rm -f /var/pkgsrc/work/fonts/unifont/work/.warning/*.tmp; test -d /var/pkgsrc/work/fonts/unifont/work/.warning || exit 0; cd /var/pkgsrc/work/fonts/unifont/work/.warning; for file in ./*; do test "$file" != "./*" || exit 0; break; done; /bin/cat ./* | /usr/bin/sed -e "s|^|WARNING: |" 1>&2; /bin/mv -f ./* /var/pkgsrc/work/fonts/unifont/work/.warning-done set -e; /bin/rm -f /var/pkgsrc/work/fonts/unifont/work/.error/*.tmp; test -d /var/pkgsrc/work/fonts/unifont/work/.error || exit 0; cd /var/pkgsrc/work/fonts/unifont/work/.error; for file in ./*; do test "$file" != "./*" || exit 0; break; done; /bin/cat * | /usr/bin/sed -e "s|^|ERROR: |" 1>&2; if /usr/bin/awk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then /bin/mv -f ./* /var/pkgsrc/work/fonts/unifont/work/.error-done; exit 1; fi set -e; set -e; case checksum in *-phase) test ! -f /var/pkgsrc/work/fonts/unifont/work/.extract_done || exit 0 ;; esac; if cd /usr/pkgsrc/distfiles && /usr/bin/env DIGEST=/usr/pkg/bin/digest CAT=/bin/cat ECHO=echo SED=/usr/bin/sed TEST=test /bin/sh /usr/pkgsrc/mk/checksum/checksum /usr/pkgsrc/fonts/unifont/distinfo unifont-13.0.02.tar.gz; then true; else echo 1>&2 "ERROR:" "Make sure the Makefile and checksum file (/usr/pkgsrc/fonts/unifont/distinfo)"; echo 1>&2 "ERROR:" "are up to date. If you want to override this check, type"; echo 1>&2 "ERROR:" "\"/usr/pkg/bin/bmake NO_CHECKSUM=yes [other args]\"."; exit 1; fi => Checksum SHA1 OK for unifont-13.0.02.tar.gz => Checksum RMD160 OK for unifont-13.0.02.tar.gz => Checksum SHA512 OK for unifont-13.0.02.tar.gz