Re: [MacPorts] #72595: gunits 2.24 is broken: error: ‘DBL_DECIMAL_DIG’ undeclared
MacPorts
noreply at macports.org
Tue Jun 10 07:30:14 UTC 2025
#72595: gunits 2.24 is broken: error: ‘DBL_DECIMAL_DIG’ undeclared
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.7
Resolution: | Keywords:
Port: gunits |
---------------------------+--------------------
Comment (by saj):
Hello. Broken on what?
https://ports.macports.org/port/gunits/details/
Looks like it is broken on OS X 10.7 through 10.11. (Though, oddly, not
10.5 or 10.6. It looks like MacPorts builds with a newer compiler on
these platforms?)
Is there a way to ask buildbot to build for these old releases prior to
merge? I am unable to test on anything older than 12 so it is hard to get
feedback.
{{{
DEBUG: Xcode 8.2.1, CLT 8.2.0.0.1.1480973914
}}}
[[https://gist.github.com/yamaya/2924292|list of clangs in old Xcode
releases]]
clang 8?
https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/293844/steps
/install-port/logs/stdio
{{{
checking for /usr/bin/clang option to enable C11 features... none needed
}}}
https://releases.llvm.org/8.0.0/tools/clang/docs/UsersManual.html
> If no -std option is specified, clang defaults to gnu11 mode.
I don't think I can fix this without access to an old machine. Don't know
what is going on.
Tempted to pin these old OS X releases to gunits 2.22 as a quick fix.
--
Ticket URL: <https://trac.macports.org/ticket/72595#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list