Your message dated Sun, 18 Oct 2015 01:33:40 +0000
with message-id <e1zncqy-0002ob...@franck.debian.org>
and subject line Bug#799378: fixed in javatools 0.54
has caused the Debian Bug report #799378,
regarding [PATCH] jh_build: Increase allowed command line length for xargs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
799378: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799378
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: javatools
Version: 0.53

Tags: patch

Maximum length of command line that xargs (which jh_build uses to call javac) 
is allowed to produce
may be too low when there are hundreds of files in a source directory. Please 
consider increasing this
limit (see the attached patch). I've found 512000 B to be a reasonable value 
when building
org.eclipse.ui.workbench bundle (circa 1300 java sources).

Regards,

Jakub

From f83951bd33b405426c3f758c563cc50982acb398 Mon Sep 17 00:00:00 2001
From: Jakub Adam <jakub.a...@ktknet.cz>
Date: Fri, 18 Sep 2015 14:40:06 +0200
Subject: [PATCH 2/2] jh_build: Increase allowed command line length for xargs

Fixes build of source directories with many files.
---
 jh_build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/jh_build b/jh_build
index cd5834c..3ac2d7c 100755
--- a/jh_build
+++ b/jh_build
@@ -110,17 +110,17 @@ function dobuild()
 	if [ -n "$srcdirs" ]; then
 
 		if [ -z "`getarg q quiet`" ]; then
-			echo find "${srcdirs[@]}" -name '*.java' -and -type f -print0 '|' xargs -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
+			echo find "${srcdirs[@]}" -name '*.java' -and -type f -print0 '|' xargs -s 512000 -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
 		fi
 
-		find "${srcdirs[@]}" -name '*.java' -and -type f -print0 | xargs -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
+		find "${srcdirs[@]}" -name '*.java' -and -type f -print0 | xargs -s 512000 -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
 
 		if [ -n "`getarg J javadoc`" ] || [ -z "`getarg N no-javadoc`" ]; then
 			if [ -z "`getarg q quiet`" ]; then
-				echo find "${srcdirs[@]}" -name '*.java' -and -type f -print0 '|' xargs -0 $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS "${srcfiles[@]}"
+				echo find "${srcdirs[@]}" -name '*.java' -and -type f -print0 '|' xargs -s 512000 -0 $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS "${srcfiles[@]}"
 			fi
 
-			find "${srcdirs[@]}" -name '*.java' -and -type f -print0 | xargs -0 $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS "${srcfiles[@]}"
+			find "${srcdirs[@]}" -name '*.java' -and -type f -print0 | xargs -s 512000 -0 $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS "${srcfiles[@]}"
 		fi
 
 	elif [ -n "$srcfiles" ]; then
-- 
2.5.1

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: javatools
Source-Version: 0.54

We believe that the bug you reported is fixed in the latest version of
javatools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 799...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmanc...@debian.org> (supplier of updated javatools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 17 Oct 2015 14:26:47 -0700
Source: javatools
Binary: jarwrapper javahelper java-propose-classpath
Architecture: source all
Version: 0.54
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmanc...@debian.org>
Description:
 jarwrapper - Run executable Java .jar files
 java-propose-classpath - Helper script to suggest a classpath for jar files
 javahelper - Helper scripts for packaging Java programs
Closes: 799375 799378
Changes:
 javatools (0.54) unstable; urgency=medium
 .
   * Team upload.
   * Support spaces in source folder names.
     Thank you to Jakub Adam. (Closes: #799375)
   * Increase max command line length for xargs invocation of javac.
     Thank you to Jakub Adam. (Closes: #799378)
Checksums-Sha1:
 2e3ada020ff588c68edb8c8b17b84565472fc4b8 1922 javatools_0.54.dsc
 f0dbfe1b22a72c46f34d418dd442012ec2858f76 50484 javatools_0.54.tar.xz
 e7afe9be107ddc99aa5cbc7fc26323721e8a880b 17672 jarwrapper_0.54_all.deb
 b01eda1af3faa34f1a5fd6d03b8eca2299e4add5 14284 
java-propose-classpath_0.54_all.deb
 a2b15ae33bdf35c3fb199e8e594a8c2fdd1dd43c 84688 javahelper_0.54_all.deb
Checksums-Sha256:
 66fb2e318145217b80cb92e5a6a7ff65d423a49524cab5af67502c085c49c340 1922 
javatools_0.54.dsc
 cc5a4e2e2f1c305e03324e436c65cf48a1e9eb41989748b78e794dfb72f603fb 50484 
javatools_0.54.tar.xz
 55156d12454b7796a926eadf97ead4e61ad92c070d56530e622ce9e9c2c8011f 17672 
jarwrapper_0.54_all.deb
 751c89e92c4f93ad0528761afe7f9e72ad1088128355d739a0d20a9747fd548c 14284 
java-propose-classpath_0.54_all.deb
 1120fe451b40dbf6c2ba8b010c961751aae72cf116ce1b5f65af00a3ad3c8aeb 84688 
javahelper_0.54_all.deb
Files:
 e449f2c44bad29b33f7e7bf609f5609e 1922 java optional javatools_0.54.dsc
 057b60d55504b12c414a4dbfa7f9e9cb 50484 java optional javatools_0.54.tar.xz
 080cd2c41f400aea6473618f01489b1d 17672 java optional jarwrapper_0.54_all.deb
 f2d8e5062bfc05f987d91fccfc87bec8 14284 java optional 
java-propose-classpath_0.54_all.deb
 f4fc2b39bb704bb1329906b1e381d616 84688 java optional javahelper_0.54_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWIvNRAAoJECHSBYmXSz6Wr98P/jTAjadqQm5iUX9oimsIPcTJ
T3U8vjkMEdxPIByflPcbu7mlcxUYVkIka9MzRJyprbGPyuYl1qXk6buXVEZW4XXk
E/clJpyegwpxEU1CyJH+wpcUNR02LBXCfYrdwEOX+Io5LZ0ZKcNLTtzuMY3kBgc3
KfD66X0yEwXwKcUm7eUhDLQiaoYlEAWBSzQh1g6dSQCOLuW9NuZVbStNUDFGnwY7
cgnMvGbpplfNKWs6/b8uWeH1J74exBwM41NEoSe1mKjpaNtSxqbWaY8/P6GXmy8R
F5cKqfZFfBOsnx9YeXbGyPjn5VWCULyN0t0qLIhlCk7eVLNkgvR4SZ0IGlI2YrRT
p7HC7QHDR317iWTV33agO/RUgtmkwZO/eR+a4HKU3psr93S8EbliyZ1isOGEfTom
DFsZE9hVFIMJT+WMdmEUxULqgbQPDPbD8RZdV1gOeYa4k3IVoPZ6W5BLMlGHYhYx
CO+xzi+N8n6ZQJ/wWnWQ3IBN9a3axGvFlLIPpvueC3ZFZs1EN66OTxXoDKQjeGtw
SDvV5fYCkc9Wes/BhpKkV91vvXS860d/dMBNgeSJoNc4KlMHv5sLf11Q5NiFOHDq
aH/s50l5JKm+ROjNeAR67KO1o4386cj0mlV88x00rc+EptPu049sxc8xUpysGnB2
NHtjUqLnk/vZ02oMdUHy
=vLcf
-----END PGP SIGNATURE-----

--- End Message ---
__
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