Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 1997 08:40:15 -0700 (PDT)
From:      canuck@caam.rice.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/3813: make world on 2.2-STABLE dies when trying to create /usr/include/ufs/ffs
Message-ID:  <199706081540.IAA16953@hub.freebsd.org>
Resent-Message-ID: <199706081550.IAA17304@hub.freebsd.org>

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

>Number:         3813
>Category:       bin
>Synopsis:       make world on 2.2-STABLE dies when trying to create /usr/include/ufs/ffs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun  8 08:50:01 PDT 1997
>Last-Modified:
>Originator:     Michael Pearlman
>Organization:
CAAM Dept., Rice Univeristy
>Release:        2.2-STABLE
>Environment:
FreeBSD gauss.stat.rice.edu 2.2-STABLE FreeBSD 2.2-STABLE #0: Wed Jun  4 09:58:01 CDT 1997     root@gauss.stat.rice.edu:/usr/src/sys/compile/GAUSS  i386

>Description:
The file /usr/include/Makefile

#       From: @(#)Makefile      8.2 (Berkeley) 1/4/94
#       $Id: Makefile,v 1.45.2.1 1997/06/05 21:23:49 jkh Exp $

is broken it tries to create /usr/include/ufs/ffs without first
creating /usr/include/ufs
>How-To-Repeat:
just do
	make world

>Fix:
Here is context diff between the broken Makefile and a corrected one.
Note once someone does a "make world" the /usr/include structure needs
to be restored to allow a make world with the corrected Makefile to work.
The quick fix is
	cp /usr/src/sys/sys/*.h /usr/include/sys
	cp /usr/src/sys/i386/include/*.h /usr/include/machine
Now patch the Makefile and do a "make world"

diff -c Makefile.broken Makefile
*** Makefile.broken     Sun Jun  8 10:30:56 1997
--- Makefile    Sun Jun  8 10:32:25 1997
***************
*** 86,92 ****
                rm -f ${DESTDIR}/usr/include/$i; \
        fi
  .endfor
! .for i in ${LDIRS} ${UDIRS} ${LUDIR} machine
        if [ ! -d ${DESTDIR}/usr/include/$i ]; then \
                mkdir ${DESTDIR}/usr/include/$i; \
                chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \
--- 86,92 ----
                rm -f ${DESTDIR}/usr/include/$i; \
        fi
  .endfor
! .for i in ${LDIRS} ${LUDIR} ${UDIRS} machine
        if [ ! -d ${DESTDIR}/usr/include/$i ]; then \
                mkdir ${DESTDIR}/usr/include/$i; \
                chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \

>Audit-Trail:
>Unformatted:



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