[MacPorts] #69331: imath @3.1.10 does not build on PPC Leopard, Mac OS X 10.5.8, because of "'isfinite' was not declared in this scope"
MacPorts
noreply at macports.org
Tue Feb 13 12:45:42 UTC 2024
#69331: imath @3.1.10 does not build on PPC Leopard, Mac OS X 10.5.8, because of
"'isfinite' was not declared in this scope"
-------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: leopard ppc | Port: imath
-------------------------+--------------------
{{{
[ 6%] Building CXX object src/Imath/CMakeFiles/Imath.dir/ImathFun.cpp.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/build/src/Imath
&& /opt/local/bin/g++-mp-7 -DIMATH_EXPORTS -DImath_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/build/src/Imath
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/build/config
-pipe -Os -D__STDC_FORMAT_MACROS -DNDEBUG
-isystem/opt/local/include/LegacySupport -I/opt/local/include
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.5 -fPIC
-fvisibility=hidden -fvisibility-inlines-hidden -MD -MT
src/Imath/CMakeFiles/Imath.dir/ImathFun.cpp.o -MF
CMakeFiles/Imath.dir/ImathFun.cpp.o.d -o
CMakeFiles/Imath.dir/ImathFun.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:
In function 'float Imath_3_1::succf(float)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:13:12:
error: 'isfinite' was not declared in this scope
return isfinite(f) ?
^~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:13:12:
note: suggested alternative:
In file included from /opt/local/include/LegacySupport/cmath:54:0,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:7:
/opt/local/include/gcc7/c++/cmath:585:5: note: 'std::isfinite'
isfinite(_Tp __x)
^~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:
In function 'float Imath_3_1::predf(float)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:19:12:
error: 'isfinite' was not declared in this scope
return isfinite(f) ?
^~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:19:12:
note: suggested alternative:
In file included from /opt/local/include/LegacySupport/cmath:54:0,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:7:
/opt/local/include/gcc7/c++/cmath:585:5: note: 'std::isfinite'
isfinite(_Tp __x)
^~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:
In function 'double Imath_3_1::succd(double)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:25:12:
error: 'isfinite' was not declared in this scope
return isfinite(d) ?
^~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:25:12:
note: suggested alternative:
In file included from /opt/local/include/LegacySupport/cmath:54:0,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:7:
/opt/local/include/gcc7/c++/cmath:585:5: note: 'std::isfinite'
isfinite(_Tp __x)
^~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:
In function 'double Imath_3_1::predd(double)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:31:12:
error: 'isfinite' was not declared in this scope
return isfinite(d) ?
^~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:31:12:
note: suggested alternative:
In file included from /opt/local/include/LegacySupport/cmath:54:0,
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/imath-3.1.10/src/Imath/ImathFun.cpp:7:
/opt/local/include/gcc7/c++/cmath:585:5: note: 'std::isfinite'
isfinite(_Tp __x)
^~~~~~~~
make[2]: *** [src/Imath/CMakeFiles/Imath.dir/ImathFun.cpp.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/build'
make[1]: *** [src/Imath/CMakeFiles/Imath.dir/all] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/work/build'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69331>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list