Your message dated Sun, 24 Jun 2012 12:35:24 +0000
with message-id <[email protected]>
and subject line Bug#653040: fixed in stud 0.3-2
has caused the Debian Bug report #653040,
regarding stud FTBFS on everything except i386 and amd64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
653040: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653040
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: stud
Severity: important
(serious could perhaps be justified but i'm being conservative)

Your package FTBFS on all architectures except i386 and amd64. Debian policy is that packages
should be supported on as many architectures as resonablly possible.

The build setup for stud always seems to define USE_SYSCALL_FUTEX which seems to use x86/x64 specfic assembler. Further futexes are a linux specific construct and this is causing the build failure on hurd.

The attatched patch disables the flag on everything except i386 and amd64. It also fixes up the clean target to
work properly

Seperately the package FTBFS on kfreebsd due to undeclared TCP_KEEPIDLE. I don't know how to handle this issue and will send a mail to debian-bsd when I have the number of this bug report.
diff -urN stud-0.3/debian/patches/only-use-syscall-futex-on-x86-and-x64.diff stud-0.3.new/debian/patches/only-use-syscall-futex-on-x86-and-x64.diff
--- stud-0.3/debian/patches/only-use-syscall-futex-on-x86-and-x64.diff	1970-01-01 01:00:00.000000000 +0100
+++ stud-0.3.new/debian/patches/only-use-syscall-futex-on-x86-and-x64.diff	2011-12-23 00:18:00.000000000 +0000
@@ -0,0 +1,38 @@
+Description: disable USE_SYSCALL_FUTEX on architectures other than x86/x64
+ USE_SYSCALL_FUTEX seems to enable x86/x64 specific assembler
+ With USE_SYSCALL_FUTEX disabled we also need to link in the pthread
+ library
+Author: Peter Green <[email protected]>
+Bug-Debian: http://bugs.debian.org/??????
+
+
+Index: stud-0.3.new/Makefile
+===================================================================
+--- stud-0.3.new.orig/Makefile	2011-12-22 23:48:09.000000000 +0000
++++ stud-0.3.new/Makefile	2011-12-23 00:17:44.000000000 +0000
+@@ -15,10 +15,24 @@
+ 
+ # Shared cache feature
+ ifneq ($(USE_SHARED_CACHE),)
+-CFLAGS += -DUSE_SHARED_CACHE -DUSE_SYSCALL_FUTEX
++CFLAGS += -DUSE_SHARED_CACHE 
+ OBJS   += shctx.o ebtree/libebtree.a
+ ALL    += ebtree
+ 
++DEB_HOST_ARCH ?=$(shell dpkg-architecture -qDEB_HOST_ARCH)
++#USE_SYSCALL_FUTEX depends on x86/x64 specific assembler code
++#and afaict FUTEXes are linux-specific
++ifeq ($(DEB_HOST_ARCH),i386)
++CFLAGS += -DUSE_SYSCALL_FUTEX
++else
++ifeq ($(DEB_HOST_ARCH),amd64)
++CFLAGS += -DUSE_SYSCALL_FUTEX
++else
++#we are on neither i396 or amd64, we need to link the pthread library
++LDFLAGS += -lpthread
++endif
++endif
++
+ ebtree/libebtree.a: $(wildcard ebtree/*.c)
+ 	make -C ebtree
+ ebtree:
diff -urN stud-0.3/debian/patches/series stud-0.3.new/debian/patches/series
--- stud-0.3/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ stud-0.3.new/debian/patches/series	2011-12-22 23:48:09.000000000 +0000
@@ -0,0 +1 @@
+only-use-syscall-futex-on-x86-and-x64.diff
diff -urN stud-0.3/debian/rules stud-0.3.new/debian/rules
--- stud-0.3/debian/rules	2011-12-09 18:57:46.000000000 +0000
+++ stud-0.3.new/debian/rules	2011-12-23 00:07:46.000000000 +0000
@@ -11,3 +11,11 @@
 override_dh_auto_install:
 override_dh_auto_build:
 	make USE_SHARED_CACHE=1
+
+#auto clean is insufficient, clean up some stuff manually
+override_dh_clean: 
+	dh_clean
+	rm -rf build_dir
+	rm -f *.o
+	rm -f ebtree/*.o
+	rm -f ebtree/*.a

--- End Message ---
--- Begin Message ---
Source: stud
Source-Version: 0.3-2

We believe that the bug you reported is fixed in the latest version of
stud, which is due to be installed in the Debian FTP archive:

stud_0.3-2.debian.tar.gz
  to main/s/stud/stud_0.3-2.debian.tar.gz
stud_0.3-2.dsc
  to main/s/stud/stud_0.3-2.dsc
stud_0.3-2_amd64.deb
  to main/s/stud/stud_0.3-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Bernat <[email protected]> (supplier of updated stud package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 24 Jun 2012 13:29:02 +0200
Source: stud
Binary: stud
Architecture: source amd64
Version: 0.3-2
Distribution: unstable
Urgency: low
Maintainer: Debian stud Maintainers 
<[email protected]>
Changed-By: Vincent Bernat <[email protected]>
Description: 
 stud       - scalable TLS unwrapping daemon
Closes: 653040
Changes: 
 stud (0.3-2) unstable; urgency=low
 .
   * Update debian/watch to use githubredir.debian.net.
   * Fix FTBFS issues due to the use of x86/x86_64 assembly. Patch from
     Peter Green. Closes: #653040.
   * Add "init" subcommand to /etc/init.d/stud.
   * Bump Standards-Version.
   * Enable hardening flags.
Checksums-Sha1: 
 8fc020ffd041fd9a5e79fd908b95a17eb0089b67 1537 stud_0.3-2.dsc
 3b9d3267d2a3cd2b1d820fcc47dfcdbb08ec5051 6970 stud_0.3-2.debian.tar.gz
 abfb47e8c6cd56df42ad772b5cee6afc9e33d735 28394 stud_0.3-2_amd64.deb
Checksums-Sha256: 
 3a23fcb570ce6e156404f6ace0b469a522b0f9ef2b2490589adcd200b254c042 1537 
stud_0.3-2.dsc
 1534089d9bde94037746e6147cb0c813161a0c64b3d478861edd71e159341738 6970 
stud_0.3-2.debian.tar.gz
 6afec91ea7495e696e86d60f49a87c483d63c09a00db82b9d51a0e931561a81b 28394 
stud_0.3-2_amd64.deb
Files: 
 ef6932ef76112ee35945cf5bf24454e5 1537 net extra stud_0.3-2.dsc
 1ca74c5f6f62ccdf0ea22c988e867f94 6970 net extra stud_0.3-2.debian.tar.gz
 4fcd3defdd5912dee8c8ad32e5e73c86 28394 net extra stud_0.3-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk/nBlsACgkQKFvXofIqeU61qwCfVM5MdjT3cr7R4s6dFc6eED9c
6sIAoKHzM18dNg26t8nbaEQyv0FE/t8C
=2Qvo
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to