Skip to content

Commit

Permalink
netatalk 4.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed Dec 29, 2024
1 parent f516131 commit 5e94138
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions Formula/n/netatalk.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
class Netatalk < Formula
desc "File server for Macs, compliant with Apple Filing Protocol (AFP)"
homepage "https://netatalk.io"
url "https://github.com/Netatalk/netatalk/releases/download/netatalk-4-0-8/netatalk-4.0.8.tar.xz"
sha256 "d09d591521b27b91b1c2a6255a2e059af8c9fda43570f983f0a145706e5f7628"
license all_of: [
"GPL-2.0-only",
"GPL-2.0-or-later",
"LGPL-2.0-only",
"LGPL-2.1-or-later",
"BSD-2-Clause",
"BSD-3-Clause",
"MIT",
]
head "https://github.com/Netatalk/netatalk.git", branch: "main"

depends_on "docbook-xsl" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkgconf" => :build

depends_on "berkeley-db@5" # macOS bdb library lacks DBC type etc.
depends_on "libevent"
depends_on "libgcrypt"
depends_on "mysql"
depends_on "openldap" # LDAP.Framework is not fork safe

uses_from_macos "libxslt" => :build
uses_from_macos "perl"

def install

Check failure on line 31 in Formula/n/netatalk.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

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

----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 1 stderr: @(#)PROGRAM:ld PROJECT:dyld-1022.1 BUILD 05:27:37 Dec 7 2023 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.8) Library search paths: /opt/homebrew/opt/berkeley-db@5/lib /opt/homebrew/opt/icu4c@76/lib /opt/homebrew/opt/zlib/lib /opt/homebrew/opt/openldap/lib /opt/homebrew/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries Framework search paths: ld: Undefined symbols: _main, referenced from: <initial-undefines> clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-10231-qar012/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the host machine: clang (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.1.0.2.5)") C linker for the host machine: clang ld64 1022.1 ----------- Detecting archiver via: `llvm-ar-15 --version` -> [Errno 2] No such file or directory: 'llvm-ar-15' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- ----------- Detecting compiler via: `clang --version` -> 0 stdout: Apple clang version 15.0.0 (clang-1500.1.0.2.5) Target: arm64-apple-darwin22.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ----------- Running command: -x c -E -dM - ----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 1 stderr: @(#)PROGRAM:ld PROJECT:dyld-1022.1 BUILD 05:27:37 Dec 7 2023 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.8) Library search paths: /opt/homebrew/opt/berkeley-db@5/lib /opt/homebrew/opt/icu4c@76/lib /opt/homebrew/opt/zlib/lib /opt/homebrew/opt/openldap/lib /opt/homebrew/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries Framework search paths: ld: Undefined symbols: _main, referenced from: <initial-undefines> clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-10231-qar012/netatalk-4.0

Check failure on line 31 in Formula/n/netatalk.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

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

----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 0 stderr: @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 07:38:57 Oct 4 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.8) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-10127-s68sv3/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the host machine: clang (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.4)") C linker for the host machine: clang ld64 1115.7.3 ----------- Detecting archiver via: `llvm-ar-16 --version` -> [Errno 2] No such file or directory: 'llvm-ar-16' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- ----------- Detecting compiler via: `clang --version` -> 0 stdout: Apple clang version 16.0.0 (clang-1600.0.26.4) Target: arm64-apple-darwin24.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ----------- Running command: -x c -E -dM - ----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 0 stderr: @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 07:38:57 Oct 4 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.8) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-10127-s68sv3/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the build machine: clang (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.4)") C linker for the build machine: clang ld64 1115.7.3 ----------- Detecting archiver via: `llvm-ar-16 --version` -> [Errno 2] No such file or directory: 'llvm-ar-16' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- Build machine cpu family: aarch64 Build machine cpu: aarch64 Host machine cpu family: aarc

Check failure on line 31 in Formula/n/netatalk.rb

View workflow job for this annotation

GitHub Actions / Linux

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

----------- Command line: `gcc-11 /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp4qbxlm8m/testfile.c -o /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp4qbxlm8m/output.exe -D_FILE_OFFSET_BITS=64 -O0 -lsocket -Wl,--allow-shlib-undefined` -> 1 stderr: /usr/bin/ld: cannot find -lsocket: No such file or directory collect2: error: ld returned 1 exit status ----------- Running compile: Working directory: /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmpk7ugcur4 Code: #include<stddef.h> #include<stdio.h> int main(void) { printf("%ld\n", (long)(sizeof(void *))); return 0; } ----------- Command line: `gcc-11 /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmpk7ugcur4/testfile.c -o /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmpk7ugcur4/output.exe -D_FILE_OFFSET_BITS=64 -O0` -> 0 Program stdout: 8 Program stderr: Running compile: Working directory: /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp7r0_cnkk Code: ----------- Command line: `gcc-11 /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp7r0_cnkk/testfile.c -o /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp7r0_cnkk/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs` -> 0 stdout: install: /usr/lib/gcc/x86_64-linux-gnu/11/ programs: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/ libraries: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/11/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/11/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/ ----------- Library socket found: NO Running compile: Working directory: /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp_s22ynz9 Code: int main(void) { return 0; } ----------- Command line: `gcc-11 /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp_s22ynz9/testfile.c -o /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp_s22ynz9/output.exe -D_FILE_OFFSET_BITS=64 -O0 -lsendfile -Wl,--allow-shlib-undefined` -> 1 stderr: /usr/bin/ld: cannot find -lsendfile: No such file or directory collect2: error: ld returned 1 exit status ----------- Library sendfile found: NO Running compile: Working directory: /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmpg48y1wnk Code: int main(void) { return 0; } ----------- Command line: `gcc-11 /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmpg48y1wnk/testfile.c -o /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmpg48y1wnk/output.exe -D_FILE_OFFSET_BITS=64 -O0 -lnsl -Wl,--allow-shlib-undefined` -> 0 Library nsl found: YES Running compile: Working directory: /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp4f1rel7i Code: int main(void) { return 0; } ----------- Command line: `gcc-11 /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp4f1rel7i/testfile.c -o /tmp/netatalk-20241229-6923-o336p1/netatalk-4.0.8/build/meson-private/tmp4f1rel7i/output.exe -D_FILE_OFFSET

Check failure on line 31 in Formula/n/netatalk.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

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

----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 0 stderr: @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 07:38:57 Oct 4 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.8) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-10233-cm2cix/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the host machine: clang (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.4)") C linker for the host machine: clang ld64 1115.7.3 ----------- Detecting archiver via: `llvm-ar-16 --version` -> [Errno 2] No such file or directory: 'llvm-ar-16' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- ----------- Detecting compiler via: `clang --version` -> 0 stdout: Apple clang version 16.0.0 (clang-1600.0.26.4) Target: arm64-apple-darwin23.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ----------- Running command: -x c -E -dM - ----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 0 stderr: @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 07:38:57 Oct 4 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.8) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-10233-cm2cix/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the build machine: clang (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.4)") C linker for the build machine: clang ld64 1115.7.3 ----------- Detecting archiver via: `llvm-ar-16 --version` -> [Errno 2] No such file or directory: 'llvm-ar-16' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- Build machine cpu family: aarch64 Build machine cpu: aarch64 Host machine cpu family: aarc

Check failure on line 31 in Formula/n/netatalk.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

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

----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 1 stderr: @(#)PROGRAM:ld PROJECT:dyld-1022.1 BUILD 05:26:33 Dec 7 2023 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.8) Library search paths: /usr/local/opt/berkeley-db@5/lib /usr/local/opt/icu4c@76/lib /usr/local/opt/zlib/lib /usr/local/opt/openldap/lib /usr/local/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries Framework search paths: ld: Undefined symbols: _main, referenced from: <initial-undefines> clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-9863-myiswh/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the host machine: clang (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.1.0.2.5)") C linker for the host machine: clang ld64 1022.1 ----------- Detecting archiver via: `llvm-ar-15 --version` -> [Errno 2] No such file or directory: 'llvm-ar-15' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- ----------- Detecting compiler via: `clang --version` -> 0 stdout: Apple clang version 15.0.0 (clang-1500.1.0.2.5) Target: x86_64-apple-darwin22.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ----------- Running command: -x c -E -dM - ----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 1 stderr: @(#)PROGRAM:ld PROJECT:dyld-1022.1 BUILD 05:26:33 Dec 7 2023 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.8) Library search paths: /usr/local/opt/berkeley-db@5/lib /usr/local/opt/icu4c@76/lib /usr/local/opt/zlib/lib /usr/local/opt/openldap/lib /usr/local/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries Framework search paths: ld: Undefined symbols: _main, referenced from: <initial-undefines> clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-9863-myiswh/netatalk-4.0.8/build/meson-private/sanitych

Check failure on line 31 in Formula/n/netatalk.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

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

----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 0 stderr: @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 07:37:45 Oct 4 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.8) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-9941-yl9758/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the host machine: clang (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.4)") C linker for the host machine: clang ld64 1115.7.3 ----------- Detecting archiver via: `llvm-ar-16 --version` -> [Errno 2] No such file or directory: 'llvm-ar-16' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- ----------- Detecting compiler via: `clang --version` -> 0 stdout: Apple clang version 16.0.0 (clang-1600.0.26.4) Target: x86_64-apple-darwin23.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ----------- Running command: -x c -E -dM - ----- ----------- Detecting linker via: `clang -Wl,--version` -> 1 stderr: ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) ----------- ----------- Detecting Apple linker via: `clang -Wl,-v` -> 0 stderr: @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 07:37:45 Oct 4 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.8) ----------- Sanity testing C compiler: clang Is cross compiler: False. Sanity check compiler command line: clang sanitycheckc.c -o sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /private/tmp/netatalk-20241229-9941-yl9758/netatalk-4.0.8/build/meson-private/sanitycheckc.exe C compiler for the build machine: clang (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.4)") C linker for the build machine: clang ld64 1115.7.3 ----------- Detecting archiver via: `llvm-ar-16 --version` -> [Errno 2] No such file or directory: 'llvm-ar-16' ----------- Detecting archiver via: `llvm-ar --version` -> [Errno 2] No such file or directory: 'llvm-ar' ----------- Detecting archiver via: `ar --version` -> 1 stderr: usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] ----------- Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64
args = [
"-Dwith-afpstats=false",
"-Dwith-bdb-path=#{Formula["berkeley-db"].opt_prefix}",
"-Dwith-docbook-path=#{Formula["docbook-xsl"].opt_prefix}/docbook-xsl",
"-Dwith-init-style=none",
"-Dwith-install-hooks=false",
"-Dwith-pam-config-path=#{etc}/pam.d",
"-Dwith-spotlight=false",
]

args << "-Dwith-appletalk=#{OS.linux?}"

system "meson", "setup", "build", *args, *std_meson_args
system "meson", "compile", "-C", "build", "--verbose"
system "meson", "install", "-C", "build"
end

test do
system sbin/"netatalk", "-V"
system sbin/"afpd", "-V"
end
end

0 comments on commit 5e94138

Please sign in to comment.