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

Bug#639590: binutils-z80: unbuildable in unstable



tags 639590 +patch
thanks

Hi!

* Adam D. Barratt <adam@adam-barratt.org.uk> [110828 14:22]:
> binutils-z80 build-depends on "binutils-source (<< 2.21.53)", but  
> unstable now has 2.21.53.20110823-3 thus rendering -z80 unbuildable.

Attached is a patch for an qa upload to fix this bug (and do some
package cleanup).  The fix itself is trivial, but one has also to update
the symlink in the orig.tar.gz itself (which isn't really shown by
debdiff or nmudiff).

However, I can't test the resulting package, so I'm not going to upload.
Please also see #634060 for considerations, if the package shouldn't be
removed.


Best Regards,
  Alexander
diff -Nru binutils-z80-2.21.52/debian/changelog binutils-z80-2.22/debian/changelog
--- binutils-z80-2.21.52/debian/changelog	2011-07-16 15:50:06.000000000 +0200
+++ binutils-z80-2.22/debian/changelog	2011-12-07 15:45:22.000000000 +0100
@@ -1,3 +1,15 @@
+binutils-z80 (2.22-1) unstable; urgency=low
+
+  * QA upload.
+  * Build with binutils 2.22:
+    * Update symlink in orig.tar.gz
+    * Change version in debian/rules
+    * Change build-depends
+  * Add recommended target build-indep and build-arch to debian/rules
+  * Bump standards to 3.9.2 (no changes needed)
+
+ -- Alexander Reichle-Schmehl <tolimar@debian.org>  Wed, 07 Dec 2011 15:45:01 +0100
+
 binutils-z80 (2.21.52-2) unstable; urgency=low
 
   * temp fix build by overriding tc-z80.c from the binutils tarfile
diff -Nru binutils-z80-2.21.52/debian/control binutils-z80-2.22/debian/control
--- binutils-z80-2.21.52/debian/control	2011-07-16 15:36:24.000000000 +0200
+++ binutils-z80-2.22/debian/control	2011-12-07 15:44:59.000000000 +0100
@@ -2,9 +2,9 @@
 Section: devel
 Priority: extra
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Standards-Version: 3.9.1
-Build-Depends: autoconf (>= 2.13), bison, flex, gettext, texinfo, binutils (>= 2.19.1), gcc (>= 2.95.2), debhelper (>= 5), tar (>= 1.13.18), xz-utils (>=5.0), findutils(>=4.2.31), binutils-source (>=2.21.52), binutils-source (<< 2.21.53)
-Build-Using: bunutils-source (= 2.21.52.20110606-2)
+Standards-Version: 3.9.2
+Build-Depends: autoconf (>= 2.13), bison, flex, gettext, texinfo, binutils (>= 2.19.1), gcc (>= 2.95.2), debhelper (>= 5), tar (>= 1.13.18), xz-utils (>=5.0), findutils(>=4.2.31), binutils-source (>=2.22), binutils-source (<< 2.22.)
+Build-Using: binutils-source (= 2.22-1)
 
 Package: binutils-z80
 Section: devel
diff -Nru binutils-z80-2.21.52/debian/rules binutils-z80-2.22/debian/rules
--- binutils-z80-2.21.52/debian/rules	2011-07-16 15:48:38.000000000 +0200
+++ binutils-z80-2.22/debian/rules	2011-12-07 14:42:11.000000000 +0100
@@ -16,7 +16,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-TARFILE=binutils-2.21.52.tar.xz
+TARFILE=binutils-2.22.tar.xz
 SOURCE_DIR=src
 BUILD_DIR=build
 
@@ -35,7 +35,9 @@
 	cd $(BUILD_DIR) && env CC="gcc" $(CURDIR)/$(SOURCE_DIR)/configure $(CONFARGS)
 	touch configure-stamp
 
-build: configure-stamp build-stamp
+build: configure-stamp build-arch build-indep 
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:
 	dh_testdir
 	cd $(BUILD_DIR) && $(MAKE)

Reply to: