Opened 3 months ago

Closed 4 weeks ago

#69331 closed defect (fixed)

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"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: leopard ppc Cc: mascguy (Christopher Nielsen), barracuda156
Port: imath

Description

[  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'

Attachments (1)

main.log (29.0 KB) - added by ballapete (Peter "Pete" Dyballa) 3 months ago.
Main.log from PPC Leopard, Mac OS X 10.5.8

Download all attachments as: .zip

Change History (5)

Changed 3 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Leopard, Mac OS X 10.5.8

comment:1 Changed 3 months ago by jmroot (Joshua Root)

Cc: mascguy barracuda156 added; mcalhoun@… mascguy@… removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 4 weeks ago by mascguy (Christopher Nielsen)

Pete, is this resolved, now that upstream has included Sergey's fix? (Per https://github.com/AcademySoftwareFoundation/Imath/issues/367)

comment:3 Changed 4 weeks ago by ballapete (Peter "Pete" Dyballa)

Yes! Version 3.1.11 is installed since yesterday.

comment:4 in reply to:  3 Changed 4 weeks ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Replying to ballapete:

Yes! Version 3.1.11 is installed since yesterday.

Great, thanks for confirming!

Note: See TracTickets for help on using tickets.