[ 
https://issues.apache.org/jira/browse/SOLR-15793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Eric Pugh resolved SOLR-15793.
------------------------------------
    Fix Version/s: main (9.0)
         Assignee: David Eric Pugh
       Resolution: Fixed

> ref-guide jrubyPrepare fails due to gems trying to compile native code
> ----------------------------------------------------------------------
>
>                 Key: SOLR-15793
>                 URL: https://issues.apache.org/jira/browse/SOLR-15793
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Assignee: David Eric Pugh
>            Priority: Major
>             Fix For: main (9.0)
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This popped up recently on both my local machine and jenkins...
> (snippet)
> {noformat}
> Building native extensions. This could take a while...
> ERROR:  Error installing 
> /home/hossman/.gradle/caches/modules-2/files-2.1/rubygems/http_parser.rb/0.8.0/8aa1092bbc1f10fd9622224babf2b2a98d4d4b22/http_parser.rb-0.8.0.gem:
>         ERROR: Failed to build gem native extension.
>     current directory: 
> /home/hossman/lucene/solr/solr/solr-ref-guide/build/.gems/gems/http_parser.rb-0.8.0/ext/ruby_http_parser
> /opt/jdk/11/jdk-11.0.4+11/bin/java -cp 
> :/home/hossman/.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 ./siteconf20211111-25245-1dvbe4a.rb extconf.rb
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.headius.backport9.modules.Modules 
> (file:/home/hossman/.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: 
> /home/hossman/lucene/solr/solr/solr-ref-guide/build/.gems/gems/http_parser.rb-0.8.0/ext/ruby_http_parser
> make "DESTDIR=" clean
> Makefile:225: *** multiple target patterns.  Stop.
> current directory: 
> /home/hossman/lucene/solr/solr/solr-ref-guide/build/.gems/gems/http_parser.rb-0.8.0/ext/ruby_http_parser
> make "DESTDIR="
> Makefile:225: *** multiple target patterns.  Stop.
> make failed, exit code 2
> Gem files will remain installed in 
> /home/hossman/lucene/solr/solr/solr-ref-guide/build/.gems/gems/http_parser.rb-0.8.0
>  for inspection.
> Results logged to 
> /home/hossman/lucene/solr/solr/solr-ref-guide/build/.gems/extensions/universal-java-11/2.5.0/http_parser.rb-0.8.0/gem_make.out
> {noformat}
> ...it's very similar to SOLR-15520, but isn't the result of any version 
> changes made to our gem dependencies -- it seems like some transient gem dep 
> changed, and now we're pulling in a gem that has native code which evidently 
> can't compile under JRuby 
> (I _think_ the Makefile error is becuase of "paths" that include the ':' 
> character (because JRuby is trying to point them at {{classpath:}} URIs)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to