Your message dated Thu, 01 Jul 2010 19:47:31 +0000
with message-id <e1oupjp-0002p6...@ries.debian.org>
and subject line Bug#587714: fixed in suricata 1.0.0-1
has caused the Debian Bug report #587714,
regarding FTBFS: suricata : error: bad value (native) for -march= switch
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 ow...@bugs.debian.org
immediately.)


-- 
587714: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587714
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: suricata
Version: 0.9.2-1
Severity: serious
Tags: patch

Hi,

your package FTBFS some architecture.
  https://buildd.debian.org/pkg.cgi?pkg=suricata

-----
<snip>

checking pcre.h presence... yes
configure: WARNING: pcre.h: present but cannot be compiled
configure: WARNING: pcre.h:     check for missing prerequisite headers?
configure: WARNING: pcre.h: see the Autoconf documentation
configure: WARNING: pcre.h:     section "Present But Cannot Be Compiled"
configure: WARNING: pcre.h: proceeding with the compiler's result
checking for pcre.h... no
configure: error: pcre.h not found ...
        "tail -v -n +0 config.log"
==> config.log <==

<snip>

configure:12438: result: no
configure:12502: checking pcre.h usability
configure:12502: gcc -c -g -O2 -Wextra -Wall -fno-strict-aliasing
-Wno-unused-parameter -std=gnu99  -fstack-protector
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=native
conftest.c >&5
conftest.c:1: error: bad value (native) for -march= switch

<snip>
-----

This package appears to be using -march=native. But it's not supported
on most architectures.
And, because "- march=native" is optimized to the machine that does
the build, the binary
that doesn't work with old CPU is build.

I made patch to fix this bug. Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/debian/rules b/debian/rules
index 92d123e..50539c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ export DH_VERBOSE=1
 
 build:
 	dh_testdir
-	dh_auto_configure -- --enable-nfqueue --enable-prelude --enable-non-bundled-htp --enable-gccprotect
+	dh_auto_configure -- --enable-nfqueue --enable-prelude --enable-non-bundled-htp --enable-gccprotect --disable-gccmarch-native
 	sed \
 		-e 's|^classification-file: .*$$|classification-file: /etc/snort/classification.config|' \
 		-e 's|^default-rule-path: .*$$|default-rule-path: /etc/snort/rules|' \

--- End Message ---
--- Begin Message ---
Source: suricata
Source-Version: 1.0.0-1

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

suricata_1.0.0-1.diff.gz
  to main/s/suricata/suricata_1.0.0-1.diff.gz
suricata_1.0.0-1.dsc
  to main/s/suricata/suricata_1.0.0-1.dsc
suricata_1.0.0-1_amd64.deb
  to main/s/suricata/suricata_1.0.0-1_amd64.deb
suricata_1.0.0.orig.tar.gz
  to main/s/suricata/suricata_1.0.0.orig.tar.gz



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 587...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Chifflier <pol...@debian.org> (supplier of updated suricata 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Thu, 01 Jul 2010 21:28:41 +0200
Source: suricata
Binary: suricata
Architecture: source amd64
Version: 1.0.0-1
Distribution: unstable
Urgency: low
Maintainer: Pierre Chifflier <pol...@debian.org>
Changed-By: Pierre Chifflier <pol...@debian.org>
Description: 
 suricata   - Next Generation Intrusion Detection and Prevention Tool
Closes: 587714
Changes: 
 suricata (1.0.0-1) unstable; urgency=low
 .
   * Imported Upstream version 1.0.0
   * Remove arch=native flag from build (Closes: #587714)
   * Bump Standards version to 3.9.0
Checksums-Sha1: 
 8ce2b2ba1bddfc0227daa4c7dabcfabfe6652f41 1178 suricata_1.0.0-1.dsc
 e787a6460f22c3376b12d95596b8d01022912ea0 1597156 suricata_1.0.0.orig.tar.gz
 4b414134cbda6550ddab8ce0c2d075aa0d564603 4167 suricata_1.0.0-1.diff.gz
 f63ab99d7c7967902ced4fa8cfaa7947c7e0b39b 377128 suricata_1.0.0-1_amd64.deb
Checksums-Sha256: 
 6459607a0d388540926d72df690b5a7610ef99aebf12235f4714900ca0fe0e18 1178 
suricata_1.0.0-1.dsc
 d1e9299679f03859064e875909d4d65e4a526445d5d505a28bbc977b4ce6f679 1597156 
suricata_1.0.0.orig.tar.gz
 d32ac877131b98d2e4080392809b2e7d9d231745d01fdfba3168513069f295d4 4167 
suricata_1.0.0-1.diff.gz
 957f74ac021dd47686ede4f60e6203e1c63e78e11ec7ecbcd48f4c3cd8adade7 377128 
suricata_1.0.0-1_amd64.deb
Files: 
 121b869a5195fc82f4d65acecbcdd2b9 1178 net optional suricata_1.0.0-1.dsc
 01b8a6e4908f4a35f7f5d09b1a84cf5e 1597156 net optional 
suricata_1.0.0.orig.tar.gz
 25dfa12dc5d3095f36fec109d93ed066 4167 net optional suricata_1.0.0-1.diff.gz
 a5f753ea55014d6cfbda30cafd2fab48 377128 net optional suricata_1.0.0-1_amd64.deb

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

iD8DBQFMLOzCtwVrWo1fQMsRAvrHAJ4qF1q6sCwle8WZo9ffSjezuVlbkwCg7zoE
NEh8br+ZoYcZvc+TS8PY9To=
=s2lo
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to