tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problems bootstrapping pkgsrc on OpenBSD-4.9RELEASE/64



Hi,

I've tried to bootstrap pkgsrc on a OpenBSD VM running in Virtual Box
(analogous to a NetBSD VM, where the initial builds succeed).
I encountered two problems:

1) It seems that pkgsrc fails (always compared to NetBSD) on OpenBSD
   to build on the NFS mounted "/tmp" from the host of the VM, at least
   bootstrap fails.
   Is this a bootstrap issue or will it fail later, too?
2) bootstrapping pkg_install fails on libfetch (see below) because of missing
   nroff. How can I solve that?

Thanks in advance,
Jens

# ./bootstrap --abi=64 --workdir=/hostmp/ob64pkgsrc
===> bootstrap command: ./bootstrap --abi=64 --workdir=/hostmp/ob64pkgsrc
===> bootstrap started: Fri May 13 07:23:29 CEST 2011
Working directory is: /hostmp/ob64pkgsrc
===> running: /usr/bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|'
/data/pkgsrc/sysutils/install-sh/files/install-sh.in >
/hostmp/ob64pkgsrc/bin/install-sh
===> running: /bin/chmod +x /hostmp/ob64pkgsrc/bin/install-sh
===> Creating default mk.conf in /hostmp/ob64pkgsrc
===> running: /bin/sh /hostmp/ob64pkgsrc/bin/install-sh -d -o root -g
wheel /hostmp/ob64pkgsrc/sbin
chown: /hostmp/ob64pkgsrc/sbin: Operation not permitted
===> exited with status 1
aborted.
# rm -rf /hostmp/ob64pkgsrc
# ./bootstrap --abi=64 --workdir=/tmp/foo
===> bootstrap command: ./bootstrap --abi=64 --workdir=/tmp/foo
===> bootstrap started: Fri May 13 07:23:59 CEST 2011
Working directory is: /tmp/foo
[...]
===> Installing for bmake-20100808
=> Creating installation directories
/usr/bin/install -c -s -o root -g wheel -m 555
/tmp/foo/wrk/devel/bmake/work/OpenBSD/bmake /usr/pkg/bin
/usr/bin/install -c -o root -g wheel -m 444
/tmp/foo/wrk/devel/bmake/work/bmake/bmake.1 /usr/pkg/man/man1
=> Automatic manual page handling
=> Registering installation for bmake-20100808
bmake-20100808 requires installed package bootstrap-mk-files-20090807nb2
===> running: (cd /data/pkgsrc/pkgtools/pkg_install &&
/tmp/foo/bin/bmake  USE_DESTDIR=no -DPKG_PRESERVE
MAKECONF=/tmp/foo/mk.conf install)
===> Installing dependencies for pkg_install-20110215
[...]
building standard fetch library
ar cq libfetch.a `NM=nm lorder fetch.o common.o ftp.o http.o file.o | tsort -q`
ranlib libfetch.a
nroff -Tascii -mandoc fetch.3 > fetch.cat3
/bin/sh: nroff: not found
*** Error code 1

Stop.
bmake: stopped in /tmp/foo/wrk/pkgtools/pkg_install/work/libfetch
*** Error code 1

Stop.
bmake: stopped in /data/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
bmake: stopped in /data/pkgsrc/pkgtools/pkg_install
===> exited with status 1
aborted.


Home | Main Index | Thread Index | Old Index