[ https://issues.apache.org/jira/browse/SOLR-15520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376380#comment-17376380 ]
Uwe Schindler commented on SOLR-15520: -------------------------------------- Hi [~ctargett]: I know the problem. You commit of 2021-06-30 broken it. After restoring the gradle file from before that time it worked. Before your update of some gems, it used "sass" and not "sassc" (a ruby implementation of sass). So it did not use any native components. {noformat} > Task :solr:solr-ref-guide:jrubyPrepare WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/C:/Users/Uwe%20Schindler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.2.9.0/8e44ce7a1417966d89957bd766a148601e28828b/jruby-complete-9.2.9.0.jar) to method sun.nio.ch.NativeThread.signal(long) WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Successfully installed sass-listen-4.0.0 Ruby Sass has reached end-of-life and should no longer be used. * If you use Sass as a command-line tool, we recommend using Dart Sass, the new primary implementation: https://sass-lang.com/install * If you use Sass as a plug-in for a Ruby web framework, we recommend using the sassc gem: https://github.com/sass/sassc-ruby#readme * For more details, please refer to the Sass blog: https://sass-lang.com/blog/posts/7828841 Successfully installed sass-3.7.4 Successfully installed rouge-1.11.1 Successfully installed mercenary-0.3.6 Successfully installed kramdown-1.17.0 Successfully installed jekyll-watch-1.5.1 Successfully installed jekyll-sass-converter-1.5.2 Successfully installed concurrent-ruby-1.0.5-java Successfully installed slim-4.0.1 Successfully installed jekyll-3.5.2 10 gems installed {noformat} Could we maybe downgrade to use a version of rails that still uses deprecated "sass" instead of "sassc"? It looks like we should really avoid native dependencies, as those break easily. With this patch it works again for me: {code:groovy} solr/solr-ref-guide/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle index 67f19c67c19..46c6f0aba07 100644 --- a/solr/solr-ref-guide/build.gradle +++ b/solr/solr-ref-guide/build.gradle @@ -68,14 +68,14 @@ dependencies { depVer('org.apache.zookeeper:zookeeper') // jekyll dependencies - gems 'rubygems:jekyll:4.2.0' + gems 'rubygems:jekyll:3.5.2' gems 'rubygems:jekyll-asciidoc:3.0.0' // don't know why we have to explicitly add these deps but it doesn't resolve them // automatically. gems 'rubygems:tilt:2.0.10' - gems 'rubygems:slim:4.1.0' - gems 'rubygems:concurrent-ruby:1.1.9' + gems 'rubygems:slim:4.0.1' + gems 'rubygems:concurrent-ruby:1.0.5' } sourceSets { {code} Unfortunately, then jekyll complains because of some problem in alias-management.adoc: {noformat} > Task :solr:solr-ref-guide:buildSite WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/C:/Users/Uwe%20Schindler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.2.9.0/8e44ce7a1417966d89957bd766a148601e28828b/jruby-complete-9.2.9.0.jar) to method sun.nio.ch.NativeThread.signal(long) WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Configuration file: C:/Users/Uwe Schindler/Projects/lucene/solr/solr/solr-ref-guide/build/html-site-content/_config.yml Source: C:/Users/Uwe Schindler/Projects/lucene/solr/solr/solr-ref-guide/build/html-site-content Destination: ../html-site Incremental build: disabled. Enable with --incremental Generating... Conversion error: Jekyll::AsciiDoc::Converter encountered an error while converting 'alias-management.adoc': uninitialized constant Rouge::Formatters::HTMLInline jekyll 3.5.2 | Error: uninitialized constant Rouge::Formatters::HTMLInline {noformat} Maybe we should find the latest version of jekyll that uses sass instead of sassc? > Refguide no longer builds on Windows > ------------------------------------ > > Key: SOLR-15520 > URL: https://issues.apache.org/jira/browse/SOLR-15520 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Affects Versions: main (9.0) > Environment: Windows 10 > Reporter: Uwe Schindler > Priority: Blocker > Fix For: main (9.0) > > > When running the gradlew build on windows, there are 2 bugs: > a) when it installs "sassc-2.4.0", it seems to try to compile something, > which won't work on windows, because you won't have a compile available. > Neither "make": > {noformat} > > Task :solr:solr-ref-guide:jrubyPrepare > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by com.headius.backport9.modules.Modules > (file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.2.9.0/8e44ce7a1417966d89957bd766a148601e28828b/jruby-complete-9.2.9.0.jar) > to method sun.nio.ch.NativeThread.signal(long) > WARNING: Please consider reporting this to the maintainers of > com.headius.backport9.modules.Modules > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > Successfully installed rb-fsevent-0.11.0 > Successfully installed ffi-1.15.3-java > Successfully installed rb-inotify-0.10.1 > Successfully installed unicode-display_width-1.7.0 > Successfully installed forwardable-extended-2.6.0 > Successfully installed rexml-3.2.5 > Successfully installed listen-3.5.1 > Building native extensions. This could take a while... > ERROR: Error installing > C:\Users\jenkins\.gradle\caches\modules-2\files-2.1\rubygems\sassc\2.4.0\3032f0c1662efc8aa04636e99a6bdefd15549fc8\sassc-2.4.0.gem: > ERROR: Failed to build gem native extension. > current directory: > C:/Users/jenkins/workspace/Solr-main-Windows/solr/solr-ref-guide/build/.gems/gems/sassc-2.4.0/ext > java -cp > ;C:\Users\jenkins\.gradle\caches\modules-2\files-2.1\org.jruby\jruby-complete\9.2.9.0\8e44ce7a1417966d89957bd766a148601e28828b\jruby-complete-9.2.9.0.jar > org.jruby.Main -r ./siteconf20210706-5988-13j4z41.rb extconf.rb > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by com.headius.backport9.modules.Modules > (file:/C:/Users/jenkins/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.2.9.0/8e44ce7a1417966d89957bd766a148601e28828b/jruby-complete-9.2.9.0.jar) > to method sun.nio.ch.NativeThread.signal(long) > WARNING: Please consider reporting this to the maintainers of > com.headius.backport9.modules.Modules > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > creating Makefile > current directory: > C:/Users/jenkins/workspace/Solr-main-Windows/solr/solr-ref-guide/build/.gems/gems/sassc-2.4.0/ext > make "DESTDIR=" clean > 'make' is not recognized as an internal or external command, > operable program or batch file. > current directory: > C:/Users/jenkins/workspace/Solr-main-Windows/solr/solr-ref-guide/build/.gems/gems/sassc-2.4.0/ext > make "DESTDIR=" > 'make' is not recognized as an internal or external command, > operable program or batch file. > make failed, exit code 1 > {noformat} > b) if you have whitespace in your working dircetory path, it fails like this: > {noformat} > > Task :solr:solr-ref-guide:jrubyPrepare > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by com.headius.backport9.modules.Modules > (file:/C:/Users/Uwe%20Schindler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.2.9.0/8e44ce7a1417966d89957bd766a148601e28828b/jruby-complete-9.2.9.0.jar) > to method sun.nio.ch.NativeThread.signal(long) > WARNING: Please consider reporting this to the maintainers of > com.headius.backport9.modules.Modules > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > Successfully installed rb-fsevent-0.11.0 > Successfully installed ffi-1.15.3-java > Successfully installed rb-inotify-0.10.1 > Successfully installed unicode-display_width-1.7.0 > Successfully installed forwardable-extended-2.6.0 > Successfully installed rexml-3.2.5 > Successfully installed listen-3.5.1 > Building native extensions. This could take a while... > ERROR: Error installing C:\Users\Uwe > Schindler\.gradle\caches\modules-2\files-2.1\rubygems\sassc\2.4.0\3032f0c1662efc8aa04636e99a6bdefd15549fc8\sassc-2.4.0.gem: > ERROR: Failed to build gem native extension. > current directory: C:/Users/Uwe > Schindler/Projects/lucene/solr/solr/solr-ref-guide/build/.gems/gems/sassc-2.4.0/ext > java -cp ;C:\Users\Uwe > Schindler\.gradle\caches\modules-2\files-2.1\org.jruby\jruby-complete\9.2.9.0\8e44ce7a1417966d89957bd766a148601e28828b\jruby-complete-9.2.9.0.jar > org.jruby.Main -r ./siteconf20210706-24280-7dgu7s.rb extconf.rb > Fehler: Hauptklasse > Schindler\.gradle\caches\modules-2\files-2.1\org.jruby\jruby-complete\9.2.9.0\8e44ce7a1417966d89957bd766a148601e28828b\jruby-complete-9.2.9.0.jar > konnte nicht gefunden oder geladen werden > Ursache: java.lang.ClassNotFoundException: > Schindler\.gradle\caches\modules-2\files-2.1\org.jruby\jruby-complete\9.2.9.0\8e44ce7a1417966d89957bd766a148601e28828b\jruby-complete-9.2.9.0.jar > extconf failed, exit code 1 > Gem files will remain installed in C:/Users/Uwe > Schindler/Projects/lucene/solr/solr/solr-ref-guide/build/.gems/gems/sassc-2.4.0 > for inspection. > Results logged to C:/Users/Uwe > Schindler/Projects/lucene/solr/solr/solr-ref-guide/build/.gems/extensions/universal-java-11/2.5.0/sassc-2.4.0/gem_make.out > {noformat} > I set this as blocker, because it make Solr's build completely fail to do > precommit on my machine! -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org