[packages/php-pecl-mongodb] disable 32bit arches - broken

glen glen at pld-linux.org
Fri Oct 27 17:24:24 CEST 2017


commit 72c237bbf36e7792be2ee1a1efb172f611913515
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Oct 27 17:20:13 2017 +0300

    disable 32bit arches - broken

 php-pecl-mongodb.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index 6b28950..11edd93 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -1,3 +1,7 @@
+# TODO
+# - ix86/x32 (php -m) prints::
+#   src/mongoc/mongoc-handshake.c:478 _append_and_truncate(): precondition failed: space_for_suffix >= 0
+#   Aborted
 #
 # Conditional build:
 %bcond_without	tests		# build without tests
@@ -30,6 +34,7 @@ Requires:	%{php_name}-pcre
 Requires:	%{php_name}-spl
 %{?requires_php_extension}
 Provides:	php(%{modname}) = %{version}
+ExcludeArch:	%{ix86} x32
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mongodb.git/commitdiff/72c237bbf36e7792be2ee1a1efb172f611913515



More information about the pld-cvs-commit mailing list