Your message dated Thu, 31 Mar 2022 01:03:47 +0000
with message-id <[email protected]>
and subject line Bug#1001514: fixed in libkiwix 10.1.0+dfsg-1
has caused the Debian Bug report #1001514,
regarding libkiwix FTCBFS for 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 [email protected]
immediately.)


-- 
1001514: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001514
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libkiwix
Version: 9.4.1+dfsg-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

libkiwix fails to cross build from source for mipsel and mipsel only.
You can view recent attempts at http://crossqa.debian.net/src/libkiwix.
The mipsel builds end as follows:

| /usr/bin/mipsel-linux-gnu-g++  -o src/libkiwix.so.9.4.1 
src/libkiwix.so.9.4.1.p/meson-generated_.._.._static_kiwixlib-resources.cpp.o 
src/libkiwix.so.9.4.1.p/book.cpp.o src/libkiwix.so.9.4.1.p/bookmark.cpp.o 
src/libkiwix.so.9.4.1.p/library.cpp.o src/libkiwix.so.9.4.1.p/manager.cpp.o 
src/libkiwix.so.9.4.1.p/libxml_dumper.cpp.o 
src/libkiwix.so.9.4.1.p/opds_dumper.cpp.o 
src/libkiwix.so.9.4.1.p/downloader.cpp.o src/libkiwix.so.9.4.1.p/reader.cpp.o 
src/libkiwix.so.9.4.1.p/entry.cpp.o src/libkiwix.so.9.4.1.p/server.cpp.o 
src/libkiwix.so.9.4.1.p/searcher.cpp.o 
src/libkiwix.so.9.4.1.p/search_renderer.cpp.o 
src/libkiwix.so.9.4.1.p/subprocess.cpp.o src/libkiwix.so.9.4.1.p/aria2.cpp.o 
src/libkiwix.so.9.4.1.p/tools_base64.cpp.o 
src/libkiwix.so.9.4.1.p/tools_pathTools.cpp.o 
src/libkiwix.so.9.4.1.p/tools_regexTools.cpp.o 
src/libkiwix.so.9.4.1.p/tools_stringTools.cpp.o 
src/libkiwix.so.9.4.1.p/tools_networkTools.cpp.o 
src/libkiwix.so.9.4.1.p/tools_otherTools.cpp.o 
src/libkiwix.so.9.4.1.p/kiwixserve.cpp.o 
src/libkiwix.so.9.4.1.p/name_mapper.cpp.o 
src/libkiwix.so.9.4.1.p/server_byte_range.cpp.o 
src/libkiwix.so.9.4.1.p/server_etag.cpp.o 
src/libkiwix.so.9.4.1.p/server_request_context.cpp.o 
src/libkiwix.so.9.4.1.p/server_response.cpp.o 
src/libkiwix.so.9.4.1.p/server_internalServer.cpp.o 
src/libkiwix.so.9.4.1.p/subprocess_unix.cpp.o -Wl,--as-needed 
-Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libkiwix.so.9 -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wl,-z,relro -Wl,-z,now -pthread 
/usr/lib/mipsel-linux-gnu/libicui18n.so /usr/lib/mipsel-linux-gnu/libicuuc.so 
/usr/lib/mipsel-linux-gnu/libicudata.so /usr/lib/mipsel-linux-gnu/libzim.so 
/usr/lib/mipsel-linux-gnu/liblzma.so /usr/lib/mipsel-linux-gnu/libzstd.so 
/usr/lib/mipsel-linux-gnu/libxapian.so /usr/lib/mipsel-linux-gnu/libpugixml.so 
/usr/lib/mipsel-linux-gnu/libcurl.so /usr/lib/mipsel-linux-gnu/libmicrohttpd.so 
/usr/lib/mipsel-linux-gnu/libz.so -Wl,--end-group
| /usr/lib/gcc-cross/mipsel-linux-gnu/10/../../../../mipsel-linux-gnu/bin/ld: 
src/libkiwix.so.9.4.1.p/server_request_context.cpp.o: in function 
`std::__atomic_base<unsigned long long>::fetch_add(unsigned long long, 
std::memory_order)':
| /usr/mipsel-linux-gnu/include/c++/10/bits/atomic_base.h:548: undefined 
reference to `__atomic_fetch_add_8'
| /usr/lib/gcc-cross/mipsel-linux-gnu/10/../../../../mipsel-linux-gnu/bin/ld: 
/usr/mipsel-linux-gnu/include/c++/10/bits/atomic_base.h:548: undefined 
reference to `__atomic_fetch_add_8'
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-mipsel-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v 
returned exit code 1
| make: *** [debian/rules:5: binary-arch] Error 25
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

For using 8bit atomics, it should be linking -latomic. Please consider
applying the attached patch.

Helmut
--- libkiwix-9.4.1+dfsg/debian/changelog
+++ libkiwix-9.4.1+dfsg/debian/changelog
@@ -1,3 +1,10 @@
+libkiwix (9.4.1+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS for mipsel: link -latomic. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 11 Dec 2021 07:09:45 +0100
+
 libkiwix (9.4.1+dfsg-1) unstable; urgency=medium
 
   * New upstream version 9.4.1+dfsg
--- libkiwix-9.4.1+dfsg/debian/rules
+++ libkiwix-9.4.1+dfsg/debian/rules
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+ifeq ((DEB_HOST_ARCH),mipsel)
+  export DEB_LDFLAGS_MAINT_APPEND=-latomic
+endif
+
 %:
        dh $@ --buildsystem=meson
 

--- End Message ---
--- Begin Message ---
Source: libkiwix
Source-Version: 10.1.0+dfsg-1
Done: Kunal Mehta <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libkiwix, 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.
Kunal Mehta <[email protected]> (supplier of updated libkiwix 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: SHA256

Format: 1.8
Date: Wed, 30 Mar 2022 20:40:51 -0400
Source: libkiwix
Architecture: source
Version: 10.1.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Kunal Mehta <[email protected]>
Changed-By: Kunal Mehta <[email protected]>
Closes: 1001514 1008483
Changes:
 libkiwix (10.1.0+dfsg-1) unstable; urgency=medium
 .
   * New upstream version 10.1.0, fixing CVE-2022-27920 (Closes: #1008483)
   * Use correct meson variable to fix cross compilation (Closes: #1001514)
Checksums-Sha1:
 b246d12c6791be56991813aa61bd497e3849d815 2138 libkiwix_10.1.0+dfsg-1.dsc
 35c6b9daf74012c75db6138d32d170a06c19ab65 1160264 
libkiwix_10.1.0+dfsg.orig.tar.xz
 a64fcfa2edef8cc5f9f9798eaf1c22c122b39c13 11264 
libkiwix_10.1.0+dfsg-1.debian.tar.xz
 de6ca0222ce00fa4f4721a6a2077c68d273ee5de 8313 
libkiwix_10.1.0+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 acf0fd07c237d5fa816803edc90c1fba0256bec80791c12424c59ad9ba6b6885 2138 
libkiwix_10.1.0+dfsg-1.dsc
 4b7224fb5dfa608ba2af31ed8ae143311f62745eac793a023074a4d8efba9990 1160264 
libkiwix_10.1.0+dfsg.orig.tar.xz
 cd1c4568eb697b0552ac9f9f44f9f8960aff2e508e4f5b1e5d95cea3c6059bb6 11264 
libkiwix_10.1.0+dfsg-1.debian.tar.xz
 a2adf97e28b5de924a9133d877f0d79f14b473ed7b461c237313f6e39379d32a 8313 
libkiwix_10.1.0+dfsg-1_amd64.buildinfo
Files:
 388660583105646d662b773b67e93791 2138 libs optional libkiwix_10.1.0+dfsg-1.dsc
 ed40858ac395cb7b1f619ff2465310ba 1160264 libs optional 
libkiwix_10.1.0+dfsg.orig.tar.xz
 a1ba89f4f6f4ed6e325c0ff6d76a7c0e 11264 libs optional 
libkiwix_10.1.0+dfsg-1.debian.tar.xz
 d832f7b2259447aa790de1cc205dceb2 8313 libs optional 
libkiwix_10.1.0+dfsg-1_amd64.buildinfo

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

iQJHBAEBCAAxFiEE2MtZ8F27ngU4xIGd8QX4EBsFJpsFAmJE+jkTHGxlZ29rdG1A
cmlzZXVwLm5ldAAKCRDxBfgQGwUmm+HfD/9VMrIQbixXCWRZCEY4iWWkw4gIrWpC
M/d7kxR8CB1M4BAfoQAKKOUPIo1OCv+t6dbxL4tG4O2xEuD2Oa+7LX9/bFsIFuGz
ObFKiPWSOnykq8CHhx9sQ4UmSLdWnjsp9r9/RM2B4ec2fFh9uMO9SuXRIknEEi/6
W/lcJUA5fBTmg4Meah+mQdPrzGan+f6eceJwGr7HOBAwzlb19Bby73kIpNiL6olo
0AfCrHByc6MlatGPYhP4fTzTD5NnEOPKVZC2zaZwCWLaJtkpMTuRTTsPASEMYrsq
odZLyTZmKzql57cg3eSz5kUz/47RYMQ/xIg+OIpEzKBSOOKZFTomfSO8juRiBwSi
ud9gTcTkA2M1bolEG3+ccH6xmCsN5cJCP1r7VNzvnJofGmMjw0aBqntjk38rjIYr
dQAdVWuuyiMI6A6ofoGdm9ZDydIGvuG5VG9jcVoV9VPfxToIXgB6bXu7mMNHq6D2
UAUKGNOjHW5zJfGUZwfVQkpbmS1jzzO72BoghzELI+IxRV1o7A1so7yRSatvGmP2
PMw0UpVayUrpdls8GDEmWjC021COd9HOSFhIkkJWM1YqA2WWUqX3L71tjOhhvwLV
3r+JsLF1FIJJ8PwgmP3PbgDGKpGLx/IR2JsHSB+1Ate2A1UPaYO2TeHdH19iXBxj
pIVKe6pURnLk/g==
=kzgf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to