bin/63405: make dumps core
Radim Kolar
hsn at netmag.cz
Thu Feb 26 11:00:34 PST 2004
>Number: 63405
>Category: bin
>Synopsis: make dumps core
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 26 11:00:33 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Radim Kolar
>Release: FreeBSD 5.2-RELEASE-p2 i386
>Organization:
Bhagavata Dharma
>Environment:
System: FreeBSD asura.bsd 5.2-RELEASE-p2 FreeBSD 5.2-RELEASE-p2 #2: Sun Feb 8 16:07:05 CET 2004 root at asura.bsd:/usr/src/sys/i386/compile/GENERIC i386
>Description:
Hey your make turtlility dumps core with my makefiles!
>How-To-Repeat:
Basic makefile:
=======
include ../Makefile
PACKAGE=scache
LOGIN=hsn at scache.sf.net
WHERE=/home/groups/s/sc/scache/htdocs/
# DO NOT DELETE THIS LINE -- make depend depends on it.
articles.wml : macros.wml leftmenu.wml
download.wml : macros.wml leftmenu.wml
features.wml : macros.wml leftmenu.wml
index.wml : macros.wml leftmenu.wml
list.wml : macros.wml leftmenu.wml
logo.wml : macros.wml leftmenu.wml
macros.wml : leftmenu.wml
ss_filter.wml : macros.wml leftmenu.wml
ss_offline.wml : macros.wml leftmenu.wml
ss_running.wml : macros.wml leftmenu.wml
ss_ui.wml : macros.wml leftmenu.wml
======
Makefile in upper directory:
======
TARFILE=$(PACKAGE)-sfweb.tar.gz
SNAPSHOT=$(HOME)/web/$(PACKAGE)-web.snar
pages: *.html
allupdate:
cd scache && $(MAKE) update
cd scloader && $(MAKE) update
cd dmachine && $(MAKE) update
cd fspclient && $(MAKE) update
cd fsp && $(MAKE) update
fullupload:
if [ -z "$(SNAPSHOT)" ]; then false;fi
rm -f $(SNAPSHOT)
$(MAKE) upload
view: pages
w3m index.html
update:
$(MAKE) upload
$(MAKE) unpack
upload: pages
if [ -z "$(LOGIN)" -o -z "$(WHERE)" -o -z "$(TARFILE)" -o -z "$(SNAPSHOT)" ]; then false;fi
rm -f $(SNAPSHOT).new
-cp -a $(SNAPSHOT) $(SNAPSHOT).new
tar cvzf /tmp/$(TARFILE) -h --exclude '*.bak' --listed-incremental=$(SNAPSHOT).new .
scp /tmp/$(TARFILE) $(LOGIN):$(WHERE)
mv $(SNAPSHOT).new $(SNAPSHOT)
rm -f /tmp/$(TARFILE)
unpack:
if [ -z "$(LOGIN)" -o -z "$(WHERE)" -o -z "$(TARFILE)" ]; then false;fi
ssh $(LOGIN) "cd $(WHERE);tar xzvf $(TARFILE);rm $(TARFILE)"
.wml.html:
wml $<
%.wml :
touch $@
.SUFFIXES: .wml .html
.PHONY: all pages fullupload upload unpack view
.DEFAULT:
=========
install them both and type make.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list