Your message dated Sun, 18 Oct 2015 01:33:40 +0000 with message-id <e1zncqy-0002ov...@franck.debian.org> and subject line Bug#799375: fixed in javatools 0.54 has caused the Debian Bug report #799375, regarding [PATCH] jh_build: Fix build of sources with spaces in path 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.) -- 799375: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799375 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: javatools Version: 0.53 Tags: patch jh_build fails when a source directory passed as an argument contains spaces. For example: $ jh_build org.eclipse.ui.workbench_3.107.0.qualifier.jar "bundles/org.eclipse.ui.workbench/Eclipse UI Editor Support" produces this output: find bundles/org.eclipse.ui.workbench/Eclipse UI Editor Support -name *.java -and -type f -print0 | xargs -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.org.eclipse.ui.workbench_3.107.0.qualifier -d debian/_jh_build.org.eclipse.ui.workbench_3.107.0.qualifier -source 1.5 -target 1.5 find: `bundles/org.eclipse.ui.workbench/Eclipse': No such file or directory find: `UI': No such file or directory find: `Editor': No such file or directory find: `Support': No such file or directory javac: no source files Usage: javac <options> <source files> use -help for a list of possible options Please consider including the attached patch which should fix this issue. Regards, JakubFrom cfdc0aa86f6847ca99ed51b4a2af3c112e366765 Mon Sep 17 00:00:00 2001 From: Jakub Adam <jakub.a...@ktknet.cz> Date: Fri, 18 Sep 2015 14:36:02 +0200 Subject: [PATCH 1/2] jh_build: Fix build of sources with spaces in path --- jh_build | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/jh_build b/jh_build index 6e99dee..cd5834c 100755 --- a/jh_build +++ b/jh_build @@ -73,13 +73,13 @@ function dobuild() jarfile="$1" shift ext="`basename "$jarfile" .jar`" - srcdirs= - srcfiles= + srcdirs=() + srcfiles=() while [ -n "$1" ]; do if [ -f "$1" ]; then - srcfiles="$srcfiles $1" + srcfiles+=("$1") elif [ -d "$1" ]; then - srcdirs="$srcdirs $1" + srcdirs+=("$1") else echo "Ignoring $1 because it does not exist" fi @@ -110,32 +110,32 @@ 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 -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 -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 -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 -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 if [ -z "`getarg q quiet`" ]; then - echo $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles + echo $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}" fi - $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.$ext $JH_JAVAC_OPTS $srcfiles + $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 $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS $srcfiles + echo $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS "${srcfiles[@]}" fi - $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS $srcfiles + $JAVADOC $CLASSPATHDOCS -classpath $CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet $JH_JAVADOC_OPTS "${srcfiles[@]}" fi else -- 2.5.1signature.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.