[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#808141: sponsorship-requests: Dear mentors, I am looking for a sponsor for my package eclipse-titan.



On Wed, Jan 13, 2016 at 08:56:55AM +0100, Pilisi Gergely wrote:
> I'm trying to reproduce this:
> 
> "About ditching hardening-wrapped in favour of just using what
> dpkg-buildflags do:
> whatever I use the .dsc you provided, just removed hardening-wrapper or
> enable the hardening build flags using DEB_BUILD_MAINT_OPTIONS, the
> build fails with
> 
> In file included from jnimw.cc:8:0:
> jnimw.h:14:17: fatal error: jni.h: No such file or directory
> compilation terminated.
> ../Makefile.genrules:87: recipe for target 'jnimw.o' failed "
> 
> This is a typical error message if the compiler can't find a valid JDK on
> your system. Do you have /usr/lib/jvm/default-java on your system?
> It's a symlink to the default jdk: default-java -> java-1.7.0-openjdk-amd64
> I think if openjdk-7-jdk is installed then then the default-java symlink
> must be there.

it's not.  Inside the chroot where I build the package:
root@chase:~# ls -l /usr/lib/jvm/
total 0
lrwxrwxrwx 1 root root  20 Dec 12 23:44 java-1.7.0-openjdk-amd64 -> java-7-openjdk-amd64
drwxr-xr-x 7 root root 220 Jan 13 11:14 java-7-openjdk-amd64

now, if you need such things, you should build-depend on something that
provides that file.

mattia@chase ~ % apt-file search /usr/lib/jvm/default-java
default-jre-headless: /usr/lib/jvm/default-java

Indeed adding it to build-deps the package builds.
Make sure to do your test builds inside a clean chroot.

BTW, I don't see an update package on mentors (if you meant to upload
one).  I can't do much if I can't see what you've done till now :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: