Bug#823550: dune-functions: FTBFS with glibc 2.23

Logan Rosen logan at ubuntu.com
Thu May 5 21:20:24 UTC 2016


Package: dune-functions
Version: 2.4~20160406ge6b3b4c-1
Severity: normal
Tags: patch
User: ubuntu-devel at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dune-functions_2.4~20160406ge6b3b4c-1ubuntu1.debdiff
Type: text/x-diff
Size: 1894 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160505/b96f5c9d/attachment.diff>


More information about the debian-science-maintainers mailing list