In message: <20100718210154.GA94088@laptop.levsha.me>
Mykola Dzham <firstname.lastname@example.org> writes:
: Attemt to make jail with different target arch on tinderbox (i386 jail
: on amd64 host) exits with error:
: ERROR: distribution failed - see /usr/local/tinderbox/jails/9-HEAD.i386/distribution.tmp
: Last lines from log:
: cd /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail; make distribution
: install -o root -g wheel -m 644 /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail/freebsd.mc freebsd.cf /tmp/tinderbox/jails/9-HEAD.i386/tmp/etc/mail
: install: freebsd.cf: No such file or directory
: *** Error code 71
: Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail.
: *** Error code 1
: Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc.
: Full build and distribution logs avaliable on
: http://levsha.me/tmp/20100718/world.txt (20M)
: http://levsha.me/tmp/20100718/distribution.txt (7.4K)
: Reverting r209510 fixes this problem
Try setting both TARGET and TARGET_ARCH.
TARGET_ARCH was depricated in favor of TARGET in FreeBSD 8.0.