Opened 13 months ago

Last modified 12 months ago

#67291 new defect

poppler fails build LegacySuppprt math functions

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.

Attachments (1)

main.log (49.4 KB) - added by rmottola (Riccardo) 12 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 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 12 months ago by rmottola (Riccardo)

Description: modified (diff)

Changed 12 months ago by rmottola (Riccardo)

Attachment: main.log added

comment:3 Changed 12 months ago by rmottola (Riccardo)

Sorry, had a glitch while creating the ticket. Inserted details and log now, sorry.

comment:4 Changed 12 months ago by kencu (Ken)

episode number 127,526 of this exact same error.

I thought Marcus’ recent PR for this that Chris pushed was supposed to fix this.

Otherwise resurrect this I guess

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

Note: See TracTickets for help on using tickets.