Page MenuHomeFreeBSD

Add dependencies for net-im/mastodon
AbandonedPublic

Authored by jrm on May 5 2017, 8:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 14, 4:40 AM
Unknown Object (File)
Fri, Oct 11, 9:05 PM
Unknown Object (File)
Wed, Oct 9, 8:28 AM
Unknown Object (File)
Mon, Oct 7, 10:58 AM
Unknown Object (File)
Mon, Oct 7, 10:58 AM
Unknown Object (File)
Sun, Oct 6, 10:40 AM
Unknown Object (File)
Sat, Oct 5, 1:44 AM
Unknown Object (File)
Fri, Oct 4, 9:04 PM

Details

Reviewers
swills
Summary

Most of these are rails50 versions that are required by net-im/mastodon.
See also: D10614 D10401 D10283 D10298

Test Plan

portlint -C on all
testport: OK (poudriere: 11.0-RELEASE-p1, amd64)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 9105
Build 9520: arc lint + arc unit

Event Timeline

Everything is working with rails 5.1, so these are no longer necessary.

Today with a fresh mastodon master I got the following (not from the port)

`
Using launchy 2.4.3
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/usr/home/mastodon/live/vendor/bundle/ruby/2.3/gems/bootsnap-0.2.14/ext/bootsnap
/usr/local/bin/ruby23 -r ./siteconf20170528-81569-1ps1rfu.rb extconf.rb
creating Makefile

current directory:
/usr/home/mastodon/live/vendor/bundle/ruby/2.3/gems/bootsnap-0.2.14/ext/bootsnap
make "DESTDIR=" clean

current directory:
/usr/home/mastodon/live/vendor/bundle/ruby/2.3/gems/bootsnap-0.2.14/ext/bootsnap
make "DESTDIR="
compiling bootsnap.c
bootsnap.c:3:10: fatal error: 'sys/xattr.h' file not found
#include <sys/xattr.h>
         ^
1 error generated.
*** Error code 1

Stop.
make: stopped in
/usr/home/mastodon/live/vendor/bundle/ruby/2.3/gems/bootsnap-0.2.14/ext/bootsnap

make failed, exit code 1

Gem files will remain installed in
/usr/home/mastodon/live/vendor/bundle/ruby/2.3/gems/bootsnap-0.2.14 for inspection.
Results logged to
/usr/home/mastodon/live/vendor/bundle/ruby/2.3/extensions/amd64-freebsd-10/2.3/bootsnap-0.2.14/gem_make.out

An error occurred while installing bootsnap (0.2.14), and Bundler cannot
continue.
Make sure that `gem install bootsnap -v '0.2.14'` succeeds before bundling.

`

No idea why it is needed and looking at a fix, just fyi

Are you building the port? The optional gem, bootsnap, was removed in the port's Gemfile patch.

EDIT: I now see you wrote that you are not building the port. Bootsnap is an optional gem to "Boot large ruby/rails apps faster".

https://github.com/Shopify/bootsnap

The authors state that it is beta quality, so I am OK leaving it out for now.

In D10618#227002, @jrm wrote:

Are you building the port? The optional gem, bootsnap, was removed in the port's Gemfile patch.

Nope, not yet. Sorry for noise. There is already a complaint upstream https://github.com/tootsuite/mastodon/pull/3176#issuecomment-302903628

Will try the port next!