pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Update-I-guess to the situation I presented without comment: so I got a bit shifty, and decided to look through `bmake help` for verbosity. I used to be able to parse this but my brain has aged a lot since then. Am I doing something wrong, or is this something I need to have a hack at?
- To: pkgsrc-users%netbsd.org@localhost
- Subject: Update-I-guess to the situation I presented without comment: so I got a bit shifty, and decided to look through `bmake help` for verbosity. I used to be able to parse this but my brain has aged a lot since then. Am I doing something wrong, or is this something I need to have a hack at?
- From: Ellenor Malik <ellenor%umbrellix.net@localhost>
- Date: Sun, 24 May 2020 00:33:11 -0700
[Regeneratus root]/Packages/netbsd/ports/misc/rhash # PATH=/root/.local/bin:/root/go/bin:/opt/nb/bin:/opt/nb/sbin:/usr/bin:/usr/sbin:/bin:/sbin bmake replace PKG_DEBUG_LEVEL=1 PKG_VERBOSE=1
set -e;/usr/bin/env AWK=/Packages/netbsd/bin/nawk PKG_ADMIN=/Packages/netbsd/sbin/pkg_admin\ -K\ /Packages/netbsd/pkgdb PKGSRCDIR=/Packages/netbsd/ports PWD_CMD=/bin/pwd SED=/Packages/netbsd/bin/nbsed /Packages/netbsd/bin/pdksh /Packages/netbsd/ports/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=" rhash-1.3.9nb1"; fi; cross=no; archopt=TARGET_ARCH=x86_64; pkg=`/Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -E "$pattern" || true`; ;; build|test|full) extradep=" rhash-1.3.9nb1"; cross=NO; archopt=; pkg
=`/Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -E "$pattern" || true`; ;; esac; case "$pkg" in "") echo "=>" "$Type dependency $pattern: NOT found"; target=reinstall; echo "=>" "Verifying $target for $dir"; [ -d "$dir" ] || /Packages/netbsd/bin/pdksh /Packages/netbsd/ports/mk/scripts/fail echo 1>&2 "ERROR:" "[depends.mk] The directory \`\`$dir'' does not exist."; cd $dir; /usr/bin/env PATH=/Packages/netbsd/ports/misc/rhash/work/.cwrapper/bin:/Packages/netbsd/ports/misc/rhash/work/.buildlink/bin:/Packages/netbsd/ports/misc/rhash/work/.tools/bin:/Packages/netbsd/bin:/root/.local/bin:/root/go/bin:/opt/nb/bin:/opt/nb/sbin:/usr/bin:/usr/sbin:/bin:/sbin _PKGSRC_DEPS="$extradep" PKGNAME_REQD="$pattern" USE_CROSS_COMPILE=$cross $archopt /opt/nb/bin/bmake _MAKE=/opt/nb/bin/bmake OPSYS=FreeBSD OS_VERSION=12.0 LOWER_OPSYS=freebsd _PKGSRCDIR=/Packages/netbsd/ports PKGTOOLS_VERSION=20191008 _PATH_ORIG=/root/.local/bin:/root/go/bin
:/opt/nb/bin:/opt/nb/sbin:/usr/bin:/usr/sbin:/bin:/sbin _AUTOMATIC=yes $target; case $type in bootstrap|tool) pkg=`/Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -E "$pattern" || true`;; build|test|full) pkg=`/Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -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 rhash-1.3.9nb1"; ;; *) case $type in bootstrap|tool) objfmt=`/Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -Q OBJECT_FMT "$pkg"`;; build|test|full) objfmt=`/Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -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
set -e; set -e; case checksum-phase in *-phase) test ! -f /Packages/netbsd/ports/misc/rhash/work/.extract_done || exit 0 ;; esac; if cd /Packages/netbsd/ports/distfiles && /usr/bin/env DIGEST=/Packages/netbsd/bin/digest CAT=/bin/cat ECHO=echo SED=/Packages/netbsd/bin/nbsed TEST=test /Packages/netbsd/bin/pdksh /Packages/netbsd/ports/mk/checksum/checksum /Packages/netbsd/ports/misc/rhash/distinfo rhash-1.3.9.tar.gz; then true; else echo 1>&2 "ERROR:" "Make sure the Makefile and checksum file (/Packages/netbsd/ports/misc/rhash/distinfo)"; echo 1>&2 "ERROR:" "are up to date. If you want to override this check, type"; echo 1>&2 "ERROR:" "\"/opt/nb/bin/bmake NO_CHECKSUM=yes [other args]\"."; exit 1; fi
set -e; cd /Packages/netbsd/ports/misc/rhash/work; d=`exec pwd`; test "$d" = /Packages/netbsd/ports/misc/rhash/work || /Packages/netbsd/bin/pdksh /Packages/netbsd/ports/mk/scripts/fail echo 1>&2 "ERROR:" "[bsd.pkg.mk] The path to WRKDIR /Packages/netbsd/ports/misc/rhash/work must be canonical ($d)."
===> Invoking ``replace'' after barrier for rhash-1.3.9nb1
set -e; if test -n "" && /Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -qe rhash-1.3.9nb1; then echo ===\> "Skipping installation of already handled package"; else cd /Packages/netbsd/ports/misc/rhash && /usr/bin/env PATH=/Packages/netbsd/ports/misc/rhash/work/.cwrapper/bin:/Packages/netbsd/ports/misc/rhash/work/.buildlink/bin:/Packages/netbsd/ports/misc/rhash/work/.tools/bin:/Packages/netbsd/bin:/root/.local/bin:/root/go/bin:/opt/nb/bin:/opt/nb/sbin:/usr/bin:/usr/sbin:/bin:/sbin /opt/nb/bin/bmake _MAKE=/opt/nb/bin/bmake OPSYS=FreeBSD OS_VERSION=12.0 LOWER_OPSYS=freebsd _PKGSRCDIR=/Packages/netbsd/ports PKGTOOLS_VERSION=20191008 _PATH_ORIG=/root/.local/bin:/root/go/bin:/opt/nb/bin:/opt/nb/sbin:/usr/bin:/usr/sbin:/bin:/sbin _PKGSRC_BARRIER=yes ALLOW_VULNERABLE_PACKAGES= replace || { exitcode="$?"; /usr/bin/env PATH=/Packages/netbsd/ports/misc/rhash/work/.cwrapper/bin:/Packages/netbsd/ports/misc/rhash/work/.buildlink/bin:/Packages/netbsd/ports/
misc/rhash/work/.tools/bin:/Packages/netbsd/bin:/root/.local/bin:/root/go/bin:/opt/nb/bin:/opt/nb/sbin:/usr/bin:/usr/sbin:/bin:/sbin /opt/nb/bin/bmake _MAKE=/opt/nb/bin/bmake OPSYS=FreeBSD OS_VERSION=12.0 LOWER_OPSYS=freebsd _PKGSRCDIR=/Packages/netbsd/ports PKGTOOLS_VERSION=20191008 _PATH_ORIG=/root/.local/bin:/root/go/bin:/opt/nb/bin:/opt/nb/sbin:/usr/bin:/usr/sbin:/bin:/sbin _PKGSRC_BARRIER=yes barrier-error-check; exit "$exitcode"; }; fi
===> Replacing for rhash-1.3.9nb1
set -e; if [ x"" = x ]; then wildcard=rhash-\[0-9\]\*; else wildcard="-[0-9]*"; fi; /Packages/netbsd/sbin/pkg_info -K /Packages/netbsd/pkgdb -E "${wildcard}" > /Packages/netbsd/ports/misc/rhash/work/.replace_oldname
*** Error code 1
Stop.
bmake[1]: stopped in /Packages/netbsd/ports/misc/rhash
set -e; /bin/rm -f /Packages/netbsd/ports/misc/rhash/work/.warning/*.tmp; test -d /Packages/netbsd/ports/misc/rhash/work/.warning || exit 0; cd /Packages/netbsd/ports/misc/rhash/work/.warning; for file in ./*; do test "$file" != "./*" || exit 0; break; done; /bin/cat ./* | /Packages/netbsd/bin/nbsed -e "s|^|WARNING: |" 1>&2; /bin/mv -f ./* /Packages/netbsd/ports/misc/rhash/work/.warning-done
set -e; /bin/rm -f /Packages/netbsd/ports/misc/rhash/work/.error/*.tmp; test -d /Packages/netbsd/ports/misc/rhash/work/.error || exit 0; cd /Packages/netbsd/ports/misc/rhash/work/.error; for file in ./*; do test "$file" != "./*" || exit 0; break; done; /bin/cat * | /Packages/netbsd/bin/nbsed -e "s|^|ERROR: |" 1>&2; if /Packages/netbsd/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then /bin/mv -f ./* /Packages/netbsd/ports/misc/rhash/work/.error-done; exit 1; fi
*** Error code 1
Stop.
bmake: stopped in /Packages/netbsd/ports/misc/rhash
[Regeneratus root]/Packages/netbsd/ports/misc/rhash #
--
Ellenor Malik <ellenor%umbrellix.net@localhost>
Home |
Main Index |
Thread Index |
Old Index