Date: Mon, 12 Mar 2001 20:54:07 -0600 From: Larry Rosenman <ler@lerctr.org> To: John Baldwin <jhb@FreeBSD.org> Cc: Marcel Moolenaar <marcel@cup.hp.com>, qa@FreeBSD.org, marcel@FreeBSD.org, jkh@FreeBSD.org Subject: Re: cputype=486 Message-ID: <20010312205407.A20097@lerami.lerctr.org> In-Reply-To: <XFMail.010312184447.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Mon, Mar 12, 2001 at 06:44:47PM -0800 References: <20010312195717.A17315@lerami.lerctr.org> <XFMail.010312184447.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* John Baldwin <jhb@FreeBSD.org> [010312 20:45]:
> Oh, the /tmp/install.XXXX path is last here. Grrrr, so the cross tools gets
> used during installworld. :( This is _bad_ and breaks cross built world
> installs. Marcel, can we have just the /tmp/install.XXXXX' as the path for the
> installworld?
>
> Larry, it may not work, but you can try editing src/Makefile.inc1 again and
> changing the IMAKEENV variable to just set PATH to ${INSTALLTMP} (i.e. remove
> ${STRICTTMPPATH}). You may have to add more binaries to the list of those
> copied over in the installworld: target for it to work however. As for a
> general solution, this still might not work for cross builds to other archs as
> some of the binaries that are needed aren't statically linked I'm betting.
no dice, still. Still get the signal 4 in strip.
mkdir -p /tmp/install.21652
for prog in [ awk cat chflags chmod chown date echo egrep find grep install ln make makewhatis mtree mv perl rm sed sh sysctl strip test true uname wc zic; do cp `which $prog` /tmp/install.21652; done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 PATH=/tmp/install.21652 make -f Makefile.inc1 reinstall
--------------------------------------------------------------
>>> Making hierarchy
--------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc; make distrib-dirs
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /
tmp changed
type expected dir found link
var changed
type expected dir found link
mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/libdata/perl/5.00503/mach
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO_8859-1; ln -sf ../man* .
cd /usr/share/locale; set - `cat /usr/src/etc/locale.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done
cd /usr/share/nls; set - `cat /usr/src/etc/locale.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done; rm -rf POSIX; ln -s C POSIX
--------------------------------------------------------------
>>> Installing everything..
--------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1 install
===> share/info
===> include
if [ -h /usr/include/cam ]; then rm -f /usr/include/cam; fi
if [ -h /usr/include/msdosfs ]; then rm -f /usr/include/msdosfs; fi
if [ -h /usr/include/net ]; then rm -f /usr/include/net; fi
if [ -h /usr/include/netatalk ]; then rm -f /usr/include/netatalk; fi
if [ -h /usr/include/netatm ]; then rm -f /usr/include/netatm; fi
if [ -h /usr/include/netgraph ]; then rm -f /usr/include/netgraph; fi
if [ -h /usr/include/netinet ]; then rm -f /usr/include/netinet; fi
if [ -h /usr/include/netinet6 ]; then rm -f /usr/include/netinet6; fi
if [ -h /usr/include/netipx ]; then rm -f /usr/include/netipx; fi
if [ -h /usr/include/netkey ]; then rm -f /usr/include/netkey; fi
if [ -h /usr/include/netnatm ]; then rm -f /usr/include/netnatm; fi
if [ -h /usr/include/netncp ]; then rm -f /usr/include/netncp; fi
if [ -h /usr/include/netns ]; then rm -f /usr/include/netns; fi
if [ -h /usr/include/nfs ]; then rm -f /usr/include/nfs; fi
if [ -h /usr/include/ntfs ]; then rm -f /usr/include/ntfs; fi
if [ -h /usr/include/nwfs ]; then rm -f /usr/include/nwfs; fi
if [ -h /usr/include/pccard ]; then rm -f /usr/include/pccard; fi
if [ -h /usr/include/posix4 ]; then rm -f /usr/include/posix4; fi
if [ -h /usr/include/sys ]; then rm -f /usr/include/sys; fi
if [ -h /usr/include/vm ]; then rm -f /usr/include/vm; fi
if [ -h /usr/include/isofs/cd9660 ]; then rm -f /usr/include/isofs/cd9660; fi
if [ -h /usr/include/ufs/ffs ]; then rm -f /usr/include/ufs/ffs; fi
if [ -h /usr/include/ufs/mfs ]; then rm -f /usr/include/ufs/mfs; fi
if [ -h /usr/include/ufs/ufs ]; then rm -f /usr/include/ufs/ufs; fi
if [ -h /usr/include/dev/ppbus ]; then rm -f /usr/include/dev/ppbus; fi
if [ -h /usr/include/dev/usb ]; then rm -f /usr/include/dev/usb; fi
if [ -h /usr/include/machine ]; then rm -f /usr/include/machine; fi
mtree -deU -f /usr/src/include/../etc/mtree/BSD.include.dist -p /usr/include
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 cam/*.h /usr/include/cam
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 msdosfs/*.h /usr/include/msdosfs
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 net/*.h /usr/include/net
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netatalk/*.h /usr/include/netatalk
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netatm/*.h /usr/include/netatm
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netgraph/*.h /usr/include/netgraph
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netinet/*.h /usr/include/netinet
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netinet6/*.h /usr/include/netinet6
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netipx/*.h /usr/include/netipx
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netkey/*.h /usr/include/netkey
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netnatm/*.h /usr/include/netnatm
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netncp/*.h /usr/include/netncp
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netns/*.h /usr/include/netns
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 nfs/*.h /usr/include/nfs
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ntfs/*.h /usr/include/ntfs
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 nwfs/*.h /usr/include/nwfs
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 pccard/*.h /usr/include/pccard
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 posix4/*.h /usr/include/posix4
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 sys/*.h /usr/include/sys
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 vm/*.h /usr/include/vm
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 isofs/cd9660/*.h /usr/include/isofs/cd9660
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ufs/ffs/*.h /usr/include/ufs/ffs
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ufs/mfs/*.h /usr/include/ufs/mfs
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ufs/ufs/*.h /usr/include/ufs/ufs
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 cam/scsi/*.h /usr/include/cam/scsi
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 dev/ppbus/*.h /usr/include/dev/ppbus
cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 dev/usb/*.h /usr/include/dev/usb
cd /usr/src/include/../sys/i386/include; install -C -o root -g wheel -m 444 *.h /usr/include/machine
ln -sf ../sys/soundcard.h /usr/include/machine/soundcard.h
ln -sf ../sys/joystick.h /usr/include/machine/joystick.h
cd /usr/src/include; install -C -o root -g wheel -m 444 a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h dlfcn.h elf.h err.h fnmatch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h ieeefp.h ifaddrs.h iso646.h libgen.h limits.h link.h locale.h malloc.h memory.h mpool.h ndbm.h netdb.h nl_types.h nlist.h objformat.h paths.h pthread.h pthread_np.h pwd.h ranlib.h regex.h regexp.h resolv.h rune.h runetype.h search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h stringlist.h strings.h struct.h sysexits.h tar.h time.h timers.h ttyent.h unistd.h utime.h utmp.h vis.h /usr/include
cd /usr/src/include/arpa; install -C -o root -g wheel -m 444 ftp.h inet.h nameser.h nameser_compat.h telnet.h tftp.h /usr/include/arpa
cd /usr/src/include/protocols; install -C -o root -g wheel -m 444 dumprestore.h routed.h rwhod.h talkd.h timed.h /usr/include/protocols
cd /usr/src/include/rpc; install -C -o root -g wheel -m 444 auth.h auth_unix.h clnt.h pmap_clnt.h pmap_prot.h pmap_rmt.h rpc.h rpc_com.h rpc_msg.h svc.h svc_auth.h types.h xdr.h auth_des.h des.h des_crypt.h /usr/include/rpc
install -C -o root -g wheel -m 444 /usr/obj/usr/src/include/osreldate.h /usr/include
ln -sf sys/aio.h /usr/include/aio.h
ln -sf sys/errno.h /usr/include/errno.h
ln -sf sys/fcntl.h /usr/include/fcntl.h
ln -sf sys/inttypes.h /usr/include/inttypes.h
ln -sf sys/linker_set.h /usr/include/linker_set.h
ln -sf sys/poll.h /usr/include/poll.h
ln -sf sys/syslog.h /usr/include/syslog.h
ln -sf sys/termios.h /usr/include/termios.h
ln -sf sys/ucontext.h /usr/include/ucontext.h
ln -sf machine/float.h /usr/include/float.h
ln -sf machine/floatingpoint.h /usr/include/floatingpoint.h
ln -sf machine/stdarg.h /usr/include/stdarg.h
ln -sf machine/varargs.h /usr/include/varargs.h
ln -sf posix4/mqueue.h /usr/include/mqueue.h
ln -sf posix4/sched.h /usr/include/sched.h
ln -sf posix4/semaphore.h /usr/include/semaphore.h
===> include/rpcsvc
install -C -o root -g wheel -m 444 /usr/src/include/rpcsvc/yp_prot.h /usr/src/include/rpcsvc/ypclnt.h /usr/src/include/rpcsvc/nis_db.h /usr/src/include/rpcsvc/nis_tags.h /usr/src/include/rpcsvc/nislib.h /usr/src/include/rpcsvc/bootparam_prot.x /usr/src/include/rpcsvc/key_prot.x /usr/src/include/rpcsvc/klm_prot.x /usr/src/include/rpcsvc/mount.x /usr/src/include/rpcsvc/nfs_prot.x /usr/src/include/rpcsvc/nlm_prot.x /usr/src/include/rpcsvc/rex.x /usr/src/include/rpcsvc/rnusers.x /usr/src/include/rpcsvc/rquota.x /usr/src/include/rpcsvc/rstat.x /usr/src/include/rpcsvc/rwall.x /usr/src/include/rpcsvc/sm_inter.x /usr/src/include/rpcsvc/spray.x /usr/src/include/rpcsvc/yppasswd.x /usr/src/include/rpcsvc/yp.x /usr/src/include/rpcsvc/ypxfrd.x /usr/src/include/rpcsvc/ypupdate_prot.x /usr/src/include/rpcsvc/nis.x /usr/src/include/rpcsvc/nis_cache.x /usr/src/include/rpcsvc/nis_object.x /usr/src/include/rpcsvc/nis_callback.x /usr/src/include/rpcsvc/crypt.x key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h bootparam_prot.h crypt.h /usr/include/rpcsvc
install -C -o root -g wheel -m 444 key_prot.h /usr/include/rpc
===> lib
===> lib/csu/i386-elf
install -c -o root -g wheel -m 444 crt1.o /usr/lib/crt1.o
install -c -o root -g wheel -m 444 crti.o /usr/lib/crti.o
install -c -o root -g wheel -m 444 crtn.o /usr/lib/crtn.o
install -c -o root -g wheel -m 444 gcrt1.o /usr/lib/gcrt1.o
===> lib/libcom_err
cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h /usr/include
cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include
install -c -o root -g wheel -m 444 libcom_err.a /usr/lib
install -c -o root -g wheel -m 444 libcom_err_p.a /usr/lib
install -c -s -o root -g wheel -m 444 libcom_err.so.2 /usr/lib
*** Error code 70
Stop in /usr/src/lib/libcom_err.
*** Error code 1
Stop in /usr/src/lib.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010312205407.A20097>
