[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems building -9



Christopher C. Chimelis writes:
 > 
 > On Thu, 29 Mar 2001, Christopher C. Chimelis wrote:
 > 
 > > Am I the only one who has problems building -9?  It really builds
 > > fine, but something's going wrong during packaging in rules2.  Just
 > > curious...here's the error:
 > 
 > A quick follow-up...
 > 
 > Seems to work fine if I just use the 'binary' target, so the changes to
 > stop packaging the arch: all stuff must've gone wrong (expect a few bugs
 > from autobuilders...).

I am trying to build with the following hack. the build finished ok
for the target binary-arch. now trying for binary ...

--- debian/rules~	Sat Mar 24 21:43:12 2001
+++ debian/rules	Thu Mar 29 21:52:13 2001
@@ -55,7 +55,7 @@
 	rm -rf $(srcdir) $(builddir)*
 	rm -rf src src-* build build-*
 	rm -f bootstrap-* first-move-stamp
-	rm -f debian/*.tmp
+	rm -f debian/*.tmp debian/rules2.hack
 	dh_clean
 
 mail-summary:
@@ -65,20 +65,19 @@
 $(install_stamp)-%:
 	$(MAKE) -f debian/rules2 TARGET=$* $@
 
-binary-indep: install $(binary_stamp)-indep-%
+binary-indep: install $(binary_stamps)
 	$(MAKE) -f debian/rules2 TARGET=$* $@
 
-binary-arch: install $(binary_stamp)-arch-%
+binary-arch: install binary-arch-hack $(binary_stamps)
 	$(MAKE) -f debian/rules2 TARGET=$* $@
 
-#binary-arch binary-indep: binary
+binary-arch-hack:
+	echo 'binary_hack = arch' > debian/rules2.hack
+binary-indep-hack:
+	echo 'binary_hack = indep' > debian/rules2.hack
 
 binary: install $(binary_stamps)
 $(binary_stamp)-%:
-	$(MAKE) -f debian/rules2 TARGET=$* $@
-
-foo-%:
-	echo $(TARGET) / $*
 	$(MAKE) -f debian/rules2 TARGET=$* $@
 
 source diff:

--- debian/rules2~	Sat Mar 24 19:18:45 2001
+++ debian/rules2	Thu Mar 29 21:49:40 2001
@@ -1436,10 +1436,19 @@
 
 binary: binary-indep binary-arch
 
+-include debian/rules2.hack
 
+ifeq ($(binary_hack),arch)
+$(binary_stamp)-%: $(binary_stamp)-arch-%
+	touch $(binary_stamp)-$*
+else
+ifeq ($(binary_hack),indep)
+$(binary_stamp)-%: $(binary_stamp)-indep-%
+	touch $(binary_stamp)-$*
+else
 $(binary_stamp)-%: $(binary_stamp)-indep-% $(binary_stamp)-arch-%
 	touch $(binary_stamp)-$*
-
-
+endif
+endif
 
 .PHONY: build clean binary-indep binary-arch binary



Reply to: