Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 14:40:52 +0200
From:      =?UTF-8?Q?Ren=c3=a9_Ladan?= <rene@freebsd.org>
To:        freebsd-arm@freebsd.org
Subject:   'make installworld' on Raspberry Pi fails
Message-ID:  <55D9BF54.6000903@freebsd.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I was trying to update my Rapberry Pi to 10.2-RELEASE. Installing the
new kernel went fine (even over NFS) but installing the world gives
mysterious errors. This is after copying /usr/src and /usr/obj over to
the SD card, because installing world over NFS gives a race. Does this
look familiar (the last command has the gibberish on the same line) ?

root@raspberry-pi:/usr/src # make -DDB_FROM_SRC DESTDIR=/
__MAKE_CONF=/dev/null installworld
mkdir -p /tmp/install.4hPqGR4M
export
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/us
r/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/
bin:/sbin:/bin:/usr/sbin:/usr/bin
;  progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown  date
echo egrep find grep id install install-info  ln lockf make mkdir
mtree nmtree mv pwd_mkdb  rm sed sh strip sysctl test true uname wc
zic tzsetup   makewhatis; do  if progpath=`which $prog`; then  echo
$progpath;  else  echo "Required tool $prog not found in PATH." >&2;
exit 1;  fi;  done);  libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs
2>/dev/null | sort -u |  while read line; do  set -- $line;  if [ "$2
$3" != "not found" ]; then  echo $2;  else  echo "Required library $1
not found." >&2;  exit 1;  fi;  done);  cp $libs $progs
/tmp/install.4hPqGR4M
cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.4hPqGR4M/locale
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=armv6 MACHINE=arm
CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/us
r/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/
bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/
usr/src/tmp/usr/games:/tmp/install.4hPqGR4M
 LD_LIBRARY_PATH=/tmp/install.4hPqGR4M
PATH_LOCALE=/tmp/install.4hPqGR4M/locale make -f Makefile.inc1
INSTALL="install -N /usr/src/etc" MTREE_CMD="nmtree -N /usr/src/etc"
COMPILER_TYPE=clang __MAKE_SHELL=/tmp/install.4hPqGR4M/sh reinstall;
MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE=
GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/us
r/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/
bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/
usr/src/tmp/usr/games:/tmp/install.4hPqGR4M
 LD_LIBRARY_PATH=/tmp/install.4hPqGR4M
PATH_LOCALE=/tmp/install.4hPqGR4M/locale rm -rf /tmp/install.4hPqGR4M
- --------------------------------------------------------------
>>> Making hierarchy
- --------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1  LOCAL_MTREE= hierarchy
cd /usr/src/etc &&
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/us
r/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/
bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/
usr/src/tmp/usr/games:/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/
src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/us
r/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/
usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.4hPqGR4M
make LOCAL_MTREE= distrib-dirs
nmtree -N /usr/src/etc -deU -f /usr/src/etc/mtree/BSD.root.dist -p //
tmp:            type (dir, link)
./etc/X11 missing (created)
nmtree -N /usr/src/etc -deU -f /usr/src/etc/mtree/BSD.var.dist -p //var
empty:  flags ("schg" is not "none"nmtree -N /usr/src/etc -deU -f
/usr/src/etc/mtree/BSD.usr.dist -p //usr
nmtree -N /usr/src/etc -deU -f /usr/src/etc/mtree/BSD.include.dist -p
//usr/include
nmtree -N /usr/src/etc -deU -f /usr/src/etc/mtree/BSD.groff.dist -p //us
r
nmtree -N /usr/src/etc -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
/
install -N /usr/src/etc -l s usr/src/sys //sys
l�H=l0uL-c0IE
�~%IHobj/usr/src/tmp/legacy/usr/bin/install: cannot create Ic�M
�u��H.�H��Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
root@raspberry-pi:/usr/src #

Regards,
René
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJV2b9EXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMDFBNzE2QjE2MkIwMEU1NUJFREVBMDVB
REJCRjg2MTBBMzc4OUI3AAoJEK27+GEKN4m3HRwP/jCDIHRX2Vhbd0neHU056ms9
2Sy9D7uKWgVo42LlM7lS+GwCMraQ9ZiDxHFxbKrrLFBRACc1fJzQJBApZaaocRMz
OTG8CnTRyGgw/gEZ49Hump8xz1rtYYOVt7YAMb7C/FidxWOKQBv3beEpW8JbOIgl
hf1TXxT/6UeKmQFYPbXnvhTOWKklIn8bwKycogpH80gw/94WGUaz75S/N/dtD/M4
Zzmr8BX5ChNQ3dan67XBDZWSZJldxKdHPakq0+GYbq+Eo8WB6WLIZeyEwC3tUTOn
vNGKKFRja3U41nM3CT4zLmrlG4qKKUT46TzSUaTLUdu0nnghr+DfpoCKs+L2IyN+
DiOzxtszkCNR/bGzkAS/sScuUZJBeYXxpRZwtMvi3nuSgVx7FNbGHMhZl6MsrtNN
ChOzs0kq6dpRJT4etUNEKGGa6fO3gY4mAaBEg/x6ALJn3fxE2VbPumOxOyDm68U/
Q+n81E6JtRNTSG7mTpWtuRg2o7ek85RQGQO/RCS41shVIg5e9WaYkExhlrfQGtyk
S8ZMa9Alat/ndFY2aCZQoAY9u8mBxthnFTFoXP6XBU0KrCLLqMAQ6cvXE91S75dJ
PSEDz7QdIHE7wV/LlLtuv0Hh55+JFCqKyzjm3VsJhFvKT8SEfyadS70pHCa25dv5
xPPuOkuFq+36ePIqlAOq
=qMle
-----END PGP SIGNATURE-----



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