[Bug 275248] net-im/mastodon: bundle install fails on 14.0-RELEASE when building native gems

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Nov 2023 00:07:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275248

            Bug ID: 275248
           Summary: net-im/mastodon: bundle install fails on 14.0-RELEASE
                    when building native gems
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: me@ianmcdowell.net
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

Created attachment 246476
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246476&action=edit
failing bundle install log

Following the installation instructions from [the
wiki](https://wiki.freebsd.org/Ports/net-im/mastodon), the bundle install step
is failing to build the cbor and posix-spawn gems after upgrading to FreeBSD
14.0-RELEASE.

I was able to work around this by running the following:

bundle config build.cbor
--with-cflags="-Wno-incompatible-function-pointer-types"
bundle config build.posix-spawn
--with-cflags="-Wno-incompatible-function-pointer-types"

I'm not sure if this is a bug in FreeBSD (perhaps a new default error in
Clang?), or if it's a bug in the ruby gems.

-- 
You are receiving this mail because:
You are the assignee for the bug.