Opened 20 months ago

Last modified 16 months ago

#65797 assigned defect

graphviz can't be compiled on 10.5 i386 anymore

Reported by: catap (Kirill A. Korinsky) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: graphviz

Description (last modified by ryandesign (Ryan Carsten Schmidt))

A similar issue with #65795

The same machine the same issue, and the same fix (blacklist clang):

libtool: compile:  /opt/local/bin/clang++-mp-7.0 -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I/opt/local/include -I/opt/local/include -pipe -Os -stdlib=macports-libstdc++ -D_GLIBCXX_USE_CXX11_ABI=0 -arch i386 -MT solve_VPSC.lo -MD -MP -MF .deps/solve_VPSC.Tpo -c solve_VPSC.cpp  -fno-common -DPIC -o .libs/solve_VPSC.o
In file included from solve_VPSC.cpp:24:
In file included from /opt/local/include/gcc/c++/math.h:36:
/opt/local/include/gcc/c++/cmath:1149:11: error: no member named 'llrint' in the global namespace; did you mean 'lrint'?
  using ::llrint;
        ~~^
/usr/include/architecture/i386/math.h:382:17: note: 'lrint' declared here
extern long int lrint ( double );
                ^
In file included from solve_VPSC.cpp:24:
In file included from /opt/local/include/gcc/c++/math.h:36:
/opt/local/include/gcc/c++/cmath:1150:11: error: no member named 'llrintf' in the global namespace; did you mean 'lrintf'?
  using ::llrintf;
        ~~^
/usr/include/architecture/i386/math.h:383:17: note: 'lrintf' declared here
extern long int lrintf ( float );
                ^
In file included from solve_VPSC.cpp:24:
In file included from /opt/local/include/gcc/c++/math.h:36:
/opt/local/include/gcc/c++/cmath:1151:11: error: no member named 'llrintl' in the global namespace; did you mean 'lrintl'?
  using ::llrintl;
        ~~^
/usr/include/architecture/i386/math.h:475:17: note: 'lrintl' declared here
extern long int lrintl(long double);
                ^
In file included from solve_VPSC.cpp:24:
In file included from /opt/local/include/gcc/c++/math.h:36:
/opt/local/include/gcc/c++/cmath:1153:11: error: no member named 'llround' in the global namespace; did you mean 'lround'?
  using ::llround;
        ~~^
/usr/include/architecture/i386/math.h:388:17: note: 'lround' declared here
extern long int lround ( double );
                ^
In file included from solve_VPSC.cpp:24:
In file included from /opt/local/include/gcc/c++/math.h:36:
/opt/local/include/gcc/c++/cmath:1154:11: error: no member named 'llroundf' in the global namespace; did you mean 'lroundf'?
  using ::llroundf;
        ~~^
/usr/include/architecture/i386/math.h:389:17: note: 'lroundf' declared here
extern long int lroundf ( float );
                ^
In file included from solve_VPSC.cpp:24:
In file included from /opt/local/include/gcc/c++/math.h:36:
/opt/local/include/gcc/c++/cmath:1155:11: error: no member named 'llroundl' in the global namespace; did you mean 'lroundl'?
  using ::llroundl;
        ~~^
/usr/include/architecture/i386/math.h:477:17: note: 'lroundl' declared here
extern long int lroundl(long double);
                ^
6 errors generated.

Change History (3)

comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:2 Changed 16 months ago by rmottola (Riccardo)

I have the same issue on amd64, so it is not CPU dependant.

comment:3 Changed 16 months ago by kencu (Ken)

there is an unfinished PR of catap’s here that is meant to fix this:

https://github.com/macports/macports-legacy-support/pull/51

Note: See TracTickets for help on using tickets.