Your message dated Tue, 26 Feb 2019 05:34:15 +0000
with message-id <[email protected]>
and subject line Bug#919959: fixed in isorelax 20041111-12
has caused the Debian Bug report #919959,
regarding isorelax: Dangerous use of "find" in debian/rules
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 [email protected]
immediately.)


-- 
919959: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919959
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:isorelax
Version: 20041111-11
Tags: patch

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with maven_repo_helper
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
javac -classpath /usr/share/java/ant.jar -source 1.8 -target 1.8 `find jp org 
-name \*.java`
warning: [options] bootstrap class path not set in conjunction with -source 8
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
javadoc -locale en -encoding UTF-8 -notimestamp -classpath 
/usr/share/java/ant.jar -link /usr/share/doc/default-jdk-doc/api -link 
/usr/share/doc/ant/api/ -source 1.8 -d api `find . -name \*.java`
Loading source file ./jp/gr/xml/relax/sax/RELAXEntityResolver.java...
Loading source file ./jp/gr/xml/relax/sax/LexicalHandlerBase.java...
Loading source file ./jp/gr/xml/relax/sax/DeclHandlerBase.java...
Loading source file ./jp/gr/xml/relax/sax/DTDSkipper.java...
Loading source file ./jp/gr/xml/relax/sax/DOMSAXProducer.java...
Loading source file ./jp/gr/xml/relax/sax/DOMSAXProducerVisitor.java...
Loading source file ./jp/gr/xml/relax/sax/SimpleEntityResolver.java...
Loading source file ./jp/gr/xml/relax/xml/UXML.java...
Loading source file ./jp/gr/xml/relax/dom/IDOMVisitor.java...
Loading source file ./jp/gr/xml/relax/dom/DOMVisitorException.java...
Loading source file ./jp/gr/xml/relax/dom/UDOM.java...
Loading source file ./jp/gr/xml/relax/dom/XMLMaker.java...
Loading source file ./jp/gr/xml/relax/dom/UDOMVisitor.java...
Loading source file ./org/iso_relax/catalog/RELAXCatalog.java...
Loading source file ./org/iso_relax/ant/JARVTask.java...
Loading source file ./org/iso_relax/ant/ErrorHandlerImpl.java...
Loading source file ./org/iso_relax/dispatcher/IslandSchemaReader.java...
Loading source file ./org/iso_relax/dispatcher/AttributesDecl.java...
Loading source file ./org/iso_relax/dispatcher/Dispatcher.java...
Loading source file ./org/iso_relax/dispatcher/IslandSchema.java...
Loading source file ./org/iso_relax/dispatcher/impl/IgnoreVerifier.java...
Loading source file 
./org/iso_relax/dispatcher/impl/AbstractSchemaProviderImpl.java...
Loading source file ./org/iso_relax/dispatcher/impl/DispatcherImpl.java...
Loading source file ./org/iso_relax/dispatcher/impl/IgnoredSchema.java...
Loading source file ./org/iso_relax/dispatcher/IslandVerifier.java...
Loading source file ./org/iso_relax/dispatcher/ElementDecl.java...
Loading source file ./org/iso_relax/dispatcher/SchemaProvider.java...
Loading source file ./org/iso_relax/dispatcher/AttributesVerifier.java...
Loading source file ./org/iso_relax/jaxp/ValidatingSAXParser.java...
Loading source file ./org/iso_relax/jaxp/ValidatingDocumentBuilder.java...
Loading source file ./org/iso_relax/jaxp/ValidatingSAXParserFactory.java...
Loading source file 
./org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java...
Loading source file ./org/iso_relax/verifier/VerifierFilter.java...
Loading source file ./org/iso_relax/verifier/Schema.java...
Loading source file ./org/iso_relax/verifier/VerifierFactory.java...
Loading source file ./org/iso_relax/verifier/impl/VerifierFilterImpl.java...
Loading source file ./org/iso_relax/verifier/impl/VerifierImpl.java...
Loading source file ./org/iso_relax/verifier/impl/ForkContentHandler.java...
Loading source file ./org/iso_relax/verifier/impl/SAXEventGenerator.java...
Loading source file 
./org/iso_relax/verifier/VerifierConfigurationException.java...
Loading source file ./org/iso_relax/verifier/Verifier.java...
Loading source file ./org/iso_relax/verifier/VerifierHandler.java...
Loading source file ./org/iso_relax/verifier/VerifierFactoryLoader.java...
Loading source file ./org/iso_relax/verifier/VerifierException.java...
Loading source file 
./.pc/build/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java...
Constructing Javadoc information...
Creating destination directory: "api/"
javadoc: error - The code being documented uses packages in the unnamed module, 
but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named 
modules.
Standard Doclet version 11.0.2
Building tree for all the packages and classes...
Generating api/org/iso_relax/ant/ErrorHandlerImpl.html...
Generating api/org/iso_relax/ant/JARVTask.html...
Generating api/org/iso_relax/catalog/RELAXCatalog.html...
Generating api/org/iso_relax/dispatcher/AttributesDecl.html...
Generating api/org/iso_relax/dispatcher/AttributesVerifier.html...
Generating api/org/iso_relax/dispatcher/Dispatcher.html...
Generating api/org/iso_relax/dispatcher/Dispatcher.NotationDecl.html...
Generating api/org/iso_relax/dispatcher/Dispatcher.UnparsedEntityDecl.html...
Generating api/org/iso_relax/dispatcher/ElementDecl.html...
Generating api/org/iso_relax/dispatcher/IslandSchema.html...
Generating api/org/iso_relax/dispatcher/IslandSchemaReader.html...
Generating api/org/iso_relax/dispatcher/IslandVerifier.html...
./org/iso_relax/dispatcher/IslandVerifier.java:70: warning - @param argument 
"assignedLabel" is not a parameter name.
Generating api/org/iso_relax/dispatcher/SchemaProvider.html...
Generating api/jp/gr/xml/relax/dom/DOMVisitorException.html...
Generating api/jp/gr/xml/relax/dom/IDOMVisitor.html...
Generating api/jp/gr/xml/relax/dom/UDOM.html...
Generating api/jp/gr/xml/relax/dom/UDOMVisitor.html...
Generating api/jp/gr/xml/relax/dom/XMLMaker.html...
Generating api/org/iso_relax/dispatcher/impl/AbstractSchemaProviderImpl.html...
Generating api/org/iso_relax/dispatcher/impl/DispatcherImpl.html...
Generating api/org/iso_relax/dispatcher/impl/DispatcherImpl.Context.html...
Generating api/org/iso_relax/dispatcher/impl/IgnoredSchema.html...
Generating api/org/iso_relax/dispatcher/impl/IgnoreVerifier.html...
Generating api/org/iso_relax/verifier/impl/ForkContentHandler.html...
Generating api/org/iso_relax/verifier/impl/SAXEventGenerator.html...
Generating api/org/iso_relax/verifier/impl/VerifierFilterImpl.html...
Generating api/org/iso_relax/verifier/impl/VerifierImpl.html...
Generating api/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.html...
Generating api/org/iso_relax/jaxp/ValidatingSAXParserFactory.html...
Generating api/jp/gr/xml/relax/sax/DeclHandlerBase.html...
Generating api/jp/gr/xml/relax/sax/DOMSAXProducer.html...
Generating api/jp/gr/xml/relax/sax/DOMSAXProducerVisitor.html...
Generating api/jp/gr/xml/relax/sax/DTDSkipper.html...
Generating api/jp/gr/xml/relax/sax/LexicalHandlerBase.html...
Generating api/jp/gr/xml/relax/sax/RELAXEntityResolver.html...
Generating api/jp/gr/xml/relax/sax/SimpleEntityResolver.html...
Generating api/org/iso_relax/verifier/Schema.html...
Generating api/org/iso_relax/verifier/Verifier.html...
Generating api/org/iso_relax/verifier/VerifierConfigurationException.html...
Generating api/org/iso_relax/verifier/VerifierException.html...
Generating api/org/iso_relax/verifier/VerifierFactory.html...
./org/iso_relax/verifier/VerifierFactory.java:52: warning - @param argument 
"uri" is not a parameter name.
./org/iso_relax/verifier/VerifierFactory.java:168: warning - @param argument 
"file" is not a parameter name.
Generating api/org/iso_relax/verifier/VerifierFactoryLoader.html...
Generating api/org/iso_relax/verifier/VerifierFilter.html...
Generating api/org/iso_relax/verifier/VerifierHandler.html...
Generating api/jp/gr/xml/relax/xml/UXML.html...
Generating api/jp/gr/xml/relax/dom/package-summary.html...
Generating api/jp/gr/xml/relax/dom/package-tree.html...
Generating api/jp/gr/xml/relax/sax/package-summary.html...
Generating api/jp/gr/xml/relax/sax/package-tree.html...
Generating api/jp/gr/xml/relax/xml/package-summary.html...
Generating api/jp/gr/xml/relax/xml/package-tree.html...
Generating api/org/iso_relax/ant/package-summary.html...
Generating api/org/iso_relax/ant/package-tree.html...
Generating api/org/iso_relax/catalog/package-summary.html...
Generating api/org/iso_relax/catalog/package-tree.html...
Generating api/org/iso_relax/dispatcher/package-summary.html...
Generating api/org/iso_relax/dispatcher/package-tree.html...
Generating api/org/iso_relax/dispatcher/impl/package-summary.html...
Generating api/org/iso_relax/dispatcher/impl/package-tree.html...
Generating api/org/iso_relax/jaxp/package-summary.html...
./.pc/build/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java:11: 
warning - Tag @link: reference not found: DocumentBuilderFactory
Generating api/org/iso_relax/jaxp/package-tree.html...
Generating api/org/iso_relax/verifier/package-summary.html...
Generating api/org/iso_relax/verifier/package-tree.html...
Generating api/org/iso_relax/verifier/impl/package-summary.html...
Generating api/org/iso_relax/verifier/impl/package-tree.html...
Generating api/constant-values.html...
Generating api/serialized-form.html...
Building index for all the packages and classes...
Generating api/overview-tree.html...
Generating api/index-all.html...
Building index for all classes...
Generating api/allclasses-index.html...
Generating api/allpackages-index.html...
Generating api/deprecated-list.html...
Building index for all classes...
Generating api/allclasses.html...
Generating api/allclasses.html...
Generating api/index.html...
Generating api/overview-summary.html...
Generating api/help-doc.html...
1 error
4 warnings
make[1]: *** [debian/rules:25: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The FTBFS part is probably Bug #919895, but it's not what I'd like to report 
here,
but instead the fact that the build log contains this:

Loading source file 
./.pc/build/org/iso_relax/jaxp/ValidatingDocumentBuilderFactory.java...

This happens because the various "find" commands include the .pc directory used 
by
dpkg and quilt. In some cases this leads to the package failing to build in 
unexpected ways.

I would highly recommend avoiding this.
The (untested) patch below would probably work:

--- a/debian/rules
+++ b/debian/rules
@@ -22,11 +22,11 @@ JARFILE=isorelax-20041111.jar
 
 override_dh_auto_build:
        $(JAVAC) $(JAVAFLAGS) `find jp org -name \*.java`
-       $(JAVADOC) $(JAVADOCFLAGS) -d api `find . -name \*.java`
+       $(JAVADOC) $(JAVADOCFLAGS) -d api `find * -name \*.java`
 
-       $(JAR) c `find . -name \*.class -o -name \*.rxm -o -name \*.rxg -o 
-name \*.dtd -o -name \*.mod -o -name \*.MF` > $(JARFILE)
+       $(JAR) c `find * -name \*.class -o -name \*.rxm -o -name \*.rxg -o 
-name \*.dtd -o -name \*.mod -o -name \*.MF` > $(JARFILE)
 
 override_dh_auto_clean:
-       rm -f `find . -name \*.class`
+       rm -f `find * -name \*.class`
        rm -f $(JARFILE)
        rm -fr api

Thanks.

--- End Message ---
--- Begin Message ---
Source: isorelax
Source-Version: 20041111-12

We believe that the bug you reported is fixed in the latest version of
isorelax, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <[email protected]> (supplier of updated isorelax 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 [email protected])


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

Format: 1.8
Date: Mon, 25 Feb 2019 21:17:46 -0800
Source: isorelax
Architecture: source
Version: 20041111-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: tony mancill <[email protected]>
Closes: 919959 923185
Changes:
 isorelax (20041111-12) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Samuel Thibault ]
   * Mark libisorelax-java Multi-Arch: foreign.
 .
   [ tony mancill ]
   * Disable javadoc link for JDK API and drop build-dep on default-jdk-doc
     (Closes: #923185)
   * Patch debian rules to ignore hidden directories (Closes: #919959)
     Thank you to Santiago Vila for the patch.
   * Bump Standards-Version to 4.3.0
   * Update Vcs- URLs to point to Salsa
   * Update Homepage URL to use https
Checksums-Sha1:
 10ccfafb9cfa0bc1554bdf04d868f027c6a7bdcc 2158 isorelax_20041111-12.dsc
 f351fd0442d692a2cf07564c78d48eeb7b158df2 5072 
isorelax_20041111-12.debian.tar.xz
 5671f8c35d6b69dd7fc93e0ad1b83458e1c86911 10402 
isorelax_20041111-12_amd64.buildinfo
Checksums-Sha256:
 73b4d3e6c4dc8c3b54b53b7b8f632f7ee9875c110705f015aa87e0b5110d1eb9 2158 
isorelax_20041111-12.dsc
 b063dff4895302bf52c54e9f15ca9d3052bafb10a2efcf1a5e58e42b75c983bd 5072 
isorelax_20041111-12.debian.tar.xz
 14bd6ea97856231526b4fbad6d780d08ed8add34e114ae7716810061751144bc 10402 
isorelax_20041111-12_amd64.buildinfo
Files:
 72ee9a73c27462522a4b2a75527f0940 2158 java optional isorelax_20041111-12.dsc
 83ed8223a528fe5ccd91e3673aea8910 5072 java optional 
isorelax_20041111-12.debian.tar.xz
 321f2d6aa48376272ff0a18ab6992870 10402 java optional 
isorelax_20041111-12_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAlx0zRsUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpYABhAAqz2Tv1KNYGDBrGAaOVAByw4gxQ1t
ckcOkK4XyMkZXmN4aao3LKar0eEH9QqYLatVTLxywtIQFPYRLJCTxy0PgpO3zw7f
SpQAjKMHqY/p1n6sG0h4akA1z+ozuJD363QcT5wqtvWSD0l/huFXlQAShKtm/oDI
hSr5bIBFGrsh0LpHA8wSVdAnJfrbkJgC5kB0D7jB1/adOhaM9ZdPDpdY/nmhy+nn
AGc3ykWbatIhjLEvZT4/Pf1gKIl/JvhW9LlzuzLWHR6LlfJJ6UdA7NyKrX/OYqor
NFKHERD7yyQKbbIsvj+eOp1qa8p/MunfXX9R1Bs1INW5rFO9ygaeQ3WS0egJTW2q
gZDUk4ihINKiVBLbGWjsBwlk2nvjZ2EWYZ2WhEq8d7hYy+ApYLYGFkZTv5/ySc0l
k2A8dOREZnxEmKEAUoPYGDA99t+knGLBj9+HXw0Ox8/DsGTowMpa1cB7ptPZ6VXu
2JFrPugtOROr28HV5VluWGcVMJIgAcgkILUhr7Hc0y2FNFDW1lUri8tiLBo6da84
6mpaYWVPQ0p+JCciPCJVcGAp5G9pHI0A9JLJqVfrOz/Z7ptfgeB/NbzfNsgrQ1WC
EF+ZDj0GFDHB82RLd8g/xIpH4By42/qwByvAlYsPQqGYMi4QniijXKrds3zAeLz4
c/WBn21VtkZMuh0=
=LaMa
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to