Re: It's baaack... -- ("make: don't know how to make copies. Stop")
> Mark, please back your 1.32 revision from share/examples/Makefile out, Done. M -- o Mark Murray \_ FreeBSD Services Limited O.\_Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: It's baaack... -- ("make: don't know how to make copies. Stop")
On Tue, Oct 23, 2001 at 08:43:29PM +0100, Mark Murray wrote: > > David Wolfskill wrote: > > > Found this in my typescript after a "make installworld" on today's > > > > There was a commit about a problem with a missing NOOBJ.. > > May I suggest either: > > - rm -rf /usr/obj/* > > - cd src/share; cd `make -V .OBJDIR`; rm -rf * (check that its not your > > srcdir first :-). > > Actually, it is possible for there to be no copies: target in > src/share/examples/. The copies: (actually copies::) > target is built up in a .for loop that may be empty. > > The fix is a dummy copies:: target. > We don't descend that far into examples/, we just stay in "examples" and build DIRS list dynamically. The problem is that even after my fix to examples/ipfilter/Makefile (which added NOOBJ to ipfilter subdir), the old "make world" may have left the .OBJDIR for examples/ipfilter. What it means for "examples" is that .OBJDIR != .CURDIR (as implied by the NOOBJ hint). The solution is to remove the stale objdir, as Peter have suggested. My (safe) version thus looks like this: cd /usr/src/share/examples; \ [ `make -V .OBJDIR ` != `make -V .CURDIR` ] && rm -rf `make -V .OBJDIR` Mark, please back your 1.32 revision from share/examples/Makefile out, as it only hides the problem with a wrong .OBJDIR. In the presence of the .OBJDIR for share/examples and revision 1.32, we just end up not installing anything from examples/* subdirs. Compare: # cd /usr/src/share/examples # mkdir /usr/obj/usr/src/share/examples # make -n copies # rmdir /usr/obj/usr/src/share/examples # make -n copies Cheers, -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: It's baaack... -- ("make: don't know how to make copies. Stop")
On Tue, Oct 23, 2001 at 08:43:29PM +0100, Mark Murray wrote: > > Actually, it is possible for there to be no copies: target in > src/share/examples/. The copies: (actually copies::) > target is built up in a .for loop that may be empty. > > The fix is a dummy copies:: target. I've tested the following patch, and it works like a charm. At least, it let me build and install world with a clean /usr/obj :-) hades!sysop:[/usr/src/share/examples]# cvs -q dif -2cl | more Index: Makefile === RCS file: /home/ncvs/src/share/examples/Makefile,v retrieving revision 1.29 diff -2 -c -r1.29 Makefile *** Makefile20 Oct 2001 04:18:13 - 1.29 --- Makefile22 Oct 2001 01:29:03 - *** *** 22,25 --- 22,29 beforeinstall: etc-examples ${SHARED} + copies:: + + symlinks:: + .for dir in ${DIRS} FILES!= find -L ${dir} \( -name CVS -prune \) -o -type f -print -giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: It's baaack... -- ("make: don't know how to make copies. Stop")
On Tue, Oct 23, 2001 at 08:43:29PM +0100, Mark Murray wrote: > Actually, it is possible for there to be no copies: target in > src/share/examples/. The copies: (actually copies::) > target is built up in a .for loop that may be empty. > > The fix is a dummy copies:: target. Perhaps move the copies:: target def above the for loops, so that if the loops are empty no commands will be executed for that target? That was my local fix at least and it seemed to work fine. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer; To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: It's baaack... -- ("make: don't know how to make copies. Stop")
>Date: Tue, 23 Oct 2001 20:43:29 +0100 >From: Mark Murray <[EMAIL PROTECTED]> >Actually, it is possible for there to be no copies: target in >src/share/examples/. The copies: (actually copies::) >target is built up in a .for loop that may be empty. >The fix is a dummy copies:: target. In the mean time, my laptop got through today's -CURRENT installworld OK, after trying the 2nd of Peter's suggested aproaches (paraphrasing, cd /usr/src/share && cd `make -V .OBJDIR` && rm -fr *; he also suggested ensuring that the target of the 2nd "cd" wasn't something of value first). Cheers, david -- David H. Wolfskill [EMAIL PROTECTED] As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: It's baaack... -- ("make: don't know how to make copies. Stop")
> David Wolfskill wrote: > > Found this in my typescript after a "make installworld" on today's > > There was a commit about a problem with a missing NOOBJ.. > May I suggest either: > - rm -rf /usr/obj/* > - cd src/share; cd `make -V .OBJDIR`; rm -rf * (check that its not your > srcdir first :-). Actually, it is possible for there to be no copies: target in src/share/examples/. The copies: (actually copies::) target is built up in a .for loop that may be empty. The fix is a dummy copies:: target. M -- o Mark Murray \_ FreeBSD Services Limited O.\_Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: It's baaack... -- ("make: don't know how to make copies. Stop")
David Wolfskill wrote: > Found this in my typescript after a "make installworld" on today's There was a commit about a problem with a missing NOOBJ.. May I suggest either: - rm -rf /usr/obj/* - cd src/share; cd `make -V .OBJDIR`; rm -rf * (check that its not your srcdir first :-). > make: don't know how to make copies. Stop > *** Error code 2 Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
It's baaack... -- ("make: don't know how to make copies. Stop")
Found this in my typescript after a "make installworld" on today's -CURRENT: ... ===> share/dict install -c -o root -g wheel -m 444 README propernames web2 web2a /usr/share/dict /usr/share/dict/words -> web2 ===> share/examples (cd /usr/src/share/examples/../../etc; make etc-examples) (cd /usr/src/etc; install -c -o root -g wheel -m 444 amd.map apmd.conf auth.conf crontab csh.cshrc csh.login csh.logout dhclient.conf dm.conf fbtab ftpusers gettytab group hosts hosts.allow hosts.equiv hosts.lpd inetd.conf login.access login.conf motd modems netconfig networks newsyslog.conf pam.conf phones printcap profile protocols rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 rc.network rc.network6 rc.pccard rc.serial rc.shutdown rc.syscons rc.sysctl remote rpc security services shells sysctl.conf syslog.conf usbd.conf etc.i386/disktab etc.i386/rc.i386 etc.i386/ttys /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config /usr/src/etc/../usr.bin/mail/misc/mail.rc /usr/src/etc/../usr.bin/locate/locate/locate.rc rc.isdn netstart pccard_ether rc.suspend rc.resume opieaccess /usr/share/examples/etc; install -c -o root -g wheel -m 444 defaults/rc.conf /usr/share/examples/etc/defaults; install -c -o root -g wheel -m 444 defaults/pccard! .conf /usr/share/examples/etc/defaults; install -c -o root -g wheel -m 444 defaults/periodic.conf /usr/share/examples/etc/defaults) make: don't know how to make copies. Stop *** Error code 2 Stop in /usr/src/share. *** 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. I had been able to get through the "make installworld" for yesterday's -CURRENT OK Recent CVSup history: freebeast[3] tail /var/log/cvsup-history.log CVSup begin from cvsup14.freebsd.org at Fri Oct 19 03:47:00 PDT 2001 CVSup ended from cvsup14.freebsd.org at Fri Oct 19 03:53:04 PDT 2001 CVSup begin from cvsup14.freebsd.org at Sat Oct 20 03:47:00 PDT 2001 CVSup ended from cvsup14.freebsd.org at Sat Oct 20 03:53:48 PDT 2001 CVSup begin from cvsup14.freebsd.org at Sun Oct 21 03:47:01 PDT 2001 CVSup ended from cvsup14.freebsd.org at Sun Oct 21 03:52:58 PDT 2001 CVSup begin from cvsup14.freebsd.org at Mon Oct 22 03:47:00 PDT 2001 CVSup ended from cvsup14.freebsd.org at Mon Oct 22 03:53:01 PDT 2001 CVSup begin from cvsup14.freebsd.org at Tue Oct 23 03:47:00 PDT 2001 CVSup ended from cvsup14.freebsd.org at Tue Oct 23 03:53:29 PDT 2001 freebeast[4] Cheers, david -- David H. Wolfskill [EMAIL PROTECTED] As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message