Skip to content

JRuby 9.2.17.0 fails to install sassc on Windows #6648

@eregon

Description

@eregon

On JRuby 9.2.16.0 it worked fine, so this sounds like a regression.

Reproduction:

gem install sassc -N

Expected and on 9.2.16.0: https://github.com/ruby/setup-ruby/runs/2212961109#step:20:9

Successfully installed ffi-1.15.0-java
Building native extensions. This could take a while...
Successfully installed sassc-2.4.0
2 gems installed

Actual on 9.2.17.0: https://github.com/ruby/setup-ruby/pull/165/checks?check_run_id=2227889407#step:20:10

Successfully installed ffi-1.15.0-java
Building native extensions. This could take a while...
ERROR:  Error installing sassc:
	ERROR: Failed to build gem native extension.

    current directory: D:/jruby-9.2.17.0/lib/ruby/gems/shared/gems/sassc-2.4.0/ext
D:/jruby-9.2.17.0/bin/jruby.exe -I D:/jruby-9.2.17.0/lib/ruby/stdlib -r ./siteconf20210330-2584-1pgoh9i.rb extconf.rb
extconf failedNo such file or directory - {"SOURCE_DATE_EPOCH"=>"1617110021"}

Gem files will remain installed in D:/jruby-9.2.17.0/lib/ruby/gems/shared/gems/sassc-2.4.0 for inspection.
Results logged to D:/jruby-9.2.17.0/lib/ruby/gems/shared/extensions/universal-java-1.8/2.5.0/sassc-2.4.0/gem_make.out
Error: Process completed with exit code 1.

From ruby/setup-ruby#165 (comment)

Self-reminder: revert ruby/setup-ruby@ad65390 when this is fixed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions