Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895420 - sci-mathematics/4ti2-1.6.7-r1 - ../.../VectorArrayAPI.hpp: error: INT32_MIN was not declared in this scope
Summary: sci-mathematics/4ti2-1.6.7-r1 - ../.../VectorArrayAPI.hpp: error: INT32_MIN w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-19 14:38 UTC by Toralf Förster
Modified: 2023-04-18 07:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2023-02-19 14:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,112.57 KB, text/plain)
2023-02-19 14:38 UTC, Toralf Förster
Details
environment (environment,73.42 KB, text/plain)
2023-02-19 14:38 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,703 bytes, application/x-bzip)
2023-02-19 14:38 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,6.63 KB, application/x-bzip)
2023-02-19 14:38 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.90 KB, application/x-bzip)
2023-02-19 14:38 UTC, Toralf Förster
Details
sci-mathematics:4ti2-1.6.7-r1:20230219-115653.log (sci-mathematics:4ti2-1.6.7-r1:20230219-115653.log,209.12 KB, text/plain)
2023-02-19 14:38 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.12 KB, application/x-bzip)
2023-02-19 14:38 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 2023-02-19 14:38:16 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src/4ti2 -I./.. -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -Wall -std=c++0x -c SignAPI.cpp  -fPIC -DPIC -o .libs/libzsolve_la-SignAPI.o
/bin/sh /var/tmp/portage/sci-mathematics/4ti2-1.6.7-r1/work/4ti2-1.6.7/install-sh -c -m 755 hilbert.template hilbert
/bin/sh /var/tmp/portage/sci-mathematics/4ti2-1.6.7-r1/work/4ti2-1.6.7/install-sh -c -m 755 graver.template graver
In file included from ../../src/zsolve/RelAPI.h:26,
                 from RelAPI.cpp:23:
../../src/zsolve/VectorArrayAPI.hpp: In function 'void _4ti2_zsolve_::convert(const T1&, T2&) [with T1 = long int; T2 = int]':
../../src/zsolve/VectorArrayAPI.hpp:79:14: error: 'INT32_MIN' was not declared in this scope; did you mean 'INT_MIN'?
   79 |     if (v1 < INT32_MIN || v2 > INT32_MAX) {
      |              ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20230218-120027

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit d2eb0ce654f05b1cf997a98b23005781331c0c7c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 19 11:32:25 2023 +0000

    2023-02-19 11:32:25 UTC

emerge -qpvO sci-mathematics/4ti2
[ebuild  N    ] sci-mathematics/4ti2-1.6.7-r1
Comment 1 Toralf Förster gentoo-dev 2023-02-19 14:38:17 UTC
Created attachment 853030 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-19 14:38:18 UTC
Created attachment 853032 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-19 14:38:19 UTC
Created attachment 853034 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-19 14:38:20 UTC
Created attachment 853036 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-19 14:38:21 UTC
Created attachment 853038 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-19 14:38:22 UTC
Created attachment 853040 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-19 14:38:24 UTC
Created attachment 853042 [details]
sci-mathematics:4ti2-1.6.7-r1:20230219-115653.log
Comment 8 Toralf Förster gentoo-dev 2023-02-19 14:38:25 UTC
Created attachment 853044 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-04-18 07:08:13 UTC
The bug has been closed via the following commit(s):

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

commit 416abeba80edf7905accdcfd9bfbcbc707709b46
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-18 07:05:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-18 07:05:20 +0000

    sci-mathematics/4ti2: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/895420
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-mathematics/4ti2/4ti2-1.6.7-r1.ebuild         |  7 +++++--
 sci-mathematics/4ti2/files/4ti2-1.6.7-gcc13.patch | 21 +++++++++++++++++++++
 2 files changed, 26 insertions(+), 2 deletions(-)