Your message dated Fri, 07 Apr 2017 16:35:27 +0000 with message-id <[email protected]> and subject line Bug#859763: fixed in nfs-ganesha 2.4.4-2 has caused the Debian Bug report #859763, regarding nfs-ganesha FTBFS on mips and mipsel: error: undefined reference to symbol '__atomic_fetch_sub_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 [email protected] immediately.) -- 859763: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859763 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: nfs-ganesha Version: 2.4.4-1 Severity: important Tags: sid + patch Justification: FTBFS User: [email protected] Usertags: mips-patch After applying patch for bug #859689, new problem appears. Package nfs-ganesha_2.4.4-1 FTBFS on mips and mipsel with following error: > [ 95%] Linking C executable ganesha.nfsd > cd > /build/nfs-ganesha-6qoZzY/nfs-ganesha-2.4.4/src/obj-mipsel-linux-gnu/MainNFSD > && /usr/bin/cmake -E cmake_link_script CMakeFiles/ganesha.nfsd.dir/link.txt > --> verbose=1 > /usr/bin/cc -g -O2 > -fdebug-prefix-map=/build/nfs-ganesha-6qoZzY/nfs-ganesha-2.4.4=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -> > D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g > -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/ganesha.nfsd.dir/nfs_main.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/fsal_convert.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/commonlib.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/fsal_manager.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/access_check.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/fsal_config.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/default_methods.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/common_pnfs.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/fsal_destroyer.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL/fsal_helper.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL_UP/fsal_up_top.c.o > CMakeFiles/ganesha.nfsd.dir/__/FSAL_UP/fsal_up_async.c.o -o ganesha.nfsd > -Wl,-rpath,/usr/lib/mipsel-linux-gnu/mit-krb5: -rdynamic libMainServices.a > ../Protocols/NFS/libnfsproto.a ../Protocols/RQUOTA/librquota.a > ../Protocols/NLM/libnlm.a ../Protocols/9P/lib9p.a > ../Protocols/XDR/libnfs_mnt_xdr.a ../SAL/libsal.a ../idmapper/libidmap.a > ../avl/libavltree.a ../hashtable/libhashtable.a ../RPCAL/librpcal.a > ../support/libsupport.a ../Protocols/NFS/libnfs4callbacks.a ../cidr/libcidr.a > ../support/libstring_utils.a ../support/libhash.a ../log/liblog.a > ../support/libuid2grp.a ../support/libnetgroup_cache.a > ../FSAL/FSAL_PSEUDO/libfsalpseudo.a > ../FSAL/Stackable_FSALs/FSAL_MDCACHE/libfsalmdcache.a ../dbus/libgshdbus.a > ../config_parsing/libconfig_parsing.a -lwbclient -lnfsidmap -ldbus-1 -lcap > -lblkid -luuid ../os/libgos.a -ldl > /usr/lib/mipsel-linux-gnu/mit-krb5/libkrb5.so > /usr/lib/mipsel-linux-gnu/mit-krb5/libk5crypto.so -lcom_err > /usr/lib/mipsel-linux-gnu/mit-krb5/libgssapi_krb5.so -lpthread -lrt -lntirpc > /usr/bin/ld: libMainServices.a(client_mgr.c.o): undefined reference to symbol > '__atomic_fetch_sub_8@@LIBATOMIC_1.0' > //usr/lib/mipsel-linux-gnu/libatomic.so.1: error adding symbols: DSO missing > from command line > collect2: error: ld returned 1 exit status > MainNFSD/CMakeFiles/ganesha.nfsd.dir/build.make:419: recipe for target > 'MainNFSD/ganesha.nfsd' failed > make[4]: *** [MainNFSD/ganesha.nfsd] Error 101 The problem occurs because mips 32-bit architectures does not support use of 8-byte atomics functions. To solve this problem, it is necessary to provide linking with libatomic library. I have created and attached a patch that enables linking with latomic library as needed. With this patch package builds successfully on mips, mipsel, mips64el and i386. Regards, Radovan--- nfs-ganesha-2.4.4.orig/src/CMakeLists.txt +++ nfs-ganesha-2.4.4/src/CMakeLists.txt @@ -883,6 +883,7 @@ set(SYSTEM_LIBRARIES ${CMAKE_THREAD_LIBS_INIT} ${LIBRT} ${NTIRPC_LIBRARY} + -Wl,--as-needed -latomic ) # Config file; make sure it doesn't clobber an existing one
--- End Message ---
--- Begin Message ---Source: nfs-ganesha Source-Version: 2.4.4-2 We believe that the bug you reported is fixed in the latest version of nfs-ganesha, 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. Christoph Martin <[email protected]> (supplier of updated nfs-ganesha 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: Fri, 07 Apr 2017 16:52:53 +0200 Source: nfs-ganesha Binary: nfs-ganesha nfs-ganesha-fsal python-nfs-ganesha nfs-ganesha-doc Architecture: source amd64 all Version: 2.4.4-2 Distribution: unstable Urgency: medium Maintainer: Philippe Deniel <[email protected]> Changed-By: Christoph Martin <[email protected]> Description: nfs-ganesha - NFS server in User Space nfs-ganesha-doc - Documentation for nfs-ganesha nfs-ganesha-fsal - nfs-ganesha fsal libraries python-nfs-ganesha - Python bindings for nfs-ganesha Closes: 859763 Changes: nfs-ganesha (2.4.4-2) unstable; urgency=medium . * link with libatomic if necessary (closes: #859763) * remove src/NodeList files from copyright Checksums-Sha1: d24bcd77445a9045cc7f2595480b09c2f5243686 2410 nfs-ganesha_2.4.4-2.dsc 5d1acdc0476fac1ad6741476ca8427e32a3bbf39 15516 nfs-ganesha_2.4.4-2.debian.tar.xz 6307ef01d62f77575d5c42e6a16e8c9b8055fc93 8560882 nfs-ganesha-dbgsym_2.4.4-2_amd64.deb c74fb2363e60f99b762fa2fa0bec91260ede8968 29364 nfs-ganesha-doc_2.4.4-2_all.deb 2b6178e0e19d85bf862aaf2e65075e13f9118382 1656406 nfs-ganesha-fsal-dbgsym_2.4.4-2_amd64.deb aaefb42edd7e453eef68533cdd87e9679efc440d 147666 nfs-ganesha-fsal_2.4.4-2_amd64.deb dee6d4d314e1627afec1ea1f447de815fa1a7f9e 10985 nfs-ganesha_2.4.4-2_amd64.buildinfo 13e10ddd14b2cdf206739dea4e0a845eaed56f94 544908 nfs-ganesha_2.4.4-2_amd64.deb 0f78cf39e91e348d0491d314aaae4512514082f9 23632 python-nfs-ganesha_2.4.4-2_all.deb Checksums-Sha256: e5c7a165115541d09c5c51e7dfcf3090c1a52a9d65bdafc741d4bf609b0a5dd4 2410 nfs-ganesha_2.4.4-2.dsc bde1b544b45eb16abbcfc5cfe8dedbb27db2ab4a60e54efea32532725de7a661 15516 nfs-ganesha_2.4.4-2.debian.tar.xz ec9e5dbdab3c6586f361e4a53fe225a7d41522d2da1bf0a8337a1e68677a09d6 8560882 nfs-ganesha-dbgsym_2.4.4-2_amd64.deb 6a2038fa29e24b016ea60ae1b94ffcf52d800656b7f3f9f153883fe40eb177bc 29364 nfs-ganesha-doc_2.4.4-2_all.deb 760b0d186dd748f908a4ddcbd1289fb532d52fd7d683516ee4cf90d66ad0965a 1656406 nfs-ganesha-fsal-dbgsym_2.4.4-2_amd64.deb 52a15161582f4aeefe27a288407fa09d936aa2e5e0483a9e373346f1c74623e5 147666 nfs-ganesha-fsal_2.4.4-2_amd64.deb cc5e7573c7ceeed6ce62557f23a8d6ee69855ba247fb8b1b1ba52651f1707350 10985 nfs-ganesha_2.4.4-2_amd64.buildinfo b688e020e2094cc23cde544c63bd30dff8318ca31e0a305a852b8484e70d3eb6 544908 nfs-ganesha_2.4.4-2_amd64.deb 93edc41d09f14f1cece7b0537ff37617f26e0058451566f36d0b8e2c85a78bad 23632 python-nfs-ganesha_2.4.4-2_all.deb Files: 6bd92d4fed672434f8cda6bc2e9e0b0e 2410 net optional nfs-ganesha_2.4.4-2.dsc 9a9f46af2904b69beef75ed9b26ca7ec 15516 net optional nfs-ganesha_2.4.4-2.debian.tar.xz de4da6e10ba677dcfd22d997ac667d15 8560882 debug extra nfs-ganesha-dbgsym_2.4.4-2_amd64.deb 607a04f02ae48c367334f306b49a004a 29364 doc optional nfs-ganesha-doc_2.4.4-2_all.deb d8e482ba8792ebe7aaf303beae71b655 1656406 debug extra nfs-ganesha-fsal-dbgsym_2.4.4-2_amd64.deb 8b3e4a1bebc24f82afd1d8e994dbf5f5 147666 libs optional nfs-ganesha-fsal_2.4.4-2_amd64.deb 2a06bda0e52d47cc0b2ac9b155b65b72 10985 net optional nfs-ganesha_2.4.4-2_amd64.buildinfo 85826c39a0d6cb1428119b9c7c37afdd 544908 net optional nfs-ganesha_2.4.4-2_amd64.deb 987600b45e8822bb03efac7588e257d6 23632 python optional python-nfs-ganesha_2.4.4-2_all.deb -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJY57eKAAoJEPqBswqWsQmcH9IQAMMIQ3YuN8FAfAC9aSAgpG2O AlMO1W//ucSCrnOt0g+jBqgej/e1Vkdl8vEQlbMKmZgTON4u9g/371zqp8kf1Fli Fj8SRqY8eeIcY/Na/UFZ29azghbfILpCK+uLbDNcOCuBfFm4OvjnB1FhTOnB82xU o3vB113qp/APOK1iXSbtrHvsmp6mpEZ5fre7Xx2boGGFWT0tnuU7Iwd0K4X8VVvH 3fT43f006EhipGeZU9d4Gsd6b/LBTnYdS3UIvLgKKc2bVPIRWMz6HUxUb/vuViUt 3zIJstgTIh17sIOu/X+MkQjHlB8v1vf1k3hvJKDXv9VNMqP5oGCdtr0rlGvftx69 bhxmO0jfKV6Cv98zRLiGjE/mi0Z7Z0IGxnlW/4uIJIPocbX8dYG7ry6gbp7Lu7uf O6JoCdak9xFRIOmnEhTcp0Qpms0HNzLzKtC2ojNniIYdTFeoxZYgZlfx3aSPhs8B yUavnE/2zGMNdb7yqV4Kp+TFAIw7/YhrgS+sPRG5smdMmVlks3P0xhklIZJC7qxF O9cEsbD9q/5QwNYFH9WlCsPTpoDICzaww6ZCDlmSXCjPXwL1qibZUs8grOgBP8BC q14wqAt2tCgQh1fZfpkpTj8zn1vYreZuSlOQyLpF+VAdE041nLgATAmoCkcGicgY qQzdtfwg+XLJSeCvrgJ6 =udgC -----END PGP SIGNATURE-----
--- End Message ---

