diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 05:57:13 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 05:57:26 +0900 |
| commit | 656059278d96c86987c261ae842592617ee17962 (patch) | |
| tree | 469c3e195589e7f4005477bfe391707472ef4c29 /internal/rosa/strace.go | |
| parent | 1a9974ffdc63e9deb24e4c83f4b4ce566311360f (diff) | |
internal/rosa/package: migrate remaining trivial packages
The rest are migrated individually.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/strace.go')
| -rw-r--r-- | internal/rosa/strace.go | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/internal/rosa/strace.go b/internal/rosa/strace.go deleted file mode 100644 index 69851765..00000000 --- a/internal/rosa/strace.go +++ /dev/null @@ -1,47 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newStrace() (pkg.Artifact, string) { - const ( - version = "6.19" - checksum = "XJFJJ9XLh_1rHS3m_QNjLKzkkBAooE-QT9p9lJNNWowAmd54IJop_fI4-IFtjeeL" - ) - return t.NewPackage("strace", version, pkg.NewHTTPGet( - nil, "https://strace.io/files/"+version+"/strace-"+version+".tar.xz", - mustDecode(checksum), - ), &PackageAttr{ - // patch not possible with nonzero SourceKind - ScriptEarly: ` -sed -i 's/off64_t/off_t/g' \ - tests/readahead.c \ - tests/sync_file_range.c \ - tests/sync_file_range2.c -sed -i 's/unsigned int msg_len;$/uint32_t msg_len;/g' \ - tests/nlattr.c -`, - }, &MakeHelper{ - Configure: []KV{ - // tests broken on clang - {"disable-gcc-Werror"}, - - {"enable-mpers", "no"}, - }, - - // does not compile on musl, hangs after patch - SkipCheck: true, - }, - XZ, - - KernelHeaders, - ), version -} -func init() { - native.mustRegister(Toolchain.newStrace, &Metadata{ - Name: "strace", - Description: "a diagnostic, debugging and instructional userspace utility", - Website: "https://strace.io/", - - ID: 4897, - }) -} |
