Source: openjdk-6
Version: 6b27-1.12.5-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
When building openjdk-6 on many architectures, the documentation package
ends up empty with no error indicating you shouldn't have tried.
It seems the problem is that debian/rules contians:
# assume we don't build binary indep packages on these architectures
ifeq ($(with_docs),yes)
ifeq (,$(filter $(DEB_HOST_ARCH), amd64 i386 lpia))
CONFIGURE_ARGS += --disable-docs
endif
else
CONFIGURE_ARGS += --disable-docs
endif
This means you you do dpkg-buildpackage -b on say a powerpc, you end up
with all the .deb files generated, but openjdk-6-doc doesn't actually
contain anything useful and hence causes other things to fail to build.
There has got to be a better way to disable building docs when only
binary-arch is being built, and to let everyone actually be able to
generate the all packages if they want to.
I know Debian's buildd's don't generate the all packages, but I don't
think that excuses a package that builds incorrectly just because it
isn't on x86/amd64 (or whatever lpia is. That one is new to me).
I think it should be changed to:
ifneq ($(with_docs),yes)
CONFIGURE_ARGS += --disable-docs
endif
It is not the package's job to second guess the user, so the assumption
is wrong.
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
powerpc
Kernel: Linux 3.8-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]