Dear Antonin,
as per the 0-day NMU rules¹, I’ve prepared a non-maintainer upload
of your package aranym to fix the RC bug #669660 and have uploaded
it to DELAYED/0. Please find the debdiff attached for inclusion in
your next upload. The NMU was versioned as aranym=0.9.13-3.1 (with
low urgency, as the package in testing is not RC-buggy).
Now, with the formalities aside, the reason for the bug turned out
to be ARAnyM not recognising that the kernel was gzipped – instead
parsing the gzip header as ELF header (not stopped by the check of
the magic, interestingly enough) and getting insane size values.
I fixed the configure script and package build-depends to have the
zlib code included again, built in a clean chroot and it works for
me now. Considering you *never* had a zlib1g-dev build dependency,
it probably only worked before by accident, i.e. you (or the spon-
sor) building the package in an unclean environment.
I hope to not have inconvenienced you with this upload, rather ai-
ded you (and everyone else involved in m68k “zombie” revival/use).
Sincerely,
//mirabilos
① http://lists.debian.org/debian-devel-announce/2011/03/msg00016.html
--
[...] if maybe ext3fs wasn't a better pick, or jfs, or maybe reiserfs, oh but
what about xfs, and if only i had waited until reiser4 was ready... in the be-
ginning, there was ffs, and in the middle, there was ffs, and at the end, there
was still ffs, and the sys admins knew it was good. :) -- Ted Unangst über *fs
diff -Nru aranym-0.9.13/debian/changelog aranym-0.9.13/debian/changelog
--- aranym-0.9.13/debian/changelog 2012-04-19 19:37:36.000000000 +0000
+++ aranym-0.9.13/debian/changelog 2012-05-06 21:50:52.000000000 +0000
@@ -1,3 +1,18 @@
+aranym (0.9.13-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * explicitly build-depend on zlib1g-dev for transparent kernel
+ decompression (Closes: #669660)
+ * drop quilt build-dependency (unneeded, as per lintian)
+ * add a watch file (lintian)
+ * 0004-fix-spelling.patch: new (lintian)
+ * 0005-fix-zlib-configure.patch: new: have_zlib="" is not
+ caught by "= no" but by "!= yes" comparison; this fixes
+ zlib detection for systems without pkg_config
+ * run configure scripts with bash, as they use [[
+
+ -- Thorsten Glaser <t...@mirbsd.de> Sun, 06 May 2012 21:49:56 +0000
+
aranym (0.9.13-3) unstable; urgency=low
* package re-upload, added source format setting
diff -Nru aranym-0.9.13/debian/control aranym-0.9.13/debian/control
--- aranym-0.9.13/debian/control 2012-04-19 19:37:36.000000000 +0000
+++ aranym-0.9.13/debian/control 2012-05-06 21:44:18.000000000 +0000
@@ -4,7 +4,7 @@
Maintainer: Antonin Kral <a.k...@sh.cvut.cz>
Homepage: http://aranym.org/
Standards-Version: 3.9.3
-Build-Depends: debhelper (>= 5), autotools-dev, bzip2, libsdl1.2-dev,
libsdl-image1.2-dev, libmpfr-dev, libusb-1.0-0-dev, imagemagick, quilt
+Build-Depends: debhelper (>= 5), autotools-dev, bzip2, libsdl1.2-dev,
libsdl-image1.2-dev, libmpfr-dev, libusb-1.0-0-dev, imagemagick, zlib1g-dev
Package: aranym
Architecture: any
diff -Nru aranym-0.9.13/debian/patches/0004-fix-spelling.patch
aranym-0.9.13/debian/patches/0004-fix-spelling.patch
--- aranym-0.9.13/debian/patches/0004-fix-spelling.patch 1970-01-01
00:00:00.000000000 +0000
+++ aranym-0.9.13/debian/patches/0004-fix-spelling.patch 2012-05-06
21:49:22.000000000 +0000
@@ -0,0 +1,15 @@
+# DP: fix spelling, spotted by lintian
+
+Index: aranym-0.9.13/src/ndebug.cpp
+===================================================================
+--- aranym-0.9.13.orig/src/ndebug.cpp 2012-03-26 13:55:44.000000000 +0000
++++ aranym-0.9.13/src/ndebug.cpp 2012-05-06 21:47:03.000000000 +0000
+@@ -594,7 +594,7 @@
+ bug("Access error");
+ break;
+ default:
+- bug("Unknonw access error - %d", int(prb));
++ bug("Unknown access error - %d", int(prb));
+ }
+ }
+ RESTORE_EXCEPTION;
diff -Nru aranym-0.9.13/debian/patches/0005-fix-zlib-configure.patch
aranym-0.9.13/debian/patches/0005-fix-zlib-configure.patch
--- aranym-0.9.13/debian/patches/0005-fix-zlib-configure.patch 1970-01-01
00:00:00.000000000 +0000
+++ aranym-0.9.13/debian/patches/0005-fix-zlib-configure.patch 2012-05-06
21:49:30.000000000 +0000
@@ -0,0 +1,28 @@
+# DP: have_zlib="" is possible
+
+Index: aranym-0.9.13/configure
+===================================================================
+--- aranym-0.9.13.orig/configure 2012-05-06 21:28:16.000000000 +0000
++++ aranym-0.9.13/configure 2012-05-06 21:48:58.000000000 +0000
+@@ -9556,7 +9556,7 @@
+ fi
+
+ # Fallback to autoconf (helps in Ubuntu 10.04 LTS)
+- if [ "x$have_zlib" = "xno" ]; then
++ if [ "x$have_zlib" != "xyes" ]; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in
-lz" >&5
+ $as_echo_n "checking for gzopen in -lz... " >&6; }
+ if test "${ac_cv_lib_z_gzopen+set}" = set; then :
+Index: aranym-0.9.13/configure.ac
+===================================================================
+--- aranym-0.9.13.orig/configure.ac 2012-03-26 13:55:44.000000000 +0000
++++ aranym-0.9.13/configure.ac 2012-05-06 21:49:04.000000000 +0000
+@@ -1495,7 +1495,7 @@
+ fi
+
+ # Fallback to autoconf (helps in Ubuntu 10.04 LTS)
+- if [[ "x$have_zlib" = "xno" ]]; then
++ if [[ "x$have_zlib" != "xyes" ]]; then
+ AC_CHECK_LIB(z, gzopen, [have_zlib=yes], [have_zlib=no])
+ fi
+
diff -Nru aranym-0.9.13/debian/patches/series
aranym-0.9.13/debian/patches/series
--- aranym-0.9.13/debian/patches/series 2012-04-19 19:37:36.000000000 +0000
+++ aranym-0.9.13/debian/patches/series 2012-05-06 21:47:50.000000000 +0000
@@ -1,3 +1,5 @@
0001-fpu_mpfr-exceptions-fix.patch
0002-fpu_mpfr-longword-conversion-fix-Closes-666947.patch
0003-fix-missing-libusb.h-on-kfreebsd-platforms-Closes-66.patch
+0004-fix-spelling.patch
+0005-fix-zlib-configure.patch
diff -Nru aranym-0.9.13/debian/rules aranym-0.9.13/debian/rules
--- aranym-0.9.13/debian/rules 2012-04-19 19:37:36.000000000 +0000
+++ aranym-0.9.13/debian/rules 2012-05-06 21:49:48.000000000 +0000
@@ -23,11 +23,11 @@
dh_testdir
([ ! -f Makefile ] || $(MAKE) distclean)
- (./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
--prefix=/usr --enable-usbhost && $(MAKE))
+ (bash configure --build=$(DEB_BUILD_GNU_TYPE)
--host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --enable-usbhost && $(MAKE))
($(MAKE) install DESTDIR=`pwd`/debian/tmp )
([ ! -f Makefile ] || $(MAKE) distclean)
- (./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
--prefix=/usr --enable-fullmmu --enable-lilo --enable-usbhost && $(MAKE))
+ (bash configure --build=$(DEB_BUILD_GNU_TYPE)
--host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --enable-fullmmu --enable-lilo
--enable-usbhost && $(MAKE))
($(MAKE) install DESTDIR=`pwd`/debian/aranym-mmu )
cp `pwd`/debian/aranym-mmu/usr/bin/aranym
`pwd`/debian/tmp/usr/bin/aranym-mmu
@@ -35,7 +35,7 @@
ifeq ($(HOSTTYPE),i386)
([ ! -f Makefile ] || $(MAKE) distclean)
- (./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
--prefix=/usr --enable-jit-compiler --enable-usbhost && $(MAKE))
+ (bash configure --build=$(DEB_BUILD_GNU_TYPE)
--host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --enable-jit-compiler
--enable-usbhost && $(MAKE))
($(MAKE) install DESTDIR=`pwd`/debian/aranym-jit )
cp `pwd`/debian/aranym-jit/usr/bin/aranym
`pwd`/debian/tmp/usr/bin/aranym-jit
diff -Nru aranym-0.9.13/debian/watch aranym-0.9.13/debian/watch
--- aranym-0.9.13/debian/watch 1970-01-01 00:00:00.000000000 +0000
+++ aranym-0.9.13/debian/watch 2012-05-06 21:46:07.000000000 +0000
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/aranym/aranym_([0-9.]*)\.orig\.tar\.gz