Your message dated Fri, 13 Mar 2015 16:27:04 +0100
with message-id <[email protected]>
and subject line Re: onak: FTBFS on hurd-i386
has caused the Debian Bug report #764210,
regarding onak: FTBFS on hurd-i386
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.)
--
764210: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764210
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: onak
Version: 0.4.5-2
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd
Currently onak fails to build from source due to missing linkage of
libpthread in the db4 backend test. The previously successfully built
version is 0.4.2-1. The attached patch rules.patch fixes this problem.
Attached is one additional patch, rules2.patch, which is preferred. The
patch reflects the fact that systemd libraries are not installed for
non-linux architectures, #763924, and don't use systemd in the build
process for these architectures.
Thanks!
--- a/debian/rules 2014-09-29 22:33:40.000000000 +0200
+++ b/debian/rules 2014-10-06 11:36:27.000000000 +0200
@@ -1,5 +1,10 @@
#!/usr/bin/make -f
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+ LDFLAGS += -lpthread
+endif
+
DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic
CFLAGS += -std=gnu99
@@ -7,6 +12,9 @@
%:
dh "$@" --with autoreconf,systemd
+override_dh_auto_configure:
+ dh_auto_configure -- LDFLAGS="$(LDFLAGS)"
+
override_dh_installinit:
dh_installinit --no-start
--- a/debian/rules 2014-09-29 22:33:40.000000000 +0200
+++ b/debian/rules 2014-10-06 12:30:44.000000000 +0200
@@ -1,11 +1,23 @@
#!/usr/bin/make -f
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+ LDFLAGS += -lpthread
+endif
+
DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic
CFLAGS += -std=gnu99
%:
+ifeq ($(DEB_HOST_ARCH_OS),linux)
dh "$@" --with autoreconf,systemd
+else
+ dh "$@" --with autoreconf
+endif
+
+override_dh_auto_configure:
+ dh_auto_configure -- LDFLAGS="$(LDFLAGS)"
override_dh_installinit:
dh_installinit --no-start
--- End Message ---
--- Begin Message ---
Hello,
In the meanwhile, we implemented dynamically loading libpthread, onak
now builds fine.
Samuel
--- End Message ---