[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#972966: marked as done (tensorpipe FTBFS on armel/mipsel/m68k/powerpc/riscv64/sh4: undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0')



Your message dated Mon, 02 Nov 2020 05:04:58 +0000
with message-id <E1kZS1a-000Csd-4V@fasolo.debian.org>
and subject line Bug#972966: fixed in tensorpipe 0.0~git20200928.95ff931-1
has caused the Debian Bug report #972966,
regarding tensorpipe FTBFS on armel/mipsel/m68k/powerpc/riscv64/sh4: undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0'
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 owner@bugs.debian.org
immediately.)


-- 
972966: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972966
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: tensorpipe
Version: 0.0~git20200805.42033c5-3
Severity: important
Tags: ftbfs patch

https://buildd.debian.org/status/package.php?p=tensorpipe&suite=sid

...
/usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now CMakeFiles/tensorpipe_test.dir/test.cc.o CMakeFiles/tensorpipe_test.dir/transport/context_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/connection_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/uv/uv_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/uv/context_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/uv/loop_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/uv/connection_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/uv/sockaddr_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/listener_test.cc.o CMakeFiles/tensorpipe_test.dir/core/context_test.cc.o CMakeFiles/tensorpipe_test.dir/proto/core_test.cc.o CMakeFiles/tensorpipe_test.dir/channel/basic/basic_test.cc.o CMakeFiles/tensorpipe_test.dir/channel/xth/xth_test.cc.o CMakeFiles/tensorpipe_test.dir/channel/mpt/mpt_test.cc.o CMakeFiles/tensorpipe_test.dir/channel/channel_test.cc.o CMakeFiles/tensorpipe_test.dir/common/system_test.cc.o CMakeFiles/tensorpipe_test.dir/common/defs_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/shm/reactor_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/shm/loop_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/shm/connection_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/shm/sockaddr_test.cc.o CMakeFiles/tensorpipe_test.dir/transport/shm/shm_test.cc.o CMakeFiles/tensorpipe_test.dir/util/ringbuffer/shm_ringbuffer_test.cc.o CMakeFiles/tensorpipe_test.dir/util/ringbuffer/protobuf_streams_test.cc.o CMakeFiles/tensorpipe_test.dir/util/ringbuffer/ringbuffer_test.cc.o CMakeFiles/tensorpipe_test.dir/util/shm/segment_test.cc.o CMakeFiles/tensorpipe_test.dir/channel/cma/cma_test.cc.o -o tensorpipe_test  -Wl,-rpath,"/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi/tensorpipe:/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi/lib" ../libtensorpipe.so.0 /usr/lib/arm-linux-gnueabi/libprotobuf.so ../../lib/libgtest_main.so.1.10.0 /usr/lib/arm-linux-gnueabi/libuv.so /usr/lib/arm-linux-gnueabi/libpthread.so /usr/lib/arm-linux-gnueabi/libdl.so /usr/lib/arm-linux-gnueabi/librt.so ../../lib/libgtest.so.1.10.0 -lpthread 
/usr/bin/ld: CMakeFiles/tensorpipe_test.dir/util/ringbuffer/shm_ringbuffer_test.cc.o: undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0'
/usr/bin/ld: /usr/lib/arm-linux-gnueabi/libatomic.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [tensorpipe/test/CMakeFiles/tensorpipe_test.dir/build.make:504: tensorpipe/test/tensorpipe_test] Error 1


Fix/Workaround:

--- debian/rules.old	2020-10-26 16:39:12.175986248 +0000
+++ debian/rules	2020-10-26 16:39:47.807678187 +0000
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc riscv64 sh4))
+  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
+endif
+
 %:
 	dh $@ -Scmake
 

--- End Message ---
--- Begin Message ---
Source: tensorpipe
Source-Version: 0.0~git20200928.95ff931-1
Done: Mo Zhou <lumin@debian.org>

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

