[Pkg-javascript-devel] Bug#954725: datatables-extensions: FTBFS: Parse error
Lucas Nussbaum
lucas at debian.org
Sun Mar 22 15:24:41 GMT 2020
Source: datatables-extensions
Version: 0.0+git20150910.28fd64e+dfsg-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200322 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_install
> for min in `find debian -name "*.min.js"` ; do \
> closure-compiler --charset 'utf-8' --js `echo ${min} | sed 's/\.min//'` --js_output_file ${min} ; \
> done
> debian/libjs-jquery-datatables-extensions/usr/share/javascript/jquery-datatables-extensions/JSZip/jszip.js:12: WARNING - Suspicious code. The result of the 'not' operator is not being used.
> !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSZip=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
> ^
>
> 0 error(s), 1 warning(s)
> debian/libjs-jquery-datatables-extensions/usr/share/javascript/jquery-datatables-extensions/pdfmake/build/pdfmake.js:327: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
> hLineWidth: function(i) { return 0; },
> ^
>
[...]
> 33028 error(s), 0 warning(s)
> make[1]: *** [debian/rules:10: override_dh_install] Error 127
The full build log is available from:
http://qa-logs.debian.net/2020/03/22/datatables-extensions_0.0+git20150910.28fd64e+dfsg-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-javascript-devel
mailing list