[Pkg-javascript-devel] Bug#1036259: Bug#1036259: moment-timezone.js: FTBFS in testing: make[1]: *** [debian/rules:28: execute_before_dh_auto_configure] Error 1

2023-05-28 Thread gregor herrmann
On Sun, 28 May 2023 20:05:09 +0400, Yadd wrote:

> > This looked reasonably easy to fix (cf. attached patch), but the
> > tests fail as follows:
> I fixed it in salsa (needs an update to import 2023 data). I'm waiting for
> Martina review who maintains it.

Ack, I've seen your commits in salsa but as the pipeline fails
(probably the version in d/changelog?) and as a new upstream release
2 weeks before the release might not be accepted by the release team,
I thougt I'd give it a try as well; but well, it was not that
quick :)
 

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   


signature.asc
Description: Digital Signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] Bug#1036259: moment-timezone.js: FTBFS in testing: make[1]: *** [debian/rules:28: execute_before_dh_auto_configure] Error 1

2023-05-28 Thread gregor herrmann
pected:
>>   [
>> 'Pacific/Honolulu',
>> 'Pacific/Midway',
>> 'Pacific/Pago_Pago',
>> 'Pacific/Tarawa',
>> 'Pacific/Wake'
>>   ]
>> at Object.deepEqual (/usr/share/nodejs/nodeunit/lib/types.js:83:39)
>> at Object.country_zones (tests/countries/countries.js:839:8)
>> at Object. (/usr/share/nodejs/nodeunit/lib/core.js:236:16)
>> at Object. (/usr/share/nodejs/nodeunit/lib/core.js:236:16)
>> at /usr/share/nodejs/nodeunit/lib/core.js:236:16
>> at Object.exports.runTest (/usr/share/nodejs/nodeunit/lib/core.js:70:9)
>> at /usr/share/nodejs/nodeunit/lib/core.js:118:25
>> at /usr/share/javascript/async/async.js:665:13
>> at iterate (/usr/share/javascript/async/async.js:149:13)
>> at /usr/share/javascript/async/async.js:160:25

Warning: 4/841 assertions failed (48ms) Use --force to continue.

Aborted due to warnings.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 6
make: *** [debian/rules:24: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
#v-

Apparently there's more work needed to adjust the test suite (list of
timezones) to tzdata 2023c …


Cheers,
gregor


-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
diff -Nru moment-timezone.js-0.5.40+dfsg/debian/changelog moment-timezone.js-0.5.40+dfsg/debian/changelog
--- moment-timezone.js-0.5.40+dfsg/debian/changelog	2023-01-23 22:37:52.0 +0100
+++ moment-timezone.js-0.5.40+dfsg/debian/changelog	2023-05-28 17:32:43.0 +0200
@@ -1,3 +1,13 @@
+moment-timezone.js (0.5.40+dfsg-1.1+2023c) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS in testing":
++ d/control: build depend on the tzdata version in bookworm
++ d/changelog: set version accordingly
+(Closes: #1036259)
+
+ -- gregor herrmann   Sun, 28 May 2023 17:32:43 +0200
+
 moment-timezone.js (0.5.40+dfsg-1+2022g) unstable; urgency=medium
 
   * New upstream version 0.5.40. Closes: #1028879.
diff -Nru moment-timezone.js-0.5.40+dfsg/debian/control moment-timezone.js-0.5.40+dfsg/debian/control
--- moment-timezone.js-0.5.40+dfsg/debian/control	2023-01-23 22:37:52.0 +0100
+++ moment-timezone.js-0.5.40+dfsg/debian/control	2023-05-28 17:32:43.0 +0200
@@ -10,7 +10,7 @@
  , dh-sequence-nodejs
  , uglifyjs
  , ts-node 
- , tzdata (>= 2022f)
+ , tzdata (>= 2023c)
 Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/js-team/moment-timezone.js
 Vcs-Git: https://salsa.debian.org/js-team/moment-timezone.js.git


signature.asc
Description: Digital Signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel


Re: [Pkg-javascript-devel] New "ctype" option in uscan

2020-11-30 Thread gregor herrmann
On Mon, 30 Nov 2020 10:10:54 +0100, Xavier wrote:

> I added a new feature in uscan to help uscan comparison when components
> are embedded, especially when "checksum" target is used: if "ctype"
> exists, uscan will use "version" value from package.json (JavaScript) or
> META.json (Perl) to get current component value.
> 
> For now, only "nodejs" and "perl" values are accepted.

This looks interesting, thank you.

Do I understand this correctly? For e.g. 
libcgi-application-plugin-authentication-perl
I would make the following change to d/watch:

#v+
--- a/debian/watch
+++ b/debian/watch
@@ -2,8 +2,8 @@ version=4

 https://metacpan.org/release/CGI-Application-Plugin-Authentication   
.*/CGI-Application-Plugin-Authentication-v?@ANY_VERSION@@ARCHIVE_EXT@$ group

-opts="component=driver-cdbi" \
+opts="component=driver-cdbi,ctype=perl" \
 https://metacpan.org/release/CGI-Application-Plugin-Authentication-Driver-CDBI 
  
.*/CGI-Application-Plugin-Authentication-Driver-CDBI-v?@ANY_VERSION@@ARCHIVE_EXT@$
 checksum

-opts="component=driver-dbic" \
+opts="component=driver-dbic,ctype=perl" \
 https://metacpan.org/release/CGI-Application-Plugin-Authentication-Driver-DBIC 
  
.*/CGI-Application-Plugin-Authentication-Driver-DBIC-v?@ANY_VERSION@@ARCHIVE_EXT@$
 checksum


#v-

and (for the last part) uscan says:

driver-cdbi has META.json, driver-dbic doesn't, and uscan says:

uscan info: opts: component=driver-cdbi,ctype=perl
uscan info: line: 
https://metacpan.org/release/CGI-Application-Plugin-Authentication-Driver-CDBI  
 .*/CGI-Application-Plugin-Authentication-Driver-CDB

   
I-v?(?:[-_]?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|zip|tgz|tbz|txz))$
 checksum
uscan info: Parsing component=driver-cdbi
uscan info: Parsing ctype=perl
uscan info: line: 
https://metacpan.org/release/CGI-Application-Plugin-Authentication-Driver-CDBI  
 .*/CGI-Application-Plugin-Authentication-Driver-CDB

   
I-v?(?:[-_]?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|zip|tgz|tbz|txz))$
 checksum
uscan info: Found version 0.03 for component driver-cdbi
uscan info: Last orig.tar.* tarball version (from debian/changelog): 0.03
uscan info: Last orig.tar.* tarball version (dversionmangled): 0.03
uscan info: Requesting URL:
   
https://metacpan.org/release/CGI-Application-Plugin-Authentication-Driver-CDBI
uscan info: Matching pattern:
   
(?:(?:https://metacpan.org)?\/release\/)?.*/CGI-Application-Plugin-Authentication-Driver-CDBI-v?(?:[-_]?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz

   |tar\.bz2|tar\.gz|zip|tgz|tbz|txz))$
uscan info: Found the following matching hrefs on the web page (newest first):
   
https://cpan.metacpan.org/authors/id/A/AD/ADOPTME/CGI-Application-Plugin-Authentication-Driver-CDBI-0.03.tar.gz
 (0.03) index=0.03-1 
   
https://cpan.metacpan.org/authors/id/A/AD/ADOPTME/CGI-Application-Plugin-Authentication-Driver-CDBI-0.03.tar.gz
 (0.03) index=0.03-1 
uscan info: Looking at $base = 
https://metacpan.org/release/CGI-Application-Plugin-Authentication-Driver-CDBI 
with
$filepattern = 
.*/CGI-Application-Plugin-Authentication-Driver-CDBI-v?(?:[-_]?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|zip|tgz

   |tbz|txz))$ found
$newfile = 
https://cpan.metacpan.org/authors/id/A/AD/ADOPTME/CGI-Application-Plugin-Authentication-Driver-CDBI-0.03.tar.gz
$newversion  = 0.03
$lastversion = 0.03
uscan info: Matching target for downloadurlmangle: 
https://cpan.metacpan.org/authors/id/A/AD/ADOPTME/CGI-Application-Plugin-Authentication-Driver-CDBI

   -0.03.tar.gz
uscan info: Upstream URL(+tag) to download is identified as
https://cpan.metacpan.org/authors/id/A/AD/ADOPTME/CGI-Application-Plugin-Authentication

   -Driver-CDBI-0.03.tar.gz
uscan info: Filename (filenamemangled) for downloaded file: 
CGI-Application-Plugin-Authentication-Driver-CDBI-0.03.tar.gz
uscan info: Newest version of driver-cdbi on remote site is 0.03, local version 
is 0.03
uscan info:  => Package is up to date from:
 => 
https://cpan.metacpan.org/authors/id/A/AD/ADOPTME/CGI-Application-Plugin-Authentication-Driver-CDBI-0.03.tar.gz


uscan info: opts: component=driver-dbic,ctype=perl
uscan info: line: 
https://metacpan.org/release/CGI-Application-Plugin-Authentication-Driver-DBIC  
 

[Pkg-javascript-devel] Bug#898752: node-webpack: diff for NMU version 3.5.6-3.1

2018-12-02 Thread gregor herrmann
Control: tags 898752 + pending


Dear maintainer,

I've prepared an NMU for node-webpack (versioned as 3.5.6-3.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
diff -Nru node-webpack-3.5.6/debian/changelog node-webpack-3.5.6/debian/changelog
--- node-webpack-3.5.6/debian/changelog	2018-03-08 15:00:40.0 +0100
+++ node-webpack-3.5.6/debian/changelog	2018-12-02 12:12:04.0 +0100
@@ -1,3 +1,13 @@
+node-webpack (3.5.6-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS and autopkgtest failure on 32-bit":
+reduce --max-old-space-size=4096 to 2048 in debian/rules and
+debian/tests/control as suggested by Graham Inggs.
+(Closes: #898752)
+
+ -- gregor herrmann   Sun, 02 Dec 2018 12:12:04 +0100
+
 node-webpack (3.5.6-3) unstable; urgency=medium
 
   * Update autopkgtest dependencies (fixes autopkgtest failure)
diff -Nru node-webpack-3.5.6/debian/rules node-webpack-3.5.6/debian/rules
--- node-webpack-3.5.6/debian/rules	2018-03-02 20:26:00.0 +0100
+++ node-webpack-3.5.6/debian/rules	2018-12-02 12:11:59.0 +0100
@@ -14,7 +14,7 @@
 	chmod +x debian/webpack/usr/lib/nodejs/webpack/bin/webpack.js
 
 override_dh_auto_test:
-	mocha --max-old-space-size=4096 --harmony --check-leaks -R spec `ls test/*.test.js | grep -v test/ConfigTestCases.test.js |\
+	mocha --max-old-space-size=2048 --harmony --check-leaks -R spec `ls test/*.test.js | grep -v test/ConfigTestCases.test.js |\
  grep -v test/Examples.test.js |  grep -v test/HotTestCases.test.js |\
  grep -v test/TestCases.test.js | grep -v test/Stats.test.js |\
  grep -v test/WatchTestCases.test.js | grep -v test/Integration.test.js |\
diff -Nru node-webpack-3.5.6/debian/tests/control node-webpack-3.5.6/debian/tests/control
--- node-webpack-3.5.6/debian/tests/control	2018-03-08 14:46:15.0 +0100
+++ node-webpack-3.5.6/debian/tests/control	2018-12-02 12:11:37.0 +0100
@@ -1,6 +1,6 @@
 Tests: require
 Depends: webpack
 
-Test-Command: mocha --max-old-space-size=4096 --harmony --check-leaks -R spec `ls test/*.test.js | grep -v test/ConfigTestCases.test.js | grep -v test/Examples.test.js |  grep -v test/HotTestCases.test.js | grep -v test/TestCases.test.js | grep -v test/Stats.test.js | grep -v test/WatchTestCases.test.js | grep -v test/Integration.test.js | grep -v test/BinTestCases.test.js | grep -v test/Compiler-caching.test.js | grep -v test/Compiler.test.js`
+Test-Command: mocha --max-old-space-size=2048 --harmony --check-leaks -R spec `ls test/*.test.js | grep -v test/ConfigTestCases.test.js | grep -v test/Examples.test.js |  grep -v test/HotTestCases.test.js | grep -v test/TestCases.test.js | grep -v test/Stats.test.js | grep -v test/WatchTestCases.test.js | grep -v test/Integration.test.js | grep -v test/BinTestCases.test.js | grep -v test/Compiler-caching.test.js | grep -v test/Compiler.test.js`
 Depends: @, mocha, node-should, node-sinon
 Restrictions: allow-stderr


signature.asc
Description: Digital Signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel