Skip to content
Open
Changes from all commits
提交
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Formula/d/dosbox-staging.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class DosboxStaging < Formula
desc "Modernized DOSBox soft-fork"
homepage "https://dosbox-staging.github.io/"
url "https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v0.82.2.tar.gz"
sha256 "387c97b373c3164ab5abbbc2b210bf94b5567057abe44ee1e8b4d4e725bd422c"
url "https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v0.83.0.tar.gz"
sha256 "9b36be5a666784adaeffa560bd0950691f851a76bdb97e7ae3c989561e91caf3"
license "GPL-2.0-or-later"
head "https://github.com/dosbox-staging/dosbox-staging.git", branch: "main"

Expand Down Expand Up @@ -45,9 +45,13 @@
depends_on "zlib-ng-compat"
end

def install

Check failure on line 48 in Formula/d/dosbox-staging.rb

View workflow job for this annotation

GitHub 操作 / Linux x86_64

`brew install --verbose --formula --build-bottle dosbox-staging` failed on Linux x86_64!

WARNING: Output file "resources/crt" for configure_file() at resources/meson.build:97 overwrites configure_file() output at resources/meson.build:97 Configuring crt with command Configuring interpolation with command Configuring misc with command resources/meson.build:97:8: ERROR: Command `/usr/bin/cp -f -R -P /var/tmp/dosbox-staging-20260828-8320-u4zizf/dosbox-staging-0.83.0/resources/shaders/misc /var/tmp/dosbox-staging-20260828-8320-u4zizf/dosbox-staging-0.83.0/build/resources/../resources/shaders` failed with status 1. A full log can be found at /var/tmp/dosbox-staging-20260828-8320-u4zizf/dosbox-staging-0.83.0/build/meson-logs/meson-log.txt ::group::==== CI platform detected, click here for meson-log.txt contents. ==== Build started at 2026-08-28T02:10:30.574520 Main binary: /home/linuxbrew/.linuxbrew/opt/python@3.14/bin/python3.14 Build Options: -Dbuildtype=release -Ddefault_library=shared -Db_lto=true -Dprefix=/home/linuxbrew/.linuxbrew/Cellar/dosbox-staging/0.83.0 -Dlibdir=lib -Dwrap_mode=nofallback Python system: Linux The Meson build system Version: 1.12.0 Source dir: /var/tmp/dosbox-staging-20260828-8320-u4zizf/dosbox-staging-0.83.0 Build dir: /var/tmp/dosbox-staging-20260828-8320-u4zizf/dosbox-staging-0.83.0/build Build type: native build Running command: /var/tmp/dosbox-staging-20260828-8320-u4zizf/dosbox-staging-0.83.0/scripts/ci/get-version.sh version --- stdout --- 0.83.0 --- stderr --- fatal: not a git repository (or any of the parent directories): .git Project name: dosbox-staging Project version: 0.83.0 ----------- Detecting compiler via: `gcc --version` -> 0 stdout: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: -cpp -x c -E -dM - ----- ----------- Detecting linker via: `gcc -Wl,--version` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 13.3.0 /usr/bin/ld -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/var/tmp/ccGbfWUA.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/home/linuxbrew/.linuxbrew/opt/systemd/lib -L/home/linuxbrew/.linuxbrew/lib -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. --version -rpath=/home/linuxbrew/.linuxbrew/Cellar/dosbox-staging/0.83.0/lib -rpath=/home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current -rpath=/home/linuxbrew/.linuxbrew/opt/libogg/lib -rpath=/home/linuxbrew/.linuxbrew/opt/flac/lib -rpath=/home/linuxbrew/.linuxbrew/opt/mpg123/lib -rpath=/home/linuxbrew/.linuxbrew/opt/ncurses/lib -rpath=/home/linuxbrew/.linuxbrew/opt/lame/lib -rpath=/home/linuxbrew/.linuxbrew/opt/libvorbis/lib -rpath=/home/linuxbrew/.linuxbrew/opt/opus/lib -rpath=/home/linuxbrew/.linuxbrew/opt/libsndfile/lib -rpath=/home/linuxbrew/.linuxbrew/opt/readline/lib -rpath=/home/linuxbrew/.linuxbrew/opt/alsa-lib/lib -rpath=/home/linuxbrew/.linuxbrew/opt/libsamplerate/lib -rpath=/home/linuxbrew/.linuxbrew/opt/b

