Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 19:40:27 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Ian Lepore <ian@freebsd.org>
Cc:        "freebsd-arm@FreeBSD.org" <freebsd-arm@FreeBSD.org>
Subject:   Re: Confirmed update procedure for a self-hosted armv6hf system
Message-ID:  <20160524024027.GB52783@www.zefox.net>
In-Reply-To: <1464055880.1180.433.camel@freebsd.org>
References:  <1463976239.1180.406.camel@freebsd.org> <20160523215248.GA52783@www.zefox.net> <1464055880.1180.433.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 23, 2016 at 08:11:20PM -0600, Ian Lepore wrote:
> > /tmp/install.b4kWrXan
> > sh: cc: not found
> > make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 142: Unable to
> > determine compiler type for CC=3Dcc .  Consider setting COMPILER_TYPE.
> > *** [installworld] Error code 1
> >=20
> > Up to now no COMPILER_TYPE has been needed.
> > What's the correct name?
> >=20
> > Many thanks for your patience!
> >=20
> > bob prohaska
>=20
> The fact that it's complaining about compiler type means something is
> wrong.  Hmm, it looks like you left off the TARGET_ARCH=3Darmv6 on the
> installworld command, because otherwise those paths would be
> /usr/arm.armv6/usr/... not just /usr/obj/usr/...
>=20
Alas, no. Here's a verbatim transcript:
root@www:/usr/src # make -j6 installworld TARGET_ARCH=3Darmv6 > installworl=
d.log &
[1] 68427
root@www:/usr/src # 1 error

[1]    Exit 2                        make -j6 installworld TARGET_ARCH=3Dar=
mv6 > installworld.log

root@www:/usr/src # tail -n25 installworld.log
--- installworld ---
--- __installcheck_UGID ---
--- installworld ---
mkdir -p /tmp/install.E75wHxti
progs=3D$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp  date e=
cho egrep find grep id install   ln make mkdir mtree mv pwd_mkdb  rm sed se=
rvices_mkdb sh strip sysctl test true uname wc zic tzsetup   makewhatis; do=
  if progpath=3D`which $prog`; then  echo $progpath;  else  echo "Required =
tool $prog not found in PATH." >&2;  exit 1;  fi;  done);  libs=3D$(ldd -f =
"%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u |  while read line; do =
 $line;  if [ "$2 $3" !=3D "not found" ]; then  echo $2;  else  echo "Requi=
red library $1 not found." >&2;  exit 1;  fi;  done);  cp $libs $progs /tmp=
/install.E75wHxti
cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.E75wHxti/locale
cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj  MACHINE_ARCH=3Darmv6  MACHINE=3Da=
rm  CPUTYPE=3D GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin  GROFF_=
FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  GROFF_TMAC_PA=
TH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac CC=3D"cc " CXX=3D"c++  "  C=
PP=3D"cpp "  AS=3D"as" AR=3D"ar" LD=3D"ld" NM=3Dnm  OBJDUMP=3Dobjdump OBJCO=
PY=3D"objcopy"  RANLIB=3Dranlib STRINGS=3D  SIZE=3D"size" PATH=3D/usr/obj/u=
sr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr=
/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/=
bin:/tmp/install.E75wHxti  LD_LIBRARY_PATH=3D/tmp/install.E75wHxti  PATH_LO=
CALE=3D/tmp/install.E75wHxti/locale make -f Makefile.inc1    __MAKE_SHELL=
=3D/tmp/install.E75wHxti/sh reinstall;  MAKEOBJDIRPREFIX=3D/usr/obj  MACHIN=
E_ARCH=3Darmv6  MACHINE=3Darm  CPUTYPE=3D GROFF_BIN_PATH=3D/usr/obj/usr/src=
/tmp/legacy/usr/bin  GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/shar=
e/groff_font  GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac =
CC=3D"cc " CXX=3D"c++  "  CPP=3D"cpp "  AS=3D"as" AR=3D"ar" LD=3D"ld" NM=3D=
nm  OBJDUMP=3Dobjdump OBJCOPY=3D"objcopy"  RANLIB=3Dranlib STRINGS=3D  SIZE=
=3D"size" PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/=
legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbi=
n:/usr/obj/usr/src/tmp/usr/bin:/tmp/install.E75wHxti  LD_LIBRARY_PATH=3D/tm=
p/install.E75wHxti  PATH_LOCALE=3D/tmp/install.E75wHxti/locale rm -rf /tmp/=
install.E75wHxti
sh: cc: not found
make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 142: Unable to determine =
compiler type for CC=3Dcc .  Consider setting COMPILER_TYPE.
*** [installworld] Error code 1

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [installworld] Error code 2

Setting COMPILER_TYPE (naively) to cc or clang seems no help whatever.

This RPI2 has neither /etc/make.conf nor /etc/src.conf, might that be part =
of the trouble?
Alternatively, might it be simpler to "back down" to an earlier revision (w=
hich one?) and
attempt to upgrade from there?

Thanks as always!

bob prohaska





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160524024027.GB52783>