Seems like the newest ffi (1.12.2) is causing some problems, downgrading to
1.12.1 seems to work.
so adding the following lines to dspace/modules/xmlui-mirage2/pom.xml
<dependency>
<groupId>rubygems</groupId>
<artifactId>ffi</artifactId>
<version>1.12.1</version>
<type>gem</type>
</dependency>
- Anis
On Monday, February 3, 2020 at 8:41:47 AM UTC, Anis wrote:
>
> Hi, I'm trying to compile DSpace 5 with the following command mvn package
> -Dmirage2.on=true
>
> The error I get is the following,
> ERROR: Error installing
> ../.m2/repository/rubygems/ffi/1.12.2/ffi-1.12.2.gem:
> ERROR: Failed to build gem native extension.
>
> current directory:
> /source-dspace/dspace/modules/xmlui-mirage2/target/rubygems/gems/ffi-1.12.2/ext/ffi_c
> /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -cp
> :/source-dspace/dspace/modules/xmlui-mirage2/target/test-classes:/source-dspace/dspace/modules/xmlui-mirage2/target/classes
>
> org.jruby.Main -r ./siteconf20200203-5637-783ftr.rb extconf.rb
> Error: Could not find or load main class org.jruby.Main
>
> extconf failed, exit code 1
>
> this is crippling our deployment right now, so I'd be grateful of any help.
>
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/b1b0a682-8118-4827-9f47-dc3ac518fdc0%40googlegroups.com.