Bug#743131: FTBFS if default-jdk is gcj-jdk

2014-03-30 Thread Steven Chamberlain
Package: glpk-java
Version: 1.0.32-1
Severity: serious
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

glpk-java FTBFS on kfreebsd-* because those arches currently have
gcj-jdk as their default-jdk

Maybe glpk-java should have a more specific build-dependency on
openjdk-7-jdk instead of default-jdk.  Then it builds fine.

Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#743131: FTBFS if default-jdk is gcj-jdk

2014-03-30 Thread Steven Chamberlain
On 30/03/14 19:53, Steven Chamberlain wrote:
> Maybe glpk-java should have a more specific build-dependency on
> openjdk-7-jdk instead of default-jdk.  Then it builds fine.

This is apparently not allowed by Debian Java Policy, according to
https://lists.debian.org/debian-bsd/2014/03/msg00129.html

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#743131: FTBFS if default-jdk is gcj-jdk

2014-03-31 Thread Sébastien Villemot
Le dimanche 30 mars 2014 à 22:08 +0100, Steven Chamberlain a écrit :
> On 30/03/14 19:53, Steven Chamberlain wrote:
> > Maybe glpk-java should have a more specific build-dependency on
> > openjdk-7-jdk instead of default-jdk.  Then it builds fine.
> 
> This is apparently not allowed by Debian Java Policy, according to
> https://lists.debian.org/debian-bsd/2014/03/msg00129.html

It seems confirmed by:

https://www.debian.org/doc/packaging-manuals/java-policy/x84.html

Therefore, would that be an acceptable course of action for you if I
restrict the architecture set of glpk-java to those were the default JDK
is openjdk, and then downgrade the present bug to severity important?

-- 
 .''`.Sébastien Villemot
: :' :Debian Developer
`. `' http://www.dynare.org/sebastien
  `-  GPG Key: 4096R/381A7594



signature.asc
Description: This is a digitally signed message part
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Bug#743131: FTBFS if default-jdk is gcj-jdk

2014-03-31 Thread Steven Chamberlain
tags 743131 + patch jessie sid
clone 743131 -1
reassign -1 src:eclipse-cdt
found -1 eclipse-cdt/8.3.0-1
thanks

Hi,

On 31/03/14 17:49, Sébastien Villemot wrote:
> Therefore, would that be an acceptable course of action for you if I
> restrict the architecture set of glpk-java to those were the default JDK
> is openjdk, and then downgrade the present bug to severity important?

A better way seems to be:
Build-Depends: default-jdk (>= 2:1.6)

which is satisfied only by arches having openjdk-6 or openjdk-7 as
default currently.

That way, if kfreebsd (or any other architecture) switches to openjdk as
default in the future, your package can be built again without changes.
 (Although - I'm hoping kfreebsd, along with all release architectures,
might be able to use openjdk-7 for jessie, greatly simplifying things
and making this change unnecessary).

In the meantime, the outdated kfreebsd binaries could be removed by
ftpmaster if you'd like the package to migrate.

Thanks,
Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org



signature.asc
Description: OpenPGP digital signature
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Bug#743131: FTBFS if default-jdk is gcj-jdk

2014-03-31 Thread Matthias Klose

Am 31.03.2014 19:50, schrieb Steven Chamberlain:

tags 743131 + patch jessie sid
clone 743131 -1
reassign -1 src:eclipse-cdt
found -1 eclipse-cdt/8.3.0-1
thanks

Hi,

On 31/03/14 17:49, Sébastien Villemot wrote:

Therefore, would that be an acceptable course of action for you if I
restrict the architecture set of glpk-java to those were the default JDK
is openjdk, and then downgrade the present bug to severity important?


A better way seems to be:
Build-Depends: default-jdk (>= 2:1.6)

which is satisfied only by arches having openjdk-6 or openjdk-7 as
default currently.

That way, if kfreebsd (or any other architecture) switches to openjdk as
default in the future, your package can be built again without changes.
  (Although - I'm hoping kfreebsd, along with all release architectures,
might be able to use openjdk-7 for jessie, greatly simplifying things
and making this change unnecessary).

In the meantime, the outdated kfreebsd binaries could be removed by
ftpmaster if you'd like the package to migrate.


Steven, the kfreebsd port was backported from OpenJDK 8 by Damien. In the past 
we had to wait for several months for updated kfreebsd patches to get the 
openjdk-7 built again on these architectures, despite pinging the kfreebsd 
porters.  How did that change?  How can you make sure that this won't repeat 
again?  I'm not in favour defaulting that again to openjdk-7 or openjdk-6.


  Matthias

--
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Processed: Re: Bug#743131: FTBFS if default-jdk is gcj-jdk

2014-03-31 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 743131 + patch jessie sid
Bug #743131 [glpk-java] FTBFS if default-jdk is gcj-jdk
Added tag(s) sid, jessie, and patch.
> clone 743131 -1
Bug #743131 [glpk-java] FTBFS if default-jdk is gcj-jdk
Bug 743131 cloned as bug 743234
> reassign -1 src:eclipse-cdt
Bug #743234 [glpk-java] FTBFS if default-jdk is gcj-jdk
Bug reassigned from package 'glpk-java' to 'src:eclipse-cdt'.
No longer marked as found in versions 1.0.32-1.
Ignoring request to alter fixed versions of bug #743234 to the same values 
previously set
> found -1 eclipse-cdt/8.3.0-1
Bug #743234 [src:eclipse-cdt] FTBFS if default-jdk is gcj-jdk
Marked as found in versions eclipse-cdt/8.3.0-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
743131: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743131
743234: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743234
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers