Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694888 - sci-mathematics/singular-4.0.3 : NTLconvert.cc:509:38: error: invalid static_cast from type const raw_ptr
Summary: sci-mathematics/singular-4.0.3 : NTLconvert.cc:509:38: error: invalid static_...
Status: RESOLVED OBSOLETE
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:
 
Reported: 2019-09-18 19:05 UTC by Toralf Förster
Modified: 2021-06-01 12:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.90 KB, text/plain)
2019-09-18 19:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,259.28 KB, text/plain)
2019-09-18 19:05 UTC, Toralf Förster
Details
environment (environment,119.71 KB, text/plain)
2019-09-18 19:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.75 KB, application/x-bzip)
2019-09-18 19:05 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,33.55 KB, application/x-bzip)
2019-09-18 19:05 UTC, Toralf Förster
Details
sci-mathematics:singular-4.0.3:20190918-184831.log (sci-mathematics:singular-4.0.3:20190918-184831.log,286.76 KB, text/plain)
2019-09-18 19:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,43.10 KB, application/x-bzip)
2019-09-18 19:06 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 2019-09-18 19:05:41 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -I/var/tmp/portage/sci-mathematics/singular-4.0.3/work/singular-4.0.3 -I/var/tmp/portage/sci-mathematics/singular-4.0.3/work/singular-4.0.3 -O2 -pipe -march=native -fPIC -fno-common -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -c NTLconvert.cc  -fPIC -DPIC -o .libs/NTLconvert.o
NTLconvert.cc: In function ‘CanonicalForm convertZZ2CF(const NTL::ZZ&)’:
NTLconvert.cc:509:38: error: invalid static_cast from type ‘const raw_ptr’ {aka ‘_ntl_gbigint_body* const’} to type ‘long int*’
  509 |       static_cast<long *>( a.rep.rep ); // what about NTL7?
      |                                      ^
In file included from /usr/include/NTL/ZZ.h:18,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl-20190913-191403

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.37.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository timestamp:

==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Sep 2019 18:06:22 +0000

emerge -qpvO sci-mathematics/singular
[ebuild  N    ] sci-mathematics/singular-4.0.3  USE="readline -boost -doc -emacs -examples -python"
Comment 1 Toralf Förster gentoo-dev 2019-09-18 19:05:44 UTC
Created attachment 590316 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-09-18 19:05:47 UTC
Created attachment 590318 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-09-18 19:05:50 UTC
Created attachment 590320 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-09-18 19:05:53 UTC
Created attachment 590322 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-09-18 19:05:55 UTC
Created attachment 590324 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-09-18 19:05:58 UTC
Created attachment 590326 [details]
sci-mathematics:singular-4.0.3:20190918-184831.log
Comment 7 Toralf Förster gentoo-dev 2019-09-18 19:06:01 UTC
Created attachment 590328 [details]
temp.tbz2
Comment 8 Michael Orlitzky gentoo-dev 2021-03-22 19:51:58 UTC
I'm not sure what's going on here but it's probably some API mismatch that can be solved by stabilizing the latest versions of everything and dumping the old ones.
Comment 9 Michael Orlitzky gentoo-dev 2021-06-01 12:12:10 UTC
New versions of Singular and NTL are stable, so I think this is fixed; i.e. now we have new build failures to worry about.