Package: src:pcre3
Version: 8.31-4
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Thanks for your improved fix for the FTBFS. While your solution does
indeed work for native builds, the package still FTCBFS, because your
detection applies to the build architecture rather than the host
architecture. Thus when building for arm64 on amd64, the jit is still
enabled.

You can see an example failure at:

https://jenkins.debian.net/view/rebootstrap/job/rebootstrap_arm64_gcc49/lastBuild/console

Please consider using or improving the attached patch.

Helmut
diff -Nru pcre3-8.31/debian/changelog pcre3-8.31/debian/changelog
--- pcre3-8.31/debian/changelog 2014-04-18 11:06:48.000000000 +0200
+++ pcre3-8.31/debian/changelog 2014-04-19 10:53:47.000000000 +0200
@@ -1,3 +1,10 @@
+pcre3 (1:8.31-4.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Use the host compiler for determining availability of jit. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 19 Apr 2014 10:53:10 +0200
+
 pcre3 (1:8.31-4) unstable; urgency=medium
 
   * Enable JIT compilation only on architectures where it is supported -
diff -Nru pcre3-8.31/debian/rules pcre3-8.31/debian/rules
--- pcre3-8.31/debian/rules     2014-04-18 10:54:39.000000000 +0200
+++ pcre3-8.31/debian/rules     2014-04-19 10:57:12.000000000 +0200
@@ -28,7 +28,7 @@
 endif
 
 jit-test: debian/jit-test.c
-       $(CC) $< -o $@
+       $(DEB_HOST_GNU_TYPE)-gcc $< -o $@
 
 config.status: configure jit-test
        dh_testdir

Reply via email to