Hi ports@ On 2 boxes with current src/ & ports/, I've been running (native in /usr/ports/ not poudriere) various cd /usr/ports/___/___ ; make package-recursive , I got tired of repeated Error code 70, samples below, so I wrote a temporary patch which fixes it, below.
In case its relevant: My boxes have kernel & src from current src/ & all of big old /usr/local was self compiled from ports/, but too obsolete to rebuild so fix dependencies I brute forced updated with pkg upgrade, & it's after I went back from pkg to compile some in /usr/ports that I hit all the Error code 70. It works, avoids masses of errors. But what is the problem it avoids/fixes ? Copy appended of: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/Mk/bsd.port.mk.code_70.REL=12.0-CURRENT.diff To debug & avoid frequent occurences of errors like these: ===> Installing for linux-c6-openssl-1.0.1e_15 ===> Registering installation for linux-c6-openssl-1.0.1e_15 /usr/bin/env \ PORTSDIR=/data/release/s4/usr/ports \ FORCE_POST="rmdir \ kldxref \ mkfontscale \ mkfontdir \ fc-cache \ fonts.dir \ fonts.scale \ gtk-update-icon-cache \ gio-querymodules \ gtk-query-immodules \ ldconfig \ load-octave-pkg \ ocamlfind \ update-desktop-database \ update-mime-database \ gdk-pixbuf-query-loaders \ catalog.ports \ glib-compile-schemas \ ccache-update-links" \ /usr/local/sbin/pkg-static \ register \ -i /data/release/s4/usr/ports/security/linux-c6-openssl/work/stage \ -m /data/release/s4/usr/ports/security/linux-c6-openssl/work/.metadir \ -f /data/release/s4/usr/ports/security/linux-c6-openssl/work/.PLIST.mktmp *** Error code 70 Stop. make[1]: stopped in /data/release/s4/usr/ports/security/linux-c6-openssl ===> Registering installation for py27-cryptography-2.1.4 as automatic /usr/bin/env \ PORTSDIR=/data/release/s4/usr/ports \ FORCE_POST="rmdir \ kldxref \ mkfontscale \ mkfontdir \ fc-cache \ fonts.dir \ fonts.scale \ gtk-update-icon-cache \ gio-querymodules \ gtk-query-immodules \ ldconfig \ load-octave-pkg \ ocamlfind \ update-desktop-database \ update-mime-database \ gdk-pixbuf-query-loaders \ catalog.ports \ glib-compile-schemas \ ccache-update-links" \ /usr/local/sbin/pkg-static \ register \ -d \ -i /data/release/s4/usr/ports/security/py-cryptography/work-py27/stage \ -m /data/release/s4/usr/ports/security/py-cryptography/work-py27/.metadir \ -f /data/release/s4/usr/ports/security/py-cryptography/work-py27/.PLIST.mktmp *** Error code 70 *** 12.0-CURRENT/ports/Mk/bsd.port.mk Fri Feb 9 14:16:33 2018 --- new-generic/ports/Mk/bsd.port.mk Fri Feb 9 17:31:41 2018 *************** *** 4766,4778 **** @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" .endif .if defined(INSTALLS_DEPENDS) ! @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .else ! @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .endif ! @${RM} -r ${METADIR} .endif .endif # Depend is generally meaningless for arbitrary ports, but if someone wants # one they can override this. This is just to catch people who've gotten into --- 4766,4790 ---- @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" .endif .if defined(INSTALLS_DEPENDS) ! @echo jhs_debug0 ! echo ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} ! @echo jhs_debug1 ! -${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} ! @echo jhs_debug2 .else ! @echo jhs_debug3 ! echo ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} ! @echo jhs_debug4 ! -${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} ! @echo jhs_debug5 .endif ! @echo jhs_debug6 ! ${RM} -r ${METADIR} ! @echo jhs_debug7 .endif + @echo jhs_debug8 .endif + @echo jhs_debug9 # Depend is generally meaningless for arbitrary ports, but if someone wants # one they can override this. This is just to catch people who've gotten into Cheers, Julian -- Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich. http://berklix.eu/brexit/ UK stole 3,700,000 votes; 700,000 from Brits in EU. Last time Britain denied votes led to American War of Independence. http://berklix.eu/queen/ Petition to get votes back. _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"