Otok public index

apotocki/make

apotocki/make 4.4.1 (r2, windows)

This version is withdrawn: otok does not install it.

2026-0001 (withdrawn): MSYS2's fork fails in otok's sandbox on Windows (0xC0000142): move to 4.4.1-r3 with 'otok update make'

Library
make
Variant
windows, target windows
Channel
stable
Published
2026-11-09
Recipe source
https://github.com/otok-dev/recipes.git
6e4ba78c62c7186b435e84882ba43f4d86d5e061 in recipes/make/4.4/windows/
Recipe SHA-256
908ee29923d7165086c8857fed231872f6b1c602519b3cc66e4bf8f1e897dbec
Previous
4.4.1 (r1, windows)

Changes since 4.4.1 (r1, windows)

Key4.4.1 (r1, windows)4.4.1 (r2, windows)
resource.msys2_bash.sha256"0951e809c552dd7dd2835df1b2d590822187f14e717d809e942e4eb677d0adfd""e7045fbbf82deb2551acd8386e1163236107c35952f0659bdbe4f5222269cd83"
resource.msys2_bash.url"https://repo.msys2.org/msys/x86_64/bash-5.3.20-2-x86_64.pkg.tar.zst""https://repo.msys2.org/msys/x86_64/bash-5.3.20-3-x86_64.pkg.tar.zst"
resource.msys2_binutils.sha256absent"b7ddaca6e8b63774cdb1f5ac2720963cd76f8f62ca7e2667b1b0f008ed7ecba2"
resource.msys2_binutils.urlabsent"https://repo.msys2.org/msys/x86_64/binutils-2.47-1-x86_64.pkg.tar.zst"
resource.msys2_coreutils.sha256"62dfee1c39fd15f99c39802b35e82643bc14fffc16d6c76d4001caa385ec77e3""5f7a90dcd42b9c01f254c87312e731344d84c46be495ac0432d674dab3ba2442"
resource.msys2_coreutils.url"https://repo.msys2.org/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst""https://repo.msys2.org/msys/x86_64/coreutils-9.0-1-x86_64.pkg.tar.zst"
resource.msys2_libreadline.sha256"29e25c50bf6cd7a5e6f2253af76f54fe3c1a915313c7c18e98bedaa665c6adea""e6c44cca4dcfd3821a4bcfca36bfef244af184e6963076bfcb15727001bfe8d2"
resource.msys2_libreadline.url"https://repo.msys2.org/msys/x86_64/libreadline-8.3.006-1-x86_64.pkg.tar.zst""https://repo.msys2.org/msys/x86_64/libreadline-8.3.006-2-x86_64.pkg.tar.zst"
resource.msys2_libzstd.sha256absent"5e370b2e725a0a7e5ff58d84653c9a0cd5a10b9cfe930f2d949a28ad2a11c1f2"
resource.msys2_libzstd.urlabsent"https://repo.msys2.org/msys/x86_64/libzstd-1.5.7-1-x86_64.pkg.tar.zst"
resource.msys2_m4.sha256absent"b561e8871c7599502d9fae7196ee965b3fed3d7af09154eb8d2f5e4d9e5e5106"
resource.msys2_m4.urlabsent"https://repo.msys2.org/msys/x86_64/m4-1.4.21-1-x86_64.pkg.tar.zst"
resource.msys2_msys2_runtime.sha256"7b1c4b625483ceff9a87f2dfcf3659704dc3da655a0ad414ecb7d9175e7d3ba0""c0dbaa624e29be6d08cf5c65609dca6c749431109e4572bf446a3ca9b4c4fd7c"
resource.msys2_msys2_runtime.url"https://repo.msys2.org/msys/x86_64/msys2-runtime-3.6.11-4-x86_64.pkg.tar.zst""https://repo.msys2.org/msys/x86_64/msys2-runtime-3.6.12-1-x86_64.pkg.tar.zst"
resource.msys2_zlib.sha256absent"bafd3abf8b773ec28b6571d465a53a4e7afed4824cc1eec52f3bfbd6fa556ab9"
resource.msys2_zlib.urlabsent"https://repo.msys2.org/msys/x86_64/zlib-1.4-1-x86_64.pkg.tar.zst"
resource.msys2_zstd.sha256absent"7b8ab77828c5a1efe53ebc53e3ea9d719bfbd609bf4c810eaa88d626188ed407"
resource.msys2_zstd.urlabsent"https://repo.msys2.org/msys/x86_64/zstd-1.5.7-1-x86_64.pkg.tar.zst"
tool.programs["make"]["make", "m4", "as"]

Recipe files changed

  • build.lua changed
  • recipe.toml changed

0 files are the same as in 4.4.1 (r1, windows).

Inputs

source.mirrors["https://ftpmirror.gnu.org/gnu/make/make-4.4.1.tar.gz"]
source.sha256dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3
source.urlhttps://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz
resource msys2_bash.sha256e7045fbbf82deb2551acd8386e1163236107c35952f0659bdbe4f5222269cd83
resource msys2_bash.urlhttps://repo.msys2.org/msys/x86_64/bash-5.3.20-3-x86_64.pkg.tar.zst
resource msys2_binutils.sha256b7ddaca6e8b63774cdb1f5ac2720963cd76f8f62ca7e2667b1b0f008ed7ecba2
resource msys2_binutils.urlhttps://repo.msys2.org/msys/x86_64/binutils-2.47-1-x86_64.pkg.tar.zst
resource msys2_coreutils.sha2565f7a90dcd42b9c01f254c87312e731344d84c46be495ac0432d674dab3ba2442
resource msys2_coreutils.urlhttps://repo.msys2.org/msys/x86_64/coreutils-9.0-1-x86_64.pkg.tar.zst
resource msys2_diffutils.sha2567902c8ce3d4dd69a0f5e98dc9d5c83c17b23314ba486169db57ef6e2835ce3b6
resource msys2_diffutils.urlhttps://repo.msys2.org/msys/x86_64/diffutils-3.12-1-x86_64.pkg.tar.zst
resource msys2_findutils.sha256f19d3c6b1b073d4c5759ae83f5639d11a5f0227b772f7d86d600db573d9d5d32
resource msys2_findutils.urlhttps://repo.msys2.org/msys/x86_64/findutils-4.11.0-2-x86_64.pkg.tar.zst
resource msys2_gawk.sha2564b1322cb6c83d61fde5100e229e3cabc5b7d01fc0d0d8bc311edc08df91916be
resource msys2_gawk.urlhttps://repo.msys2.org/msys/x86_64/gawk-5.4.1-1-x86_64.pkg.tar.zst
resource msys2_gcc_libs.sha25650e1bbbb1b4186ba1ed8c08cdbb5c0a8c2343e4b5747bace24273e26fb148471
resource msys2_gcc_libs.urlhttps://repo.msys2.org/msys/x86_64/gcc-libs-16.2.0-1-x86_64.pkg.tar.zst
resource msys2_gmp.sha256f84536138e618d47a1df2da83916cfebbd449f159ffad52f994a71060a41cf34
resource msys2_gmp.urlhttps://repo.msys2.org/msys/x86_64/gmp-6.3.0-2-x86_64.pkg.tar.zst
resource msys2_grep.sha2562909b3bbef8d33d66980339fb7bd2d3d9145bae0f04191e6671df39868aea427
resource msys2_grep.urlhttps://repo.msys2.org/msys/x86_64/grep-1~3.0-7-x86_64.pkg.tar.zst
resource msys2_libiconv.sha2560fa55ea2a6ccf97cf8c58b24b2615815e15e16e6e4e888091c263c2c83c5313d
resource msys2_libiconv.urlhttps://repo.msys2.org/msys/x86_64/libiconv-1.19-1-x86_64.pkg.tar.zst
resource msys2_libintl.sha256336d66b9d95cf9c1804958f8e260762a3e83bf158ed5981f783bc772a31073cf
resource msys2_libintl.urlhttps://repo.msys2.org/msys/x86_64/libintl-0.22.5-1-x86_64.pkg.tar.zst
resource msys2_libpcre.sha256b4dc2eb7795cbacaa683101d720fa67f536262497a1d89934a58f5dab8d17d17
resource msys2_libpcre.urlhttps://repo.msys2.org/msys/x86_64/libpcre-8.45-5-x86_64.pkg.tar.zst
resource msys2_libreadline.sha256e6c44cca4dcfd3821a4bcfca36bfef244af184e6963076bfcb15727001bfe8d2
resource msys2_libreadline.urlhttps://repo.msys2.org/msys/x86_64/libreadline-8.3.006-2-x86_64.pkg.tar.zst
resource msys2_libzstd.sha2565e370b2e725a0a7e5ff58d84653c9a0cd5a10b9cfe930f2d949a28ad2a11c1f2
resource msys2_libzstd.urlhttps://repo.msys2.org/msys/x86_64/libzstd-1.5.7-1-x86_64.pkg.tar.zst
resource msys2_m4.sha256b561e8871c7599502d9fae7196ee965b3fed3d7af09154eb8d2f5e4d9e5e5106
resource msys2_m4.urlhttps://repo.msys2.org/msys/x86_64/m4-1.4.21-1-x86_64.pkg.tar.zst
resource msys2_make.sha256af0bdba17f06fe037f0194069adaa31a8fe45f1a11381501896aea1fae37bd5d
resource msys2_make.urlhttps://repo.msys2.org/msys/x86_64/make-4.4.1-3-x86_64.pkg.tar.zst
resource msys2_mpfr.sha2568f1b6c17c53e00494a488e03dfdf8fc742027ed03a5bd7b1b3a6a33f595a7498
resource msys2_mpfr.urlhttps://repo.msys2.org/msys/x86_64/mpfr-4.2.2-1-x86_64.pkg.tar.zst
resource msys2_msys2_runtime.sha256c0dbaa624e29be6d08cf5c65609dca6c749431109e4572bf446a3ca9b4c4fd7c
resource msys2_msys2_runtime.urlhttps://repo.msys2.org/msys/x86_64/msys2-runtime-3.6.12-1-x86_64.pkg.tar.zst
resource msys2_ncurses.sha256828c92f09b17f00d3b49362fcfa4affa58e5e50e238f290ea36eb7a690da3acb
resource msys2_ncurses.urlhttps://repo.msys2.org/msys/x86_64/ncurses-6.6-2-x86_64.pkg.tar.zst
resource msys2_sed.sha2563748af28f69e946ec5a42e6670c9bbf6da7352dc93baaa537f69e99c5483b9fc
resource msys2_sed.urlhttps://repo.msys2.org/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst
resource msys2_zlib.sha256bafd3abf8b773ec28b6571d465a53a4e7afed4824cc1eec52f3bfbd6fa556ab9
resource msys2_zlib.urlhttps://repo.msys2.org/msys/x86_64/zlib-1.4-1-x86_64.pkg.tar.zst
resource msys2_zstd.sha2567b8ab77828c5a1efe53ebc53e3ea9d719bfbd609bf4c810eaa88d626188ed407
resource msys2_zstd.urlhttps://repo.msys2.org/msys/x86_64/zstd-1.5.7-1-x86_64.pkg.tar.zst

Platforms

windows

Recipe files

build.lua 1083 bytes · raw
-- The MSYS2 packages unpacked into one tree in the prefix, as pacman would install them without their install scripts,
-- which nothing here needs. MSYS2 finds its root from msys-2.0.dll in usr/bin and reads etc/fstab there: drives without
-- a prefix (/c/…, as otok.autotools writes paths) and /tmp in the TEMP of the build, since the tree is in the cache and
-- read-only to the builds that run it.
local fstab = [[
none / cygdrive binary,posix=0,noacl,user 0 0
none /tmp usertemp binary,posix=0,noacl 0 0
]]

function build(slice, options, deps)
    local p = slice.prefix
    for name, package in pairs(slice.resources) do
        if name:find("^msys2_") then otok.copy(package .. "/usr", p .. "/usr") end
    end
    -- half the tree, and no build reads it: builds run with LANG=C
    for _, dir in ipairs{ "doc", "info", "locale", "man" } do
        otok.remove(p .. "/usr/share/" .. dir)
    end
    otok.write(p .. "/etc/fstab", fstab)
    local bin = p .. "/usr/bin/"
    return { programs = { make = bin .. "make.exe", m4 = bin .. "m4.exe", as = bin .. "as.exe" } }
end
recipe.toml 7249 bytes · raw
# The otok recipe of GNU Make (https://github.com/apotocki/otok): the make program for the builds of other recipes, which
# name it as their toolchain (`make = { default-recipe = "apotocki/make" }`), on Windows: the make of MSYS2 with the
# programs its rules and configure scripts run (bash as sh, coreutils, sed, grep, gawk, diffutils, findutils, m4), and
# binutils, whose GNU as assembles the GNU assembly of libraries built with MSVC (GMP); one MSYS2 tree of pinned
# packages, as vcpkg brings it; otok.autotools runs configure through the sh beside make.
[recipe]
api = 1
library = "make"
name = "make"
version = "4.4.1"
revision = 2
license = "GPL-3.0-or-later"
license-files = ["COPYING"]
homepage = "https://www.gnu.org/software/make/"
description = "GNU Make, the make of MSYS2 with the shell and tools of its rules."
keywords = ["build", "tool"]

