Your message dated Wed, 16 Dec 2020 12:56:36 +0000
with message-id <[email protected]>
and subject line Bug#977235: fixed in sentencepiece 0.1.94-2
has caused the Debian Bug report #977235,
regarding sentencepiece FTBFS on armel/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.)
--
977235: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977235
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sentencepiece
Version: 0.1.94-1
Severity: serious
Tags: ftbfs patch
https://buildd.debian.org/status/package.php?p=sentencepiece
...
/usr/bin/c++ -O3 -Wall -fPIC -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 -rdynamic
CMakeFiles/spm_export_vocab.dir/spm_export_vocab_main.cc.o -o spm_export_vocab
-Wl,-rpath,/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi/src:
libsentencepiece.so.0.0.0 -lpthread
/usr/bin/ld: libsentencepiece.so.0.0.0: undefined reference to
`__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[4]: *** [src/CMakeFiles/spm_export_vocab.dir/build.make:107:
src/spm_export_vocab] Error 1
Fix/Workaround:
--- debian/rules.old 2020-12-12 21:58:13.187467694 +0000
+++ debian/rules 2020-12-12 21:59:46.848833951 +0000
@@ -12,6 +12,9 @@
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
+ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel m68k powerpc sh4))
+ export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic
-Wl,--as-needed
+endif
%:
dh $@ --with python3 --buildsystem=cmake
--- End Message ---
--- Begin Message ---
Source: sentencepiece
Source-Version: 0.1.94-2
Done: Kentaro Hayashi <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sentencepiece, 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.
Kentaro Hayashi <[email protected]> (supplier of updated sentencepiece 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, 16 Dec 2020 21:18:15 +0900
Source: sentencepiece
Architecture: source
Version: 0.1.94-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Kentaro Hayashi <[email protected]>
Closes: 977235
Changes:
sentencepiece (0.1.94-2) unstable; urgency=medium
.
* Fix FTBFS on armel/mipsel (Closes: #977235)
Checksums-Sha1:
66fdf2e2236e1054f27474eaaae9d97a24efa6a8 2357 sentencepiece_0.1.94-2.dsc
db85fceaca9dac65df1f5aee9d768de6331065d8 9180
sentencepiece_0.1.94-2.debian.tar.xz
cb2c78c1c1d77dda1b7ae4aaca339739fa7649d6 8499
sentencepiece_0.1.94-2_source.buildinfo
Checksums-Sha256:
cf8c1f4d3d5346c46cad18e58f5883675c1b415232a8841520c722f8eeb7646b 2357
sentencepiece_0.1.94-2.dsc
22cec5b16f2b9b87ca3b2ec680a88b10c1ae6d3009ccae521d8d1a105864922e 9180
sentencepiece_0.1.94-2.debian.tar.xz
60da371f5eecf9aab6e3a65a0ebf356265560de20f824e639a63b0814dd64752 8499
sentencepiece_0.1.94-2_source.buildinfo
Files:
7814afb2ee56d45f61e015c450c90749 2357 science optional
sentencepiece_0.1.94-2.dsc
c11c49a658e5e35bf0a004503b9e6cde 9180 science optional
sentencepiece_0.1.94-2.debian.tar.xz
079e4f985cd09d6c9ba09a2ce95af8cd 8499 science optional
sentencepiece_0.1.94-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEcZ6y2T2+nE0h+6Bk9/t1xWbtIOMFAl/Z/iMACgkQ9/t1xWbt
IOPXOw/9FK3nBfAl58tYeyOXTTuqWDllIpFQEHOVmGyhw39mN2f+P+z9RnSJP71J
GJllmz9MOvLeAgtoRQmyXcIrt7c8dH1HBnyH6tnTbqOVN1ZsoirU5+0DVqbUVTJs
KEGLcazKvH9ALN6SsHwv8+CCMAmCwDrUqBphqmzX0PGOWdxYgBLmjEiQf/bGi1Qu
9gQV/L/0XeczXF2NF9fm4Zi30V2NijZ4ERWLmUmRtwvO1FeowRZLjOSR6qsT0tFc
DAHGltjVI2o+Vp4a1+W757FsWMQ0Gkam4EZe6X/D63E1cvJUvUFgafU1WURid3mG
gSI0P098PP2NkVyIRX7+k9jAZ9BplKvVtR36SEPK7TWKk8WVzvOdLGaUAGUmpV/N
Vq0cDvssGIXMn4k1+I5cIspahiosW4G/heKCk50+FtBleiEZfh+DLOj8KtZ5ndjn
ZLpOCYaAK/2m61/tsA3s6ZC1cFipqumBInHv8ld+LIiiO3YP97FzUwCArzVixkN+
hZm1iE8caiJb+DfiQ0f3YIkAdvegAtmkOJ00uaGKVurbxYjKj5MdVGkG9fzi+Trb
EKgpjub/EKTWvenuV28AoAsROd3RCLCpkz3f2JUmV5m+OnoSQe4id1wGsC55XLzF
ibBnnMlbd2VJXwI8gTxo7dlKI9aKr/dHj1iBIUWN+YSbUsQBI/4=
=g8Bz
-----END PGP SIGNATURE-----
--- End Message ---