Your message dated Thu, 20 Oct 2016 19:20:37 +0000
with message-id <e1bxitj-0004vs...@franck.debian.org>
and subject line Bug#841431: fixed in apt-cacher-ng 1-2
has caused the Debian Bug report #841431,
regarding apt-cacher-ng: FTBFS on mips/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.)
--
841431: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841431
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt-cacher-ng
Version: 1-1
Severity: serious
Tags: sid, patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch
Build for mips and mipsel fails during apt-cacher-ng linking with error:
/usr/include/c++/6/bits/atomic_base.h:514: error: undefined reference to
'__atomic_fetch_add_8'
Full build log is available here:
https://buildd.debian.org/status/fetch.php?pkg=apt-cacher-ng&arch=mipsel&ver=1-1&stamp=1476932907
libatomic1 provides 8-byte atomic operations for 32-bit MIPS, so linking
apt-cacher-ng against latomic solves this issue.
The patch that includes this fix is attached.
Regards,
Dejan
--- ./debian/rules.orig 2016-10-20 14:27:34.000000000 +0000
+++ ./debian/rules 2016-10-20 14:58:43.000000000 +0000
@@ -11,11 +11,18 @@
CFLAGS += $(CPPFLAGS)
CXXFLAGS += $(CPPFLAGS)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+# libatomic provides 8-bytes atomic operation for 32-bit MIPS
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
+ EXTRA_LIBS="-DEXTRA_LIBS_ACNG=-latomic"
+endif
+
%:
dh $@ --parallel --with systemd
override_dh_auto_configure:
- dh_auto_configure -- -DSDINSTALL=on
+ dh_auto_configure -- -DSDINSTALL=on $(EXTRA_LIBS)
# needs extra build deps and internet -> ignore
override_dh_auto_test:
--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 1-2
We believe that the bug you reported is fixed in the latest version of
apt-cacher-ng, 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 841...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Eduard Bloch <bl...@debian.org> (supplier of updated apt-cacher-ng 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: Thu, 20 Oct 2016 20:25:39 +0200
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source amd64
Version: 1-2
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <bl...@debian.org>
Changed-By: Eduard Bloch <bl...@debian.org>
Description:
apt-cacher-ng - caching proxy server for software repositories
Closes: 841431
Changes:
apt-cacher-ng (1-2) unstable; urgency=low
.
[ Dejan Latinovic <dejan.latino...@imgtec.com> ]
* Fixing FTBFS on MIPS (extra libatomic dependency, closes: #841431)
.
[Eduard Bloch]
* Extended mips/mipsel FTBFS patch to powerpcspe and m68k
Checksums-Sha1:
fedaa4a47a18903be92a6d0f3d40d072ecd64052 2165 apt-cacher-ng_1-2.dsc
0336c653d82e07365d2a8da9cf4392b256625f50 47076 apt-cacher-ng_1-2.debian.tar.xz
f429c2e60af24238160c78e2ecb7ea1c8ee7dc99 2404444
apt-cacher-ng-dbgsym_1-2_amd64.deb
b849765b0de183d6b44f2b2d2f5465caeebc3634 518612 apt-cacher-ng_1-2_amd64.deb
Checksums-Sha256:
57e3c6453c7a5601c1e9b5de3d9e6105ec3ca825bbaa6337f2c883bde7e51f29 2165
apt-cacher-ng_1-2.dsc
c68905fce514496e5e01b7e5013ed578bd7e6dc1cda770d0c97555b8440a62cd 47076
apt-cacher-ng_1-2.debian.tar.xz
a7d665be03465f688a3bf5297e5c694f80b5174c8bed2b4cf53df70b444111c5 2404444
apt-cacher-ng-dbgsym_1-2_amd64.deb
86fb60bb35245e8e6851a518595c3d06e847dabd2c261be42e40324a34909123 518612
apt-cacher-ng_1-2_amd64.deb
Files:
de4ac6e04c0d75a4f937509f7cd73552 2165 net optional apt-cacher-ng_1-2.dsc
de3a315aace4c2686a8aa4e263c2c478 47076 net optional
apt-cacher-ng_1-2.debian.tar.xz
153eebdd120e9206b993318072893ee9 2404444 debug extra
apt-cacher-ng-dbgsym_1-2_amd64.deb
0122ab06bcaf46bc7af40d1316d6e95e 518612 net optional
apt-cacher-ng_1-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJYCQ4WAAoJEGl0DlyzX+w8sy0QAI6v7MprBDfmt1Z9XTMyGiC4
4yt+tg/yzgqaUAEPa1GSs0U7asodlhqek/6c/g55V8kMXNhfYj//U1EOoPJ8TQAl
Lio5Kuqus3Prvmu7Pv7mCNjRcO+d8ELC3Qi591zN62sxGsLg2SlAHn3zQkt8vlYF
NV97JUnW+eOwoW5zelcQiWG/QIu4brymF3uRMF5CGIpd3HexTXnyw0ubXpO5P2u4
5MCyfB47PPkosNtlacl9JL8kQYfy+LSzxv9O/ks6BVZvdy2rHkImdhd/nE9iG6v5
o6yqEUKCf+XzZ8Env9yTx9FwpOrCmRtXMBZIvm0C45ibiIMMhjycvZ6RLQGXSMYq
5u8yNknkvaXkL59T99z6f5xCGue0wuizsIPA0mstyC2almv03G43KK4WQdM8GGBj
Reqv8LubGwiB8WfjnROkqPOzLvRzGu1JbbilhlM6d5aGcUc50StmE9QMLkaWISwD
kPaGDdn+iiMobocp67Ke+4yrFBAScaivLDmpTeEjrSdXfsSAyZO4st7nOSgYV/HX
+0QYXWm3LJ9mwfz/0GPqphB6p1u2gTgN9s3HGbU2/Tq3SSoO4bLTF3hkRLSNKGVm
owspELAzXfodD0gPIs2hhJ3r5R4HitYAWVdtHfw3Sxxv6yT89ryWk5+enxbAKi9B
u9PteCijKuiOjOhZyEZM
=Cyjn
-----END PGP SIGNATURE-----
--- End Message ---