Open carlkidcrypto opened 1 day ago
GitHub Actions output for Linux Tests
libs: ['netsnmp', 'm', 'ssl', 'ssl', 'crypto'] libdirs: ['/usr/lib/x86_64-linux-gnu'] incdirs: ['ezsnmp/include/'] in_tree: False compile_args: ['-std=c++17', '-Werror'] link_args: [] platform: linux running build running build_py creating build/lib.linux-x86_64-cpython-39/ezsnmp copying ezsnmp/sessionbase.py -> build/lib.linux-x86_64-cpython-39/ezsnmp copying ezsnmp/datatypes.py -> build/lib.linux-x86_64-cpython-39/ezsnmp copying ezsnmp/session.py -> build/lib.linux-x86_64-cpython-39/ezsnmp copying ezsnmp/__init__.py -> build/lib.linux-x86_64-cpython-39/ezsnmp copying ezsnmp/netsnmp.py -> build/lib.linux-x86_64-cpython-39/ezsnmp running build_ext building 'ezsnmp/_netsnmp' extension creating build/temp.linux-x86_64-cpython-39/ezsnmp/src g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iezsnmp/include/ -I/opt/hostedtoolcache/Python/3.9.20/x64/include/python3.9 -c ezsnmp/src/datatypes.cpp -o build/temp.linux-x86_64-cpython-39/ezsnmp/src/datatypes.o -std=c++[17](https://github.com/carlkidcrypto/ezsnmp/actions/runs/11840643172/job/32994993695#step:6:18) -Werror g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iezsnmp/include/ -I/opt/hostedtoolcache/Python/3.9.[20](https://github.com/carlkidcrypto/ezsnmp/actions/runs/11840643172/job/32994993695#step:6:21)/x64/include/python3.9 -c ezsnmp/src/ezsnmp_netsnmp.cpp -o build/temp.linux-x86_64-cpython-39/ezsnmp/src/ezsnmp_netsnmp.o -std=c++17 -Werror g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iezsnmp/include/ -I/opt/hostedtoolcache/Python/3.9.20/x64/include/python3.9 -c ezsnmp/src/helpers.cpp -o build/temp.linux-x86_64-cpython-39/ezsnmp/src/helpers.o -std=c++17 -Werror g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iezsnmp/include/ -I/opt/hostedtoolcache/Python/3.9.20/x64/include/python3.9 -c ezsnmp/src/snmpbulkget.cpp -o build/temp.linux-x86_64-cpython-39/ezsnmp/src/snmpbulkget.o -std=c++17 -Werror ezsnmp/src/snmpbulkget.cpp: In function ‘std::vector<Result> snmpbulkget(const std::vector<std::__cxx11::basic_string<char> >&)’: ezsnmp/src/snmpbulkget.cpp:[24](https://github.com/carlkidcrypto/ezsnmp/actions/runs/11840643172/job/32994993695#step:6:25)8:4: error: ‘netsnmp_cleanup_session’ was not declared in this scope; did you mean ‘netsnmp_session’? 248 | netsnmp_cleanup_session(&session); | ^~~~~~~~~~~~~~~~~~~~~~~ | netsnmp_session error: command '/usr/bin/g++' failed with exit code 1
GitHub Actions output for MacOS Tests
libs: ['netsnmp'] libdirs: [] incdirs: ['ezsnmp/include/'] libdirs: ['/opt/homebrew/Cellar/net-snmp/5.9.4/lib', '/opt/homebrew/Cellar/openssl@3/3.4.0/lib'] incdirs: ['ezsnmp/include/', '/opt/homebrew/Cellar/net-snmp/5.9.4/include', '/opt/homebrew/Cellar/openssl@3/3.4.0/include'] openssl_ver: openssl@3 in_tree: False compile_args: ['-std=c++17', '-Werror'] link_args: [] platform: darwin running build running build_py creating build/lib.macosx-10.9-universal2-cpython-310/ezsnmp copying ezsnmp/session.py -> build/lib.macosx-10.9-universal2-cpython-310/ezsnmp copying ezsnmp/__init__.py -> build/lib.macosx-10.9-universal2-cpython-310/ezsnmp copying ezsnmp/datatypes.py -> build/lib.macosx-10.9-universal2-cpython-310/ezsnmp copying ezsnmp/netsnmp.py -> build/lib.macosx-10.9-universal2-cpython-310/ezsnmp copying ezsnmp/sessionbase.py -> build/lib.macosx-10.9-universal2-cpython-310/ezsnmp running build_ext building 'ezsnmp/_netsnmp' extension creating build/temp.macosx-10.9-universal2-cpython-310/ezsnmp/src clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iezsnmp/include/ -I/opt/homebrew/Cellar/net-snmp/5.9.4/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ezsnmp/src/datatypes.cpp -o build/temp.macosx-10.9-universal2-cpython-310/ezsnmp/src/datatypes.o -std=c++17 -Werror clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iezsnmp/include/ -I/opt/homebrew/Cellar/net-snmp/5.9.4/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ezsnmp/src/ezsnmp_netsnmp.cpp -o build/temp.macosx-10.9-universal2-cpython-310/ezsnmp/src/ezsnmp_netsnmp.o -std=c++17 -Werror clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iezsnmp/include/ -I/opt/homebrew/Cellar/net-snmp/5.9.4/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ezsnmp/src/helpers.cpp -o build/temp.macosx-10.9-universal2-cpython-310/ezsnmp/src/helpers.o -std=c++17 -Werror clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iezsnmp/include/ -I/opt/homebrew/Cellar/net-snmp/5.9.4/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ezsnmp/src/snmpbulkget.cpp -o build/temp.macosx-10.9-universal2-cpython-310/ezsnmp/src/snmpbulkget.o -std=c++17 -Werror clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iezsnmp/include/ -I/opt/homebrew/Cellar/net-snmp/5.9.4/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ezsnmp/src/snmpbulkwalk.cpp -o build/temp.macosx-10.9-universal2-cpython-310/ezsnmp/src/snmpbulkwalk.o -std=c++17 -Werror clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iezsnmp/include/ -I/opt/homebrew/Cellar/net-snmp/5.9.4/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c ezsnmp/src/snmpget.cpp -o build/temp.macosx-10.9-universal2-cpython-310/ezsnmp/src/snmpget.o -std=c++17 -Werror ezsnmp/src/snmpget.cpp:220:27: error: 'fmemopen' is only available on macOS 10.[13](https://github.com/carlkidcrypto/ezsnmp/actions/runs/11840643172/job/32994996628#step:6:14) or newer [-Werror,-Wunguarded-availability-new] FILE *f1 = fmemopen(buffer.data(), buffer.size(), "w"); ^~~~~~~~ /Applications/Xcode_[15](https://github.com/carlkidcrypto/ezsnmp/actions/runs/11840643172/job/32994996628#step:6:16).4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:359:7: note: 'fmemopen' has been marked as being introduced in macOS 10.13 here, but the deployment target is macOS 10.9.0 FILE *fmemopen(void * __restrict __buf, size_t __size, const char * __restrict __mode) __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0)); ^ ezsnmp/src/snmpget.cpp:2[20](https://github.com/carlkidcrypto/ezsnmp/actions/runs/11840643172/job/32994996628#step:6:21):27: note: enclose 'fmemopen' in a __builtin_available check to silence this warning FILE *f1 = fmemopen(buffer.data(), buffer.size(), "w"); ^~~~~~~~ 1 error generated. error: command '/usr/bin/clang++' failed with exit code