Debian distribution maintenance software
pp.
Mo Zhou <lumin@debian.org> (supplier of updated tensorpipe 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 02 Nov 2020 12:34:08 +0800
Source: tensorpipe
Architecture: source
Version: 0.0~git20200928.95ff931-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 972966
Changes:
 tensorpipe (0.0~git20200928.95ff931-1) unstable; urgency=medium
 .
   [ Adrian Bunk ]
   * Workaround FTBFS on armel/mipsel/m68k/powerpc/riscv64/sh4 (Closes: #972966)
 .
   [ Mo Zhou ]
   * New upstream version 0.0~git20200928.95ff931 (PyTorch 1.7.0)
   * Remove two obsolete patches and refresh the remaining ones.
   * Add NEW B-D libnop-dev.
   * Refresh the list of headers to be installed.
   * Please pin to this upstream snapshot for PyTorch 1.7.0
Checksums-Sha1:
 2f84e8ebb5419e569bda1d5c7f35e923c6dd3bad 2248 tensorpipe_0.0~git20200928.95ff931-1.dsc
 406c82085835f26ec2edf50722937bdbe7972519 115484 tensorpipe_0.0~git20200928.95ff931.orig.tar.xz
 c1bf657305ace12e8bbcf42c8e1372414d33dc6e 4344 tensorpipe_0.0~git20200928.95ff931-1.debian.tar.xz
 f2f4d0c23d69e8fd1fb2a21868584c336e5d185d 6697 tensorpipe_0.0~git20200928.95ff931-1_source.buildinfo
Checksums-Sha256:
 4ed5f9357db4fd0c99b45d2335c3f6c4c9856951b2f425fd260a8c1a4ae8052d 2248 tensorpipe_0.0~git20200928.95ff931-1.dsc
 4db5b11bde959cffbff1a6ab9dc3bc78d3a0f1c68874c54825417bc36a877077 115484 tensorpipe_0.0~git20200928.95ff931.orig.tar.xz
 e2e6a8f82563105e51a86b83c4298fcf916fa00b48a33b1c523a599e3caa0a00 4344 tensorpipe_0.0~git20200928.95ff931-1.debian.tar.xz
 ce0dc17563d5ab15e18a0ad114aebc3ce9e7c857151bb516e53bf7c7fdf95a07 6697 tensorpipe_0.0~git20200928.95ff931-1_source.buildinfo
Files:
 bd522f771dd49814623c871cc452fad4 2248 science optional tensorpipe_0.0~git20200928.95ff931-1.dsc
 d931cfd4ddd244d280ae52fe06fae038 115484 science optional tensorpipe_0.0~git20200928.95ff931.orig.tar.xz
 1ea35d92b10486a2b1d9ba97be7c4ee8 4344 science optional tensorpipe_0.0~git20200928.95ff931-1.debian.tar.xz
 8d069969b5c031e555166f74006b465e 6697 science optional tensorpipe_0.0~git20200928.95ff931-1_source.buildinfo

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

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAl+fjLkRHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaoqgfQ/+OgqA2PsQfPIDkubxVvwvCzAqt/2J6cnE
rY63sOzD5XYjcIggvMM4wWc/L8keO3LfVAi0Ol0pQxZoWrHgNsv/BQcmNBjzh9q9
pYagBlQGqvPtPU5D/kzjnGZSJn5omtqN3WXFBs+egGxSU6SKSw4cWG3scBQ251Ct
Rk3b0ASeGVWJNKEyC1p0rxsIxGGjW+SGautTlnF2ARYOVYK0LGY9/DGRFEEDt6Ay
9H1TN3xY86uebiY2J+ZQyzW9qa52ik/cpH9ri2VM9AbwTRzmmchZ3K8+T/5I2m+g
iiejKCLzVAgm/V/8QYs5E4GZ5UjUBS6fjDDXJlDVIiCo22ZcooyhpIi2VdNRFPFJ
ZjXyJyg/xzePZ3F887rjN5uRYzMiJYkF0p5S5APH6lzDNyprtHpUptGkUoY0MKa0
crM4H3DXkDU69d4TpzguREE6axjHKS/MFTtq4lOY8W0xQ2UIC4+rOOQznXgQ2o03
mwkJVYQtGiUxYeAs706kPyKFhRW5za9mQS2jzW7ROhATWC0xx8900aSIRmE+tlo7
wMhSabZcUD5SvC79x1HZcycgekkqr8wfZuyWfvNMQpIkSRK55ws4QDssanYB75Rc
9OZohWMxztn9K4DKDrwVecOPHn4VhnVsjD2DLopfb7qWkvkTXO9/kDZYtJeMWxky
t0XnzA/Z2SY=
=Jb/S
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: