Source: gcj-4.9-jdk
Version: 4.9.1-9
Severity: serious
Justification: Make vtk6 FTBFS on kfreebsd-*

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

The last upload of gcj-4.9-jdk breaks the FindJNI.cmake macro, which
worked correctly with release 4.9.1-8.

This problem was detected with a binNMU of vtk6 for the ongoing hdf5
transition. Because (gcj-4.9-jdk == default-jdk) on kfreebsd-* the
vtk6 rebuild fails [1] on these architectures. The previous build
against gcj-4.9-jdk 4.9.1.8 was successful [2].
[1] 
https://buildd.debian.org/status/fetch.php?pkg=vtk6&arch=kfreebsd-amd64&ver=6.1.0%2Bdfsg-8%2Bb1&stamp=1409189522
[2] 
https://buildd.debian.org/status/fetch.php?pkg=vtk6&arch=kfreebsd-amd64&ver=6.1.0%2Bdfsg-8&stamp=1403365206

I've reproduced the problem with a one line cmake file:
$ cat ../CMakeLists.txt
find_package(JNI)

Into a clean sid chroot from snapshot.d.o at 2014-08-22 [3]:
$ dpkg -l gcj-4.9-jdk
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version               
          Architecture                    Description
+++-=====================================================-===============================-===============================-===============================================================================================================
ii  gcj-4.9-jdk                                           4.9.1-8               
          i386                            GCJ and Classpath development tools 
for Java(TM)
$ JAVA_HOME=/usr/lib/jvm/java-gcj-4.9 cmake -Wno-dev ..
- -- The C compiler identification is GNU 4.9.1
- -- The CXX compiler identification is GNU 4.9.1
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Found JNI: /usr/lib/jvm/java-gcj-4.9/jre/lib/i386/libjawt.so  
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/pini/java/tmp

[3] http://snapshot.debian.org/archive/debian/20140822T120000Z/

In the very same chroot, after upgrading to gcj-4.9-jdk 4.9.1-9:
$ dpkg -l gcj-4.9-jdk
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version               
          Architecture                    Description
+++-=====================================================-===============================-===============================-===============================================================================================================
ii  gcj-4.9-jdk                                           4.9.1-9               
          i386                            GCJ and Classpath development tools 
for Java(TM)
$ JAVA_HOME=/usr/lib/jvm/java-gcj-4.9 cmake -Wno-dev ..
- -- The C compiler identification is GNU 4.9.1
- -- The CXX compiler identification is GNU 4.9.1
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 
JAVA_AWT_INCLUDE_PATH) 
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/pini/java/tmp

Thanks in advance,

_g.

- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJT/zDCAAoJEO/obGx//s+DttQIAJEgcl+IQZRiIJpgt4S1Wxno
BEvy8+XLRE2SYi0GJUnsnb9i38iUcjaTbIcitD3hPjE3QtK8lIYa2RQULoxwqnKl
IL/9ZTXsyENxUeZGFmIRwuh7Eg0GdyY5iyvOXeB83AfPxoO+iUbBzHbgTSUfWI91
Ap9GNXD5G+6j0DIbkAIGrkriZgRU7DPmf1COUx29lgkFgTMnIdvcFq7Rd06zOdZ3
e2I7kEKpgfMuXcTwxtgJyHM+SfgeE0FnTdHUFLKcM1ymuej0WCbN3CJl9o30VoH2
vGEkERGnO3YFMK3AvYcHyvodcGTrnD7n3hDPULS4juvc0GlJv6+bxZS+FgbDeTM=
=WI+N
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to