[Pkg-javascript-devel] Bug#952287: datatables-extensions: FTBFS: parse error

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:37:53 GMT 2020


Source: datatables-extensions
Version: 0.0+git20150910.28fd64e+dfsg-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 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:295: 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.
> 				Names: [new StringObject('EmbeddedJS'), new PDFReference(this.pdfKitDoc, jsRef.id)],
> 				^
> 
[....]
> 
> 33029 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/02/22/datatables-extensions_0.0+git20150910.28fd64e+dfsg-1_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