The maintainer has not written a description at the source.
Repo webosbrew/dev-toolbox-cli, read from GitHub 1 min ago. webosbrew has not joined Take My Repo.
Fix IPK compatibility reports for PIE executables in rpath directories.
Previously, an executable such as Aurora could be parsed a second time as a bundled library and appear as both aurora and lib aurora. Library discovery now accepts only ELF files classified as shared libraries, with a regression test covering executables and libraries in the same search directory.
A package that no TV will install, and a new exit code for it.
:x: Every file in this package is dated 1970-01-01, and TVs refuse to install a
package like this. Rebuild it from a source tree whose files have real timestamps.
org.rchalaaa.webos.custom-screensaver in apps-repo is the case that prompted this. Every one of its 67 data entries reads 1970-01-01; users on older firmware could not install it, and the report said nothing — the app is plain ES5 and passes every compatibility column. The youtube-webos-cobalt-adfree project hit the same wall on webOS 5.5.0: "the unmodified release IPK is rejected by this firmware", and repacking with non-epoch timestamps fixed it.
Scanning every package published in apps-repo turns up two more: com.github.gprot42.webosterminal and com.leondrolio.x.openttd.
The flag is raised only when every entry carries mtime 0. One stray epoch timestamp is an oddity; all of them means the packager stamped nothing, which is the shape firmware rejects. An mtime that will not parse is not counted, so a malformed header cannot raise it alone.
@webosose/ares-cli — the old package name, still on npm at 2.4.0 and not marked deprecated — produces this on Node.js 22 and later, on every platform:
| Packager | node-tar | Node 18/20 | Node 22/24 |
|---|---|---|---|
@webosose/ares-cli 2.2.0, 2.4.0 |
2.2.2 | ok | 1970-01-01 |
@webos-tools/cli 3.1.3 |
6.2.0 | ok | ok |
@webos-tools/cli 3.2.5 |
7.5.13 | ok | ok |
ares-cli-rs |
— | ok | ok |
Node 22 moved the Date fields of fs.Stats to prototype getters, so they stopped being own properties. fstream copies a stat with Object.keys(props_).forEach(...) (reader.js:147), which now drops mtime — mode, uid and gid are unaffected, which is why only the timestamps go. node-tar 2 takes its header mtime from that props object and writes 0. node-tar 6 and 7 stat the file themselves and never consult it, so the successor package is unaffected while vendoring the same fstream.
Reproduced on both Windows and Linux, so it is a Node version thing rather than a platform one. All three affected packages in apps-repo were built outside CI, where nothing pins the Node version; every CI-built package in the repo is fine because those workflows still pin Node 14.
The fix for an affected project is to move off the old package name — @webos-tools/cli takes the same ares-package command.
This is not an incompatibility. No choice of webosRelease makes such a package installable, so reporting it as one sends the submitter after the wrong fix — apps-repo would have read the all-:ok: table and told them to lower their declared release.
| Code | Meaning |
|---|---|
| 6 | The package is built in a way no TV will install. |
Ranked above Incompatible (1) and below BadInput (3): a package the tool cannot read leaves the question unanswered, and a package no TV will install is a fault in the package rather than a question of which firmware it runs on.
No new fixture. hand_rolled.ipk is already written with mtime 0 so it stays byte-stable if rebuilt, which makes it the positive case here too; ares_packaged.ipk covers the negative. Its README now says the mtime is load-bearing.
Two package-level faults ipk-verify said nothing about. Both warn, and neither changes the exit code.
:warning: This package looks hand-rolled. Please build it with `ares-package`.
Such a package has whatever layout its author gave it, and the rest of the report rests on that. webosbrew/apps-repo#218 had to be turned away for this by hand: its control file stopped after Description, and the missing Installed-Size crashed the repogen side of the check with a message that named none of it.
ares-package from webos-tools/cli and ares-cli-rs both always write Installed-Size and the two webOS-* fields, so their absence is the signal. Checked against every package in apps-repo: none of them warns.
:warning: This package carries install hooks (postinst, prerm). webOS runs none of them.
webOS runs no maintainer script, so a package that puts its setup in a postinst installs and does nothing it meant to do. preinst, postinst, prerm and postrm are reported; md5sums and conffiles carry no code, so they are not.
Two packages hold the same trivial web app, built both ways: ares_packaged.ipk straight out of ares-package, and hand_rolled.ipk written by hand with both faults. The tests read real files, not a mock.
The bundled-runtime table showed a failing cell with no reason next to it. elf-verify prints the missing libraries and undefined symbols for a standalone binary, and ipk-verify already worked those out for every bundled binary — it just never wrote them down.
Every cell that is not OK now carries its reason below the table, in the same fold. On the Homebrew Channel package that names what was already there to find:
| bin/rsync | :x: | :x: | ... | :ok: | :ok: | :ok: | :x: | :x: | :x: |
##### bin/rsync on webOS 1.2.0, 1.4.0, 2.2.3, 3.4.0, 3.9.2, 4.4.2, 4.10.0, 5.3.1, 9.2.0, 10.2.0, 11.2.0
* Library libcrypto.so.1.1 is missing
* Symbol EVP_get_digestbyname@OPENSSL_1_1_0 is undefined (bound lazily)
Firmwares that report the same thing share one block. A bundled binary fails the same way on every firmware that lacks the library, so a list repeated per column buried the finding — 66 lines for that one fault, 6 now.
A payload built for several architectures ships the same file name more than once, so a row labelled wg could not say which binary it was. Rows use the path within the component now: payload/arm64/wg, bin/ptybridge-armv7.
ipk-verify only looked for bundled native binaries inside a JS service. A web app that ships a payload it starts through the root service reported none, so the check output said nothing about them. The WireGuard app is one such package: three AArch64 binaries under payload/wireguard/bin, invisible in the report.
A non-native app now goes through the same scan as a service:
bundles 3 native binaries (AArch64 (64-bit)).--details lists every binary with its kind and architecture, and adds the per-firmware library table for each bundled executable.As for a service, none of this gates the verdict.
A package may ship one payload per architecture and pick at run time, so several architectures are normal. Each gets its own count: bundles 5 native binaries (3 ARM (32-bit), 2 AArch64 (64-bit)).
The package-level Architecture field is not used. ares-package writes all for every package, so it says nothing.
The verify tools used exit 1 for everything, so a script could not tell an incompatible package from a tool that failed to run. All four tools now share one set of codes:
| Code | Meaning |
|---|---|
| 0 | Everything the tool checked is compatible. |
| 1 | The tool ran, and found an incompatibility. |
| 2 | Bad command line (from the argument parser). |
| 3 | An input file is missing, unreadable, or not in the expected format. |
| 4 | No firmware data. Either the data is not installed, or --fw-releases matched none. |
| 5 | The tool could not write its output. |
Code 3 wins over code 1. Only ipk-verify and elf-verify use codes 1 and 4.
ipk-verify: an empty firmware list crashed. -r ">=99" now exits 4.elf-verify: it never exited non-zero at all. It also crashed on an ELF that does not parse.gen-manifest: every failure was a crash - a bad ipk, an unreadable file, an output path it cannot write.fw-extract: a bad control file, or one with no Version or Package field, now skips that entry instead of stopping the run..ipk with no control member, or a symlink entry with no target, is an error, not a crash..., no longer crashes any tool.