Package: java-package
Version: 0.59
Severity: wishlist
Tags: patch

Hi,

during the creation of java package provided by java-package software on
a pretty new Debian 8 box, I encountered the following error: 

dpkg-buildpackage: source changed by Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
sh: 1: gcc: not found
dpkg-architecture: warning: couldn't determine gcc system type, falling
back to default (native compilation)

solved with 'apt-get install gcc' and

...
dpkg-checkbuilddeps: Unmet build dependencies: build-essential:native
...

solved with 'apt-get install build-essential'
What I'd like to suggest is to add those packages as dependencies
Attached you can find a patch - feel free to add at your convenience.

Thank you.
Fabrizio 


From cde9dc5b569665dd4b55db0eb4e3c13a0bd2c5f4 Mon Sep 17 00:00:00 2001
From: Fabrizio Regalli <fab...@fabreg.it>
Date: Fri, 5 Jun 2015 11:47:59 +0200
Subject: [PATCH] Added gcc and build-essential as dependencies

---
 debian/control | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index ad4dcbe..ad9dbc9 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,8 @@ Depends: debhelper (>= 9),
          libxtst6,
          libxxf86vm1,
          unzip,
+	 gcc,
+	 build-essential,
          ${misc:Depends}
 Recommends: gcc
 Suggests: openjdk-7-jre
-- 
2.1.4

Attachment: signature.asc
Description: This is a digitally signed message part

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to