Your message dated Wed, 18 Jul 2018 15:49:45 +0000
with message-id <[email protected]>
and subject line Bug#895996: fixed in suricata 1:4.0.5-1
has caused the Debian Bug report #895996,
regarding suricata FTCBFS: multiple issues
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.)
--
895996: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895996
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: suricata
Version: 1:4.0.4-1
Tags: patch
User: [email protected]
Usertags: rebootstrap
suricata fails to cross build from source for a number of reasons. For
two of them I understood the cause and am attaching a patch. Please
consider applying them even though suricata will continue to fail cross
building.
For one thing debian/rules uses dpkg --print-architecture as the host
architecture. That's wrong. DEB_HOST_ARCH is the variable you are
looking for. The present code tries to enable luajit when cross building
for ppc64el without installing luajit.
The other issue described in lintian warning
autotools-pkg-config-macro-not-cross-compilation-safe. Applying this
patch makes the lintian warning go away.
Please close this bug when addressing these issues even though suricata
will continue to fail cross building.
Helmut
--- a/debian/rules
+++ b/debian/rules
@@ -6,17 +6,16 @@
SURICATA_DESTDIR = $(CURDIR)/debian/suricata
export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow
-ARCH ?= $(shell dpkg --print-architecture)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
LUAJIT_ARCHS = i386 amd64 powerpc mips mipsel armel armhf
HYPERSCAN_ARCHS = i386 amd64 hurd-i386 kfreebsd-amd64 x32
-ifneq (,$(findstring $(ARCH),$(LUAJIT_ARCHS)))
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(LUAJIT_ARCHS)))
ENABLE_LUAJIT="--enable-luajit"
endif
-ifneq (,$(findstring $(ARCH),$(HYPERSCAN_ARCHS)))
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(HYPERSCAN_ARCHS)))
ENABLE_HYPERSCAN="--enable-libhs"
endif
Index: suricata-4.0.4/configure.ac
===================================================================
--- suricata-4.0.4.orig/configure.ac
+++ suricata-4.0.4/configure.ac
@@ -75,8 +75,8 @@
AC_PROG_LN_S
AC_PROG_MAKE_SET
- AC_PATH_PROG(HAVE_PKG_CONFIG, pkg-config, "no")
- if test "$HAVE_PKG_CONFIG" = "no"; then
+ PKG_PROG_PKG_CONFIG
+ if test "x$PKG_CONFIG" = "x"; then
echo
echo " ERROR! pkg-config not found, go get it "
echo " http://pkg-config.freedesktop.org/wiki/ "
--- End Message ---
--- Begin Message ---
Source: suricata
Source-Version: 1:4.0.5-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.
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pierre Chifflier <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 18 Jul 2018 17:14:02 +0200
Source: suricata
Binary: suricata suricata-oinkmaster
Architecture: source amd64 all
Version: 1:4.0.5-1
Distribution: unstable
Urgency: medium
Maintainer: Pierre Chifflier <[email protected]>
Changed-By: Pierre Chifflier <[email protected]>
Description:
suricata - Next Generation Intrusion Detection and Prevention Tool
suricata-oinkmaster - Integration package between suricata and oinkmaster
Closes: 890432 895996
Changes:
suricata (1:4.0.5-1) unstable; urgency=medium
.
[ Sascha Steinbiss ]
* Add patches to help with cross-compiling. Thanks to Helmut Grohne
for the patch.
Closes: #895996
* Add patches to fix building on ia64.
Thanks to Jason Duerstock and Adrian Bunk for the patches.
Closes: #890432
* Fix spelling in debian/patches/reproducible.patch.
* Remove obsolete X-Python-Version hint.
* Use updated watchfile source URL with https support.
* Remove obsolete --parallel dh parameter.
* Use canonical Salsa Vcs-Git URL.
.
[ Pierre Chifflier ]
* New upstream version 1:4.0.5
Checksums-Sha1:
743b0c15c4c7290681cc80dc098ed3fcbd0100a1 2176 suricata_4.0.5-1.dsc
8bfab1c0db80eb95b3789a6398119244e2b2e55f 11664421 suricata_4.0.5.orig.tar.gz
dfda432b7d9cca0b4879b8b6fdac143f99bac945 22836 suricata_4.0.5-1.debian.tar.xz
43a2b2a95a5dd9edc06a9b0996c987f9c3e5ba69 8428412
suricata-dbgsym_4.0.5-1_amd64.deb
8ed525fb2d7c2ce1e6088988230f0a4e9b64bebf 35172
suricata-oinkmaster_4.0.5-1_all.deb
215b7e922fce3b75e55f3bc7f20b827988df834d 10139 suricata_4.0.5-1_amd64.buildinfo
f9b3a730e673fc9bfa8e872f8c88416a9b5af791 989976 suricata_4.0.5-1_amd64.deb
Checksums-Sha256:
ff185a92164cfffed080492e915e4cc4236fc509dfac45b7363603a732d8cea2 2176
suricata_4.0.5-1.dsc
a3ded119766bc2eeb1bec31702e911ce5c73070d0d0c264ac07c5505f0aaefc9 11664421
suricata_4.0.5.orig.tar.gz
cfd3ca270e1e456eebe65c848b0a5548957a22b75bd56035158c47f4a0d8a590 22836
suricata_4.0.5-1.debian.tar.xz
6b3e0bea46ebc57685ef913fafde96af5f4ccc88ed0474bae486e78a707d9d73 8428412
suricata-dbgsym_4.0.5-1_amd64.deb
b9d85ee044d7071306691d45980f1b06dfc01bf0b4344c54e513f5b8622cb766 35172
suricata-oinkmaster_4.0.5-1_all.deb
9e7e85fe0b039ce4182860c1770e1226e7ace9c0afe5d13400e4b8528a97deb6 10139
suricata_4.0.5-1_amd64.buildinfo
18b5babdfff6c1e84fbb764190a6ee4c549168d727ae58259f05ae6d4ba2267f 989976
suricata_4.0.5-1_amd64.deb
Files:
61d2be30861683295398c7475221cca6 2176 net optional suricata_4.0.5-1.dsc
2937968e633af2819daefcf9e9736dcf 11664421 net optional
suricata_4.0.5.orig.tar.gz
3de82469169b071c2cf5ef6a14339e32 22836 net optional
suricata_4.0.5-1.debian.tar.xz
3afd4687432b3ee58958fcbb632746de 8428412 debug optional
suricata-dbgsym_4.0.5-1_amd64.deb
3bd9a6e7b4a8d4dc8a149a1df72cb14b 35172 net optional
suricata-oinkmaster_4.0.5-1_all.deb
f6228f0af799699a1f7b50802c81123b 10139 net optional
suricata_4.0.5-1_amd64.buildinfo
6572c74985b202907cfecbc8abb57527 989976 net optional suricata_4.0.5-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQFGBAEBCgAwFiEEe32tOEt0tVEvhTNVWoJ5B97QxBgFAltPWcYSHHBvbGx1eEBk
ZWJpYW4ub3JnAAoJEFqCeQfe0MQYnf8IALGf+djh1lOA9cttcgsDyKLXKi9rI6ca
7zPqdv1M8xbOi3DYays3fTOQnGh8Sg35JApqL/NAWkjqpUQ3RnrsNhjmwflJBscE
v9D3dXl1Q865QvmtnUvckSGa71iNGfXUd1ZlU7rzhfR+jsl9w2HARzFVY3bwawTW
l5KvngY3dMSwxD1dkaIAy9Rx6lrawD6fao1BVltHQVrriSTML/abKomUFDqD+U1U
/Yv9T4Qnhnr1Jd+pdLAuQjdW2gYi15hNGskxFg7vMGrMck2selBH7vXeZqARuZju
iP0p/a2v1bFMXNYgRrDMhL7lIJz/Be0PLpCyTU/tdNKYz2Vala8tF6c=
=f2Cj
-----END PGP SIGNATURE-----
--- End Message ---