Skip to content

[WWW/DOC] local build / sass-embedded (1.71.0) install problem on FreeBSD. #106

@cederom

Description

@cederom

Hey there @btashton :-)

I have problem building local preview of the website on FreeBSD 13.2 - cannot install sass-embedded (1.71.0). Would it be possible to resolve / update version conflicts please? :-)

% uname -a
FreeBSD octagon 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 GENERIC amd64

I am following instructions from README:

export GEM_HOME=$HOME/.gem # Adjust this path as you want
export PATH=$PATH:$GEM_HOME/bin
bundle exec jekyll serve

Result is:

% bundle exec jekyll serve
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Could not find jekyll-4.3.2 in any of the sources
Run `bundle install` to install missing gems.

then:

% bundle install
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Fetching gem metadata from https://rubygems.org/
Fetching gem metadata from https://rubygems.org/...........
Using rake 13.0.6
Using public_suffix 5.0.1
Using bundler 2.2.22
Using rb-fsevent 0.11.2
Using concurrent-ruby 1.2.2
Using rexml 3.2.5
Using mercenary 0.4.0
Using ffi 1.15.5
Using safe_yaml 1.0.5
Using google-protobuf 3.23.0
Using colorator 1.1.0
Using webrick 1.8.1
Using i18n 1.13.0
Using http_parser.rb 0.8.0
Using rouge 4.1.0
Using forwardable-extended 2.6.0
Using kramdown 2.4.0
Using rb-inotify 0.10.1
Using unicode-display_width 2.4.2
Using liquid 4.0.4
Using addressable 2.8.4
Using eventmachine 1.2.7
Using listen 3.8.0
Using em-websocket 0.5.3
Using kramdown-parser-gfm 1.1.0
Using terminal-table 3.0.2
Fetching sass-embedded 1.62.1
Using pathutil 0.16.2
Using jekyll-watch 2.2.1
Installing sass-embedded 1.62.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/sass-embedded-1.62.1/ext/sass
/usr/local/bin/ruby31 -rrubygems /usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/rake-13.1.0/exe/rake
RUBYARCHDIR\=/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/extensions/amd64-freebsd-13/3.1/sass-embedded-1.62.1
RUBYLIBDIR\=/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/extensions/amd64-freebsd-13/3.1/sass-embedded-1.62.1
rake aborted!
NotImplementedError: sass_embedded for x86_64-freebsd13 not available at
https://github.com/sass/dart-sass-embedded/releases/tag/1.62.1
/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/sass-embedded-1.62.1/ext/sass/Rakefile:249:in
`default_sass_embedded'
/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/sass-embedded-1.62.1/ext/sass/Rakefile:21:in `block (2
levels) in <top (required)>'
/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/sass-embedded-1.62.1/ext/sass/Rakefile:21:in `fetch'
/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/sass-embedded-1.62.1/ext/sass/Rakefile:21:in `block in <top
(required)>'
/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/rake-13.1.0/exe/rake:27:in `<main>'
Tasks: TOP => default => install => embedded.rb => sass_embedded
(See full trace by running task with --trace)

rake failed, exit code 1

Gem files will remain installed in /usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/gems/sass-embedded-1.62.1 for
inspection.
Results logged to
/usr/home/cederom/.local/share/gem/ruby/3.1/ruby/3.1/extensions/amd64-freebsd-13/3.1/sass-embedded-1.62.1/gem_make.out

An error occurred while installing sass-embedded (1.62.1), and Bundler cannot continue.
Make sure that `gem install sass-embedded -v '1.62.1' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  jekyll-feed was resolved to 0.17.0, which depends on
    jekyll was resolved to 4.3.2, which depends on
      jekyll-sass-converter was resolved to 3.0.0, which depends on
        sass-embedded

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

Projects

Status

Todo

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions