Your message dated Fri, 01 Jul 2016 11:38:33 +0000
with message-id <e1biwmh-0003gj...@franck.debian.org>
and subject line Bug#823550: fixed in dune-functions 2.4~20160507g3dd041d-1
has caused the Debian Bug report #823550,
regarding dune-functions: FTBFS with GCC 6
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.)
--
823550: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823550
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dune-functions
Version: 2.4~20160406ge6b3b4c-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer,
dune-functions FTBFS in Ubuntu because we switched to glibc 2.23, which
apparently changed the behavior of std::accumulate, as you can see here:
https://launchpadlibrarian.net/257938061/buildlog_ubuntu-yakkety-amd64.dune-functions_2.4~20160406ge6b3b4c-1_BUILDING.txt.gz
The documentation for std::accumulate says to include the <numeric> header,
and that fixed the build.
This will have to be bumped to serious importance once glibc 2.23 is in
unstable - better to fix it beforehand!
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/std-accumulate.patch: Include <numeric> in files that use
std::accumulate to fix FTBFS with glibc 2.23.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru dune-functions-2.4~20160406ge6b3b4c/debian/patches/series dune-functions-2.4~20160406ge6b3b4c/debian/patches/series
--- dune-functions-2.4~20160406ge6b3b4c/debian/patches/series 2016-04-08 04:13:24.000000000 -0400
+++ dune-functions-2.4~20160406ge6b3b4c/debian/patches/series 2016-05-05 02:53:32.000000000 -0400
@@ -1 +1,2 @@
skip-hybrid-tests.patch
+std-accumulate.patch
diff -Nru dune-functions-2.4~20160406ge6b3b4c/debian/patches/std-accumulate.patch dune-functions-2.4~20160406ge6b3b4c/debian/patches/std-accumulate.patch
--- dune-functions-2.4~20160406ge6b3b4c/debian/patches/std-accumulate.patch 1969-12-31 19:00:00.000000000 -0500
+++ dune-functions-2.4~20160406ge6b3b4c/debian/patches/std-accumulate.patch 2016-05-05 02:56:42.000000000 -0400
@@ -0,0 +1,25 @@
+Index: dune-functions-2.4~20160406ge6b3b4c/dune/functions/functionspacebases/bsplinebasis.hh
+===================================================================
+--- dune-functions-2.4~20160406ge6b3b4c.orig/dune/functions/functionspacebases/bsplinebasis.hh
++++ dune-functions-2.4~20160406ge6b3b4c/dune/functions/functionspacebases/bsplinebasis.hh
+@@ -5,6 +5,8 @@
+ * \brief The B-spline global function space basis
+ */
+
++#include <numeric>
++
+ /** \todo Don't use this matrix */
+ #include <dune/common/dynmatrix.hh>
+
+Index: dune-functions-2.4~20160406ge6b3b4c/dune/functions/functionspacebases/test/gridviewfunctionspacebasistest.cc
+===================================================================
+--- dune-functions-2.4~20160406ge6b3b4c.orig/dune/functions/functionspacebases/test/gridviewfunctionspacebasistest.cc
++++ dune-functions-2.4~20160406ge6b3b4c/dune/functions/functionspacebases/test/gridviewfunctionspacebasistest.cc
+@@ -3,6 +3,7 @@
+ #include <config.h>
+
+ #include <iostream>
++#include <numeric>
+
+ #include <dune/common/exceptions.hh>
+ #include <dune/common/typetraits.hh>
--- End Message ---
--- Begin Message ---
Source: dune-functions
Source-Version: 2.4~20160507g3dd041d-1
We believe that the bug you reported is fixed in the latest version of
dune-functions, 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 823...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ansgar Burchardt <ans...@debian.org> (supplier of updated dune-functions
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: SHA512
Format: 1.8
Date: Fri, 01 Jul 2016 12:25:07 +0200
Source: dune-functions
Binary: libdune-functions-dev libdune-functions-doc
Architecture: all source
Version: 2.4~20160507g3dd041d-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Ansgar Burchardt <ans...@debian.org>
Closes: 823550 828984
Description:
libdune-functions-dev - toolbox for solving PDEs -- interface for functions
(development
libdune-functions-doc - toolbox for solving PDEs -- interface for functions
(documentatio
Changes:
dune-functions (2.4~20160507g3dd041d-1) unstable; urgency=medium
.
* New upstream snapshot.
+ Add missing `#include <numeric>` for `std::accumulate`.
(Closes: #823550, #828984)
* Bumped Standards-Version to 3.9.8 (no changes).
Checksums-Sha1:
fa2f24f5186f5b386add88ba3941214d8bfc9bd7 2538
dune-functions_2.4~20160507g3dd041d-1.dsc
e694106d716214c64dfcf98a7ad702249d009a63 240268
dune-functions_2.4~20160507g3dd041d.orig.tar.xz
c25ffcbde1cdc8869546a06c0b03f438a06a6718 3584
dune-functions_2.4~20160507g3dd041d-1.debian.tar.xz
6ac87ef30b5c36e33b1653f423fdfaab605dc142 53570
libdune-functions-dev_2.4~20160507g3dd041d-1_all.deb
284a7a4e39c136c7cb07773801ac5a385fc12af6 19812
libdune-functions-doc_2.4~20160507g3dd041d-1_all.deb
Checksums-Sha256:
3210a6b47bd58c483eb4cb362f4ed16115f623fce04efbe3b40e2fa4599fa887 2538
dune-functions_2.4~20160507g3dd041d-1.dsc
f88c82517296e21420f0cc75d3d37004a684f64fcb323e15f7d7c595524e1fe5 240268
dune-functions_2.4~20160507g3dd041d.orig.tar.xz
f42dded3fd70d445f678b3dceea33a68b62e9a46f67d5c8bf73b521d873bd3a5 3584
dune-functions_2.4~20160507g3dd041d-1.debian.tar.xz
b398289af8f8c2884e923336a5eefa87740fcdba2fbcd31c971279ed20cd5661 53570
libdune-functions-dev_2.4~20160507g3dd041d-1_all.deb
7512946842a917d91105da2c14b933fd9e2073c7ad557ad6dd7840c17778e135 19812
libdune-functions-doc_2.4~20160507g3dd041d-1_all.deb
Files:
da08ec81fbac4a3d692943a8a731b819 2538 libs optional
dune-functions_2.4~20160507g3dd041d-1.dsc
074649a5f78983faedc4e1d3cfcd9b18 240268 libs optional
dune-functions_2.4~20160507g3dd041d.orig.tar.xz
192808c9bb1069eb9acfad812f226860 3584 libs optional
dune-functions_2.4~20160507g3dd041d-1.debian.tar.xz
75a26a142bfd1c022f48e90403a98cb2 53570 libdevel optional
libdune-functions-dev_2.4~20160507g3dd041d-1_all.deb
6bd7d3fc38a73ac83e953892af7c6aff 19812 doc optional
libdune-functions-doc_2.4~20160507g3dd041d-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCgAGBQJXdkXlAAoJEIATJTTdNH3IcdUQAIjHQx/Dx3O73NoomxogZ9K8
aRCGCaq6iREUb3PU3iC8+qEfR+nZqBE6BFo4qIWHnpaBIs4qOMj1112LqNvUR7/X
zz5V8OJ1SkUE+8wPrWZRZwXQLxb2LVg2NzsjlJbZ9ywLYRxvMgcHEUxWhveTyjFw
UsebcOxsGuBZqeRKevZP62hwsnd+q1KySXbFLX1xMbjWdDePaOMId16/c30IBpPX
tR0v/S/ngsVbwG8VE9JnUHOSns5k5OPFHlh+6ugK78LRTB/2MRw5RYLjYn49mwlJ
suXiPgOHsENRXTFl8Izq+RGEgA8RTZFlykKU7lRa3itoABQFcISrlYFVe8v2IYBO
Ko7JnGo75/by8d+nOCYktC1IaB/ZQXuQOb5RydU2LDO0Imfp/uWrpV3+O0bFveYd
LFyElan4KWu77859zIqHVfW6rIKO2TTt190iXADTXfTEOv/sJOR53XtPkDkCfek4
RnCVHBlj+4V507RFbz0Ggjzce6/QynZoME13RauuQ17Rl4oZBqRFHdUk3A/pj+2r
Y4gBumBjJxS3l9kDChR6xOYA2cV75VJNmSrJIt5yhzrlCngLxQQ1CwOnxu2T6JM5
wK7bCyf+4KYdeMT8C27r8xnYOsjiu9vs17E3zfmX/m0rGPfydok4se88MoqLja60
+KabOCVR7AE6fbZWLIcS
=QtNz
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers