Skip to content

Commit

Permalink
fixup! sile: 0.15.8
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 14, 2024
1 parent 228085a commit 744fd9e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Formula/s/sile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ class Sile < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "dbd247ab127cc9f68e3f25e4404974e1ec87e074af1210fb19240bde79dd4ff1"
end

head do
url "https://github.com/sile-typesetter/sile.git", branch: "master"

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
url "https://github.com/sile-typesetter/sile.git", branch: "master" if build.head?

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "jq" => :build
depends_on "libtool" => :build
depends_on "pkgconf" => :build
depends_on "poppler" => :build
depends_on "rust" => :build
Expand Down Expand Up @@ -143,9 +140,6 @@ class Sile < Formula
end

def install

Check failure on line 142 in Formula/s/sile.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew install --verbose --formula --build-bottle sile` failed on macOS Sequoia (15) on Apple Silicon!

autoreconf: running: /opt/homebrew/Cellar/autoconf/2.72/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:20: installing 'build-aux/compile' configure.ac:6: installing 'build-aux/missing' aminclude.am:216: error: 'rusile.so' is not a standard library name aminclude.am:216: did you mean 'librusile.a'? Makefile.am:119: 'aminclude.am' included from here justenough/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory '.' ==> ./configure FCMATCH=true --disable-silent-rules --with-system-luarocks --with-system-lua-sources --with-vendored-luarocks-dir=/opt/homebrew/Cellar/sile/0.15.8_1/libexec/vendor --disable-debug --disable-dependency-tracking --prefix=/opt/homebrew/Cellar/sile/0.15.8_1 --libdir=/opt/homebrew/Cellar/sile/0.15.8_1/lib checking build system type... aarch64-apple-darwin24.1.0 checking host system type... aarch64-apple-darwin24.1.0 checking target system type... aarch64-apple-darwin24.1.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking how to create a pax tar archive... gnutar checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed configure: adding automake macro support configure: creating aminclude.am checking whether to enable developer-specific portions of Makefiles... no checking for gawk... (cached) awk checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking whether the compiler supports GNU Objective C... yes checking whether clang accepts -g... yes checking dependency style of clang... none checking for a sed that does not truncate output... (cached) /usr/bin/sed checking whether cmp executable path has been provided... no checking for cmp... /usr/bin/cmp checking whether diff executable path has been provided... no checking for diff... /usr/bin/diff checking whether find executable path has been provided... no checking for find... /usr/bin/find checking whether head executable path has been provided... no checking for head... /usr/bin/head checking whether jq executable path has been provided... no checking for jq... /opt/homebrew/opt/jq/bin/jq checking whether luarocks executable path has been provided... no checking for luarocks... /opt/homebrew/opt/luarocks/bin/luarocks checking whether pdfinfo executable path has been provided... no checking for pdfinfo... /opt/homebrew/opt/poppler/bin/pdfinfo checking whether sort executable path has been provided... no checking for sort... /usr/bin/sort checking whether xargs executable path has been provided... no checking for xargs... /usr/bin/xargs checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

Check failure on line 142 in Formula/s/sile.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle sile` failed on macOS Sonoma (14) on Apple Silicon!

