Your message dated Thu, 10 Oct 2019 16:49:31 +0000
with message-id <e1iibd5-000i9m...@fasolo.debian.org>
and subject line Bug#941601: fixed in leaflet-markercluster 1.4.1~dfsg-7
has caused the Debian Bug report #941601,
regarding rollup 0.56 transition: Add node-rollup-plugin-json to build depends 
and fix 'format is now output.format' error
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 ow...@bugs.debian.org
immediately.)


-- 
941601: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941601
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: leaflet-markercluster
Version: 1.4.1~dfsg-6
Severity: important
Control: tags -1 patch

It needs the following changes,

diff --git a/debian/control b/debian/control
index 341cd23..09dc90e 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends:
 pigz,
 rename,
 rollup,
+ node-rollup-plugin-json,
 sassc,
 uglifyjs (>= 3),
Standards-Version: 4.3.0

and it still fails,

NODE_ENV=release rollup --config build/rollup-config.js
(!) Some options have been renamed
https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32
entry is now input
moduleName is now output.name
sourceMap is now output.sourcemap
format is now output.format
banner is now output.banner
dest is now output.file

src/index.js → dist/leaflet.markercluster-src.js...
[!] Error: You must specify options.format, which can be one of 'amd', 'cjs', 'system', 'es', 'iife' or 'umd'
https://rollupjs.org/#format-f-output-format-
Error: You must specify options.format, which can be one of 'amd', 'cjs', 'system', 'es', 'iife' or 'umd' at Object.error [as default] (/usr/share/nodejs/rollup/src/utils/error.js:10:15) at checkOutputOptions (/usr/share/nodejs/rollup/src/rollup/index.js:37:24) at normalizeOptions (/usr/share/nodejs/rollup/src/rollup/index.js:95:21)
   at generate (/usr/share/nodejs/rollup/src/rollup/index.js:99:41)
at Object.write (/usr/share/nodejs/rollup/src/rollup/index.js:131:32)
   at /usr/share/nodejs/rollup/bin/src/run/build.js:49:27
   at next (/usr/share/nodejs/rollup/src/utils/promise.js:7:32)
   at /usr/share/nodejs/rollup/src/utils/promise.js:10:53
   at process._tickCallback (internal/process/next_tick.js:68:7)
   at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)

After rollup configuration if fixed, I get an error with uglifyjs

uglifyjs --compress --mangle \
--source-map "base='/<<PKGBUILDDIR>>/debian/js',content='dist/leaflet.markercluster-src.js.map',url='leaflet.markercluster.min.js.map'" \
--output debian/js/leaflet.markercluster.min.js \
-- dist/leaflet.markercluster-src.js
ERROR: No element indexed by 0
at ArraySet_at [as at] (/usr/share/nodejs/source-map/lib/array-set.js:109:9) at BasicSourceMapConsumer.SourceMapConsumer_originalPositionFor [as originalPositionFor] (/usr/share/nodejs/source-map/lib/source-map-consumer.js:673:30) at Object.add (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:12216:32) at eval (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:3921:32)
   at Array.forEach (<anonymous>)
at OutputStream.flush_mappings (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:3920:18) at Object.print (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:4025:29) at eval (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:4847:16) at doit (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:4356:13) at AST_Var.eval (eval at <anonymous> (/usr/lib/nodejs/uglify-js/tools/node.js:20:1), <anonymous>:4363:13)

This was fixed by switching to uglifyjs.terser.

Entire change is here https://salsa.debian.org/js-team/leaflet-markercluster/merge_requests/1


--- End Message ---
--- Begin Message ---
Source: leaflet-markercluster
Source-Version: 1.4.1~dfsg-7

We believe that the bug you reported is fixed in the latest version of
leaflet-markercluster, 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 941...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <d...@jones.dk> (supplier of updated leaflet-markercluster 
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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 10 Oct 2019 18:33:51 +0200
Source: leaflet-markercluster
Architecture: source
Version: 1.4.1~dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Jonas Smedegaard <d...@jones.dk>
Closes: 941601
Changes:
 leaflet-markercluster (1.4.1~dfsg-7) unstable; urgency=medium
 .
   * Fix build with recent rollup:
     + Add patch 1001 to moernize rollup config.
     + Explicitly build-depend on node-rollup-plugin-json.
     Closes: Bug#941601. Thanks to Pirate Praveen.
   * Declare compliance with Debian Policy 4.4.1.
   * Install nodejs code under /usr/share (not /usr/lib).
   * Mark autopkgtests as superficial.
Checksums-Sha1:
 e26e72566b0e6340754ac9c2b31df097b144a6e0 2479 
leaflet-markercluster_1.4.1~dfsg-7.dsc
 4a456d3c3aca0cdb80ab1490f7f9f44d856fc9e7 10896 
leaflet-markercluster_1.4.1~dfsg-7.debian.tar.xz
 4226258b95ad76df3c08853e2c8b7a01d1b8494b 9785 
leaflet-markercluster_1.4.1~dfsg-7_amd64.buildinfo
Checksums-Sha256:
 eefe099265e77f15b8e6077ee7d669b438e539b00c94cf6f7f55e75a35e1514c 2479 
leaflet-markercluster_1.4.1~dfsg-7.dsc
 40b176621de41d29eb4b23669308fddd172396d623840b51818867a1c6c0fda3 10896 
leaflet-markercluster_1.4.1~dfsg-7.debian.tar.xz
 29970eb702641f63173b7c9db73f636dcbdd55bf73f37687df0b86dcee5f657f 9785 
leaflet-markercluster_1.4.1~dfsg-7_amd64.buildinfo
Files:
 c5b0af4794514e941f94004562b71d85 2479 javascript optional 
leaflet-markercluster_1.4.1~dfsg-7.dsc
 c7b7bdbf81b4563ce698cfed15cd6c06 10896 javascript optional 
leaflet-markercluster_1.4.1~dfsg-7.debian.tar.xz
 35dcd0e0b3800b5a8729d82b8be92194 9785 javascript optional 
leaflet-markercluster_1.4.1~dfsg-7_amd64.buildinfo

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

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAl2fXe8ACgkQLHwxRsGg
ASEUPBAAgDogh55CwDXUnp0iMV0ImGCKQDBKjYDtaqL6g5HpEbyuJYie+CE4ZfoQ
u8APQOtrSJ0Zdlg53uZRm7xCOKBCUcHalQcOl1C37WwKpRs3zZZs+ZU1XRNwpCjZ
2fAhianETMD8uVpRdD6J1s3R1DepUzZkWuhtdF9FjBqRz3dU2Hw2mehNcTuxjbUn
4Uw0gjeFhBco+Gtt73/7hU92JweBCi22rCgu/XnR1fDQMjWzciD6GANcU3O3+9IK
3ROfEJyDbr+uI+9S4Ad2TXHuUbreC/JnJNKw4mAtgllJqJJ2cB3ARj+ywrD0aiFO
mUUebInkweJ2ABg5JGQVl5nyCSURoIWKQbZIDOLWai4buK8atlwF2fDyP7xgUuBU
gvfyCjgWxZAGQD+GH0m2RR1+kh0/dJpdTSvfbvmuWulJRH46rrvhvq6JnL1MpbWD
LWkI8dhI78nhEetyT/PEaR6HCheUM8V8IXXzZbPZesPJilY4qaZ5GhtLXETUhBWv
6WiioTqhG3a5PeoTYg2Xw/6+H7kQzDpF4nIWdJ58661CQEBQfQPMcrrrV63RU3zo
esZ+0SPpMFB+uzPMMTl3ir6c8PQHqAsptJ0soL5iodfXQvQbSfqxi3WfAERcESSM
VCgOeVTp1TZ6j6qnACri86jutBXbLZEA8QTmoPr7zonamr5160s=
=uzvS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to