As evidence only two lines of jail.sh reference SRCPATH other than where -S assigns to it:
# grep "SRCPATH" /usr/local/share/poudriere/jail.sh [ -z "${SRCPATH}" ] && DISTS="${DISTS} src" [ -n "$SRCPATH" ] && jset ${JAILNAME} srcpath ${SRCPATH} SRCPATH=${OPTARG} Also, every non-comment instance of /usr/src in jail.sh is preceded by just ${JAILMNT} or ${SRC_BASE} or by nothing: # grep "\/usr\/src" /usr/local/share/poudriere/jail.sh | more SRC_BASE="${JAILMNT}/usr/src" export SRC_BASE=${JAILMNT}/usr/src # Otherwise it's the older broken one, so use the host /usr/src : ${XDEV_SRC:=/usr/src} msg_n "Copying ${SRC_BASE} to ${JAILMNT}/usr/src..." mkdir -p ${JAILMNT}/usr/src if [ -f ${SRC_BASE}/usr/src/.cpignore ]; then cpdup -i0 ${cpignore_flag} ${SRC_BASE} ${JAILMNT}/usr/src SRC_BASE="${JAILMNT}/usr/src" It leaves me wondering if some notation like: ${SRCPATH:-${JAILMNT}}/usr/src should be in use in some places where ${JAILMNT}/usr/src is now in use. I'm no so sure that the analogous is appropriate for the one example of : ${SRC_BASE}/usr/src === Mark Millard markmi at dsl-only.net _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"