From b5f502aa348a4e0d798e95025a1c2231b71c8fee Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 27 Oct 2022 23:22:53 +0200 Subject: [PATCH] ci: try to install NetSNMP from Homebrew The one shipped with MacOS is broken. ``` checking whether C compiler supports flag "-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -Os -pipe -DBUILD=174 -DMACOSX_DEPLOYMENT_TARGET=12.6 --sysroot /Applications/Xcode_14.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -iframeworkwithsysroot /System/Library/Frameworks/-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/PrivateFrameworks/ -1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/ -iwithsysroot /usr/local/libressl/include -L/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/libressl/lib -Udarwin21 -Ddarwin21=darwin21 -I/usr/local/include -DNETSNMP_NO_INLINE -lnetsnmpmibs -lnetsnmpagent -lnetsnmp" ``` --- tests/ci/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ci/install.sh b/tests/ci/install.sh index bf93358d..aa091776 100755 --- a/tests/ci/install.sh +++ b/tests/ci/install.sh @@ -29,6 +29,7 @@ brew "automake" brew "autoconf" brew "libtool" brew "check" +brew "net-snmp" EOS ;; Linux) -- 2.39.5