Your message dated Tue, 31 Dec 2019 17:10:29 +0000
with message-id <e1iml2l-0002rc...@fasolo.debian.org>
and subject line Bug#947280: fixed in paraview 5.7.0-4
has caused the Debian Bug report #947280,
regarding src:paraview: FTBFS on armel an mipsel: undefined reference to 
`__atomic_fetch_add_8'
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.)


-- 
947280: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947280
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:paraview
Version: 5.7.0-3
Severity: serious
Tags: patch
Justification: FTBFS

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

Hi,

The same error is spotted in the logs of failed paraview 5.7.0 builds for
armel[1] and mipsel[2]:
/usr/bin/ld: ../../../../lib/mipsel-linux-gnu/libvtkprotobuf-pv5.7.so.5.7: 
undefined reference to `__atomic_fetch_add_8'

[1] 
https://buildd.debian.org/status/fetch.php?pkg=paraview&arch=armel&ver=5.7.0-3&stamp=1576169428&raw=0
[2] 
https://buildd.debian.org/status/fetch.php?pkg=paraview&arch=mipsel&ver=5.7.0-1&stamp=1570637214&raw=0

Please find attached a patch aiming to solve this problem. Not sure it'll
be sufficient to build successfully, but it should solve this issue at
least.

Thanks,

_g.

- -- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAl4BOnkACgkQ7+hsbH/+
z4Mb8gf/Zv+G/8fE0SNC1wR9l81HtcduHKpMzvaDV7cuk35kAMr/W60ieLqfaT7p
Z9PPgi3YD+CqElw317qbGwwxQI0VuMDxiSVKEXJsZePrg2Ff25wgy4pwSBpSjel+
9kljY0vTp0QxbO2ryZi846aH46PnQF9bppdhUocNg6igeSB/x9TUHICvyhVQ5ZNS
gKDnR5jcKlk5DIr2TRA9Xa/TEIONfoQAjGs+tNwWDYpLQnwYHQ+vT+9gL80U6MkO
jRnVKbHI0V7KQj4saoQf4eqSz2tX29hecrMQcut43YxCX3YDiomV9CxrWDWAbIOf
rzWBeG0mAHxtzdD55XqbtuN+R8jEQQ==
=z9To
-----END PGP SIGNATURE-----
diff -Nru paraview-5.7.0/debian/changelog paraview-5.7.0/debian/changelog
--- paraview-5.7.0/debian/changelog     2019-12-11 10:16:00.000000000 +0100
+++ paraview-5.7.0/debian/changelog     2019-12-23 22:33:43.000000000 +0100
@@ -1,3 +1,10 @@
+paraview (5.7.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * New patch libatomic.patch: tentative fix for FTBFS on armel and mipsel
+
+ -- Gilles Filippini <p...@debian.org>  Mon, 23 Dec 2019 22:33:43 +0100
+
 paraview (5.7.0-3) unstable; urgency=medium
 
   * Hard-code Build-Dep on python3.8-dev. This wasn't being pulled in correctly
diff -Nru paraview-5.7.0/debian/patches/libatomic.patch 
paraview-5.7.0/debian/patches/libatomic.patch
--- paraview-5.7.0/debian/patches/libatomic.patch       1970-01-01 
01:00:00.000000000 +0100
+++ paraview-5.7.0/debian/patches/libatomic.patch       2019-12-23 
22:33:43.000000000 +0100
@@ -0,0 +1,22 @@
+Index: paraview-5.7.0/ThirdParty/protobuf/vtkprotobuf/src/CMakeLists.txt
+===================================================================
+--- paraview-5.7.0.orig/ThirdParty/protobuf/vtkprotobuf/src/CMakeLists.txt
++++ paraview-5.7.0/ThirdParty/protobuf/vtkprotobuf/src/CMakeLists.txt
+@@ -312,10 +312,16 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+   endif ()
+ endif ()
+ 
++if ((DEB_HOST_MULTIARCH STREQUAL "arm-linux-gnueabi") OR (DEB_HOST_MULTIARCH 
STREQUAL "mipsel-linux-gnu"))
++  set(ATOMIC_LIB atomic)
++else ()
++  set(ATOMIC_LIB "")
++endif ()
++
+ target_link_libraries(vtkprotoc
+   PRIVATE
+     ${vtkprotoc_no_as_needed}
+     vtklibprotoc
+     ParaView::protobuf
+-    Threads::Threads)
++    Threads::Threads ${ATOMIC_LIB})
+ add_executable(ParaView::protoc ALIAS vtkprotoc)
diff -Nru paraview-5.7.0/debian/patches/series 
paraview-5.7.0/debian/patches/series
--- paraview-5.7.0/debian/patches/series        2019-12-11 10:16:00.000000000 
+0100
+++ paraview-5.7.0/debian/patches/series        2019-12-23 22:33:43.000000000 
+0100
@@ -2,3 +2,4 @@
 security-format.patch
 override-fix.patch
 python3.8.patch
