Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package commons-math3 The bug addresses a FTBFS bug [1] that arose quite late in the release cycle due to changes in the javadoc tooling. The build error being addressed is: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) > on project commons-math3: MavenReportException: Error while generating > Javadoc: > [ERROR] Exit code: 1 - javadoc: error - Argument for -header contains > JavaScript. > [ERROR] Use --allow-script-in-comments to allow use of JavaScript. The source debdiff against the version in testing is attached. The debdiff consists of adding --allow-script-in-comments to an existing build patch and also the updates that came 'quilt refresh' while generating the patch. unblock commons-math3/3.6.1-2 Thank you for your consideration! Cheers, tony [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852880
diff -Nru commons-math3-3.6.1/debian/changelog commons-math3-3.6.1/debian/changelog --- commons-math3-3.6.1/debian/changelog 2016-03-26 16:43:25.000000000 -0700 +++ commons-math3-3.6.1/debian/changelog 2017-02-03 10:14:20.000000000 -0800 @@ -1,3 +1,11 @@ +commons-math3 (3.6.1-2) unstable; urgency=medium + + * Team upload. + * Update 03_libjs-mathjax.patch to add --allow-script-in-comments to + maven-javadoc-plugin invocation to address FTBFS. (Closes: #852880) + + -- tony mancill <tmanc...@debian.org> Fri, 03 Feb 2017 10:14:20 -0800 + commons-math3 (3.6.1-1) unstable; urgency=medium * New upstream release diff -Nru commons-math3-3.6.1/debian/patches/03_libjs-mathjax.patch commons-math3-3.6.1/debian/patches/03_libjs-mathjax.patch --- commons-math3-3.6.1/debian/patches/03_libjs-mathjax.patch 2016-03-26 16:32:04.000000000 -0700 +++ commons-math3-3.6.1/debian/patches/03_libjs-mathjax.patch 2017-02-03 10:14:20.000000000 -0800 @@ -11,16 +11,17 @@ </javadoc> --- a/pom.xml +++ b/pom.xml -@@ -539,7 +539,7 @@ +@@ -534,7 +534,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> - <additionalparam>-header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam> + <additionalparam>-header '<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam> ++ <additionalparam>--allow-script-in-comments</additionalparam> </configuration> </plugin> </plugins> -@@ -690,7 +690,7 @@ +@@ -685,7 +686,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> @@ -31,7 +32,7 @@ </plugins> --- a/src/site/site.xml +++ b/src/site/site.xml -@@ -81,7 +81,7 @@ +@@ -83,7 +83,7 @@ </menu> <head>
signature.asc
Description: PGP signature