Check failure on line 48 in Formula/d/dosbox-staging.rb

View workflow job for this annotation

GitHub 操作 / Linux arm64

`brew install --verbose --formula --build-bottle dosbox-staging` failed on Linux arm64!

WARNING: Output file "resources/crt" for configure_file() at resources/meson.build:97 overwrites configure_file() output at resources/meson.build:97 Configuring crt with command Configuring interpolation with command Configuring misc with command resources/meson.build:97:8: ERROR: Command `/usr/bin/cp -f -R -P /var/tmp/dosbox-staging-20260828-8207-1awjeu/dosbox-staging-0.83.0/resources/shaders/misc /var/tmp/dosbox-staging-20260828-8207-1awjeu/dosbox-staging-0.83.0/build/resources/../resources/shaders` failed with status 1. A full log can be found at /var/tmp/dosbox-staging-20260828-8207-1awjeu/dosbox-staging-0.83.0/build/meson-logs/meson-log.txt ::group::==== CI platform detected, click here for meson-log.txt contents. ==== Build started at 2026-08-28T02:10:09.492976 Main binary: /home/linuxbrew/.linuxbrew/opt/python@3.14/bin/python3.14 Build Options: -Dbuildtype=release -Ddefault_library=shared -Db_lto=true -Dprefix=/home/linuxbrew/.linuxbrew/Cellar/dosbox-staging/0.83.0 -Dlibdir=lib -Dwrap_mode=nofallback Python system: Linux The Meson build system Version: 1.12.0 Source dir: /var/tmp/dosbox-staging-20260828-8207-1awjeu/dosbox-staging-0.83.0 Build dir: /var/tmp/dosbox-staging-20260828-8207-1awjeu/dosbox-staging-0.83.0/build Build type: native build Running command: /var/tmp/dosbox-staging-20260828-8207-1awjeu/dosbox-staging-0.83.0/scripts/ci/get-version.sh version --- stdout --- 0.83.0 --- stderr --- fatal: not a git repository (or any of the parent directories): .git Project name: dosbox-staging Project version: 0.83.0 ----------- Detecting compiler via: `gcc --version` -> 0 stdout: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: -cpp -x c -E -dM - ----- ----------- Detecting linker via: `gcc -Wl,--version` -> 0 stdout: GNU ld (GNU Binutils for Ubuntu) 2.42 Copyright (C) 2024 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 13.3.0 /usr/bin/ld -plugin /usr/libexec/gcc/aarch64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/var/tmp/cc0yt8tO.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie -z now -z relro /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/13/crtbeginS.o -L/home/linuxbrew/.linuxbrew/opt/systemd/lib -L/home/linuxbrew/.linuxbrew/lib -L/usr/lib/gcc/aarch64-linux-gnu/13 -L/usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/13/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/13/../../.. --version -rpath=/home/linuxbrew/.linuxbrew/Cellar/dosbox-staging/0.83.0/lib -rpath=/home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current -rpath=/home/linuxbrew/.linuxbrew/opt/libogg/lib -rpath=/home/linuxbrew/.linuxbrew/opt/flac/lib -rpath=/home/linuxbrew/.linuxbrew/opt/mpg123/lib -rpath=/home/linuxbrew/.linuxbrew/opt/ncurses/lib -rpath=/home/linuxbrew/.linuxbrew/opt/lame/lib -rpath=/home/linuxbrew/.linuxbrew/opt/libvorbis/lib -rpath=/home/linuxbrew/.linuxbrew/opt/opus/lib -rpath=/home/linuxbrew/.linuxbrew/opt/libsndfile/lib -rpath=/home/linuxbrew/.linuxbrew/opt/readline/lib -rpath=/home/linuxbrew/.linuxbrew/opt/alsa-lib/lib -rpath=/home/linuxbrew/.linuxbrew/opt/libsamplerat
rm_r(buildpath/"subprojects") # Ensure we don't use vendored dependencies
args = %w[-Ddefault_library=shared -Db_lto=true -Dtracy=false]

# `get-version.sh` locates the tree with `git`, which is unavailable in tarball builds
inreplace "scripts/ci/get-version.sh", "$(git rev-parse --show-toplevel)", buildpath.to_s

args = %w[-Ddefault_library=shared -Db_lto=true]

system "meson", "setup", "build", *args, *std_meson_args
system "meson", "compile", "-C", "build", "--verbose"
Expand Down
Loading