Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create the gem on FreeBSD #228

Closed
mfechner opened this issue Aug 25, 2024 · 3 comments
Closed

Cannot create the gem on FreeBSD #228

mfechner opened this issue Aug 25, 2024 · 3 comments

Comments

@mfechner
Copy link

Hi,

I currently work on upgrading gitlab on FreeBSD and Gitlab switched with version 17.2 to sass-embedded.
But If I try to create the gem, I get the following error:

(cd /wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/sass-embedded-1.77.8; /usr/bin/env -i HOME=/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work  PWD="${PWD}"  __MAKE_CONF=/nonexistent OSVERSION=1401000 PATH=/usr/local/libexec/ccache:/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR=/tmp UNAME_r=14.1-RELEASE-p3 UNAME_v=FreeBSD\ 14.1-RELEASE-p3 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem install -l --no-update-sources --install-dir /wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2 --ignore-dependencies --bindir=/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/bin --no-document sass-embedded-1.77.8.gem -- )
Building native extensions. This could take a while...
ERROR:  Error installing sass-embedded-1.77.8.gem:
	ERROR: Failed to build gem native extension.

    current directory: /wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass
/usr/local/bin/ruby32 -rrubygems /usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/exe/rake RUBYARCHDIR\=/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/extensions/amd64-freebsd-14/3.2/sass-embedded-1.77.8 RUBYLIBDIR\=/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/extensions/amd64-freebsd-14/3.2/sass-embedded-1.77.8
gem install --force --install-dir /wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/ruby --no-document --ignore-dependencies --platform x86_64-freebsd-14 --version 1.77.8 sass-embedded
rake aborted!
NotImplementedError: dart-sass for x86_64-freebsd14 not available at https://github.com/sass/dart-sass/releases/tag/1.77.8 (NotImplementedError)
/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/Rakefile:290:in `default_dart_sass'
/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/Rakefile:27:in `block (2 levels) in <top (required)>'
/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/Rakefile:27:in `fetch'
/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/Rakefile:27:in `rescue in block in <top (required)>'
/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/Rakefile:21:in `block in <top (required)>'

Caused by:

/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/Rakefile:201:in `gem_install'
/wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/Rakefile:23:in `block in <top (required)>'
Tasks: TOP => default => install => cli.rb => dart-sass
(See full trace by running task with --trace)
rm -rf /wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8/ext/sass/ruby

rake failed, exit code 1

Gem files will remain installed in /wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/gems/sass-embedded-1.77.8 for inspection.
Results logged to /wrkdirs/usr/ports/textproc/rubygem-sass-embedded/work/stage/usr/local/lib/ruby/gems/3.2/extensions/amd64-freebsd-14/3.2/sass-embedded-1.77.8/gem_make.out
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/rubygem-sass-embedded

do you maybe have an idea, how to fix that?

@ntkme
Copy link
Member

ntkme commented Aug 25, 2024

See #227.

@mfechner
Copy link
Author

Thanks for your answer.

@ntkme
Copy link
Member

ntkme commented Aug 31, 2024

I'm closing this issue for now as we are completely blocked until at least one of the following two issues is resolved. Please follow the development of these issues instead:

@ntkme ntkme closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants