Opened 3 years ago

Closed 3 years ago

#63396 closed defect (invalid)

dvisvgm-2.12 (clipper.cpp) fails to be built with /usr/include/c++/v1/cmath

Reported by: ShugoSUWAZONO Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: dvisvgm

Description (last modified by jmroot (Joshua Root))

/usr/bin/clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -Wall -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -Wno-mismatched-tags -MT clipper.o -MD -MP -MF $depbase.Tpo -c -o clipper.o clipper.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from clipper.cpp:42:
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cmath:321:9: error: no member named 'signbit' in the global namespace
using ::signbit;
       ~~^

...similar error continues for ::fpclassify, ::isfinite, ::isinf, ::isnan, ::isnormal, ::isgreater, ::isgreat, ...

13 errors generated.

Attachments (1)

main.log (145.9 KB) - added by ShugoSUWAZONO 3 years ago.
error log file generated while dvisvgm-2.12 install

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by ShugoSUWAZONO

Attachment: main.log added

error log file generated while dvisvgm-2.12 install

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

Description: modified (diff)
Owner: set to michaelld
Port: dvisvgm added; dvisvgm-2.12 removed
Status: newassigned

comment:2 Changed 3 years ago by michaelld (Michael Dickens)

Resolution: invalid
Status: assignedclosed

OP reports on the MP list:

I found the reason causing this problem. That was my mistake to made some symbolic links from several header files (stdio.h etc)
from
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/
to
/opt/local/include/
After deleting those symbolic links, the upgrade (sudo port install dvisvgm) was successfully finished.

Hence I'm closing.

Note: See TracTickets for help on using tickets.