Opened 17 months ago

Last modified 17 months ago

#67291 new defect

poppler fails build LegacySuppprt math functions — at Version 2

Reported by: rmottola (Riccardo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: legacysupport leopard Cc:
Port: poppler

Description (last modified by rmottola (Riccardo))

while building poppler I get a failure:

:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.04.0/goo/GooString.cc:43:
:info:build In file included from /opt/local/include/LegacySupport/cmath:54:
:info:build /opt/local/include/gcc/c++/cmath:1149:11: error: no member named 'llrint' in the global namespace; did you mean 'lrint'?
:info:build   using ::llrint;
:info:build         ~~^
:info:build /usr/include/architecture/i386/math.h:382:17: note: 'lrint' declared here
:info:build extern long int lrint ( double );
:info:build                 ^

This is on Leopard i386 with clang7. I wonder if the issue is with LegacySupport or poppler. I did not have this issue with other ports.

Change History (3)

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

Can you attach the main.log and/or fill in what the error message was?

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

Description: modified (diff)

Changed 17 months ago by rmottola (Riccardo)

Attachment: main.log added
Note: See TracTickets for help on using tickets.