Your message dated Mon, 3 Feb 2025 07:11:37 +0100
with message-id <20250203061137.3lw6wayu4xs6g...@jwilk.net>
and subject line Re: Bug#876231: ruby-nmatrix: FTBFS with GCC 7: error: call of 
overloaded 'abs(nm::Rational<short int>&)' is ambiguous
has caused the Debian Bug report #876231,
regarding ruby-nmatrix: FTBFS with GCC 7: error: call of overloaded 
'abs(nm::Rational<short int>&)' is ambiguous
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
876231: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876231
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ruby-nmatrix
Version: 0.1.0~rc3-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

ruby-nmatrix FTBFS (at least) since GCC 7 was made the default compiler:

In file included from math.cpp:125:0:
math/idamax.h: In instantiation of 'int nm::math::idamax(size_t, DType*, int) 
[with DType = nm::Rational<short int>; size_t = long unsigned int]':
math/getrf.h:153:44:   required from 'int nm::math::getrf_nothrow(int, int, 
DType*, int, int*) [with bool RowMajor = true; DType = nm::Rational<short int>]'
math/getrf.h:211:37:   required from 'int nm::math::getrf(CBLAS_ORDER, int, 
int, DType*, int, int*) [with DType = nm::Rational<short int>]'
math/getrf.h:234:22:   required from 'int nm::math::clapack_getrf(CBLAS_ORDER, 
int, int, void*, int, int*) [with DType = nm::Rational<short int>]'
math.cpp:1295:3:   required from here
math/idamax.h:60:15: error: call of overloaded 'abs(nm::Rational<short int>&)' 
is ambiguous
     dmax = abs(dx[0]);
            ~~~^~~~~~~
In file included from /usr/include/c++/7/cstdlib:75:0,
                 from /usr/include/c++/7/bits/stl_algo.h:59,
                 from /usr/include/c++/7/algorithm:62,
                 from math.cpp:116:
/usr/include/stdlib.h:735:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^~~
In file included from /usr/include/c++/7/cstdlib:77:0,
                 from /usr/include/c++/7/bits/stl_algo.h:59,
                 from /usr/include/c++/7/algorithm:62,
                 from math.cpp:116:
/usr/include/c++/7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long 
int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:61:3: note: candidate: long long int 
std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/include/c++/7/bits/std_abs.h:70:3: note: candidate: constexpr double 
std::abs(double)
   abs(double __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:74:3: note: candidate: constexpr float 
std::abs(float)
   abs(float __x)
   ^~~
/usr/include/c++/7/bits/std_abs.h:78:3: note: candidate: constexpr long double 
std::abs(long double)
   abs(long double __x)
   ^~~


Full log attached.

Andreas

Attachment: ruby-nmatrix_0.1.0~rc3-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Version: 0.1.0~rc3-2+rm

ruby-nmatrix has been removed from Debian; see #1094831 for details.

--
Jakub Wilk

--- End Message ---

Reply via email to