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

Bug#995613: guile-2.2: Please build with --without-threads on alpha to fix FTBFS



Source: guile-2.2
Version: 2.2.7+1-6
Severity: normal
Tags: patch
User: debian-alpha@lists.debian.org
Usertags: alpha
X-Debbugs-Cc: debian-alpha@lists.debian.org

Hello!

Both guile-2.2 and guile-3.0 FTBFS on alpha when built with thread
support. Passing --without-threads to configure disables thread
support and fixes the build.

We also suspect that the threading problems in guile affect other
packages on alpha such as gnutls28 but we're not sure yet.

Could you apply the attached patch for the next upload of guile-2.2?

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- debian/rules.orig	2021-06-18 20:12:50.000000000 +0200
+++ debian/rules	2021-10-03 03:28:45.001439990 +0200
@@ -88,6 +88,11 @@
   march =
 endif
 
+deb_target_arch := $(shell dpkg-architecture -qDEB_TARGET_ARCH)
+ifneq (,$(filter $(deb_target_arch),alpha))
+  deb_config_args += --without-threads
+endif
+
 export DEB_CFLAGS_MAINT_APPEND := \
   -DPACKAGE_PACKAGER='"Debian"' \
   -DPACKAGE_PACKAGER_VERSION='"$(upstream_ver)-deb+$(deb_src_src_rev)-$(deb_src_rev)"' \
@@ -182,7 +187,7 @@
 
 override_dh_auto_configure:
 	dh_auto_configure -- --disable-error-on-warning --disable-rpath \
-	  --program-suffix "-$(deb_src_eff_ver)"
+	  --program-suffix "-$(deb_src_eff_ver)" $(deb_config_args)
 
 # Because some of the bootstrapping files compile for a very long time
 # with no output, the buildds don't have per-package limits, and we

Reply to: