[MacPorts] #69902: R-duckdb @0.10.2: error: use of undeclared identifier '_SC_PHYS_PAGES'

MacPorts noreply at macports.org
Sun May 5 03:03:18 UTC 2024


#69902: R-duckdb @0.10.2: error: use of undeclared identifier '_SC_PHYS_PAGES'
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.3
 Keywords:              |       Port:  R-duckdb
------------------------+----------------------
 On some OS versions:

 https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/269929/steps
 /install-port/logs/stdio

 {{{
 duckdb/src/common/file_system.cpp:128:52: error: use of undeclared
 identifier '_SC_PHYS_PAGES'
         idx_t max_memory = MinValue<idx_t>((idx_t)sysconf(_SC_PHYS_PAGES)
 * (idx_t)sysconf(_SC_PAGESIZE), UINTPTR_MAX);
                                                           ^
 1 error generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69902>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list