[Pkg-javascript-devel] Bug#1101843: node-luxon: FTBFS: tests fail on 31th March
Jérémy Lal
kapouer at melix.org
Tue Apr 1 19:09:02 BST 2025
That's because 31 march was cancelled.
Le mar. 1 avr. 2025 à 18:39, Santiago Vila <sanvila at debian.org> a écrit :
> Package: src:node-luxon
> Version: 3.5.0+~3.4.2-2
> Severity: serious
> Tags: ftbfs trixie sid
>
> Dear maintainer:
>
> During a rebuild of all packages in unstable, your package failed to build:
>
> Note 1: If this was a random package I would use "important" here, but
> according to the description the purpose of this package is to handle
> dates and times, so I consider this not suitable for release.
>
> Note 2: To reproduce, please try this:
>
> faketime "2025-03-31 12:00:00" dpkg-buildpackage -uc -us -b
>
>
> --------------------------------------------------------------------------------
> [...]
> debian/rules clean
> dh clean
> dh_auto_clean --buildsystem=nodejs
> rm -rf ./node_modules/.cache ./.nyc_output
> rm -rf types-luxon/node_modules/.cache types-luxon/.nyc_output
> rm ./node_modules/.cache
> rm types-luxon/node_modules/.cache
> rm ./node_modules/.cache
> unlink node_modules/@types/luxon
> debian/rules execute_before_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf build
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_clean
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> Link node_modules/@types/luxon -> ../../types-luxon
> debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> node tasks/buildNode.js
> Building node
> Built node
> node tasks/buildGlobal.js
> Building global
> Built global
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> ln -s ../. node_modules/luxon
> /bin/sh -ex debian/tests/pkg-js/test
> + TZ=America/New_York LANG=en_US jest
> PASS test/datetime/tokenParse.test.js
> PASS test/datetime/create.test.js
> PASS test/datetime/toFormat.test.js
> PASS test/datetime/regexParse.test.js
> PASS test/datetime/format.test.js
> PASS test/datetime/math.test.js
> PASS test/interval/many.test.js
> PASS test/datetime/diff.test.js
> PASS test/duration/format.test.js
> PASS test/datetime/localeWeek.test.js
> PASS test/datetime/zone.test.js
> PASS test/duration/units.test.js
> PASS test/interval/info.test.js
> FAIL test/datetime/relative.test.js
> ● DateTime#toRelativeCalendar picks the correct unit with no options
>
> expect(received).toBe(expected) // Object.is equality
>
> Expected: "next year"
> Received: "next month"
>
> 123 | const isLastDayOfMonth = now.endOf("month").day === now.day;
> 124 | const isLastDayOfYear = now.endOf("year").day === now.day;
> > 125 | expect(now.plus({ days: 1 }).toRelativeCalendar()).toBe(
> | ^
> 126 | isLastDayOfYear ? "next year" :
> 127 | isLastDayOfMonth ? "next month" : "tomorrow"
> 128 | );
>
> at Object.<anonymous> (test/datetime/relative.test.js:125:54)
>
> PASS test/datetime/set.test.js
> PASS test/interval/format.test.js
> PASS test/info/listers.test.js
> PASS test/duration/math.test.js
> PASS test/datetime/dst.test.js
> PASS test/datetime/getters.test.js
> PASS test/zones/IANA.test.js
> PASS test/datetime/misc.test.js
> PASS test/duration/create.test.js
> PASS test/duration/parse.test.js
> PASS test/interval/create.test.js
> PASS test/info/zones.test.js
> PASS test/datetime/invalid.test.js
> PASS test/zones/fixedOffset.test.js
> PASS test/impl/english.test.js
> PASS test/interval/parse.test.js
> PASS test/duration/equality.test.js
> PASS test/datetime/many.test.js
> PASS test/info/localeWeek.test.js
> PASS test/duration/getters.test.js
> PASS test/duration/invalid.test.js
> PASS test/datetime/transform.test.js
> PASS test/datetime/equality.test.js
> PASS test/duration/reconfigure.test.js
> PASS test/datetime/reconfigure.test.js
> PASS test/duration/customMatrix.test.js
> PASS test/duration/set.test.js
> PASS test/duration/accuracy.test.js
> PASS test/interval/localeWeek.test.js
> PASS test/zones/local.test.js
> PASS test/datetime/info.test.js
> PASS test/duration/typecheck.test.js
> PASS test/datetime/typecheck.test.js
> PASS test/interval/typecheck.test.js
> PASS test/interval/getters.test.js
> PASS test/interval/setter.test.js
> PASS test/zones/invalid.test.js
> PASS test/info/features.test.js
> PASS test/duration/info.test.js
> PASS test/interval/proto.test.js
> PASS test/datetime/proto.test.js
> PASS test/datetime/degrade.test.js
> PASS test/duration/proto.test.js
> PASS test/zones/zoneInterface.test.js
>
> Summary of all failing tests
> FAIL test/datetime/relative.test.js
> ● DateTime#toRelativeCalendar picks the correct unit with no options
>
> expect(received).toBe(expected) // Object.is equality
>
> Expected: "next year"
> Received: "next month"
>
> 123 | const isLastDayOfMonth = now.endOf("month").day === now.day;
> 124 | const isLastDayOfYear = now.endOf("year").day === now.day;
> > 125 | expect(now.plus({ days: 1 }).toRelativeCalendar()).toBe(
> | ^
> 126 | isLastDayOfYear ? "next year" :
> 127 | isLastDayOfMonth ? "next month" : "tomorrow"
> 128 | );
>
> at Object.<anonymous> (test/datetime/relative.test.js:125:54)
>
>
> Test Suites: 1 failed, 57 passed, 58 total
> Tests: 1 failed, 1115 passed, 1116 total
> Snapshots: 1 passed, 1 total
> Time: 6.378 s
> Ran all test suites.
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit
> code 1
> make: *** [debian/rules:8: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
>
> --------------------------------------------------------------------------------
>
> The above is just how the build ends and not necessarily the most relevant
> part.
> If required, the full build log is available here:
>
> https://people.debian.org/~sanvila/build-logs/202504/
>
> 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 could not 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:node-luxon, so that this is still
> visible in the BTS web page for this package.
>
> Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20250401/ddc06c97/attachment.htm>
More information about the Pkg-javascript-devel
mailing list