Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 786858

Summary: sci-libs/fplll-5.4.0 - ../.../enumerate_ext_api.h: error: uint64_t is not a member of std (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Michael Orlitzky <mjo>
Status: RESOLVED FIXED    
Severity: normal CC: frp.bissey, proxy-maint, strogdon
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20622
https://bugs.gentoo.org/show_bug.cgi?id=813894
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-libs:fplll-5.4.0:20210429-142253.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-04-29 14:46:49 UTC
                 from enum/enumerate.h:23,
                 from enum/enumerate.cpp:19:
../fplll/enum/enumerate_ext_api.h:87:25: error: ‘uint64_t’ is not a member of ‘std’; did you mean ‘wint_t’?
   87 | typedef std::array<std::uint64_t, FPLLL_EXTENUM_MAX_EXTENUM_DIM>(extenum_fc_enumerate)(
      |                         ^~~~~~~~
      |                         wint_t
../fplll/enum/enumerate_ext_api.h:87:25: error: ‘uint64_t’ is not a member of ‘std’; did you mean ‘wint_t’?

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210427-181545

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

gcc-config -l:
 [1] 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.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
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

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 23:50:13 UTC 2021

emerge -qpvO sci-libs/fplll
[ebuild  N    ] sci-libs/fplll-5.4.0  USE="qd -static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-04-29 14:46:51 UTC
Created attachment 703938 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-29 14:46:52 UTC
Created attachment 703941 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-29 14:46:54 UTC
Created attachment 703944 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-29 14:46:55 UTC
Created attachment 703947 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-29 14:46:56 UTC
Created attachment 703950 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-29 14:46:58 UTC
Created attachment 703953 [details]
sci-libs:fplll-5.4.0:20210429-142253.log
Comment 7 Toralf Förster gentoo-dev 2021-04-29 14:46:59 UTC
Created attachment 703956 [details]
temp.tar.bz2
Comment 8 François Bissey 2021-04-29 20:52:22 UTC
It is not on the list at https://gcc.gnu.org/gcc-11/porting_to.html but I think it may indeed be necessary to include <cstdint> https://en.cppreference.com/w/cpp/types/integer
Comment 9 François Bissey 2021-04-30 08:07:52 UTC
Pinged upstream https://github.com/fplll/fplll/issues/462
Comment 10 François Bissey 2021-04-30 20:22:41 UTC
I have submitted a PR upstream for a minimal fix https://github.com/fplll/fplll/pull/463
Comment 11 François Bissey 2021-04-30 23:28:48 UTC
Upstream merged my PR.
Comment 12 Larry the Git Cow gentoo-dev 2021-05-03 00:04:59 UTC
The bug has been closed via the following commit(s):

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

commit 6eac6b8ce698c2e872cb5a22aaaafca9b4f241e3
Author:     François Bissey <frp.bissey@gmail.com>
AuthorDate: 2021-05-01 01:09:07 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2021-05-03 00:04:33 +0000

    sci-libs/fplll: Add upstreamed patch for gcc11
    
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Closes: https://bugs.gentoo.org/786858
    Closes: https://github.com/gentoo/gentoo/pull/20622
    Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-libs/fplll/files/fplll-5.4.0-gcc11.patch | 21 +++++++++++++++++++++
 sci-libs/fplll/fplll-5.4.0.ebuild            |  4 +++-
 2 files changed, 24 insertions(+), 1 deletion(-)