autoreconf: running: /opt/homebrew/Cellar/autoconf/2.72/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:20: installing 'build-aux/compile' configure.ac:6: installing 'build-aux/missing' aminclude.am:216: error: 'rusile.so' is not a standard library name aminclude.am:216: did you mean 'librusile.a'? Makefile.am:119: 'aminclude.am' included from here justenough/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory '.' ==> ./configure FCMATCH=true --disable-silent-rules --with-system-luarocks --with-system-lua-sources --with-vendored-luarocks-dir=/opt/homebrew/Cellar/sile/0.15.8_1/libexec/vendor --disable-debug --disable-dependency-tracking --prefix=/opt/homebrew/Cellar/sile/0.15.8_1 --libdir=/opt/homebrew/Cellar/sile/0.15.8_1/lib checking build system type... aarch64-apple-darwin23.6.0 checking host system type... aarch64-apple-darwin23.6.0 checking target system type... aarch64-apple-darwin23.6.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking how to create a pax tar archive... gnutar checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed configure: adding automake macro support configure: creating aminclude.am checking whether to enable developer-specific portions of Makefiles... no checking for gawk... (cached) awk checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking whether the compiler supports GNU Objective C... yes checking whether clang accepts -g... yes checking dependency style of clang... none checking for a sed that does not truncate output... (cached) /usr/bin/sed checking whether cmp executable path has been provided... no checking for cmp... /usr/bin/cmp checking whether diff executable path has been provided... no checking for diff... /usr/bin/diff checking whether find executable path has been provided... no checking for find... /usr/bin/find checking whether head executable path has been provided... no checking for head... /usr/bin/head checking whether jq executable path has been provided... no checking for jq... /opt/homebrew/opt/jq/bin/jq checking whether luarocks executable path has been provided... no checking for luarocks... /opt/homebrew/opt/luarocks/bin/luarocks checking whether pdfinfo executable path has been provided... no checking for pdfinfo... /opt/homebrew/opt/poppler/bin/pdfinfo checking whether sort executable path has been provided... no checking for sort... /usr/bin/sort checking whether xargs executable path has been provided... no checking for xargs... /usr/bin/xargs checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

Check failure on line 142 in Formula/s/sile.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew install --verbose --formula --build-bottle sile` failed on macOS Ventura (13) on Apple Silicon!

autoreconf: running: /opt/homebrew/Cellar/autoconf/2.72/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:20: installing 'build-aux/compile' configure.ac:6: installing 'build-aux/missing' aminclude.am:216: error: 'rusile.so' is not a standard library name aminclude.am:216: did you mean 'librusile.a'? Makefile.am:119: 'aminclude.am' included from here justenough/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory '.' ==> ./configure FCMATCH=true --disable-silent-rules --with-system-luarocks --with-system-lua-sources --with-vendored-luarocks-dir=/opt/homebrew/Cellar/sile/0.15.8_1/libexec/vendor --disable-debug --disable-dependency-tracking --prefix=/opt/homebrew/Cellar/sile/0.15.8_1 --libdir=/opt/homebrew/Cellar/sile/0.15.8_1/lib checking build system type... aarch64-apple-darwin22.6.0 checking host system type... aarch64-apple-darwin22.6.0 checking target system type... aarch64-apple-darwin22.6.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking how to create a pax tar archive... gnutar checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed configure: adding automake macro support configure: creating aminclude.am checking whether to enable developer-specific portions of Makefiles... no checking for gawk... (cached) awk checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking whether the compiler supports GNU Objective C... yes checking whether clang accepts -g... yes checking dependency style of clang... none checking for a sed that does not truncate output... (cached) /usr/bin/sed checking whether cmp executable path has been provided... no checking for cmp... /usr/bin/cmp checking whether diff executable path has been provided... no checking for diff... /usr/bin/diff checking whether find executable path has been provided... no checking for find... /usr/bin/find checking whether head executable path has been provided... no checking for head... /usr/bin/head checking whether jq executable path has been provided... no checking for jq... /opt/homebrew/opt/jq/bin/jq checking whether luarocks executable path has been provided... no checking for luarocks... /opt/homebrew/opt/luarocks/bin/luarocks checking whether pdfinfo executable path has been provided... no checking for pdfinfo... /opt/homebrew/opt/poppler/bin/pdfinfo checking whether sort executable path has been provided... no checking for sort... /usr/bin/sort checking whether xargs executable path has been provided... no checking for xargs... /usr/bin/xargs checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
# Workaround upstream darwin detection not picking up on e.g. aarch64-apple-darwin22.6.0
inreplace "configure", "darwin*", "*darwin*" if build.stable?

lua = Formula["luajit"]
luaversion = "5.1"
luapath = libexec/"vendor"
Expand Down Expand Up @@ -195,7 +189,11 @@ def install
]

system "./bootstrap.sh" if build.head?
# Workaround Darwin detection *results* being baked in the generated Makefile in the tarball
system "autoreconf", "-fiv" if build.stable?
system "./configure", *configure_args, *std_configure_args
system "grep", "-R", "SHARED_LIB_EXT"
system "grep", "-R", "librusile"
system "make"
system "make", "install"
end
Expand Down

0 comments on commit 744fd9e

Please sign in to comment.