Skip to content
Open

tbox 1.7.9 #255838

Changes from all commits
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
6 changes: 3 additions & 3 deletions Formula/t/tbox.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Tbox < Formula
desc "Glib-like multi-platform C library"
homepage "https://github.com/tboox/tbox"
url "https://github.com/tboox/tbox/archive/refs/tags/v1.7.7.tar.gz"
sha256 "ae387dcf1952aca572516bdce4a47d04e9b411f5bf7add281247af7c874f3c3f"
url "https://github.com/tboox/tbox/archive/refs/tags/v1.7.9.tar.gz"
sha256 "8d4bba88bb279c4ff71677d15f8bfc20dfbdc3b4eee27b540fb979fe5af65e56"
license "Apache-2.0"
head "https://github.com/tboox/tbox.git", branch: "master"
head "https://github.com/tboox/tbox.git", branch: "dev"

livecheck do
url :stable
Expand All @@ -22,7 +22,7 @@

depends_on "xmake" => :build

def install

Check failure on line 25 in Formula/t/tbox.rb

View workflow job for this annotation

GitHub Actions / Linux x86_64

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

[ 0%]: compiling.release src/tbox/math/int32.c [ 0%]: compiling.release src/tbox/math/impl/math.c [ 1%]: compiling.release src/tbox/math/fixed16.c [ 1%]: compiling.release src/tbox/libc/string/strrchr.c [ 1%]: compiling.release src/tbox/libc/string/wcscat.c error: src/tbox/libc/string/wcscat.c:48:5: error: this ‘while’ clause does not guard... [-Werror=misleading-indentation] 48 | while (*s) s++; --s; | ^~~~~ src/tbox/libc/string/wcscat.c:48:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 48 | while (*s) s++; --s; | ^~ cc1: all warnings being treated as errors > in src/tbox/libc/string/wcscat.c ==> Formula Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/t/tbox.rb ==> Configuration HOMEBREW_VERSION: 5.0.3-28-gd5d28c2 ORIGIN: https://github.com/Homebrew/brew HEAD: d5d28c2fd28134b6cb5b369bba61e83b24a180ae Last commit: 24 hours ago Branch: main Core tap HEAD: ad75dae72b28c4a7d5270bdbdc7bdad0035baee9 Core tap last commit: 5 minutes ago Core tap JSON: 25 Nov 13:46 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_DOWNLOAD_CONCURRENCY: 8 HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /github/home/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.4.7 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.7/bin/ruby CPU: quad-core 64-bit zen3 Clang: N/A Git: 2.52.0 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.11.0-1018-azure x86_64 GNU/Linux OS: Ubuntu 22.04.5 LTS Host glibc: 2.35 Host libstdc++: 6.0.30 /usr/bin/gcc-12: 12.3.0 /usr/bin/ruby: N/A glibc: N/A gcc@12: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-12 HOMEBREW_CXX: g++-12 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew PKG_CONFIG_LIBDIR: HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/xmake/bin:/usr/bin:/bin:/usr/sbin:/sbin ::error::tbox 1.7.9 did not build Logs: /github/home/bottles/logs/tbox/00.options.out /github/home/bottles/logs/tbox/01.xmake.cc.log /github/home/bottles/logs/tbox/01.xmake.log /github/home/bottles/logs/tbox/02.xmake.cc.log /github/home/bottles/logs/tbox/02.xmake.log READ THIS: https://docs.brew.sh/Troubleshooting

Check failure on line 25 in Formula/t/tbox.rb

View workflow job for this annotation

GitHub Actions / Linux arm64

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

[ 0%]: compiling.release src/tbox/math/random/random.c [ 1%]: compiling.release src/tbox/math/impl/math.c [ 1%]: compiling.release src/tbox/libc/string/wcsncmp.c [ 1%]: compiling.release src/tbox/libc/string/strirstr.c [ 2%]: compiling.release src/tbox/libc/string/wcscat.c error: src/tbox/libc/string/wcscat.c:48:5: error: this ‘while’ clause does not guard... [-Werror=misleading-indentation] 48 | while (*s) s++; --s; | ^~~~~ src/tbox/libc/string/wcscat.c:48:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 48 | while (*s) s++; --s; | ^~ cc1: all warnings being treated as errors > in src/tbox/libc/string/wcscat.c ==> Formula Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/t/tbox.rb ==> Configuration HOMEBREW_VERSION: 5.0.3-28-gd5d28c2 ORIGIN: https://github.com/Homebrew/brew HEAD: d5d28c2fd28134b6cb5b369bba61e83b24a180ae Last commit: 24 hours ago Branch: main Core tap HEAD: ad75dae72b28c4a7d5270bdbdc7bdad0035baee9 Core tap last commit: 5 minutes ago Core tap JSON: 25 Nov 13:47 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_DOWNLOAD_CONCURRENCY: 8 HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /github/home/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.4.7 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.7/bin/ruby CPU: quad-core 64-bit arm Clang: N/A Git: 2.34.1 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.8.0-1041-azure aarch64 GNU/Linux OS: Ubuntu 22.04.5 LTS Host glibc: 2.35 Host libstdc++: 6.0.30 /usr/bin/gcc-12: 12.3.0 /usr/bin/ruby: N/A glibc: N/A gcc@12: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-12 HOMEBREW_CXX: g++-12 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew PKG_CONFIG_LIBDIR: HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/xmake/bin:/usr/bin:/bin:/usr/sbin:/sbin ::error::tbox 1.7.9 did not build Logs: /github/home/bottles/logs/tbox/00.options.out /github/home/bottles/logs/tbox/01.xmake.cc.log /github/home/bottles/logs/tbox/01.xmake.log /github/home/bottles/logs/tbox/02.xmake.cc.log /github/home/bottles/logs/tbox/02.xmake.log READ THIS: https://docs.brew.sh/Troubleshooting
system "xmake", "config", "--charset=y", "--demo=n", "--small=y", "--xml=y"
system "xmake"
system "xmake", "install", "-o", prefix
Expand Down
Loading