+libatomic.patch
diff -Nru paraview-5.7.0/debian/rules paraview-5.7.0/debian/rules
--- paraview-5.7.0/debian/rules 2019-12-11 10:16:00.000000000 +0100
+++ paraview-5.7.0/debian/rules 2019-12-23 22:33:43.000000000 +0100
@@ -73,7 +73,8 @@
        -DPARAVIEW_ENABLE_PDAL=ON \
        -DPARAVIEW_ENABLE_XDMF3=ON \
        -DPARAVIEW_ENABLE_MOTIONFX=ON \
-       -DPARAVIEW_PLUGIN_ENABLE_EyeDomeLighting=ON 
+       -DPARAVIEW_PLUGIN_ENABLE_EyeDomeLighting=ON \
+       -DDEB_HOST_MULTIARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 override_dh_auto_configure:
        dh_auto_configure -- $(extra_flags)

--- End Message ---
--- Begin Message ---
Source: paraview
Source-Version: 5.7.0-4

We believe that the bug you reported is fixed in the latest version of
paraview, 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 947...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckins...@debian.org> (supplier of updated paraview 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: SHA256

Format: 1.8
Date: Sat, 28 Dec 2019 16:21:57 +0000
Source: paraview
Architecture: source
Version: 5.7.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Closes: 823529 946758 947280
Changes:
 paraview (5.7.0-4) unstable; urgency=medium
 .
   [ Gilles Filippini ]
   * New patch libatomic.patch: tentative fix for FTBFS on armel and mipsel.
     Closes: #947280
   * Hard-code Build-Dep on python3.8-dev. This wasn't being pulled in correctly
     leading to FTBFS. Closes: #946758
 .
   [ Alastair McKinstry ]
   * python vtk now works. Closes: #823529
   * Fix warnings with 'is' and literals in python3.8+
Checksums-Sha1:
 0efa3ad150a945b1f92d2e3544390eb71516862d 3036 paraview_5.7.0-4.dsc
 0e944213ad91e7d85e9ed8ca87ba263d5435ffab 35244 paraview_5.7.0-4.debian.tar.xz
Checksums-Sha256:
 2458d928bbf337053519dff12935eab41e0a95baabf2220eba7bd2073acdedfc 3036 
paraview_5.7.0-4.dsc
 b3e47b36b01dccae14b48af2e6b3eef9ba506b1603be9ba06eee792c4c5ae0be 35244 
paraview_5.7.0-4.debian.tar.xz
Files:
 af199c8ece36c02565add90bee5d9051 3036 science optional paraview_5.7.0-4.dsc
 d4f2e8acc8a7b7ee6bda4e8684aa9e3c 35244 science optional 
paraview_5.7.0-4.debian.tar.xz

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

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAl4Lb9IACgkQy+a7Tl2a
06Uu8g//XJ7FHLp0BgJKLZ/kNRp4SRmGrRYaoUHKATFbFAEnDaIDw/2VPryiwhV+
GuUQrXzvvyrN0ycxOtekP3KrhFR1JoADmU6+PUWk5/7ryUqh2fq/mUcJdEF/Xth9
CDKlq+/7URMY8PTd1LULCnhu+q2pCj1jB6dH+H1mtnkRorw7c96ZG6yt4QnmgHYH
zBLFqcm5VqsnSDetJbUGivYj46leI8UHIoWGFdvMH6M81YTRrAhA4F8o3KrVqr7y
FguBLnhs3TL8mnjYzKDsk0j8gOl8pxaa15Mgvu/ywuf4jEb1T9Qmu3HuNxjify5v
9GrmFIdQJOKTljFvnzm6BC5N6bnOmF61lCNp35DPFHCCsFQ8yX1QEbgmyfYafvX2
dPaYbrpb4Ah/xY8fqZjte0NFQP6CtgOQo5h0/mzPZ6CQffp6zVR6bvlyQ3eazijE
aijvm0gLSmS18Ajnn90ouhDLSO31WShGgG1bxDlt2DYyut+bhb3pVtBCHcAs4JPs
I294RIK6+MEgflVlBYRx1tnDaHmqSKU5TGNx798IRXOBr3Pv4ooSiL2viyAcB/ea
nbco6DsZ/tOtmg64rAm3NNoGguorYYsmz8L9ZyKF3o5oo2saYY98CVPgumuYtEKO
P6M+mJUPCOdvLjANwDpqZZ0COoarHBrRgeIf94j48ipmbgLVcxc=
=OGPP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to