Bug#281766: java-package: Please add missing dependency: gcc

Jeroen van Wolffelaar Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, 281766@bugs.debian.org
Mon Jan 3 19:24:04 2005


severity 281766 minor
retitle 281766 missing gcc makes dpkg-architecture print spurious warnings
tags 281766 confirmed
thanks

On Wed, Nov 17, 2004 at 07:30:26PM +0100, Alessandro Polverini wrote:
> Hello,
> I tried to execute make-jpkg on sun jdk 1.5.0 and got the following
> error:
> 
> sh: line 1: gcc: command not found
> dpkg-architecture: warning: Couldn't determine gcc system type, falling
> back to default (native compilation)

This is not an error, but a warning, and it doesn't hurt. It might be
that this break cross-compilation, but cross-building java packages
makes no real sense anyway.
 
> I suppose gcc should be added to the dependencies.

This is IMHO a way too heavy solution, better is to make
dpkg-architecture shut up about it, I think.

--Jeroen

-- 
Jeroen van Wolffelaar
jeroen@wolffelaar.nl
http://jeroen.A-Eskwadraat.nl