Re: Can't make distribution TARGET_ARCH=... after r209510

[ Available lists | Index of freebsd-current | Month of Jul 2010 | Week of 18 Jul 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
M. Warner Losh <imp@bsdimp.com>
Date
18 Jul 2010 21:43:16
Subject
Re: Can't make distribution TARGET_ARCH=... after r209510
Message-ID
20100718.154034.197197260755844978.imp@bsdimp.com

In reply to
References to

[ Hide this part ]
In message: <20100718210154.GA94088@laptop.levsha.me>
Mykola Dzham <i@levsha.me> writes:
: Hi!
: 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.

Warner


Elapsed time: 0.077 seconds