[tool]
# m4 and as for the recipes that need them, from this tree: its programs run with the msys-2.0.dll beside them
programs = ["make", "m4", "as"]

[source]
url = "https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz"
sha256 = "dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"
mirrors = ["https://ftpmirror.gnu.org/gnu/make/make-4.4.1.tar.gz"]

[platforms]
supported = ["windows"]
build-on = ["windows/msvc", "windows/clang-cl"]

# Written by tools/msys2-packages.py of this repository from the packages named on the next line and what they need.
# BEGIN MSYS2 packages: make bash coreutils sed grep gawk diffutils findutils m4 binutils
# bash 5.3.20-3, binutils 2.47-1, coreutils 9.0-1, diffutils 3.12-1, findutils 4.11.0-2, gawk 5.4.1-1, gcc-libs
# 16.2.0-1, gmp 6.3.0-2, grep 1~3.0-7, libiconv 1.19-1, libintl 0.22.5-1, libpcre 8.45-5, libreadline 8.3.006-2, libzstd
# 1.5.7-1, m4 1.4.21-1, make 4.4.1-3, mpfr 4.2.2-1, msys2-runtime 3.6.12-1, ncurses 6.6-2, sed 4.9-1, zlib 1.4-1, zstd
# 1.5.7-1

[[resource]]
name = "msys2_bash"
url = "https://repo.msys2.org/msys/x86_64/bash-5.3.20-3-x86_64.pkg.tar.zst"
sha256 = "e7045fbbf82deb2551acd8386e1163236107c35952f0659bdbe4f5222269cd83"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_binutils"
url = "https://repo.msys2.org/msys/x86_64/binutils-2.47-1-x86_64.pkg.tar.zst"
sha256 = "b7ddaca6e8b63774cdb1f5ac2720963cd76f8f62ca7e2667b1b0f008ed7ecba2"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_coreutils"
url = "https://repo.msys2.org/msys/x86_64/coreutils-9.0-1-x86_64.pkg.tar.zst"
sha256 = "5f7a90dcd42b9c01f254c87312e731344d84c46be495ac0432d674dab3ba2442"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_diffutils"
url = "https://repo.msys2.org/msys/x86_64/diffutils-3.12-1-x86_64.pkg.tar.zst"
sha256 = "7902c8ce3d4dd69a0f5e98dc9d5c83c17b23314ba486169db57ef6e2835ce3b6"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_findutils"
url = "https://repo.msys2.org/msys/x86_64/findutils-4.11.0-2-x86_64.pkg.tar.zst"
sha256 = "f19d3c6b1b073d4c5759ae83f5639d11a5f0227b772f7d86d600db573d9d5d32"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_gawk"
url = "https://repo.msys2.org/msys/x86_64/gawk-5.4.1-1-x86_64.pkg.tar.zst"
sha256 = "4b1322cb6c83d61fde5100e229e3cabc5b7d01fc0d0d8bc311edc08df91916be"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_gcc_libs"
url = "https://repo.msys2.org/msys/x86_64/gcc-libs-16.2.0-1-x86_64.pkg.tar.zst"
sha256 = "50e1bbbb1b4186ba1ed8c08cdbb5c0a8c2343e4b5747bace24273e26fb148471"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_gmp"
url = "https://repo.msys2.org/msys/x86_64/gmp-6.3.0-2-x86_64.pkg.tar.zst"
sha256 = "f84536138e618d47a1df2da83916cfebbd449f159ffad52f994a71060a41cf34"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_grep"
url = "https://repo.msys2.org/msys/x86_64/grep-1~3.0-7-x86_64.pkg.tar.zst"
sha256 = "2909b3bbef8d33d66980339fb7bd2d3d9145bae0f04191e6671df39868aea427"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_libiconv"
url = "https://repo.msys2.org/msys/x86_64/libiconv-1.19-1-x86_64.pkg.tar.zst"
sha256 = "0fa55ea2a6ccf97cf8c58b24b2615815e15e16e6e4e888091c263c2c83c5313d"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_libintl"
url = "https://repo.msys2.org/msys/x86_64/libintl-0.22.5-1-x86_64.pkg.tar.zst"
sha256 = "336d66b9d95cf9c1804958f8e260762a3e83bf158ed5981f783bc772a31073cf"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_libpcre"
url = "https://repo.msys2.org/msys/x86_64/libpcre-8.45-5-x86_64.pkg.tar.zst"
sha256 = "b4dc2eb7795cbacaa683101d720fa67f536262497a1d89934a58f5dab8d17d17"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_libreadline"
url = "https://repo.msys2.org/msys/x86_64/libreadline-8.3.006-2-x86_64.pkg.tar.zst"
sha256 = "e6c44cca4dcfd3821a4bcfca36bfef244af184e6963076bfcb15727001bfe8d2"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_libzstd"
url = "https://repo.msys2.org/msys/x86_64/libzstd-1.5.7-1-x86_64.pkg.tar.zst"
sha256 = "5e370b2e725a0a7e5ff58d84653c9a0cd5a10b9cfe930f2d949a28ad2a11c1f2"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_m4"
url = "https://repo.msys2.org/msys/x86_64/m4-1.4.21-1-x86_64.pkg.tar.zst"
sha256 = "b561e8871c7599502d9fae7196ee965b3fed3d7af09154eb8d2f5e4d9e5e5106"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_make"
url = "https://repo.msys2.org/msys/x86_64/make-4.4.1-3-x86_64.pkg.tar.zst"
sha256 = "af0bdba17f06fe037f0194069adaa31a8fe45f1a11381501896aea1fae37bd5d"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_mpfr"
url = "https://repo.msys2.org/msys/x86_64/mpfr-4.2.2-1-x86_64.pkg.tar.zst"
sha256 = "8f1b6c17c53e00494a488e03dfdf8fc742027ed03a5bd7b1b3a6a33f595a7498"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_msys2_runtime"
url = "https://repo.msys2.org/msys/x86_64/msys2-runtime-3.6.12-1-x86_64.pkg.tar.zst"
sha256 = "c0dbaa624e29be6d08cf5c65609dca6c749431109e4572bf446a3ca9b4c4fd7c"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_ncurses"
url = "https://repo.msys2.org/msys/x86_64/ncurses-6.6-2-x86_64.pkg.tar.zst"
sha256 = "828c92f09b17f00d3b49362fcfa4affa58e5e50e238f290ea36eb7a690da3acb"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_sed"
url = "https://repo.msys2.org/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst"
sha256 = "3748af28f69e946ec5a42e6670c9bbf6da7352dc93baaa537f69e99c5483b9fc"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_zlib"
url = "https://repo.msys2.org/msys/x86_64/zlib-1.4-1-x86_64.pkg.tar.zst"
sha256 = "bafd3abf8b773ec28b6571d465a53a4e7afed4824cc1eec52f3bfbd6fa556ab9"
when = { host = ["windows-x86_64", "windows-arm64"] }

[[resource]]
name = "msys2_zstd"
url = "https://repo.msys2.org/msys/x86_64/zstd-1.5.7-1-x86_64.pkg.tar.zst"
sha256 = "7b8ab77828c5a1efe53ebc53e3ea9d719bfbd609bf4c810eaa88d626188ed407"
when = { host = ["windows-x86_64", "windows-arm64"] }

# END MSYS2 packages