[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854086: unblock: commons-math3/3.6.1-2



Package: release.debian.org
Severity: normal
User: release.debian.org@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 <tmancill@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 &apos;&lt;script type=&quot;text/javascript&quot; src=&quot;http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;&gt;&lt;/script&gt;&apos;</additionalparam>
 +          <additionalparam>-header &apos;&lt;script type=&quot;text/javascript&quot; src=&quot;file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;&gt;&lt;/script&gt;&apos;</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>

Attachment: signature.asc
Description: PGP signature


Reply to: