From owner-freebsd-bugs Mon Mar 11 10:20:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA00827 for bugs-outgoing; Mon, 11 Mar 1996 10:20:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA00807 Mon, 11 Mar 1996 10:20:02 -0800 (PST) Resent-Date: Mon, 11 Mar 1996 10:20:02 -0800 (PST) Resent-Message-Id: <199603111820.KAA00807@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, nik@blueberry.co.uk Received: from plum.blueberry.co.uk ([194.70.52.50]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA29978 for ; Mon, 11 Mar 1996 10:11:45 -0800 (PST) Received: (from nik@localhost) by plum.blueberry.co.uk (8.6.12/8.6.12) id SAA20100; Mon, 11 Mar 1996 18:08:35 GMT Message-Id: <199603111808.SAA20100@plum.blueberry.co.uk> Date: Mon, 11 Mar 1996 18:08:35 GMT From: Nik Clayton Reply-To: nik@blueberry.co.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/1076: 'make install' fails for /usr/src/share/examples in -stable Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1076 >Category: conf >Synopsis: 'make install' fails for /usr/src/share/examples in -stable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 11 10:20:00 PST 1996 >Last-Modified: >Originator: Nik Clayton >Organization: Blueberry Design >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: 2-1-stable sup'd over the weekend 9/10 March >Description: When 'make install'ing in /usr/src/share/examples, multiple errors of the type install: mkstemp: /usr/share/examples/etc for /usr/share/examples/etc/README.examples: No such file or directory (long line broken) are generated. Only occurs if the variable SHARED is set to 'copies'. This is the default in the supplied makefile. As far as I can tell, 'install' is objecting because the directories to install to do not exist. >How-To-Repeat: Install 2.1.0-RELEASE Sup -stable on top of it Do a 'make world' (or anything else that will cause 'make install' to be run in /usr/src/share/examples. >Fix: Set the variable SHARED to 'symlinks' (if that works for you), otherwise, apply this patch, which creates the directories first. *** Makefile.org Mon Mar 11 17:56:40 1996 --- Makefile Mon Mar 11 18:04:59 1996 *************** *** 19,27 **** --- 19,32 ---- copies: @${ECHO} installing ${DDIR} + @-for a in ${DIRS}; do \ rm -rf ${DDIR}/$$a; \ done + + find ${DIRS} \( -name CVS -prune \) -o -type d -print -exec \ + mkdir -p ${DDIR}/{} \; + find ${DIRS} \( -name CVS -prune \) -o -type f -print -exec \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 644 {} ${DDIR}/{} \; >Audit-Trail: >Unformatted: