Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939388 - sci-mathematics/polymake-4.12 - [gcc-15] /.../comparators.h: error: redefinition of template<class SizeT> int pm::hash_combine(SizeT&, SizeT)
Summary: sci-mathematics/polymake-4.12 - [gcc-15] /.../comparators.h: error: redefinit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-09-09 17:33 UTC by Toralf Förster
Modified: 2025-04-19 06:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.95 KB, text/plain)
2024-09-09 17:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.10 KB, text/plain)
2024-09-09 17:33 UTC, Toralf Förster
Details
environment (environment,83.57 KB, text/plain)
2024-09-09 17:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-09-09 17:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.40 KB, application/x-xz)
2024-09-09 17:33 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,984 bytes, application/x-xz)
2024-09-09 17:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,46.34 KB, application/x-xz)
2024-09-09 17:33 UTC, Toralf Förster
Details
sci-mathematics:polymake-4.12:20240909-130440.log.xz (sci-mathematics:polymake-4.12:20240909-130440.log.xz,11.11 KB, application/x-xz)
2024-09-09 17:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,19.56 KB, application/x-xz)
2024-09-09 17:33 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 2024-09-09 17:33:09 UTC
too long lines were shrinked:

  299 | std::enable_if_t<sizeof(SizeT)==sizeof(uint32_t)> hash_combine(SizeT& h, SizeT k)
      |                                        ^~~~~~~~
/var/tmp/portage/sci-mathematics/polymake-4.12/work/polymake-4.12/include/core/polymake/internal/comparators.h:299:40: note: uint32_t is defined in header <cstdint>; this is probably fixable by adding #include <cstdint>
/var/tmp/portage/sci-mathematics/polymake-4.12/work/polymake-4.12/include/core/polymake/internal/comparators.h:299:49: error: template argument 1 is invalid
  299 | std::enable_if_t<sizeof(SizeT)==sizeof(uint32_t)> hash_combine(SizeT& h, SizeT k)
      |                                                 ^
/var/tmp/portage/sci-mathematics/polymake-4.12/work/polymake-4.12/include/core/polymake/internal/comparators.h:299:51: error: redefinition of template<class SizeT> int pm::hash_combine(SizeT&, SizeT)
  299 | std::enable_if_t<sizeof(SizeT)==sizeof(uint32_t)> hash_combine(SizeT& h, SizeT k)
      |                                                   ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240905-222002

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.6
Available Rust versions:
  [1]   rust-bin-1.80.1 *
php cli (if any):
  [1]   php8.3 *
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit bbbdb9f13e5110eaf1f7bfa3a9eeb740660a89ee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 9 12:06:12 2024 +0000

    2024-09-09 12:06:11 UTC

emerge -qpvO =sci-mathematics/polymake-4.12
[ebuild  N    ] sci-mathematics/polymake-4.12  USE="bliss cdd flint normaliz -libpolymake -lrs -nauty -ppl -singular"
Comment 1 Toralf Förster gentoo-dev 2024-09-09 17:33:10 UTC
Created attachment 902466 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-09 17:33:12 UTC
Created attachment 902467 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-09 17:33:13 UTC
Created attachment 902468 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-09 17:33:14 UTC
Created attachment 902469 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-09 17:33:15 UTC
Created attachment 902470 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-09 17:33:15 UTC
Created attachment 902471 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-09 17:33:16 UTC
Created attachment 902472 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-09 17:33:17 UTC
Created attachment 902473 [details]
sci-mathematics:polymake-4.12:20240909-130440.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-09-09 17:33:18 UTC
Created attachment 902474 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-04-18 16:33:44 UTC
The bug has been closed via the following commit(s):

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

commit c688602054fd943ab8898cf81c8ea2ada133f9bb
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2025-04-18 16:30:49 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2025-04-18 16:30:49 +0000

    sci-mathematics/polymake: trivial build fix for newer compilers
    
    Closes: https://bugs.gentoo.org/939388
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/polymake/files/polymake-4.13-cstdint.patch | 13 +++++++++++++
 sci-mathematics/polymake/polymake-4.13.ebuild              |  2 ++
 2 files changed, 15 insertions(+)