Opened 6 months ago

Closed 6 months ago

#69902 closed defect (fixed)

R-duckdb @0.10.2: error: use of undeclared identifier '_SC_PHYS_PAGES'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: barracuda156
Port: R-duckdb

Description

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.

Change History (7)

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

Cc: barracuda156 added; SteveOfTheStow removed

comment:2 Changed 6 months ago by kencu (Ken)

FYI, this issue is addressed by legacysupport.

comment:3 in reply to:  2 Changed 6 months ago by barracuda156

Replying to kencu:

FYI, this issue is addressed by legacysupport.

That’s why I didn’t get it on 10.6.

comment:4 in reply to:  1 ; Changed 6 months ago by barracuda156

Replying to ryandesign:

Same issue with duckdb port? https://ports.macports.org/port/duckdb/details

comment:6 in reply to:  4 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

Same issue with duckdb port? https://ports.macports.org/port/duckdb/details

On that page I see duckdb build failures on 10.8–10.12 but the logs had expired. I scheduled new builds and they failed for different reasons; I filed #69910, #69911, #69914.

comment:7 Changed 6 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 23d9f01d51951b8dc71fbe459c67a600a0b4938a/macports-ports (master):

R-duckdb: fix build on 10.7–10.11

Closes: #69902

Note: See TracTickets for help on using tickets.