I installed an official snapshot of FreeBSD 10.2-STABLE onto a 4 GB SD card and put it into a Raspberry Pi (original). So it is running:
Next I put a ports tree on the machine (via
It doesn't look like this is a problem with free space:
No clues in logs, and Google didn't lead me to anything. Any hints?
Code:
root@rpi-b# uname -a
FreeBSD rpi-b 10.2-STABLE FreeBSD 10.2-STABLE #0 r293242: Thu Jan 7 00:05:43 UTC 2016
root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm
portsnap
) and tried to build ports-mgmt/pkg, but it fails here:
Code:
root@rpi-b# MAKE_JOBS_UNSAFE=yes make
===> Building for pkg-1.6.3
/usr/bin/make all-recursive
Making all in compat
Making all in external
/usr/bin/make all-recursive
Making all in blake2
CC libucl/src/libucl_static_la-ucl_emitter.lo
CC libucl/src/libucl_static_la-ucl_emitter_utils.lo
CC libucl/src/libucl_static_la-ucl_emitter_streamline.lo
CC libucl/src/libucl_static_la-ucl_hash.lo
CC libucl/src/libucl_static_la-ucl_parser.lo
CC libucl/src/libucl_static_la-ucl_schema.lo
CC libucl/src/libucl_static_la-ucl_util.lo
CC libucl/src/libucl_static_la-ucl_msgpack.lo
CC libucl/src/libucl_static_la-xxhash.lo
CCLD libucl_static.la
CC sqlite/libsqlite_static_la-sqlite3.lo
sqlite/sqlite3.c:55862:12: warning: unused variable 'pBlock' [-Wunused-variable]
sqlite3 *pBlock = 0;
^
sqlite/sqlite3.c:60268:11: warning: unused variable 'key' [-Wunused-variable]
u32 key = get4byte(&apNew[NOPARSE][i][/NOPARSE]->aData[8]);
^
sqlite/sqlite3.c:8954:26: warning: unused variable 'sqlite3one'
[-Wunused-const-variable]
SQLITE_PRIVATE const int sqlite3one = 1;
^
fatal error: error in backend: IO failure on output stream.
*** Error code 1
Stop.
make[6]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.3/external
*** Error code 1
Stop.
make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.3/external
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.3/external
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.3
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.3
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
Code:
root@rpi-b# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/rootfs 3.6G 1.4G 1.9G 41% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/msdosfs/MSDOSBOOT 17M 3.8M 13M 23% /boot/msdos
tmpfs 30M 4.0K 30M 0% /tmp