swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-1.8.1.tar.gz sha256: 2be64e7129cecb11d5906290eba10af694fb9e3e7f9fc208a311dc33ca837eb0 patches: - "Patch-Source: https://github.com/jqlang/jq/pull/3365\n---\nFrom 63e9449a8142ce30c83fcd7e9396e5de9843774e Mon Sep 17 00:00:00 2001\nFrom: Alyssa Ross \nDate: Thu, 3 Jul 2025 11:00:13 +0200\nSubject: [PATCH] jq.test: drop non-portable %F test\n\n%F is a non-portable GNU extension, not supported by all strptime\nimplementations (for example musl's).\n---\n tests/jq.test | 4 ----\n 1 file changed, 4 deletions(-)\n\ndiff --git a/tests/jq.test b/tests/jq.test\nindex 4ecf72ffdc..6bfb6f853c 100644\n--- a/tests/jq.test\n+++ b/tests/jq.test\n@@ -1848,10 +1848,6 @@ try [\"OK\", strflocaltime({})] catch [\"KO\", .]\n \"2015-03-05T23:51:47Z\"\n [[2015,2,5,23,51,47,4,63],1425599507]\n \n-[strptime(\"%FT%T\")|(.,mktime)]\n-\"2025-06-07T08:09:10\"\n-[[2025,5,7,8,9,10,6,157],1749283750]\n-\n # Check day-of-week and day of year computations\n # (should trip an assert if this fails)\n last(range(365 * 67)|(\"1970-03-01T01:02:03Z\"|strptime(\"%Y-%m-%dT%H:%M:%SZ\")|mktime) + (86400 * .)|strftime(\"%Y-%m-%dT%H:%M:%SZ\")|strptime(\"%Y-%m-%dT%H:%M:%SZ\"))\n" build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: configure: ./configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-docs --disable-shared --enable-static compile: make LDFLAGS=-all-static -j"$(nproc)" install: make DESTDIR=/out prefix=/usr LDFLAGS=-all-static install strip_debug: true target_bin: /usr/bin/jq expected_hash: b3:da81fd9a54da4fd4c9d281facdf8674a56803912d619bd7739431a23d04e1504 deps: build: - binutils - oniguruma - busybox - make runtime: []