Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789702 - sci-chemistry/autodock_vina-1.1.2 - /.../precision.hpp: error: redefinition of template<class T> T boost::math::tools::detail::log
Summary: sci-chemistry/autodock_vina-1.1.2 - /.../precision.hpp: error: redefinition o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.76
  Show dependency tree
 
Reported: 2021-05-12 15:40 UTC by Toralf Förster
Modified: 2021-05-16 17:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.76 KB, text/plain)
2021-05-12 15:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.13 KB, text/plain)
2021-05-12 15:40 UTC, Toralf Förster
Details
environment (environment,71.67 KB, text/plain)
2021-05-12 15:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.30 KB, application/x-bzip)
2021-05-12 15:40 UTC, Toralf Förster
Details
sci-chemistry:autodock_vina-1.1.2:20210512-153207.log (sci-chemistry:autodock_vina-1.1.2:20210512-153207.log,435.16 KB, text/plain)
2021-05-12 15:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-12 15:40:10 UTC
      |                                                             ^

/usr/include/boost/math/tools/precision.hpp:102:31: error: redefinition of ‘template<class T> T boost::math::tools::detail::log_max_value(int)’
  102 | inline BOOST_MATH_CONSTEXPR T log_max_value(const std::integral_constant<int, 1024>& BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(T)) BOOST_MATH_NOEXCEPT(T)
      |                               ^~~~~~~~~~~~~
In file included from /usr/include/boost/math/special_functions/sinc.hpp:19,
                 from /usr/include/boost/math/quaternion.hpp:26,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j2-20210510-191355

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1
  [2]   rust-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed May 12 15:05:28 UTC 2021

emerge -qpvO sci-chemistry/autodock_vina
[ebuild  N    ] sci-chemistry/autodock_vina-1.1.2  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2021-05-12 15:40:12 UTC
Created attachment 707619 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-12 15:40:13 UTC
Created attachment 707622 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-12 15:40:15 UTC
Created attachment 707625 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-12 15:40:16 UTC
Created attachment 707628 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-12 15:40:18 UTC
Created attachment 707631 [details]
sci-chemistry:autodock_vina-1.1.2:20210512-153207.log
Comment 6 Andreas Sturmlechner gentoo-dev 2021-05-16 17:15:48 UTC
Looks like injecting -std=c++11 is all it needs.
Comment 7 Larry the Git Cow gentoo-dev 2021-05-16 17:35:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ad7eb2a2a84490626fe423556e8c15bb93a8b6

commit 94ad7eb2a2a84490626fe423556e8c15bb93a8b6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-05-16 17:34:33 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-16 17:34:50 +0000

    sci-chemistry/autodock_vina: Fix build w/ boost-1.69
    
    Closes: https://bugs.gentoo.org/789702
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-chemistry/autodock_vina/autodock_vina-1.1.2.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)