Daijiro Fukuda
Daijiro Fukuda
Seems to be related to the problem of not being able to build ruby on M1 macOS.
The error occurs here. ```console cd /Users/dai/work/fluent-package-builder/td-agent/downloads/ruby-2.7.6 patch -p1 --input=/Users/dai/work/fluent-package-builder/td-agent/patches/ruby-2.7/0001-Removed-the-old-executables-of-racc.patch patching file bin/racc2y patching file bin/y2racc patching file libexec/racc2y patching file libexec/y2racc patch -p1 --input=/Users/dai/work/fluent-package-builder/td-agent/patches/ruby-2.7/0002-Fixup-a6864f6d2f39bcd1ff04516591cc18d4027ab186.patch patching file lib/racc/racc.gemspec ./configure --prefix=/opt/td-agent...
`/Users/dai/work/fluent-package-builder/td-agent/downloads/ruby-2.7.6/ext/openssl/mkmf.log` ```c === OpenSSL for Ruby configurator === "gcc -o conftest -I../../.ext/include/arm64-darwin21 -I../.././include -I../.././ext/openssl -I/Users/dai/work/fluent-package-builder/td-agent/staging/opt/td-agent/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -g -O2 -fno-common -pipe conftest.c -L. -L../.. -L/Users/dai/work/fluent-package-builder/td-agent/staging/opt/td-agent/lib -L. -fstack-protector-strong -L/usr/local/lib...
When I use my Rosetta environment on the same machine, the build succeeds. * Use the terminal with Rosetta ON. * Use another brew and Ruby independently from the normal...
@dferreiralopessc > I'm getting issues on deploying td-agent 4.1.x on MacOS m1 computers. Here is the error I get once installed: Not related to the building, td-agent v4.1.1 launched without...
Oh, sorry, I had mistaken it for 4.4.x. You get the error on 4.1.x. I will check it too.
> @dferreiralopessc > > > I'm getting issues on deploying td-agent 4.1.x on MacOS m1 computers. Here is the error I get once installed: > > Not related to the...
Oh!! Thanks!! I will try changing this option.
I am also concerned here. https://github.com/fluent/fluent-package-builder/blob/2165980aea141af9e24ebda39918ba062159b302/td-agent/Rakefile#L339
> I am also concerned here. > > https://github.com/fluent/fluent-package-builder/blob/2165980aea141af9e24ebda39918ba062159b302/td-agent/Rakefile#L339 I'm not sure, but it seems fine here. > ``` > ld: warning: ignoring file /Users/dai/work/fluent-package-builder/td-agent/staging/opt/td-agent/lib/libcrypto.dylib, building for macOS-arm64 but attempting...