jnr-ffi fails LoadLibraryTest pp64el on ubuntu 14.

Bug #1434485 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jnr-ffi (Ubuntu)
New
Undecided
Unassigned

Bug Description

== Comment: #0 - Ralph E. Bellofatto <email address hidden> - 2015-03-15 15:58:44 ==
We are attempt to get jnr-ffi to work on the openPower ppc64el architecture and. After adding the TypeAlias.java file and adding PPC64EL to the Platform.java file we were able to get a clean compile and the tests starting up with out complaining it can't find the TypeAlias file.

However, when we attempt a maven test, they ALL fail. Tracing this, we found that all tests fail during the LoadLibrary section, so we isolated just this test, as all tests do this as their first step.

when we execute we see:

************************************************
[tulgpu002 jnr-ffi] $ mvn -Dtest=jnr.ffi.LibraryLoaderTest test -e -X | tee test.log
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running jnr.ffi.LibraryLoaderTest
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi7887071048754543889.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Tests run: 7, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.392 sec <<< FAILURE!

Results :

Tests in error:
  mapperWithFuctionMapper(jnr.ffi.LibraryLoaderTest)
  optionWithFunctionMapper(jnr.ffi.LibraryLoaderTest)
  mapMethod(jnr.ffi.LibraryLoaderTest)
  functionMappersCombine(jnr.ffi.LibraryLoaderTest)

Tests run: 7, Failures: 0, Errors: 4, Skipped: 0

************************************

I have posted additional informatoion directly with the git hub project for jnr-ffi

https://github.com/jnr/jnr-ffi/issues/33

I have also created a fork and branch of this project so that these problems can be easily reproduced.

https://github.com/ralphbellofatto/jnr-ffi/network

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-122791 severity-critical targetmilestone-inin---
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1434485/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → jnr-ffi (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.