[Pkg-javascript-devel] Bug#1067334: node-iconv-lite: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 134

Lucas Nussbaum lucas at debian.org
Wed Mar 20 21:01:03 GMT 2024


Source: node-iconv-lite
Version: 0.6.3-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240319 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	mkdir -p node_modules
> 	ln -s ../. node_modules/iconv-lite
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha
> 
> windows-1251 charset performance test:
> 
> Encoding 262144 chars 10000 times:
> iconv: 13296ms, 192.54 Mb/s.
> iconv-lite: 10211ms, 250.71 Mb/s.
> 
> Decoding 262144 bytes 10000 times:
> iconv: 16571ms, 154.49 Mb/s.
> iconv-lite: 35307ms, 72.51 Mb/s.
> 
> 
>   Big5 tests
>     undefined Big5 correctly encoded/decoded
>     undefined cp950 correctly encoded/decoded
>     undefined Big5 file read decoded,compare with iconv result
>     undefined Big5 correctly decodes and encodes characters · and ×
>     undefined Big5 correctly encodes & decodes sequences
>     undefined Big5 correctly encodes 十
>     undefined Big5 correctly encodes 起 (issue #264)
> 
>   BOM Handling
>     undefined strips UTF-8 BOM
>     undefined strips UTF-16 BOM
>     undefined doesn't strip BOMs when stripBOM=false
>     undefined adds/strips UTF-7 BOM
>     undefined adds UTF-8 BOM when addBOM=true
>     undefined adds UTF-16 BOMs when addBOM=true
>     undefined 'UTF-16' encoding adds BOM by default, but can be overridden with addBOM=false
>     undefined when stripping BOM, calls callback 'stripBOM' if provided
> 
>   CESU-8 codec
>     undefined encodes correctly
>     undefined decodes correctly
> 
>   Test Cyrillic encodings
>     Win-1251:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
>     Koi8-R:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
>     ISO 8859-5:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
> 
>   Full DBCS encoding tests
>     undefined Decode DBCS encoding 'shiftjis' (243ms)
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           2014 | — | 81 5c | 3f
>        
>     undefined Encode DBCS encoding 'shiftjis' (1515ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           80 | 0080 | fffd | € | �
>           81 | 0081 | fffd |  | �
>           82 | 0082 | fffd | ‚ | �
>           83 | 0083 | fffd | ƒ | �
>           84 | 0084 | fffd | „ | �
>           85 | 0085 | fffd | 
 | �
>           86 | 0086 | fffd | † | �
>           87 | 0087 | fffd | ‡ | �
>           88 | 0088 | fffd | ˆ | �
>           89 | 0089 | fffd | ‰ | �
>           8a | 008a | fffd | Š | �
>           8b | 008b | fffd | ‹ | �
>           8c | 008c | fffd | Œ | �
>           8d | 008d | fffd |  | �
>           90 | 0090 | fffd |  | �
>           91 | 0091 | fffd | ‘ | �
>           92 | 0092 | fffd | ’ | �
>           93 | 0093 | fffd | “ | �
>           94 | 0094 | fffd | ” | �
>           95 | 0095 | fffd | • | �
>           96 | 0096 | fffd | – | �
>           97 | 0097 | fffd | — | �
>           98 | 0098 | fffd | ˜ | �
>           99 | 0099 | fffd | ™ | �
>           9a | 009a | fffd | š | �
>           9b | 009b | fffd | › | �
>           9c | 009c | fffd | œ | �
>           9d | 009d | fffd |  | �
>           9e | 009e | fffd | ž | �
>           9f | 009f | fffd | Ÿ | �
>           f9 a1 | fffd | 7e8a | � | 纊
>           f9 a2 | fffd | 891c | � | 褜
>           f9 a3 | fffd | 9348 | � | 鍈
>           f9 a4 | fffd | 9288 | � | 銈
>           f9 a5 | fffd | 84dc | � | 蓜
>           f9 a6 | fffd | 4fc9 | � | 俉
>           f9 a8 | fffd | 6631 | � | 昱
>           f9 a9 | fffd | 68c8 | � | 棈
>           f9 aa | fffd | 92f9 | � | 鋹
>           f9 ab | fffd | 66fb | � | 曻
>           f9 ac | fffd | 5f45 | � | 彅
>           f9 ad | fffd | 4e28 | � | 丨
>           f9 ae | fffd | 4ee1 | � | 仡
>           f9 b0 | fffd | 4f00 | � | 伀
>           f9 b1 | fffd | 4f03 | � | 伃
>           f9 b2 | fffd | 4f39 | � | 伹
>           f9 b3 | fffd | 4f56 | � | 佖
>           f9 b4 | fffd | 4f92 | � | 侒
>           f9 b5 | fffd | 4f8a | � | 侊
>           f9 b6 | fffd | 4f9a | � | 侚
>           f9 b7 | fffd | 4f94 | � | 侔
>           f9 b8 | fffd | 4fcd | � | 俍
>           f9 b9 | fffd | 5040 | � | 偀
>           f9 ba | fffd | 5022 | � | 倢
>           f9 bb | fffd | 4fff | � | 俿
>           f9 bc | fffd | 501e | � | 倞
>           f9 bd | fffd | 5046 | � | 偆
>           f9 be | fffd | 5070 | � | 偰
>           f9 bf | fffd | 5042 | � | 偂
>           f9 c0 | fffd | 5094 | � | 傔
>           f9 c2 | fffd | 50d8 | � | 僘
>           f9 c3 | fffd | 514a | � | 兊
>           f9 c4 | fffd | 5164 | � | 兤
>           f9 c5 | fffd | 519d | � | 冝
>           f9 c6 | fffd | 51be | � | 冾
>           f9 c8 | fffd | 5215 | � | 刕
>           f9 c9 | fffd | 529c | � | 劜
>           f9 ca | fffd | 52a6 | � | 劦
>           f9 cb | fffd | 52c0 | � | 勀
>           f9 cc | fffd | 52db | � | 勛
>           f9 cd | fffd | 5300 | � | 匀
>           f9 d0 | fffd | 5372 | � | 卲
>           f9 d1 | fffd | 5393 | � | 厓
>           f9 d2 | fffd | 53b2 | � | 厲
>           f9 d3 | fffd | 53dd | � | 叝
>           f9 d5 | fffd | 549c | � | 咜
>           f9 d7 | fffd | 54a9 | � | 咩
>           f9 d8 | fffd | 54ff | � | 哿
>           f9 d9 | fffd | 5586 | � | 喆
>           f9 db | fffd | 5765 | � | 坥
>           f9 dc | fffd | 57ac | � | 垬
>           f9 dd | fffd | 57c8 | � | 埈
>           f9 de | fffd | 57c7 | � | 埇
>           f9 e2 | fffd | 58b2 | � | 墲
>           f9 e3 | fffd | 590b | � | 夋
>           f9 e4 | fffd | 5953 | � | 奓
>           f9 e5 | fffd | 595b | � | 奛
>           f9 e6 | fffd | 595d | � | 奝
>           f9 e7 | fffd | 5963 | � | 奣
>           f9 e8 | fffd | 59a4 | � | 妤
>           f9 e9 | fffd | 59ba | � | 妺
>           f9 ea | fffd | 5b56 | � | 孖
>           f9 eb | fffd | 5bc0 | � | 寀
>           f9 ec | fffd | 752f | � | 甯
>           f9 ed | fffd | 5bd8 | � | 寘
>           f9 ef | fffd | 5c1e | � | 尞
>           f9 f0 | fffd | 5ca6 | � | 岦
>           f9 f1 | fffd | 5cba | � | 岺
>           f9 f3 | fffd | 5d27 | � | 崧
>           f9 f6 | fffd | 5d42 | � | 嵂
>           f9 f7 | fffd | 5d6d | � | 嵭
>           f9 f8 | fffd | 5db8 | � | 嶸
>           f9 f9 | fffd | 5db9 | � | 嶹
>           f9 fa | fffd | 5dd0 | � | 巐
>           f9 fb | fffd | 5f21 | � | 弡
>           f9 fc | fffd | 5f34 | � | 弴
>           f9 fd | fffd | 5f67 | � | 彧
>           fa a1 | fffd | 5fde | � | 忞
>           fa a2 | fffd | 605d | � | 恝
>           fa a4 | fffd | 608a | � | 悊
>           fa a5 | fffd | 60de | � | 惞
>           fa a6 | fffd | 60d5 | � | 惕
>           fa a8 | fffd | 60f2 | � | 惲
>           fa a9 | fffd | 6111 | � | 愑
>           fa aa | fffd | 6137 | � | 愷
>           fa ab | fffd | 6130 | � | 愰
>           fa ac | fffd | 6198 | � | 憘
>           fa ad | fffd | 6213 | � | 戓
>           fa ae | fffd | 62a6 | � | 抦
>           fa af | fffd | 63f5 | � | 揵
>           fa b0 | fffd | 6460 | � | 摠
>           fa b1 | fffd | 649d | � | 撝
>           fa b2 | fffd | 64ce | � | 擎
>           fa b4 | fffd | 6600 | � | 昀
>           fa b5 | fffd | 6615 | � | 昕
>           fa b7 | fffd | 6609 | � | 昉
>           fa b8 | fffd | 662e | � | 昮
>           fa b9 | fffd | 661e | � | 昞
>           fa ba | fffd | 6624 | � | 昤
>           fa bc | fffd | 6657 | � | 晗
>           fa bd | fffd | 6659 | � | 晙
>           fa bf | fffd | 6673 | � | 晳
>           fa c0 | fffd | 6699 | � | 暙
>           fa c1 | fffd | 66a0 | � | 暠
>           fa c2 | fffd | 66b2 | � | 暲
>           fa c3 | fffd | 66bf | � | 暿
>           fa c4 | fffd | 66fa | � | 曺
>           fa c5 | fffd | 670e | � | 朎
>           fa c7 | fffd | 6766 | � | 杦
>           fa c8 | fffd | 67bb | � | 枻
>           fa c9 | fffd | 6852 | � | 桒
>           fa ca | fffd | 67c0 | � | 柀
>           fa cc | fffd | 6844 | � | 桄
>           fa cd | fffd | 68cf | � | 棏
>           fa cf | fffd | 6968 | � | 楨
>           fa d1 | fffd | 6998 | � | 榘
>           fa d2 | fffd | 69e2 | � | 槢
>           fa d3 | fffd | 6a30 | � | 樰
>           fa d5 | fffd | 6a46 | � | 橆
>           fa d6 | fffd | 6a73 | � | 橳
>           fa d7 | fffd | 6a7e | � | 橾
>           fa d9 | fffd | 6ae4 | � | 櫤
>           fa da | fffd | 6bd6 | � | 毖
>           fa db | fffd | 6c3f | � | 氿
>           fa dc | fffd | 6c5c | � | 汜
>           fa dd | fffd | 6c86 | � | 沆
>           fa de | fffd | 6c6f | � | 汯
>           fa df | fffd | 6cda | � | 泚
>           fa e0 | fffd | 6d04 | � | 洄
>           fa e1 | fffd | 6d87 | � | 涇
>           fa e2 | fffd | 6d6f | � | 浯
>           fa e3 | fffd | 6d96 | � | 涖
>           fa e4 | fffd | 6dac | � | 涬
>           fa e5 | fffd | 6dcf | � | 淏
>           fa e8 | fffd | 6dfc | � | 淼
>           fa e9 | fffd | 6e39 | � | 渹
>           fa ea | fffd | 6e5c | � | 湜
>           fa eb | fffd | 6e27 | � | 渧
>           fa ec | fffd | 6e3c | � | 渼
>           fa ed | fffd | 6ebf | � | 溿
>           fa ee | fffd | 6f88 | � | 澈
>           fa ef | fffd | 6fb5 | � | 澵
>           fa f0 | fffd | 6ff5 | � | 濵
>           fa f1 | fffd | 7005 | � | 瀅
>           fa f2 | fffd | 7007 | � | 瀇
>           fa f4 | fffd | 7085 | � | 炅
>           fa f5 | fffd | 70ab | � | 炫
>           fa f6 | fffd | 710f | � | 焏
>           fa f7 | fffd | 7104 | � | 焄
>           fa f8 | fffd | 715c | � | 煜
>           fa f9 | fffd | 7146 | � | 煆
>           fa fa | fffd | 7147 | � | 煇
>           fa fc | fffd | 71c1 | � | 燁
>           fa fd | fffd | 71fe | � | 燾
>           fa fe | fffd | 72b1 | � | 犱
>           fb a1 | fffd | 72be | � | 犾
>           fb a2 | fffd | 7324 | � | 猤
>           fb a4 | fffd | 7377 | � | 獷
>           fb a5 | fffd | 73bd | � | 玽
>           fb a6 | fffd | 73c9 | � | 珉
>           fb a7 | fffd | 73d6 | � | 珖
>           fb a8 | fffd | 73e3 | � | 珣
>           fb a9 | fffd | 73d2 | � | 珒
>           fb aa | fffd | 7407 | � | 琇
>           fb ab | fffd | 73f5 | � | 珵
>           fb ac | fffd | 7426 | � | 琦
>           fb ad | fffd | 742a | � | 琪
>           fb ae | fffd | 7429 | � | 琩
>           fb af | fffd | 742e | � | 琮
>           fb b0 | fffd | 7462 | � | 瑢
>           fb b1 | fffd | 7489 | � | 璉
>           fb b2 | fffd | 749f | � | 璟
>           fb b4 | fffd | 756f | � | 畯
>           fb b6 | fffd | 769c | � | 皜
>           fb b8 | fffd | 769b | � | 皛
>           fb b9 | fffd | 76a6 | � | 皦
>           fb bb | fffd | 7746 | � | 睆
>           fb bc | fffd | 52af | � | 劯
>           fb bd | fffd | 7821 | � | 砡
>           fb be | fffd | 784e | � | 硎
>           fb bf | fffd | 7864 | � | 硤
>           fb c0 | fffd | 787a | � | 硺
>           fb c5 | fffd | 7994 | � | 禔
>           fb c7 | fffd | 799b | � | 禛
>           fb c8 | fffd | 7ad1 | � | 竑
>           fb cb | fffd | 7aeb | � | 竫
>           fb cc | fffd | 7b9e | � | 箞
>           fb ce | fffd | 7d48 | � | 絈
>           fb cf | fffd | 7d5c | � | 絜
>           fb d0 | fffd | 7db7 | � | 綷
>           fb d3 | fffd | 7e52 | � | 繒
>           fb d4 | fffd | 7f47 | � | 罇
>           fb d5 | fffd | 7fa1 | � | 羡
>           fb d7 | fffd | 8301 | � | 茁
>           fb d9 | fffd | 837f | � | 荿
>           fb da | fffd | 83c7 | � | 菇
>           fb db | fffd | 83f6 | � | 菶
>           fb dc | fffd | 8448 | � | 葈
>           fb dd | fffd | 84b4 | � | 蒴
>           fb de | fffd | 8553 | � | 蕓
>           fb df | fffd | 8559 | � | 蕙
>           fb e0 | fffd | 856b | � | 蕫
>           fb e6 | fffd | 88f5 | � | 裵
>           fb e7 | fffd | 8a12 | � | 訒
>           fb e8 | fffd | 8a37 | � | 訷
>           fb e9 | fffd | 8a79 | � | 詹
>           fb ea | fffd | 8aa7 | � | 誧
>           fb eb | fffd | 8abe | � | 誾
>           fb ec | fffd | 8adf | � | 諟
>           fb ee | fffd | 8af6 | � | 諶
>           fb ef | fffd | 8b53 | � | 譓
>           fb f1 | fffd | 8cf0 | � | 賰
>           fb f3 | fffd | 8d12 | � | 贒
>           fb f6 | fffd | 8ecf | � | 軏
>           fb f9 | fffd | 9067 | � | 遧
>           fb fd | fffd | 9127 | � | 鄧
>           fb fe | fffd | 91da | � | 釚
>           fc a1 | fffd | 91d7 | � | 釗
>           fc a2 | fffd | 91de | � | 釞
>           fc a3 | fffd | 91ed | � | 釭
>           fc a4 | fffd | 91ee | � | 釮
>           fc a5 | fffd | 91e4 | � | 釤
>           fc a6 | fffd | 91e5 | � | 釥
>           fc a7 | fffd | 9206 | � | 鈆
>           fc a8 | fffd | 9210 | � | 鈐
>           fc a9 | fffd | 920a | � | 鈊
>           fc aa | fffd | 923a | � | 鈺
>           fc ab | fffd | 9240 | � | 鉀
>           fc ac | fffd | 923c | � | 鈼
>           fc ad | fffd | 924e | � | 鉎
>           fc ae | fffd | 9259 | � | 鉙
>           fc af | fffd | 9251 | � | 鉑
>           fc b0 | fffd | 9239 | � | 鈹
>           fc b1 | fffd | 9267 | � | 鉧
>           fc b2 | fffd | 92a7 | � | 銧
>           fc b3 | fffd | 9277 | � | 鉷
>           fc b4 | fffd | 9278 | � | 鉸
>           fc b5 | fffd | 92e7 | � | 鋧
>           fc b6 | fffd | 92d7 | � | 鋗
>           fc b7 | fffd | 92d9 | � | 鋙
>           fc b8 | fffd | 92d0 | � | 鋐
>           fc ba | fffd | 92d5 | � | 鋕
>           fc bb | fffd | 92e0 | � | 鋠
>           fc bc | fffd | 92d3 | � | 鋓
>           fc bd | fffd | 9325 | � | 錥
>           fc be | fffd | 9321 | � | 錡
>           fc bf | fffd | 92fb | � | 鋻
>           fc c1 | fffd | 931e | � | 錞
>           fc c2 | fffd | 92ff | � | 鋿
>           fc c3 | fffd | 931d | � | 錝
>           fc c4 | fffd | 9302 | � | 錂
>           fc c5 | fffd | 9370 | � | 鍰
>           fc c6 | fffd | 9357 | � | 鍗
>           fc c7 | fffd | 93a4 | � | 鎤
>           fc c8 | fffd | 93c6 | � | 鏆
>           fc c9 | fffd | 93de | � | 鏞
>           fc ca | fffd | 93f8 | � | 鏸
>           fc cb | fffd | 9431 | � | 鐱
>           fc cc | fffd | 9445 | � | 鑅
>           fc cd | fffd | 9448 | � | 鑈
>           fc d1 | fffd | 969d | � | 隝
>           fc d2 | fffd | 96af | � | 隯
>           fc d3 | fffd | 9733 | � | 霳
>           fc d5 | fffd | 9743 | � | 靃
>           fc d7 | fffd | 974f | � | 靏
>           fc d9 | fffd | 9755 | � | 靕
>           fc da | fffd | 9857 | � | 顗
>           fc db | fffd | 9865 | � | 顥
>           fc de | fffd | 9927 | � | 餧
>           fc e1 | fffd | 9a4e | � | 驎
>           fc e3 | fffd | 9adc | � | 髜
>           fc e4 | fffd | 9b75 | � | 魵
>           fc e6 | fffd | 9b8f | � | 鮏
>           fc e7 | fffd | 9bb1 | � | 鮱
>           fc e8 | fffd | 9bbb | � | 鮻
>           fc e9 | fffd | 9c00 | � | 鰀
>           fc ea | fffd | 9d70 | � | 鵰
>           fc eb | fffd | 9d6b | � | 鵫
>           fc ed | fffd | 9e19 | � | 鸙
>           fc fb | fffd | ffe2 | � | ¬
>        
>     undefined Decode DBCS encoding 'eucjp' (1296ms)
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           0080 | € | 80 | 3f
>           0081 |  | 81 | 3f
>           0082 | ‚ | 82 | 3f
>           0083 | ƒ | 83 | 3f
>           0084 | „ | 84 | 3f
>           0085 | 
 | 85 | 3f
>           0086 | † | 86 | 3f
>           0087 | ‡ | 87 | 3f
>           0088 | ˆ | 88 | 3f
>           0089 | ‰ | 89 | 3f
>           008a | Š | 8a | 3f
>           008b | ‹ | 8b | 3f
>           008c | Π| 8c | 3f
>           008d |  | 8d | 3f
>           0090 |  | 90 | 3f
>           0091 | ‘ | 91 | 3f
>           0092 | ’ | 92 | 3f
>           0093 | “ | 93 | 3f
>           0094 | ” | 94 | 3f
>           0095 | • | 95 | 3f
>           0096 | – | 96 | 3f
>           0097 | — | 97 | 3f
>           0098 | ˜ | 98 | 3f
>           0099 | ™ | 99 | 3f
>           009a | š | 9a | 3f
>           009b | › | 9b | 3f
>           009c | œ | 9c | 3f
>           009d |  | 9d | 3f
>           009e | ž | 9e | 3f
>           009f | Ÿ | 9f | 3f
>        
>     undefined Encode DBCS encoding 'eucjp' (1765ms)
>     undefined Decode DBCS encoding 'cp936' (624ms)
>     undefined Encode DBCS encoding 'cp936' (1509ms)
>     undefined Decode DBCS encoding 'gbk' (682ms)
>     undefined Encode DBCS encoding 'gbk' (1467ms)
>     undefined Decode DBCS encoding 'gb18030' (5197ms)
>     undefined Encode DBCS encoding 'gb18030' (505ms)
>     undefined Decode DBCS encoding 'cp949' (762ms)
>     undefined Encode DBCS encoding 'cp949' (1670ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           80 | 0080 | fffd | € | �
>        
>     undefined Decode DBCS encoding 'cp950' (486ms)
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           0080 | € | 80 | 3f
>        
>     undefined Encode DBCS encoding 'cp950' (1737ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           80 | 0080 | fffd | € | �
>        
>     undefined Decode DBCS encoding 'big5hkscs' (699ms)
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           0080 | € | 80 | 3f
>        
>     undefined Encode DBCS encoding 'big5hkscs' (1633ms)
> 
>   GBK tests
>     undefined GBK correctly encoded/decoded
>     undefined GB2312 correctly encoded/decoded
>     undefined GBK file read decoded,compare with iconv result
>     undefined GBK correctly decodes and encodes characters · and ×
>     undefined GBK and GB18030 correctly decodes and encodes Euro character
>     undefined GB18030 findIdx works correctly
>     undefined GB18030 encodes/decodes 4 byte sequences
>     undefined GB18030 correctly decodes incomplete 4 byte sequences
>     undefined GB18030:2005 changes are applied
> 
>   Test Greek encodings
>     windows1253:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
>     iso88597:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
>     cp737:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
> 
>   Generic UTF8-UCS2 tests
>     undefined Return values are of correct types
>     undefined Internal encodings all correctly encoded/decoded
>     undefined Base64 correctly encoded/decoded
>     undefined Hex correctly encoded/decoded
>     undefined Latin1 correctly encoded/decoded
>     undefined Convert to string, not buffer (utf8 used)
>     undefined Throws on unknown encodings
>     undefined Convert non-strings and non-buffers
>     undefined Aliases toEncoding and fromEncoding work the same as encode and decode
>     undefined handles Object & Array prototypes monkey patching
>     undefined handles encoding untranslatable characters correctly
> 
>   Canonicalize encoding function
>     undefined works with numbers directly
>     undefined correctly strips year and non-alpha chars
> 
>   Full SBCS encoding tests
>     - Decode SBCS encoding maccenteuro
>     - Encode SBCS encoding maccenteuro
>     - Decode SBCS encoding cp808
>     - Encode SBCS encoding cp808
>     undefined Decode SBCS encoding mik
>     undefined Encode SBCS encoding mik (548ms)
>     - Decode SBCS encoding cp720
>     - Encode SBCS encoding cp720
>     undefined Decode SBCS encoding windows874 (WINDOWS-874)
>     undefined Encode SBCS encoding windows874 (WINDOWS-874) (526ms)
>     undefined Decode SBCS encoding windows1250 (WINDOWS-1250)
>     undefined Encode SBCS encoding windows1250 (WINDOWS-1250) (512ms)
>     undefined Decode SBCS encoding windows1251 (WINDOWS-1251)
>     undefined Encode SBCS encoding windows1251 (WINDOWS-1251) (498ms)
>     undefined Decode SBCS encoding windows1252 (WINDOWS-1252)
>     undefined Encode SBCS encoding windows1252 (WINDOWS-1252) (498ms)
>     undefined Decode SBCS encoding windows1253 (WINDOWS-1253)
>     undefined Encode SBCS encoding windows1253 (WINDOWS-1253) (495ms)
>     undefined Decode SBCS encoding windows1254 (WINDOWS-1254)
>     undefined Encode SBCS encoding windows1254 (WINDOWS-1254) (499ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           ca | fffd | 05ba | � | ֺ
>        
>     undefined Decode SBCS encoding windows1255 (WINDOWS-1255)
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           05ba | ֺ | 3f | ca
>        
>     undefined Encode SBCS encoding windows1255 (WINDOWS-1255) (506ms)
>     undefined Decode SBCS encoding windows1256 (WINDOWS-1256)
>     undefined Encode SBCS encoding windows1256 (WINDOWS-1256) (532ms)
>     undefined Decode SBCS encoding windows1257 (WINDOWS-1257)
>     undefined Encode SBCS encoding windows1257 (WINDOWS-1257) (535ms)
>     undefined Decode SBCS encoding windows1258 (WINDOWS-1258)
>     undefined Encode SBCS encoding windows1258 (WINDOWS-1258) (573ms)
>     undefined Decode SBCS encoding iso88591 (ISO8859-1)
>     undefined Encode SBCS encoding iso88591 (ISO8859-1) (536ms)
>     undefined Decode SBCS encoding iso88592 (ISO8859-2)
>     undefined Encode SBCS encoding iso88592 (ISO8859-2) (503ms)
>     undefined Decode SBCS encoding iso88593 (ISO8859-3)
>     undefined Encode SBCS encoding iso88593 (ISO8859-3) (501ms)
>     undefined Decode SBCS encoding iso88594 (ISO8859-4)
>     undefined Encode SBCS encoding iso88594 (ISO8859-4) (500ms)
>     undefined Decode SBCS encoding iso88595 (ISO8859-5)
>     undefined Encode SBCS encoding iso88595 (ISO8859-5) (503ms)
>     undefined Decode SBCS encoding iso88596 (ISO8859-6)
>     undefined Encode SBCS encoding iso88596 (ISO8859-6) (503ms)
>     undefined Decode SBCS encoding iso88597 (ISO8859-7)
>     undefined Encode SBCS encoding iso88597 (ISO8859-7) (503ms)
>     undefined Decode SBCS encoding iso88598 (ISO8859-8)
>     undefined Encode SBCS encoding iso88598 (ISO8859-8) (503ms)
>     undefined Decode SBCS encoding iso88599 (ISO8859-9)
>     undefined Encode SBCS encoding iso88599 (ISO8859-9) (502ms)
>     undefined Decode SBCS encoding iso885910 (ISO8859-10)
>     undefined Encode SBCS encoding iso885910 (ISO8859-10) (505ms)
>     undefined Decode SBCS encoding iso885911 (ISO8859-11)
>     undefined Encode SBCS encoding iso885911 (ISO8859-11) (502ms)
>     undefined Decode SBCS encoding iso885913 (ISO8859-13)
>     undefined Encode SBCS encoding iso885913 (ISO8859-13) (505ms)
>     undefined Decode SBCS encoding iso885914 (ISO8859-14)
>     undefined Encode SBCS encoding iso885914 (ISO8859-14) (505ms)
>     undefined Decode SBCS encoding iso885915 (ISO8859-15)
>     undefined Encode SBCS encoding iso885915 (ISO8859-15) (508ms)
>     undefined Decode SBCS encoding iso885916 (ISO8859-16)
>     undefined Encode SBCS encoding iso885916 (ISO8859-16) (502ms)
>     undefined Decode SBCS encoding cp437
>     undefined Encode SBCS encoding cp437 (504ms)
>     undefined Decode SBCS encoding cp737
>     undefined Encode SBCS encoding cp737 (503ms)
>     undefined Decode SBCS encoding cp775
>     undefined Encode SBCS encoding cp775 (506ms)
>     undefined Decode SBCS encoding cp850
>     undefined Encode SBCS encoding cp850 (504ms)
>     undefined Decode SBCS encoding cp852
>     undefined Encode SBCS encoding cp852 (504ms)
>     undefined Decode SBCS encoding cp855
>     undefined Encode SBCS encoding cp855 (507ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           1a | 001c | 001a | 
 | 
>           1c | 007f | 001c |  | 

>           7f | 001a | 007f |  | 
>           ee | 203e | 00af | ‾ | ¯
>           fa | 2022 | 00b7 | • | ·
>        
>     undefined Decode SBCS encoding cp856
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           001a |  | 7f | 1a
>           001c | 
 | 1a | 1c
>           007f |  | 1c | 7f
>           00af | ¯ | 3f | ee
>           00b7 | · | 3f | fa
>           2022 | • | fa | 3f
>           203c | ‼ | 13 | 3f
>           203e | ‾ | ee | 3f
>           2190 | ← | 1b | 3f
>           2191 | ↑ | 18 | 3f
>           2192 | → | 1a | 3f
>           2193 | ↓ | 19 | 3f
>           2194 | ↔ | 1d | 3f
>           2195 | ↕ | 12 | 3f
>           21a8 | ↨ | 17 | 3f
>           221f | ∟ | 1c | 3f
>           2302 | ⌂ | 7f | 3f
>           25ac | ▬ | 16 | 3f
>           25b2 | ▲ | 1e | 3f
>           25ba | ► | 10 | 3f
>           25bc | ▼ | 1f | 3f
>           25c4 | ◄ | 11 | 3f
>           25cb | ○ | 09 | 3f
>           25d8 | ◘ | 08 | 3f
>           25d9 | ◙ | 0a | 3f
>           263a | ☺ | 01 | 3f
>           263b | ☻ | 02 | 3f
>           263c | ☼ | 0f | 3f
>           2640 | ♀ | 0c | 3f
>           2642 | ♂ | 0b | 3f
>           2660 | ♠ | 06 | 3f
>           2663 | ♣ | 05 | 3f
>           2665 | ♥ | 03 | 3f
>           2666 | ♦ | 04 | 3f
>           266a | ♪ | 0d | 3f
>           266b | ♫ | 0e | 3f
>           ffe8 | │ | b3 | 3f
>           ffe9 | ← | 1b | 3f
>           ffea | ↑ | 18 | 3f
>           ffeb | → | 1a | 3f
>           ffec | ↓ | 19 | 3f
>           ffed | ■ | fe | 3f
>           ffee | ○ | 09 | 3f
>        
>     undefined Encode SBCS encoding cp856 (546ms)
>     undefined Decode SBCS encoding cp857
>     undefined Encode SBCS encoding cp857 (539ms)
>     undefined Decode SBCS encoding cp858
>     undefined Encode SBCS encoding cp858 (507ms)
>     undefined Decode SBCS encoding cp860
>     undefined Encode SBCS encoding cp860 (507ms)
>     undefined Decode SBCS encoding cp861
>     undefined Encode SBCS encoding cp861 (513ms)
>     undefined Decode SBCS encoding cp862
>     undefined Encode SBCS encoding cp862 (509ms)
>     undefined Decode SBCS encoding cp863
>     undefined Encode SBCS encoding cp863 (508ms)
>     undefined Decode SBCS encoding cp864
>     undefined Encode SBCS encoding cp864 (511ms)
>     undefined Decode SBCS encoding cp865
>     undefined Encode SBCS encoding cp865 (510ms)
>     undefined Decode SBCS encoding cp866
>     undefined Encode SBCS encoding cp866 (511ms)
>     undefined Decode SBCS encoding cp869
>     undefined Encode SBCS encoding cp869 (505ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           af | 00af | 203e | ¯ | ‾
>        
>     undefined Decode SBCS encoding cp922
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           00af | ¯ | af | 3f
>           2017 | ‗ | 97 | 3f
>           2022 | • | 07 | 3f
>           203c | ‼ | 13 | 3f
>           2190 | ← | 1b | 3f
>           2191 | ↑ | 18 | 3f
>           2192 | → | 1a | 3f
>           2193 | ↓ | 19 | 3f
>           2194 | ↔ | 1d | 3f
>           2195 | ↕ | 12 | 3f
>           21a8 | ↨ | 17 | 3f
>           221f | ∟ | 1c | 3f
>           2264 | ≤ | 9f | 3f
>           2265 | ≥ | 8e | 3f
>           2500 | ─ | 94 | 3f
>           2502 | │ | 83 | 3f
>           250c | ┌ | 86 | 3f
>           2510 | ┐ | 8f | 3f
>           2514 | └ | 90 | 3f
>           2518 | ┘ | 85 | 3f
>           251c | ├ | 93 | 3f
>           2524 | ┤ | 84 | 3f
>           252c | ┬ | 92 | 3f
>           2534 | ┴ | 91 | 3f
>           253c | ┼ | 95 | 3f
>           2550 | ═ | 9d | 3f
>           2551 | ║ | 8a | 3f
>           2554 | ╔ | 99 | 3f
>           2557 | ╗ | 8b | 3f
>           255a | ╚ | 98 | 3f
>           255d | ╝ | 8c | 3f
>           2560 | ╠ | 9c | 3f
>           2563 | ╣ | 89 | 3f
>           2566 | ╦ | 9b | 3f
>           2569 | ╩ | 9a | 3f
>           256c | ╬ | 9e | 3f
>           2580 | ▀ | 8d | 3f
>           2584 | ▄ | 88 | 3f
>           2588 | █ | 87 | 3f
>           2591 | ░ | 80 | 3f
>           2592 | ▒ | 81 | 3f
>           2593 | ▓ | 82 | 3f
>           25a0 | ■ | 96 | 3f
>           25ac | ▬ | 16 | 3f
>           25b2 | ▲ | 1e | 3f
>           25ba | ► | 10 | 3f
>           25bc | ▼ | 1f | 3f
>           25c4 | ◄ | 11 | 3f
>           25cb | ○ | 09 | 3f
>           25d8 | ◘ | 08 | 3f
>           25d9 | ◙ | 0a | 3f
>           263a | ☺ | 01 | 3f
>           263b | ☻ | 02 | 3f
>           263c | ☼ | 0f | 3f
>           2640 | ♀ | 0c | 3f
>           2642 | ♂ | 0b | 3f
>           2660 | ♠ | 06 | 3f
>           2663 | ♣ | 05 | 3f
>           2665 | ♥ | 03 | 3f
>           2666 | ♦ | 04 | 3f
>           266a | ♪ | 0d | 3f
>           266c | ♬ | 0e | 3f
>           ffe8 | │ | 83 | 3f
>           ffe9 | ← | 1b | 3f
>           ffea | ↑ | 18 | 3f
>           ffeb | → | 1a | 3f
>           ffec | ↓ | 19 | 3f
>           ffed | ■ | 96 | 3f
>           ffee | ○ | 09 | 3f
>        
>     undefined Encode SBCS encoding cp922 (552ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           83 | feb1 | f8f6 | ﺱ | 
>           84 | feb5 | f8f5 | ﺵ | 
>           85 | feb9 | f8f4 | ﺹ | 
>           86 | febd | f8f7 | ﺽ | 
>           a1 | fe82 | f8fa | ﺂ | 
>           a2 | fe84 | f8f9 | ﺄ | 
>           a3 | fe88 | f8f8 | ﺈ | 
>           a5 | fe8e | f8fb | ﺎ | 
>           d8 | 0638 | fec7 | ظ | ﻇ
>           f6 | 200b | f8fc | ​ | 
>        
>     undefined Decode SBCS encoding cp1046
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           0638 | ظ | d8 | 3f
>           066a | ٪ | 25 | 3f
>           066b | ٫ | 2c | 3f
>           066c | ٬ | 2e | 3f
>           066d | ٭ | 2a | 3f
>           200b | ​ | f6 | 3f
>           fe70 | ﹰ | eb | 3f
>           fe72 | ﹲ | ec | 3f
>           fe74 | ﹴ | ed | 3f
>           fe76 | ﹶ | ee | 3f
>           fe78 | ﹸ | ef | 3f
>           fe7a | ﹺ | f0 | 3f
>           fe7c | ﹼ | f1 | 3f
>           fe7e | ﹾ | f2 | 3f
>           fe80 | ﺀ | c1 | 3f
>           fe81 | ﺁ | c2 | 3f
>           fe83 | ﺃ | c3 | 3f
>           fe85 | ﺅ | c4 | 3f
>           fe86 | ﺆ | c4 | 3f
>           fe87 | ﺇ | c5 | 3f
>           fe89 | ﺉ | c6 | 3f
>           fe8c | ﺌ | a6 | 3f
>           fe8d | ﺍ | c7 | 3f
>           fe8f | ﺏ | c8 | 3f
>           fe90 | ﺐ | c8 | 3f
>           fe92 | ﺒ | a7 | 3f
>           fe93 | ﺓ | c9 | 3f
>           fe94 | ﺔ | c9 | 3f
>           fe95 | ﺕ | ca | 3f
>           fe96 | ﺖ | ca | 3f
>           fe98 | ﺘ | a8 | 3f
>           fe99 | ﺙ | cb | 3f
>           fe9a | ﺚ | cb | 3f
>           fe9c | ﺜ | a9 | 3f
>           fe9d | ﺝ | cc | 3f
>           fe9e | ﺞ | cc | 3f
>           fea0 | ﺠ | aa | 3f
>           fea1 | ﺡ | cd | 3f
>           fea2 | ﺢ | cd | 3f
>           fea4 | ﺤ | ab | 3f
>           fea5 | ﺥ | ce | 3f
>           fea6 | ﺦ | ce | 3f
>           fea8 | ﺨ | ae | 3f
>           fea9 | ﺩ | cf | 3f
>           feaa | ﺪ | cf | 3f
>           feab | ﺫ | d0 | 3f
>           feac | ﺬ | d0 | 3f
>           fead | ﺭ | d1 | 3f
>           feae | ﺮ | d1 | 3f
>           feaf | ﺯ | d2 | 3f
>           feb0 | ﺰ | d2 | 3f
>           feb1 | ﺱ | d3 | 3f
>           feb2 | ﺲ | d3 | 3f
>           feb4 | ﺴ | af | 3f
>           feb5 | ﺵ | d4 | 3f
>           feb6 | ﺶ | d4 | 3f
>           feb8 | ﺸ | ba | 3f
>           feb9 | ﺹ | d5 | 3f
>           feba | ﺺ | d5 | 3f
>           febc | ﺼ | bc | 3f
>           febd | ﺽ | d6 | 3f
>           febe | ﺾ | d6 | 3f
>           fec0 | ﻀ | bd | 3f
>           fec1 | ﻁ | d7 | 3f
>           fec2 | ﻂ | d7 | 3f
>           fec3 | ﻃ | d7 | 3f
>           fec4 | ﻄ | d7 | 3f
>           fec5 | ﻅ | d8 | 3f
>           fec6 | ﻆ | d8 | 3f
>           fec8 | ﻈ | d8 | 3f
>           fec9 | ﻉ | d9 | 3f
>           fecd | ﻍ | da | 3f
>           fed1 | ﻑ | e1 | 3f
>           fed2 | ﻒ | e1 | 3f
>           fed4 | ﻔ | df | 3f
>           fed5 | ﻕ | e2 | 3f
>           fed6 | ﻖ | e2 | 3f
>           fed8 | ﻘ | f3 | 3f
>           fed9 | ﻙ | e3 | 3f
>           feda | ﻚ | e3 | 3f
>           fedc | ﻜ | f4 | 3f
>           fedd | ﻝ | e4 | 3f
>           fede | ﻞ | e4 | 3f
>           fee0 | ﻠ | f5 | 3f
>           fee1 | ﻡ | e5 | 3f
>           fee2 | ﻢ | e5 | 3f
>           fee4 | ﻤ | fb | 3f
>           fee5 | ﻥ | e6 | 3f
>           fee6 | ﻦ | e6 | 3f
>           fee8 | ﻨ | fc | 3f
>           feea | ﻪ | fe | 3f
>           feeb | ﻫ | e7 | 3f
>           feed | ﻭ | e8 | 3f
>           feee | ﻮ | e8 | 3f
>           feef | ﻯ | e9 | 3f
>           fef1 | ﻱ | ea | 3f
>           fef4 | ﻴ | 97 | 3f
>        
>     undefined Encode SBCS encoding cp1046 (577ms)
>     undefined Decode SBCS encoding cp1124
>     undefined Encode SBCS encoding cp1124 (534ms)
>     undefined Decode SBCS encoding cp1125
>     undefined Encode SBCS encoding cp1125 (504ms)
>     undefined Decode SBCS encoding cp1129
>     undefined Encode SBCS encoding cp1129 (507ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           a0 | fffd | 00a0 | � |  
>           df | 006b | 20ad | k | ₭
>           ff | 00a0 | fffd |   | �
>        
>     undefined Decode SBCS encoding cp1133
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           00a0 |   | ff | a0
>           20ad | ₭ | 3f | df
>        
>     undefined Encode SBCS encoding cp1133 (505ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           1a | 001c | 001a | 
 | 
>           1c | 007f | 001c |  | 

>           7f | 001a | 007f |  | 
>        
>     undefined Decode SBCS encoding cp1161
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           001a |  | 7f | 1a
>           001c | 
 | 1a | 1c
>           007f |  | 1c | 7f
>        
>     undefined Encode SBCS encoding cp1161 (509ms)
>     undefined Decode SBCS encoding cp1162
>     undefined Encode SBCS encoding cp1162 (504ms)
>     undefined Decode SBCS encoding cp1163
>     undefined Encode SBCS encoding cp1163 (549ms)
>     - Decode SBCS encoding maccroatian
>     - Encode SBCS encoding maccroatian
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           a2 | 0490 | 00a2 | Ґ | ¢
>           b6 | 0491 | 2202 | ґ | ∂
>        
>     undefined Decode SBCS encoding maccyrillic
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           00a2 | ¢ | 3f | a2
>           0490 | Ґ | a2 | 3f
>           0491 | ґ | b6 | 3f
>           2202 | ∂ | 3f | b6
>        
>     undefined Encode SBCS encoding maccyrillic (510ms)
>     - Decode SBCS encoding macgreek
>     - Encode SBCS encoding macgreek
>     - Decode SBCS encoding maciceland
>     - Encode SBCS encoding maciceland
>     - Decode SBCS encoding macroman
>     - Encode SBCS encoding macroman
>     - Decode SBCS encoding macromania
>     - Encode SBCS encoding macromania
>     - Decode SBCS encoding macthai
>     - Encode SBCS encoding macthai
>     - Decode SBCS encoding macturkish
>     - Encode SBCS encoding macturkish
>     - Decode SBCS encoding macukraine
>     - Encode SBCS encoding macukraine
>     undefined Decode SBCS encoding koi8r (KOI8-r)
>     undefined Encode SBCS encoding koi8r (KOI8-r) (506ms)
>     undefined Decode SBCS encoding koi8u (KOI8-u)
>     undefined Encode SBCS encoding koi8u (KOI8-u) (508ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           93 | 201c | 2320 | “ | ⌠
>           96 | 201d | 221a | ” | √
>           97 | 2014 | 2248 | — | ≈
>           98 | 2116 | 2264 | № | ≤
>           99 | 2122 | 2265 | ™ | ≥
>           9b | 00bb | 2321 | » | ⌡
>           9c | 00ae | 00b0 | ® | °
>           9d | 00ab | 00b2 | « | ²
>           9f | 00a4 | 00f7 | ¤ | ÷
>        
>     undefined Decode SBCS encoding koi8ru (KOI8-ru)
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           00a4 | ¤ | 9f | 3f
>           00ab | « | 9d | 3f
>           00ae | ® | 9c | 3f
>           00b0 | ° | 3f | 9c
>           00b2 | ² | 3f | 9d
>           00bb | » | 9b | 3f
>           00f7 | ÷ | 3f | 9f
>           2014 | — | 97 | 3f
>           201c | “ | 93 | 3f
>           201d | ” | 96 | 3f
>           2116 | № | 98 | 3f
>           2122 | ™ | 99 | 3f
>           221a | √ | 3f | 96
>           2248 | ≈ | 3f | 97
>           2264 | ≤ | 3f | 98
>           2265 | ≥ | 3f | 99
>           2320 | ⌠ | 3f | 93
>           2321 | ⌡ | 3f | 9b
>        
>     undefined Encode SBCS encoding koi8ru (KOI8-ru) (512ms)
>     undefined Decode SBCS encoding koi8t (KOI8-t)
>     undefined Encode SBCS encoding koi8t (KOI8-t) (508ms)
>     undefined Decode SBCS encoding armscii8 (ARMSCII-8)
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           0028 | ( | 28 | a5
>           0029 | ) | 29 | a4
>           002c | , | 2c | ab
>           002d | - | 2d | ac
>           002e | . | 2e | a9
>        
>     undefined Encode SBCS encoding armscii8 (ARMSCII-8) (507ms)
>     undefined Decode SBCS encoding rk1048
>     undefined Encode SBCS encoding rk1048 (506ms)
>     undefined Decode SBCS encoding tcvn
>     undefined Encode SBCS encoding tcvn (512ms)
>     undefined Decode SBCS encoding georgianacademy (GEORGIAN-ACADEMY)
>     undefined Encode SBCS encoding georgianacademy (GEORGIAN-ACADEMY) (514ms)
>     undefined Decode SBCS encoding georgianps (GEORGIAN-PS)
>     undefined Encode SBCS encoding georgianps (GEORGIAN-PS) (507ms)
>     undefined Decode SBCS encoding pt154
>     undefined Encode SBCS encoding pt154 (506ms)
>     undefined Decode SBCS encoding viscii
>     undefined Encode SBCS encoding viscii (514ms)
>     undefined Decode SBCS encoding iso646cn (ISO646-CN)
>     undefined Encode SBCS encoding iso646cn (ISO646-CN) (512ms)
>     undefined Decode SBCS encoding iso646jp (ISO646-JP)
>     undefined Encode SBCS encoding iso646jp (ISO646-JP) (511ms)
>     undefined Decode SBCS encoding hproman8 (HP-ROMAN8)
>     undefined Encode SBCS encoding hproman8 (HP-ROMAN8) (509ms)
> null null Decoding mismatch: <input> | <expected> | <actual> | <expected char> | <actual char>
>           bd | 03a9 | 2126 | Ω | Ω
>           c6 | 0394 | 2206 | Δ | ∆
>           db | 20ac | 00a4 | € | ¤
>           f0 | e01e | fffd |  | �
>        
>     undefined Decode SBCS encoding macintosh
> null null Encoding mismatch: <input> | <input char> | <expected> | <actual>
>           00a4 | ¤ | 3f | db
>           0394 | Δ | c6 | 3f
>           03a9 | Ω | bd | 3f
>           20ac | € | db | 3f
>           2126 | Ω | 3f | bd
>           2206 | ∆ | 3f | c6
>        
>     undefined Encode SBCS encoding macintosh (512ms)
>     undefined Decode SBCS encoding ascii
>     undefined Encode SBCS encoding ascii (509ms)
>     undefined Decode SBCS encoding tis620
>     undefined Encode SBCS encoding tis620 (511ms)
> 
>   ShiftJIS tests
>     undefined ShiftJIS correctly encoded/decoded
>     undefined ShiftJIS extended chars are decoded, but not encoded
>     undefined ShiftJIS includes extensions
> 
>   Streaming mode
>     undefined Feeder outputs strings
>     undefined Feeder outputs buffers
>     undefined Feeder outputs buffers with encoding
>     undefined Simple stream encoding
>     undefined Simple stream decoding
>     undefined Stream encoder should error when fed with buffers
>     undefined Stream decoder should be ok when fed with strings
>     undefined Stream decoder should be error when fed with strings and 'decodeStrings: false' option is given
>     undefined Round-trip encoding and decoding
>     undefined Decoding of incomplete chars using internal modules: utf8
>     undefined Decoding of incomplete chars using internal modules: utf8 / surrogates
>     undefined Decoding of incomplete chars using internal modules: ucs2 / surrogates
>     undefined Encoding using internal modules: utf8
>     undefined Encoding using internal modules: utf8 with surrogates
>     undefined Decoding of incomplete chars in DBCS (gbk)
>     undefined Decoding of incomplete chars at the end of the stream in DBCS (gbk)
>     undefined Decoding of uneven length buffers from UTF-16LE
>     undefined Decoding of uneven length buffers from UTF-16BE
>     undefined Decoding of uneven length buffers from UTF-16BE - 2
>     undefined Decoding of uneven length buffers from UTF-16
>     undefined Encoding base64 between chunks
>     undefined Decoding of UTF-7 with base64 between chunks
>     undefined Encoding of UTF-7-IMAP with base64 between chunks
>     undefined Decoding of UTF-7-IMAP with base64 between chunks
>     undefined Decoding of chunks in UTF-32 auto mode does not lose chunks
> 
>   Streaming sugar
>     undefined decodeStream.collect()
>     undefined encodeStream.collect()
> 
>   Test Turkish encodings
>     windows1254:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
>     iso88599:
>       undefined Convert from buffer
>       undefined Convert to buffer
>       undefined Try different variations of encoding
>       undefined Untranslatable chars are converted to defaultCharSingleByte
> 
>   UTF-16BE codec
>     undefined encodes basic strings correctly
>     undefined decodes basic buffers correctly
>     undefined decodes uneven length buffers with no error
> 
>   UTF-16 encoder
>     undefined uses UTF-16LE and adds BOM when encoding
>     undefined can use other encodings, for example UTF-16LE, with BOM
> 
>   UTF-16 decoder
>     undefined uses BOM to determine encoding
>     undefined handles very short buffers nice
>     undefined uses spaces when there is no BOM to determine encoding
>     undefined uses UTF-16LE if no BOM and heuristics failed
>     undefined can be given a different default encoding
> 
>   UTF-32LE codec
>     undefined encodes basic strings correctly
>     undefined decodes basic buffers correctly
>     undefined decodes uneven length buffers with no error
>     undefined handles invalid surrogates gracefully
>     undefined handles invalid Unicode codepoints gracefully
>     undefined handles encoding all valid codepoints (127ms)
>     undefined handles decoding all valid codepoints (89ms)
> 
>   UTF-32BE codec
>     undefined encodes basic strings correctly
>     undefined decodes basic buffers correctly
>     undefined decodes uneven length buffers with no error
>     undefined handles invalid surrogates gracefully
>     undefined handles invalid Unicode codepoints gracefully
>     undefined handles encoding all valid codepoints (97ms)
>     undefined handles decoding all valid codepoints (91ms)
> 
>   UTF-32 general codec
>     undefined adds BOM when encoding, defaults to UTF-32LE
>     undefined doesn't add BOM and uses UTF-32BE when specified
>     undefined correctly decodes UTF-32LE using BOM
>     undefined correctly decodes UTF-32LE without BOM
>     undefined correctly decodes UTF-32BE using BOM
>     undefined correctly decodes UTF-32BE without BOM
> 
>   UTF-7 codec
>     undefined encodes correctly
>     undefined decodes correctly
> 
>   UTF-7-IMAP codec
>     undefined encodes correctly
>     undefined decodes correctly
> 
> 
>   291 passing (59s)
>   22 pending
> 
> Aborted
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 134


The full build log is available from:
http://qa-logs.debian.net/2024/03/19/node-iconv-lite_0.6.3-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list