From owner-freebsd-current Tue Jun 13 14:56:26 2000 Delivered-To: freebsd-current@freebsd.org Received: from merc95.us.sas.com (merc95.us.sas.com [149.173.6.5]) by hub.freebsd.org (Postfix) with ESMTP id 731AB37BFF8 for ; Tue, 13 Jun 2000 14:56:23 -0700 (PDT) (envelope-from jwd@unx.sas.com) Received: from merc95.us.sas.com ([127.0.0.1]) by merc95.us.sas.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2651.58) id LY37QSY4; Tue, 13 Jun 2000 17:56:22 -0400 Received: from 10.28.149.26 by merc95.us.sas.com (InterScan E-Mail VirusWall NT); Tue, 13 Jun 2000 17:56:22 -0400 (Eastern Daylight Time) Received: from bb01f39.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA21211; Tue, 13 Jun 2000 17:56:22 -0400 Received: (from jwd@localhost) by bb01f39.unx.sas.com (8.9.3/8.9.1) id RAA91150 for freebsd-current@FreeBSD.org; Tue, 13 Jun 2000 17:56:22 -0400 (EDT) (envelope-from jwd) Date: Tue, 13 Jun 2000 17:56:22 -0400 From: John DeBoskey To: freebsd-current@FreeBSD.org Subject: make install of new kernel fails (bad /modules) Message-Id: <20000613175622.A91072@unx.sas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On a freshly installed snap (5.0-20000612-SNAP), after compiling up a new kernel, the make install fails. Basically, it tries to 'cp /modules/* /modules.old' but /modules is empty and the cp fails. We need to either recognize an empty directory, or not fail if the cp fails. the following target is the problem: modules-install modules-install.debug: .if !defined(NO_MODULES_OLD) mkdir -p ${DESTDIR}/modules.old cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old .endif cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install I don't have a patch for this right now. If none of the folks working in the kernel module area get to this, I'll try to do something with it in the next few days. Thanks! -John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message