Package: src:node-luxon Version: 3.7.2+~3.7.1-1 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/202603/ 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:node-luxon, 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 -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 [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` (node:51) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) Built node node tasks/buildGlobal.js Building global [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` (node:62) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) 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 [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` FAIL test/datetime/tokenParse.test.js â DateTime.fromFormat() makes dots optional and handles non breakable spaces expect(received).toBe(expected) // Object.is equality Expected: 10 Received: NaN 79 | function parseMeridiem(input, isAM) { 80 | const d = DateTime.fromFormat(input, "hh:mm a"); > 81 | expect(d.hour).toBe(isAM ? 10 : 22); | ^ 82 | expect(d.minute).toBe(45); 83 | expect(d.second).toBe(0); 84 | } at parseMeridiem (test/datetime/tokenParse.test.js:81:20) at f (test/datetime/tokenParse.test.js:88:5) at Object.withDefaultLocale (test/helpers.js:58:5) at Object.<anonymous> (test/datetime/tokenParse.test.js:87:11) â DateTime.fromFormatExplain() parses localized string with numberingSystem correctly expect(received).toBeInstanceOf(expected) Expected constructor: Array Received value has no prototype Received value: null 1126 | } 1127 | ); > 1128 | expect(ex18.rawMatches).toBeInstanceOf(Array); | ^ 1129 | expect(ex18.matches).toBeInstanceOf(Object); 1130 | expect(keyCount(ex18.matches)).toBe(7); 1131 | expect(ex18.result).toBeInstanceOf(Object); at Object.<anonymous> (test/datetime/tokenParse.test.js:1128:27) PASS test/datetime/create.test.js PASS test/datetime/toFormat.test.js FAIL test/datetime/format.test.js â DateTime#toLocaleString can override the dateTime's output calendar expect(received).toBe(expected) // Object.is equality Expected: "9/17/1698 ERA1" Received: "9/17/1698 AM" 489 | expect( 490 | dt.reconfigure({ outputCalendar: "islamic" }).toLocaleString({}, { outputCalendar: "coptic" }) > 491 | ).toBe("9/17/1698 ERA1"); | ^ 492 | }); 493 | 494 | test("DateTime#toLocaleString() returns something different for invalid DateTimes", () => { at Object.<anonymous> (test/datetime/format.test.js:491:5) PASS test/datetime/regexParse.test.js PASS test/datetime/math.test.js PASS test/datetime/relative.test.js PASS test/interval/many.test.js PASS test/duration/format.test.js PASS test/duration/units.test.js PASS test/datetime/zone.test.js PASS test/datetime/diff.test.js PASS test/datetime/localeWeek.test.js PASS test/interval/info.test.js PASS test/datetime/set.test.js FAIL test/interval/format.test.js â Interval#toLocaleString can override the start DateTime's output calendar expect(received).toBe(expected) // Object.is equality Expected: "9/17/1698âââ2/3/1700 ERA1" Received: "9/17/1698âââ2/3/1700 AM" 90 | interval.end 91 | ).toLocaleString({}, { outputCalendar: "coptic" }) > 92 | ).toBe("9/17/1698âââ2/3/1700 ERA1"); | ^ 93 | }); 94 | 95 | test("Interval#toLocaleString shows things in the right IANA zone", () => { at Object.<anonymous> (test/interval/format.test.js:92:5) PASS test/info/listers.test.js PASS test/duration/math.test.js PASS test/datetime/dst.test.js PASS test/impl/english.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/interval/parse.test.js PASS test/duration/equality.test.js PASS test/datetime/many.test.js PASS test/duration/getters.test.js PASS test/duration/invalid.test.js PASS test/info/localeWeek.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/tokenParse.test.js â DateTime.fromFormat() makes dots optional and handles non breakable spaces expect(received).toBe(expected) // Object.is equality Expected: 10 Received: NaN 79 | function parseMeridiem(input, isAM) { 80 | const d = DateTime.fromFormat(input, "hh:mm a"); > 81 | expect(d.hour).toBe(isAM ? 10 : 22); | ^ 82 | expect(d.minute).toBe(45); 83 | expect(d.second).toBe(0); 84 | } at parseMeridiem (test/datetime/tokenParse.test.js:81:20) at f (test/datetime/tokenParse.test.js:88:5) at Object.withDefaultLocale (test/helpers.js:58:5) at Object.<anonymous> (test/datetime/tokenParse.test.js:87:11) â DateTime.fromFormatExplain() parses localized string with numberingSystem correctly expect(received).toBeInstanceOf(expected) Expected constructor: Array Received value has no prototype Received value: null 1126 | } 1127 | ); > 1128 | expect(ex18.rawMatches).toBeInstanceOf(Array); | ^ 1129 | expect(ex18.matches).toBeInstanceOf(Object); 1130 | expect(keyCount(ex18.matches)).toBe(7); 1131 | expect(ex18.result).toBeInstanceOf(Object); at Object.<anonymous> (test/datetime/tokenParse.test.js:1128:27) FAIL test/datetime/format.test.js â DateTime#toLocaleString can override the dateTime's output calendar expect(received).toBe(expected) // Object.is equality Expected: "9/17/1698 ERA1" Received: "9/17/1698 AM" 489 | expect( 490 | dt.reconfigure({ outputCalendar: "islamic" }).toLocaleString({}, { outputCalendar: "coptic" }) > 491 | ).toBe("9/17/1698 ERA1"); | ^ 492 | }); 493 | 494 | test("DateTime#toLocaleString() returns something different for invalid DateTimes", () => { at Object.<anonymous> (test/datetime/format.test.js:491:5) FAIL test/interval/format.test.js â Interval#toLocaleString can override the start DateTime's output calendar expect(received).toBe(expected) // Object.is equality Expected: "9/17/1698âââ2/3/1700 ERA1" Received: "9/17/1698âââ2/3/1700 AM" 90 | interval.end 91 | ).toLocaleString({}, { outputCalendar: "coptic" }) > 92 | ).toBe("9/17/1698âââ2/3/1700 ERA1"); | ^ 93 | }); 94 | 95 | test("Interval#toLocaleString shows things in the right IANA zone", () => { at Object.<anonymous> (test/interval/format.test.js:92:5) Test Suites: 3 failed, 55 passed, 58 total Tests: 4 failed, 1146 passed, 1150 total Snapshots: 1 passed, 1 total Time: 5.987 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 failed with exit status 2 --------------------------------------------------------------------------------

