Skip to content

Installation failing on MacOS 15.3, ARM platform, pg_query 6.0.0 #327

@purcell

Description

@purcell

Using the latest Ruby from homebrew, I'm getting a build failure in the native extension.

The error is at line 6065 of this build log.

 	/opt/homebrew/lib/ruby/gems/3.4.0/gems/pg_query-6.0.0/ext/pg_query/src_port_snprintf.c:374:1: error: static declaration of 'strchrnul' follows non-static declaration
  374 | strchrnul(const char *s, int c)
      | ^

Am I missing something obvious? I noticed the CI doesn't cover MacOS, but it would be possible to do so now that the default MacOS runners are based on Apple Silicon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions