[Pkg-javascript-devel] Bug#1123407: moment-timezone.js: FTBFS: Aborted due to warnings.
Santiago Vila
sanvila at debian.org
Tue Dec 16 20:27:35 GMT 2025
Package: src:moment-timezone.js
Version: 0.5.46+dfsg-3
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:moment-timezone.js, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=nodejs
rm -rf ./node_modules/.cache ./.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/moment
rm ./node_modules/.cache
unlink ./node_modules/moment
debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf temp/
rm -rf data/packed/*
rm -rf data/unpacked/*
rm -rf data/meta/*
rm -rf tests/zones/* tests/countries/*
[... snipped ...]
Testing creston.js.....OK
Testing coyhaique.js.........................................................................OK
Testing costa_rica.js........OK
Testing cordoba.js.....................................OK
Testing coral_harbour.js.......OK
Testing ciudad_juarez.js...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing chihuahua.js..................................OK
Testing chicago.js.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing cayman.js....OK
Testing cayenne.js....OK
Testing catamarca.js.....................................OK
Testing caracas.js.......OK
Testing cancun.js.........................OK
Testing campo_grande.js....................................................OK
Testing cambridge_bay.js......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing buenos_aires.js.....................................OK
Testing boise.js.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing bogota.js......OK
Testing boa_vista.js.......................OK
Testing blanc-sablon.js......OK
Testing belize.js.......................................................OK
Testing belem.js.....................OK
Testing barbados.js..........OK
Testing bahia_banderas.js...................................OK
Testing bahia.js......................................OK
Testing atka.js..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing atikokan.js.......OK
Testing asuncion.js........................................................OK
Testing aruba.js....OK
Testing araguaina.js..................................OK
Testing antigua.js....OK
Testing anguilla.js...OK
Testing anchorage.js..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing adak.js..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing new_salem.js............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing center.js............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing beulah.js............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing monticello.js...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing louisville.js..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing winamac.js.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing vincennes.js....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing vevay.js..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing tell_city.js...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing petersburg.js............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing marengo.js.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing knox.js...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing indianapolis.js....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing ushuaia.js.....................................OK
Testing tucuman.js......................................OK
Testing san_luis.js....................................OK
Testing san_juan.js.....................................OK
Testing salta.js....................................OK
Testing rio_gallegos.js.....................................OK
Testing mendoza.js.....................................OK
Testing la_rioja.js.....................................OK
Testing jujuy.js....................................OK
Testing cordoba.js.....................................OK
Testing comodrivadavia.js.....................................OK
Testing catamarca.js.....................................OK
Testing buenos_aires.js.....................................OK
Testing windhoek.js...............................OK
Testing tunis.js....................OK
Testing tripoli.js.....................OK
Testing timbuktu.js.....OK
Testing sao_tome.js.......OK
Testing porto-novo.js....OK
Testing ouagadougou.js...OK
Testing nouakchott.js.....OK
Testing niamey.js......OK
Testing ndjamena.js.....OK
Testing nairobi.js.......OK
Testing monrovia.js.....OK
Testing mogadishu.js.....OK
Testing mbabane.js...OK
Testing maseru.js.....OK
Testing maputo.js...OK
Testing malabo.js....OK
Testing lusaka.js...OK
Testing lubumbashi.js....OK
Testing luanda.js....OK
Testing lome.js...OK
Testing libreville.js...OK
Testing lagos.js......OK
Testing kinshasa.js...OK
Testing kigali.js...OK
Testing khartoum.js.....................OK
Testing kampala.js......OK
Testing juba.js.....................OK
Testing johannesburg.js.......OK
Testing harare.js...OK
Testing gaborone.js......OK
Testing freetown.js.............OK
Testing el_aaiun.js......................................................................................OK
Testing douala.js...OK
Testing djibouti.js...OK
Testing dar_es_salaam.js.....OK
Testing dakar.js....OK
Testing conakry.js.....OK
Testing ceuta.js.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing casablanca.js..............................................................................................OK
Testing cairo.js.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK
Testing bujumbura.js...OK
Testing brazzaville.js...OK
Testing blantyre.js.....OK
Testing bissau.js....OK
Testing banjul.js.....OK
Testing bangui.js...OK
Testing bamako.js.....OK
Testing asmera.js.....OK
Testing asmara.js.....OK
Testing algiers.js.......................OK
Testing addis_ababa.js....OK
Testing accra.js...................................OK
Testing abidjan.js...OK
>> 1350546 assertions passed (14071ms)
Running "nodeunit:countries" (nodeunit) task
Testing countries.js..OK
>> 844 assertions passed (12ms)
Running "nodeunit:core" (nodeunit) task
Testing zone.js.....OK
Testing utc.js.OK
Testing unpack.js.OK
Testing unpack-base-60.js....OK
Testing parse.js.............OK
Testing pack.js.....OK
Testing pack-base-60.js...OK
Testing needs-offset.js............OK
Testing names.js..OK
Testing manipulate.js....OK
Testing load.js.OK
Testing link.js.....OK
Testing guess.jsFFMoment Timezone found America/New_York from the Intl api, but did not have that data loaded.
FFF
>> guess - different offsets should guess different timezones
>> TypeError: Cannot read properties of null (reading 'utcOffset')
>> at ZoneScore.scoreOffsetAt (moment-timezone.js:288:42)
>> at rebuildGuess (moment-timezone.js:415:15)
>> at Function.guess (moment-timezone.js:427:18)
>> at Object.different offsets should guess different timezones (tests/moment-timezone/guess.js:48:19)
>> at /usr/share/nodejs/nodeunit/lib/core.js:232:20
>> at /usr/share/nodejs/async/dist/async.js:3682:19
>> at wrapper (/usr/share/nodejs/async/dist/async.js:272:20)
>> at replenish (/usr/share/nodejs/async/dist/async.js:442:29)
>> at /usr/share/nodejs/async/dist/async.js:452:13
>> at eachOfLimit (/usr/share/nodejs/async/dist/async.js:478:36)
>> guess - handles uncommon Date#toTimeString formats
>> TypeError: Cannot read properties of null (reading 'utcOffset')
>> at ZoneScore.scoreOffsetAt (moment-timezone.js:288:42)
>> at rebuildGuess (moment-timezone.js:415:15)
>> at Function.guess (moment-timezone.js:427:18)
>> at /<<PKGBUILDDIR>>/tests/moment-timezone/guess.js:65:7
>> at _throws (/usr/share/nodejs/nodeunit/lib/assert.js:326:5)
>> at assert.doesNotThrow (/usr/share/nodejs/nodeunit/lib/assert.js:357:11)
>> at Object.doesNotThrow (/usr/share/nodejs/nodeunit/lib/types.js:83:39)
>> at Object.handles uncommon Date#toTimeString formats (tests/moment-timezone/guess.js:63:8)
>> at /usr/share/nodejs/nodeunit/lib/core.js:232:20
>> at /usr/share/nodejs/async/dist/async.js:3682:19
>> guess - handles uncommon Date#toTimeString formats
>> TypeError: Cannot read properties of null (reading 'utcOffset')
>> at ZoneScore.scoreOffsetAt (moment-timezone.js:288:42)
>> at rebuildGuess (moment-timezone.js:415:15)
>> at Function.guess (moment-timezone.js:427:18)
>> at /<<PKGBUILDDIR>>/tests/moment-timezone/guess.js:69:7
>> at _throws (/usr/share/nodejs/nodeunit/lib/assert.js:326:5)
>> at assert.doesNotThrow (/usr/share/nodejs/nodeunit/lib/assert.js:357:11)
>> at Object.doesNotThrow (/usr/share/nodejs/nodeunit/lib/types.js:83:39)
>> at Object.handles uncommon Date#toTimeString formats (tests/moment-timezone/guess.js:67:8)
>> at /usr/share/nodejs/nodeunit/lib/core.js:232:20
>> at /usr/share/nodejs/async/dist/async.js:3682:19
>> guess - handles uncommon Date#toTimeString formats
>> TypeError: Cannot read properties of null (reading 'utcOffset')
>> at ZoneScore.scoreOffsetAt (moment-timezone.js:288:42)
>> at rebuildGuess (moment-timezone.js:415:15)
>> at Function.guess (moment-timezone.js:427:18)
>> at /<<PKGBUILDDIR>>/tests/moment-timezone/guess.js:73:7
>> at _throws (/usr/share/nodejs/nodeunit/lib/assert.js:326:5)
>> at assert.doesNotThrow (/usr/share/nodejs/nodeunit/lib/assert.js:357:11)
>> at Object.doesNotThrow (/usr/share/nodejs/nodeunit/lib/types.js:83:39)
>> at Object.handles uncommon Date#toTimeString formats (tests/moment-timezone/guess.js:71:8)
>> at /usr/share/nodejs/nodeunit/lib/core.js:232:20
>> at /usr/share/nodejs/async/dist/async.js:3682:19
>> guess - When Intl is available, it is used
>> TypeError: Cannot read properties of null (reading 'utcOffset')
>> at ZoneScore.scoreOffsetAt (moment-timezone.js:288:42)
>> at rebuildGuess (moment-timezone.js:415:15)
>> at Function.guess (moment-timezone.js:427:18)
>> at Object.When Intl is available, it is used (tests/moment-timezone/guess.js:83:17)
>> at /usr/share/nodejs/nodeunit/lib/core.js:232:20
>> at /usr/share/nodejs/async/dist/async.js:3682:19
>> at wrapper (/usr/share/nodejs/async/dist/async.js:272:20)
>> at replenish (/usr/share/nodejs/async/dist/async.js:442:29)
>> at /usr/share/nodejs/async/dist/async.js:452:13
>> at eachOfLimit (/usr/share/nodejs/async/dist/async.js:478:36)
>> guess - When Intl is available, but timeZone is undefined, should return a guess without logging an error
>> TypeError: Cannot read properties of null (reading 'utcOffset')
>> at ZoneScore.scoreOffsetAt (moment-timezone.js:288:42)
>> at rebuildGuess (moment-timezone.js:415:15)
>> at Function.guess (moment-timezone.js:427:18)
>> at Object.When Intl is available, but timeZone is undefined, should return a guess without logging an error (tests/moment-timezone/guess.js:101:17)
>> at /usr/share/nodejs/nodeunit/lib/core.js:232:20
>> at /usr/share/nodejs/async/dist/async.js:3682:19
>> at wrapper (/usr/share/nodejs/async/dist/async.js:272:20)
>> at replenish (/usr/share/nodejs/async/dist/async.js:442:29)
>> at /usr/share/nodejs/async/dist/async.js:452:13
>> at eachOfLimit (/usr/share/nodejs/async/dist/async.js:478:36)
>> guess - ensure each zone is represented
>> TypeError: Cannot read properties of null (reading 'utcOffset')
>> at ZoneScore.scoreOffsetAt (moment-timezone.js:288:42)
>> at rebuildGuess (moment-timezone.js:415:15)
>> at Function.guess (moment-timezone.js:427:18)
>> at Object.ensure each zone is represented (tests/moment-timezone/guess.js:115:15)
>> at /usr/share/nodejs/nodeunit/lib/core.js:232:20
>> at /usr/share/nodejs/async/dist/async.js:3682:19
>> at wrapper (/usr/share/nodejs/async/dist/async.js:272:20)
>> at replenish (/usr/share/nodejs/async/dist/async.js:442:29)
>> at /usr/share/nodejs/async/dist/async.js:452:13
>> at eachOfLimit (/usr/share/nodejs/async/dist/async.js:478:36)
Testing filter-years.js.......OK
Testing filter-link-pack.js.OK
Testing default.jsFFF.
>> default - defaultZone
>> TypeError: Cannot read properties of null (reading 'name')
>> at Object.defaultZone (tests/moment-timezone/default.js:13:56)
>> at Object.<anonymous> (/usr/share/nodejs/nodeunit/lib/core.js:236:16)
>> at Object.<anonymous> (/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 result (/usr/share/nodejs/async/dist/async.js:2119:13)
>> at /usr/share/nodejs/async/dist/async.js:247:13
>> at replenish (/usr/share/nodejs/async/dist/async.js:447:21)
>> at /usr/share/nodejs/async/dist/async.js:452:13
>> default - normal
>> TypeError: Cannot read properties of null (reading 'name')
>> at Object.normal (tests/moment-timezone/default.js:28:9)
>> at Object.<anonymous> (/usr/share/nodejs/nodeunit/lib/core.js:236:16)
>> at Object.<anonymous> (/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 result (/usr/share/nodejs/async/dist/async.js:2119:13)
>> at /usr/share/nodejs/async/dist/async.js:247:13
>> at replenish (/usr/share/nodejs/async/dist/async.js:447:21)
>> at iterateeCallback (/usr/share/nodejs/async/dist/async.js:431:21)
>> default - utc
>> Message: using UTC mode should not affect normal moment creation
>> Error: [32m'+0000'[39m != [32m'+0000'[39m
>> at Object.notEqual (/usr/share/nodejs/nodeunit/lib/types.js:83:39)
>> at Object.utc (tests/moment-timezone/default.js:52:5)
>> at Object.<anonymous> (/usr/share/nodejs/nodeunit/lib/core.js:236:16)
>> at Object.<anonymous> (/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 result (/usr/share/nodejs/async/dist/async.js:2119:13)
>> at /usr/share/nodejs/async/dist/async.js:247:13
>> at replenish (/usr/share/nodejs/async/dist/async.js:447:21)
Testing create-links.js...........OK
Testing add.js.....OK
Warning: 10/2479 assertions failed (70ms) Use --force to continue.
Aborted due to warnings.
make[1]: *** [debian/rules:45: override_dh_auto_test] Error 6
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list