Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 1996 23:01:58 +0300 (EET DST)
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1398: .OBJDIR modifications to tree broke make reinstall?
Message-ID:  <199607182001.XAA12685@cantina.clinet.fi>
Resent-Message-ID: <199607182010.NAA13627@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1398
>Category:       bin
>Synopsis:       .OBJDIR modifications to tree broke make reinstall?
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 18 13:10:02 PDT 1996
>Last-Modified:
>Originator:     Heikki Suonsivu
>Organization:
Clinet, Espoo, Finland
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

	-current, this problem is in both my last sups, within two weeks.

>Description:

make reinstall no more works.  It seems that make tries to install the
files from wrong place, and cannot find them correctly.

symlinks ufs
rm -rf /usr/include/machine
ln -s /sys/i386/include /usr/include/machine
installing a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h err.h f2c.h fnmatch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h kvm.h limits.h link.h locale.h malloc.h memory.h mpool.h ndbm.h netdb.h nl_types.h nlist.h paths.h pthread.h pwd.h ranlib.h regex.h regexp.h resolv.h rune.h runetype.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h struct.h sysexits.h tar.h time.h timers.h ttyent.h unistd.h utime.h utmp.h vis.h
creating osreldate.h from newvers.sh
. /m/katiska/usr/current/src/include/../sys/conf/newvers.sh ;                   echo \#'define __FreeBSD_version' $RELDATE >> /usr/include/osreldate.h.new
installing arpa protocols rpc
installing errno.h fcntl.h syslog.h termios.h
installing float.h floatingpoint.h stdarg.h varargs.h
===> include/rpcsvc
Installing RPC service header and definition files
===> lib
===> lib/csu/i386
cmp -s /m/katiska/usr/current/src/lib/csu/i386/dlfcn.h /usr/include/dlfcn.h ||  install -c -o bin -g bin -m 444  /m/katiska/usr/current/src/lib/csu/i386/dlfcn.h /usr/include
cmp -s sgcrt0.o /usr/lib/sgcrt0.o ||  install -c -o bin -g bin -m 444  sgcrt0.o /usr/lib
install: sgcrt0.o: No such file or directory
*** Error code 71

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

Assuming this has something to do with OBJDIR modifications a while
back I tried adding them, but getting past 3-4 similar problems I gave
up, it seems that there are lots of broken places like this (and
OBJDIR points to source directories sometimes, so this would not
help).  What could be causing this?

>How-To-Repeat:

On machine A

make world

On machine B

mount A:/usr /mnt
cd /usr
mv obj obj-orig
mv src src-orig
ln -s /mnt/obj obj
ln -s /mnt/src src
cd /usr/src
make reinstall

>Fix:
	

>Audit-Trail:
>Unformatted:



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