Your message dated Sat, 22 Feb 2020 11:51:43 +0000
with message-id <e1j5tjv-000bkl...@fasolo.debian.org>
and subject line Bug#951765: fixed in suricata 1:5.0.2-2
has caused the Debian Bug report #951765,
regarding suricata: FTBFS on armel: atomic builtins clashing with Rust objects
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.)


-- 
951765: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951765
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: suricata
Severity: serious
Tags: ftbfs help
Justification: fails to build from source (but built successfully in the past)

Suricata fails to build on armel at link time [1] due to duplicate objects 
between what
is built by the Rust compiler and what is built by gcc:

/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_add_4':
(.text+0x0): multiple definition of `__sync_fetch_and_add_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_add_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_sub_4':
(.text+0x38): multiple definition of `__sync_fetch_and_sub_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_sub_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_or_4':
(.text+0x70): multiple definition of `__sync_fetch_and_or_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_or_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_and_4':
(.text+0xa8): multiple definition of `__sync_fetch_and_and_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_and_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_xor_4':
(.text+0xe0): multiple definition of `__sync_fetch_and_xor_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_xor_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_nand_4':
(.text+0x118): multiple definition of `__sync_fetch_and_nand_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_nand_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_add_2':
(.text+0x154): multiple definition of `__sync_fetch_and_add_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_add_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_sub_2':
(.text+0x1b4): multiple definition of `__sync_fetch_and_sub_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_sub_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_or_2':
(.text+0x214): multiple definition of `__sync_fetch_and_or_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_or_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_and_2':
(.text+0x274): multiple definition of `__sync_fetch_and_and_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_and_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_xor_2':
(.text+0x2d4): multiple definition of `__sync_fetch_and_xor_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_xor_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_nand_2':
(.text+0x334): multiple definition of `__sync_fetch_and_nand_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_nand_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_add_1':
(.text+0x398): multiple definition of `__sync_fetch_and_add_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_add_1+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_sub_1':
(.text+0x3f4): multiple definition of `__sync_fetch_and_sub_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_sub_1+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_or_1':
(.text+0x450): multiple definition of `__sync_fetch_and_or_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_or_1+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_and_1':
(.text+0x4ac): multiple definition of `__sync_fetch_and_and_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_and_1+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_xor_1':
(.text+0x508): multiple definition of `__sync_fetch_and_xor_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_xor_1+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_fetch_and_nand_1':
(.text+0x564): multiple definition of `__sync_fetch_and_nand_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_fetch_and_nand_1+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_val_compare_and_swap_4':
(.text+0xbe8): multiple definition of `__sync_val_compare_and_swap_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_val_compare_and_swap_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_val_compare_and_swap_2':
(.text+0xc38): multiple definition of `__sync_val_compare_and_swap_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_val_compare_and_swap_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_val_compare_and_swap_1':
(.text+0xcb0): multiple definition of `__sync_val_compare_and_swap_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_val_compare_and_swap_1+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_synchronize':
(.text+0xd9c): multiple definition of `__sync_synchronize'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_synchronize+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_lock_test_and_set_4':
(.text+0xda8): multiple definition of `__sync_lock_test_and_set_4'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_lock_test_and_set_4+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_lock_test_and_set_2':
(.text+0xde0): multiple definition of `__sync_lock_test_and_set_2'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_lock_test_and_set_2+0x0):
 first defined here
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/9/libgcc.a(linux-atomic.o): in 
function `__sync_lock_test_and_set_1':
(.text+0xe40): multiple definition of `__sync_lock_test_and_set_1'; 
../rust/target/release/libsuricata.a(compiler_builtins-d2631cd9ed12b87c.compiler_builtins.k83988xm-cgu.1.rcgu.o):(.text.__sync_lock_test_and_set_1+0x0):
 first defined here

I have reported this to the debian-arm list [2, 3] but unfortunately we
have not arrived at a solution yet. Can anyone help (also calling out to
the Debian Rust Packaging Team)?

Thanks and best regards
Sascha

[1] 
https://buildd.debian.org/status/fetch.php?pkg=suricata&arch=armel&ver=1%3A5.0.2-1&stamp=1582286594&raw=0
[2] https://lists.debian.org/debian-arm/2019/11/msg00001.html
[3] https://lists.debian.org/debian-arm/2019/12/msg00014.html

--- End Message ---
--- Begin Message ---
Source: suricata
Source-Version: 1:5.0.2-2
Done: Sascha Steinbiss <sa...@debian.org>

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

Debian distribution maintenance software
pp.
Sascha Steinbiss <sa...@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...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 22 Feb 2020 12:23:52 +0100
Source: suricata
Binary: suricata suricata-dbgsym suricata-oinkmaster
Architecture: source amd64 all
Version: 1:5.0.2-2
Distribution: unstable
Urgency: medium
Maintainer: Pierre Chifflier <pol...@debian.org>
Changed-By: Sascha Steinbiss <sa...@debian.org>
Description:
 suricata   - Next Generation Intrusion Detection and Prevention Tool
 suricata-oinkmaster - Integration package between suricata and oinkmaster
Closes: 951765
Changes:
 suricata (1:5.0.2-2) unstable; urgency=medium
 .
   * Add --allow-multiple-definition linker flag to work around FTBFS on armel.
     Closes: #951765
Checksums-Sha1:
 1a62121bb196dfdde846f00057d84d27088b53ce 2576 suricata_5.0.2-2.dsc
 c49def2f115e624af4a13be783818bda8aa57f2e 29672 suricata_5.0.2-2.debian.tar.xz
 7dbda9830f9b1f2934b913fb418c7beb710d6a77 6660320 
suricata-dbgsym_5.0.2-2_amd64.deb
 d429d07af72da8be15465db855a42dfa2fec7d04 46736 
suricata-oinkmaster_5.0.2-2_all.deb
 e6f3dced485f27ae00b4d30e0da70bebf8793977 10178 suricata_5.0.2-2_amd64.buildinfo
 e97f9109bbdb68f13d56a5e247636d7faf60b60c 1878928 suricata_5.0.2-2_amd64.deb
Checksums-Sha256:
 b4ce096421c0dba975bb7c05a97b9a53d26c4b14247959b40c60b3cf1faa2993 2576 
suricata_5.0.2-2.dsc
 e948e82849738d096b71b60464f11ffb0776e157462559fa15553b9a3b5ce8f2 29672 
suricata_5.0.2-2.debian.tar.xz
 313729016101201906363cddf117f1fedbeb2e6ac0ec879c2fb22f9cc0312e46 6660320 
suricata-dbgsym_5.0.2-2_amd64.deb
 bc505d1f1e51500b8d6d9f30087f4925b1aa2fa4c00b5c9c833c05d6ed78caff 46736 
suricata-oinkmaster_5.0.2-2_all.deb
 70750d8e0e7c7f90b10c3e79ebe63b666312a8c98cd26594add0d1b367094721 10178 
suricata_5.0.2-2_amd64.buildinfo
 16ffbe16e78599984073ef41d8b0d797e33f90580521a4a3ddedd63ee8736548 1878928 
suricata_5.0.2-2_amd64.deb
Files:
 a0332e949424e234c24ccd9ba2a7b001 2576 net optional suricata_5.0.2-2.dsc
 3a5caeb5135c5f41ecee6eede55b41c6 29672 net optional 
suricata_5.0.2-2.debian.tar.xz
 dd769547ceb4094030da7878ddab7a5f 6660320 debug optional 
suricata-dbgsym_5.0.2-2_amd64.deb
 18259d39d6ef15b95e58fc2e48dad933 46736 net optional 
suricata-oinkmaster_5.0.2-2_all.deb
 26ae4fafcac638caf6ffd25aedc44f91 10178 net optional 
suricata_5.0.2-2_amd64.buildinfo
 befa673785c7241d7968ce113ebe3da7 1878928 net optional 
suricata_5.0.2-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEhFH5F4Fy5+Lcc/eVUfhKj+zKfgkFAl5REWUACgkQUfhKj+zK
fgmySwf+KlOaljxfnuAJ+LQXIi5rzCY1t30oSjQz8lEipESQSiXYJ+K4fgWouFBx
zC5X90VB2OTlIKPk1CqBE2yTQlWvfUY2c+NNu4qOK9qmQM7rCPwLEMaIJG++rJMH
loOVAeQ2HF6n5FLbG6fQuldGiD959sTGAFN/AtNoo/+s3yVusKfzyzc79OAOfCLy
4DL+jyHXs38K2o1SURcRR80Pvp4mltO9AkFuCm12fAZi768UmFsOHtWzS/qO3p3n
9Sh4zAcQV/eKziMY60R1Puj2UdM/GGdi0JqF1rSUlEtP4r+Gt+/aIplyV2Iky78k
dkpM3qhKdeNDaiBKIiUBQlCbVlgweA==
=j4n5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to