[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-20 Thread Tiago Stürmer Daitx
> I have verified the fix with the latest stable jenkins release. > It was in fact changed and local libjni/jna is no longer required. Great, thanks for the feedback. > Since the bug is fixed the only remaining question is if the handing > of the system.so approach is a good idea and I think

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-20 Thread Tiago Stürmer Daitx
** Changed in: libjna-java (Ubuntu Xenial) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662813 Title: Libjna-jni uses wrong path on package installation on s390x To

Re: [Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-19 Thread Tiago Stürmer Daitx
> It seems that this issue was fixed on 1.136 (https://jenkins.io/changelog/) > The s390x libs haven't been included in the shipped library prior to, a > system install was required at that time. Right, that would explain why it would not work prior to that. > Anyhow, the locally installed

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-19 Thread Frederik Hartmann
I have verified the fix with the latest stable jenkins release. It was in fact changed and local libjni/jna is no longer required. Since the bug is fixed the only remaining question is if the handing of the system.so approach is a good idea and I think that this might not be the best place for

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-19 Thread Dimitri John Ledkov
I installed jenkins using https://jenkins.io/doc/book/installing /#debian-ubuntu on an s390x Ubuntu cosmic, using openjdk-8-jre-headless, without libjna-java or libjna-jni installed on the system as neither are required. -- You received this bug notification because you are a member of Ubuntu

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-19 Thread Frederik Hartmann
Tiago, thanks for having a look! It seems that this issue was fixed on 1.136 (https://jenkins.io/changelog/) The s390x libs haven't been included in the shipped library prior to, a system install was required at that time. Anyhow, the locally installed libraries should be available and in the

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-19 Thread Dimitri John Ledkov
Is this on Cosmic? Bionic? or Xenial? I see that system.so is used everywhere by default, on things that do intentionally use system jna. However, on xenial, there is one patch missing to ignore the override properties. Jenkins as shipped in the 3rd party repo does not use system deb:libjna-

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-19 Thread Dimitri John Ledkov
** Changed in: ubuntu-z-systems Status: Incomplete => Invalid ** Changed in: libjna-java (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662813

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-19 Thread Tiago Stürmer Daitx
I installed jenkins 2.138.1 from http://pkg.jenkins.io/debian-stable and while I was unable to reproduce the issue. I looked at its structure and found out that they package their own jna.jar with its own libjnidispatch.so libraries inside. Their jna jar file is located at

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-13 Thread Francis Ginther
** Tags added: id-5b9a5250c1b52316ece4c9fe -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662813 Title: Libjna-jni uses wrong path on package installation on s390x To manage notifications about

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-05 Thread Frederik Hartmann
I'm trying to run Jenkins installed from the official Jenkins repository. SO far no Jenkins installation has worked out of the box and my mention that I can install a fresh system was an offering to you to replay the installation and make sure that no changes remain and I have the full

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-09-05 Thread Tiago Stürmer Daitx
> Regarding issue 2: I'm able to set up a fresh system > with Jenkins on s390x. > What information would you need to be able to > reproduce this issue? I need to know what java application you are trying to run, where was it fetched from, how it was installed, and how it is being run. For each

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-08-29 Thread Francis Ginther
** Tags added: id-5b854c2b3185125618ddd3f8 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662813 Title: Libjna-jni uses wrong path on package installation on s390x To manage notifications about

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-08-28 Thread Frederik Hartmann
No problem! Issue 1 could be the result of a band-aid fix to get the system working at all, so let's keep that back for the moment. Regarding issue 2: I'm able to set up a fresh system with Jenkins on s390x. What information would you need to be able to reproduce this issue? -- You received

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-08-28 Thread Tiago Stürmer Daitx
Your last comment indicated 2 different errors: 1) The link to libjnidispatch.so Is the aforementioned link to libjnidispatch.so created by a supported Ubuntu package? If so, which package? You should run "dpkg -S " to check that. This link this not seem to be setup by libjna, so I wonder how

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-18 Thread Frank Heimes
** Changed in: ubuntu-z-systems Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662813 Title: Libjna-jni uses wrong path on package installation on s390x To

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-18 Thread Frederik Hartmann
The only "duplicate" link there was, was the link I mentioned before. If the link is removed the error message is removed, however the library becomes unusable to java applications. Failed to list up hs_err_pid files java.lang.UnsatisfiedLinkError: Native library

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-17 Thread Tiago Stürmer Daitx
By default the package install libjnidispatch under /usr/lib/s390x- linux-gnu/jni/libjnidispatch.system.so and as far as I can see there's no reason to have a file/link in /usr/lib/s390x-linux- gnu/libjnidispatch.so. Still, I was able to reproduce the error which indicates that you might have a

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-17 Thread Tiago Stürmer Daitx
Before removing the "dangling" file you might want to check if it is by any change associated with a package by calling "dpkg -S ". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662813 Title:

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-17 Thread Frederik Hartmann
I have added my current apt upgrade log here to give you a broader context. The status of my system is added as well. The issue is here: /sbin/ldconfig.real: Can't link /usr/lib/s390x-linux-gnu//build/libjna- java-pvBsvy/libjna-java-4.5.1/build/native-linux- s390x/libjnidispatch.system.so to

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-17 Thread Frank Heimes
I ran a little JNI sample program on 16.04 and 18.04 and it worked for me, so obviously the path is fine on my systems(s) - see attachment for details. Hence we need more details from you - especially the exact steps/commands that let's us reproduce the error situation. ** Attachment added:

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-17 Thread Frederik Hartmann
Sure! 1. the specific steps to reproduce this bug Install package 2. which Ubuntu versions that are affected I was able to reproduce the bug on the following versions: 16.04 on s390 18.04 on s390 Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-16 Thread Tiago Stürmer Daitx
Could you please add: 1. the specific steps to reproduce this bug 2. which Ubuntu versions that are affected for now I'm going to set this as incomplete. ** Changed in: libjna-java (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-16 Thread Frank Heimes
** Changed in: ubuntu-z-systems Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662813 Title: Libjna-jni uses wrong path on package installation on s390x To manage

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-16 Thread Frank Heimes
** Also affects: ubuntu-z-systems Importance: Undecided Status: New ** Changed in: ubuntu-z-systems Importance: Undecided => High ** Changed in: ubuntu-z-systems Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) ** Tags added: universe -- You

[Bug 1662813] Re: Libjna-jni uses wrong path on package installation on s390x

2018-07-16 Thread bugproxy
--- Comment From heinz-werner_se...@de.ibm.com 2018-07-16 04:28 EDT--- @Canonical, can someone give an update on that s390 specifix ticket. Many thanks in advance... ** Tags added: architecture-s39064 bugnameltc-169747 severity-high targetmilestone-inin1804 -- You received this bug