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

Bug 838985

Summary: sci-mathematics/singular-4.2.1_p3-r1 - flintcf_Zn.cc: error: conversion from std::nullptr_t to CanonicalForm is ambiguous
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: frp.bissey, mjo, proxy-maint, sci-mathematics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 839975    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-mathematics:singular-4.2.1_p3-r1:20220417-115027.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-17 16:36:07 UTC
In file included from /var/tmp/portage/sci-mathematics/singular-4.2.1_p3-r1/work/singular-4.2.1/omalloc/omalloc.h:12,
                 from /var/tmp/portage/sci-mathematics/singular-4.2.1_p3-r1/work/singular-4.2.1/factory/factory.h:31,
                 from flintcf_Zn.cc:15:
flintcf_Zn.cc: In function 'CanonicalForm ConvSingNFactoryN(number, BOOLEAN, coeffs)':
flintcf_Zn.cc:420:10: error: conversion from 'std::nullptr_t' to 'CanonicalForm' is ambiguous
  420 |   return NULL;
      |          ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220417-060035

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26
  [2]   ruby27 *
php cli:

  HEAD of ::gentoo
commit 9dab0395a8f85bc8508426c41e6336ee47f64a13
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 17 11:09:46 2022 +0000

    2022-04-17 11:09:44 UTC

emerge -qpvO sci-mathematics/singular
[ebuild  N    ] sci-mathematics/singular-4.2.1_p3-r1  USE="readline -emacs -examples -polymake -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-04-17 16:36:08 UTC
Created attachment 771206 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-17 16:36:09 UTC
Created attachment 771209 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-17 16:36:12 UTC
Created attachment 771212 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-17 16:36:13 UTC
Created attachment 771215 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-17 16:36:14 UTC
Created attachment 771218 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-17 16:36:15 UTC
Created attachment 771221 [details]
sci-mathematics:singular-4.2.1_p3-r1:20220417-115027.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-17 16:36:16 UTC
Created attachment 771224 [details]
temp.tar.bz2
Comment 8 François Bissey 2022-08-06 04:20:25 UTC
Upstream https://github.com/Singular/Singular/issues/1147
and 
https://github.com/Singular/Singular/commit/be35977b8bb5d8900a9036d2277593a2368bd4b6

Unfortunately that commit is not in 4.3.1_p1.
Comment 9 Michael Orlitzky gentoo-dev 2022-12-24 00:31:21 UTC
(In reply to François Bissey from comment #8)
> Upstream https://github.com/Singular/Singular/issues/1147
> and 
> https://github.com/Singular/Singular/commit/
> be35977b8bb5d8900a9036d2277593a2368bd4b6
> 
> Unfortunately that commit is not in 4.3.1_p1.

It did make it into  4.3.1_p2, now in ::gentoo.
Comment 10 François Bissey 2022-12-25 09:06:21 UTC
One comment, there is now a 4.3.1_p3 but last I looked it wasn't available on the http mirror at https://www.singular.uni-kl.de/ftp/pub/Math but it has been available for a while on the ftp server at ftp://jim.mathematik.uni-kl.de/pub/Math probably some glitch in the mirroring scripts.

I do have an ebuild in the sage-on-gentoo overlay currently, identical to p2 except for SRC_URI.
Comment 11 Michael Orlitzky gentoo-dev 2022-12-30 13:01:19 UTC
(In reply to François Bissey from comment #10)
> One comment, there is now a 4.3.1_p3 but last I looked it wasn't available
> on the http mirror at https://www.singular.uni-kl.de/ftp/pub/Math but it has
> been available for a while on the ftp server at
> ftp://jim.mathematik.uni-kl.de/pub/Math probably some glitch in the
> mirroring scripts.
> 
> I do have an ebuild in the sage-on-gentoo overlay currently, identical to p2
> except for SRC_URI.

Hm, that's annoying. I switched the SRC_URI because (1) there's a push to move to secure SRC_URI when possible, and (2) I don't have a plain FTP client any more. Neither firefox nor epiphany (the GNOME browser) support it, so I can't easily follow the link on the singular homepage to check for new releases.

I don't see git tags for the patch releases either.
Comment 12 François Bissey 2022-12-30 19:03:07 UTC
My file managers (dolphin on linux and finder on mac) are opening when I follow ftp links nowadays. I know this is not ideal security wise. We should alert upstream to that problem because I am fairly sure it is not supposed to be missing. I suspect it is just missing from the http page index but is in fact present. The documentation tarball for example has the right date stamp for the latest patch release.

And yes patch releases are not tagged :( - mind you, we could do without patch releases and more minor version bumps.
Comment 13 Michael Orlitzky gentoo-dev 2022-12-30 21:46:25 UTC
I opened https://github.com/Singular/Singular/issues/1167 this morning.