4 Jan 2009 03:54
Problems building pkg_install on simh
Gordon Zaft <gordonzaft <at> gmail.com>
2009-01-04 02:54:28 GMT
2009-01-04 02:54:28 GMT
I have a simh emulator with 4.0.1 installed and wanted to build
pkgsrc stuff on it (bash, to start with). When I tried to build bash
it complained that my pkg_install was out of date, so I tried to build
pkg_install, and got:
diogenes# cd pkg_install
diogenes# make
sh: /usr/sbin/audit-packages: not found
===> Skipping vulnerability checks.
WARNING: No /pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/download-vulnerability-list'.
===> Configuring for pkg_install-20081013
=> Configuring and building libnbcompat
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: error: cannot run /bin/sh ./config.sub
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
So... is building pkgsrc native just hopelessly broken, or is there
something else I should try? Thanks for any help!
--
--
Gordon Zaft
(Continue reading)
Anyway, turns out my nfs root was broken; I unpacked the stock 2.0.2 vax
binaries and things started working better (I discovered /sbin/init was
getting traps... oops).
Below is some output; Now that 2.0.3 is working I'll try the latest and
make a patch set. I found that 2.0.3 boots quicker in sim than 1.6ZL.
It will be interesting to see how 4.0 does...
I also found that when init makes an mfs /dev it runs out of inodes.
Any idea how to fix that? It's not fatal.
Next I'll try less memory and real hardware!
-brad
------
Organization: Heeltoe Consulting
The Regents of the University of California. All rights reserved.
NetBSD 2.0.3 (VAX780) #9: Wed Jan 7 12:11:40 EST 2009
brad <at> mwave:/files1/netbsd/NetBSD-2.0.3/root/usr/src/sys/arch/vax/compile/obj/VAX780
VAX 11/730
cpu0: KA730, ucode rev 4
total memory = 8188 KB
RSS Feed