Package: openjdk-6
Severity: serious
Tags: patch
Justification: no longer builds from source

Per 
https://buildd.debian.org/fetch.cgi?pkg=openjdk-6;ver=6b16-1.6~pre2-1;arch=amd64;stamp=1251511029
building in openjdk-ecj bombs out because debian/rules now sets GCC_SUFFIX
to -4.4 but still build-depends on g++-4.3 because the corresponding
logic is out of sync:

| make[2]: Entering directory 
`/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj'
| linux amd64 1.6.0_0 build started: 09-08-29 01:56
| /bin/mkdir -p ./build/linux-amd64/j2sdk-image
| /bin/mkdir -p 
/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj/build/linux-amd64/j2sdk-image
| /bin/mkdir -p ./build/linux-amd64-fastdebug/j2sdk-image
| /bin/mkdir -p 
/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj/build/linux-amd64-fastdebug/j2sdk-image
| /bin/sh: gcc-4.4: command not found
| /bin/sh: gcc-4.4: command not found
| /bin/sh: gcc-4.4: command not found
| /bin/sh: /NOT-SET/devtools/share/findbugs/latest/bin/findbugs: No such file 
or directory
| make[3]: Entering directory 
`/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj/jdk/make'
| 
/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj/jdk/make/common/shared/Sanity-Settings.gmk:111:
 WARNING: CC_VER should not be empty [Sanity-Settings.gmk]
| 
/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj/jdk/make/common/shared/Sanity-Settings.gmk:125:
 WARNING: FINDBUGS_VER should not be empty [Sanity-Settings.gmk]
| /bin/sh: gcc-4.4: command not found
| make[3]: *** 
[/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj/build/linux-amd64/tmp/alsaversioncheck]
 Error 127
| make[3]: Leaving directory 
`/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj/jdk/make'
| make[2]: *** [jdk-sanity] Error 2
| make[2]: Leaving directory 
`/build/buildd/openjdk-6-6b16-1.6~pre2/build/openjdk-ecj'
| make[1]: *** [stamps/icedtea-ecj.stamp] Error 2
| make[1]: Leaving directory `/build/buildd/openjdk-6-6b16-1.6~pre2/build'
| make: *** [stamps/build] Error 1

The following simple patch resyncs the logic:

--- debian/rules~       2009-08-31 16:34:21.000000000 -0400
+++ debian/rules        2009-08-31 16:35:32.000000000 -0400
@@ -354,7 +354,7 @@
 
 ifneq (,$(filter $(distrel),hardy gutsy feisty edgy dapper))
   bd_gcc = g++-4.2 [amd64 powerpc sparc], g++-4.1 [i386 lpia],
-else ifneq (,$(filter $(distrel),lenny intrepid jaunty squeeze sid))
+else ifneq (,$(filter $(distrel),lenny intrepid jaunty))
   bd_gcc = g++-4.3,
 else
   bd_gcc = g++-4.4 (>= 4.4.1),

Could you please apply it and update debian/control?

Thanks!

(BTW, I suspect the gcj-related build dependencies could also stand to
be tighter, as I see no obvious guarantee that they will actually pull
in gcj-4.4-jdk as opposed to using older packages that buildd chroots
happen to have installed.  That's less critical, though.)

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

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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

Reply via email to