Created
January 6, 2023 05:17
-
-
Save kefeimo/35b7536c235c31ba0abf0da7fa7c4125 to your computer and use it in GitHub Desktop.
cmake build dnp3-python full log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dnp3-sandbox) kefei@ubuntu-22:~/project/dnp3-python$ python setup.py install | |
running install | |
/home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
/home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
running bdist_egg | |
running egg_info | |
writing src/dnp3_python.egg-info/PKG-INFO | |
writing dependency_links to src/dnp3_python.egg-info/dependency_links.txt | |
writing entry points to src/dnp3_python.egg-info/entry_points.txt | |
writing top-level names to src/dnp3_python.egg-info/top_level.txt | |
reading manifest file 'src/dnp3_python.egg-info/SOURCES.txt' | |
adding license file 'LICENSE' | |
writing manifest file 'src/dnp3_python.egg-info/SOURCES.txt' | |
installing library code to build/bdist.linux-x86_64/egg | |
running install_lib | |
running build_py | |
running build_ext | |
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): | |
Compatibility with CMake < 2.8.12 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value or use a ...<max> suffix to tell | |
CMake that the project does not need compatibility with older versions. | |
-- The C compiler identification is GNU 11.3.0 | |
-- The CXX compiler identification is GNU 11.3.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /usr/bin/cc - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
CMake build is: Release | |
-- Found PythonInterp: /home/kefei/miniconda3/envs/dnp3-sandbox/bin/python (found version "3.10.8") | |
-- Found PythonLibs: /home/kefei/miniconda3/envs/dnp3-sandbox/lib/libpython3.10.so | |
-- Performing Test HAS_CPP14_FLAG | |
-- Performing Test HAS_CPP14_FLAG - Success | |
-- pybind11 v2.3.dev0 | |
CMake Deprecation Warning at deps/dnp3/CMakeLists.txt:1 (cmake_minimum_required): | |
Compatibility with CMake < 2.8.12 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value or use a ...<max> suffix to tell | |
CMake that the project does not need compatibility with older versions. | |
CMake build is: Release | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success | |
-- Found Threads: TRUE | |
ASIO has been checked out as a git submodule: /home/kefei/project/dnp3-python/deps/dnp3/deps/asio/asio/include | |
-- Performing Test HAS_FLTO | |
-- Performing Test HAS_FLTO - Success | |
-- LTO enabled | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/kefei/project/dnp3-python/build/temp.linux-x86_64-cpython-310 | |
[ 0%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/Buffer.cpp.o | |
[ 1%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/RSlice.cpp.o | |
[ 1%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/WSlice.cpp.o | |
[ 2%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/MonotonicTimestamp.cpp.o | |
[ 2%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimeDuration.cpp.o | |
[ 3%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimerRef.cpp.o | |
[ 3%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/Logger.cpp.o | |
[ 4%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/StringFormatting.cpp.o | |
[ 4%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/ByteSerialization.cpp.o | |
[ 5%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/DoubleFloat.cpp.o | |
[ 5%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/FloatByteOrder.cpp.o | |
[ 6%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Format.cpp.o | |
[ 6%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Parse.cpp.o | |
[ 7%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/SingleFloat.cpp.o | |
[ 7%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/UInt48LE.cpp.o | |
[ 8%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/Limits.cpp.o | |
[ 8%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/ToHex.cpp.o | |
[ 9%] Linking CXX static library libopenpal.a | |
[ 9%] Built target openpal | |
[ 9%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/LogLevels.cpp.o | |
[ 10%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOSerialHelpers.cpp.o | |
[ 11%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUBuilders.cpp.o | |
[ 11%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUHeader.cpp.o | |
[ 12%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDULogging.cpp.o | |
[ 12%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDURequest.cpp.o | |
[ 13%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUResponse.cpp.o | |
[ 13%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUWrapper.cpp.o | |
[ 14%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogCommandEvent.cpp.o | |
[ 14%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogOutput.cpp.o | |
[ 15%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AppControlField.cpp.o | |
[ 15%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ChannelRetry.cpp.o | |
[ 15%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/BinaryCommandEvent.cpp.o | |
[ 16%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Executor.cpp.o | |
[ 17%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ClassField.cpp.o | |
[ 17%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ControlRelayOutputBlock.cpp.o | |
[ 18%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/EventTriggers.cpp.o | |
[ 18%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/Functions.cpp.o | |
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/GroupVariationRecord.cpp.o | |
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/HeaderWriter.cpp.o | |
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/IINField.cpp.o | |
[ 20%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/MeasurementTypes.cpp.o | |
[ 20%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/OctetData.cpp.o | |
[ 21%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/QualityFlags.cpp.o | |
[ 21%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/SecurityStat.cpp.o | |
[ 22%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUHeaderParser.cpp.o | |
[ 22%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUParser.cpp.o | |
[ 23%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/BitReader.cpp.o | |
[ 23%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountIndexParser.cpp.o | |
[ 23%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/IOpenDelayStrategy.cpp.o | |
[ 23%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ResourceManager.cpp.o | |
[ 24%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountParser.cpp.o | |
[ 25%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SerialChannel.cpp.o | |
[ 25%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/FreeFormatParser.cpp.o | |
[ 26%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/IAPDUHandler.cpp.o | |
[ 26%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/NumParser.cpp.o | |
[ 27%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/ObjectHeaderParser.cpp.o | |
[ 27%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/RangeParser.cpp.o | |
[ 27%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SocketChannel.cpp.o | |
[ 28%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Attributes.cpp.o | |
[ 28%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/AuthErrorCode.cpp.o | |
[ 29%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CertificateType.cpp.o | |
[ 29%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChallengeReason.cpp.o | |
[ 30%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChannelState.cpp.o | |
[ 30%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandPointState.cpp.o | |
[ 31%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandStatus.cpp.o | |
[ 31%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ControlCode.cpp.o | |
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/DoubleBit.cpp.o | |
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlagsType.cpp.o | |
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlowControl.cpp.o | |
[ 33%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FunctionCode.cpp.o | |
[ 33%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/GroupVariation.cpp.o | |
[ 34%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/HMACType.cpp.o | |
[ 34%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/IntervalUnits.cpp.o | |
[ 35%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyChangeMethod.cpp.o | |
[ 35%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyStatus.cpp.o | |
[ 36%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyWrapAlgorithm.cpp.o | |
[ 36%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkFunction.cpp.o | |
[ 37%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkStatus.cpp.o | |
[ 37%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/MasterTaskType.cpp.o | |
[ 38%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Parity.cpp.o | |
[ 38%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/QualifierCode.cpp.o | |
[ 39%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/StopBits.cpp.o | |
[ 39%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/TaskCompletion.cpp.o | |
[ 40%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserOperation.cpp.o | |
[ 40%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserRole.cpp.o | |
[ 41%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPClient.cpp.o | |
[ 42%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/CRC.cpp.o | |
[ 42%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkContext.cpp.o | |
[ 43%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkFrame.cpp.o | |
[ 43%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeader.cpp.o | |
[ 44%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeaderFields.cpp.o | |
[ 44%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayer.cpp.o | |
[ 45%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayerParser.cpp.o | |
[ 45%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/PriLinkLayerStates.cpp.o | |
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/SecLinkLayerStates.cpp.o | |
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/ShiftableBuffer.cpp.o | |
[ 46%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPServer.cpp.o | |
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/AssignClassTask.cpp.o | |
[ 47%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/ClearRestartTask.cpp.o | |
[ 47%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSet.cpp.o | |
[ 48%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSetOps.cpp.o | |
[ 48%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTask.cpp.o | |
[ 49%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ThreadPool.cpp.o | |
[ 50%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTaskResult.cpp.o | |
[ 50%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/DisableUnsolicitedTask.cpp.o | |
[ 51%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EmptyResponseTask.cpp.o | |
[ 51%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EnableUnsolicitedTask.cpp.o | |
[ 52%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EventScanTask.cpp.o | |
[ 52%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TimeConversions.cpp.o | |
[ 53%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Timer.cpp.o | |
[ 53%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/HeaderTypes.cpp.o | |
[ 54%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/IMasterTask.cpp.o | |
[ 54%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/LANTimeSyncTask.cpp.o | |
[ 55%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterContext.cpp.o | |
[ 55%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/UTCTimeSource.cpp.o | |
[ 56%] Linking CXX static library libasiopal.a | |
[ 56%] Built target asiopal | |
[ 56%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterSchedulerBackend.cpp.o | |
[ 57%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterTasks.cpp.o | |
[ 57%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp.o | |
[ 58%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/PollTaskBase.cpp.o | |
[ 58%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/RestartOperationTask.cpp.o | |
[ 59%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/SerialTimeSyncTask.cpp.o | |
[ 59%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/StartupIntegrityPoll.cpp.o | |
[ 60%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/TaskBehavior.cpp.o | |
In file included from /home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:22: | |
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h: In constructor ‘opendnp3::TaskBehavior::TaskBehavior(const openpal::TimeDuration&, const openpal::MonotonicTimestamp&, const openpal::TimeDuration&, const openpal::TimeDuration&, const openpal::MonotonicTimestamp&)’: | |
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:115:37: warning: ‘opendnp3::TaskBehavior::expiration’ will be initialized after [-Wreorder] | |
115 | openpal::MonotonicTimestamp expiration; | |
| ^~~~~~~~~~ | |
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:107:37: warning: ‘const openpal::TimeDuration opendnp3::TaskBehavior::minRetryDelay’ [-Wreorder] | |
107 | const openpal::TimeDuration minRetryDelay; | |
| ^~~~~~~~~~~~~ | |
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:87:1: warning: when initialized here [-Wreorder] | |
87 | TaskBehavior::TaskBehavior( | |
| ^~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:22: | |
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:118:31: warning: ‘opendnp3::TaskBehavior::currentRetryDelay’ will be initialized after [-Wreorder] | |
118 | openpal::TimeDuration currentRetryDelay; | |
| ^~~~~~~~~~~~~~~~~ | |
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:109:43: warning: ‘const openpal::MonotonicTimestamp opendnp3::TaskBehavior::startExpiration’ [-Wreorder] | |
109 | const openpal::MonotonicTimestamp startExpiration; | |
| ^~~~~~~~~~~~~~~ | |
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:87:1: warning: when initialized here [-Wreorder] | |
87 | TaskBehavior::TaskBehavior( | |
| ^~~~~~~~~~~~ | |
[ 60%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/TaskContext.cpp.o | |
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/UserPollTask.cpp.o | |
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group1.cpp.o | |
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group10.cpp.o | |
[ 62%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group11.cpp.o | |
[ 62%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group12.cpp.o | |
[ 63%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group120.cpp.o | |
[ 63%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group121.cpp.o | |
[ 64%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group122.cpp.o | |
[ 64%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group13.cpp.o | |
[ 65%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group2.cpp.o | |
[ 65%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group20.cpp.o | |
[ 66%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group21.cpp.o | |
[ 66%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group22.cpp.o | |
[ 67%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group23.cpp.o | |
[ 67%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group3.cpp.o | |
[ 68%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group30.cpp.o | |
[ 68%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group32.cpp.o | |
[ 69%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group4.cpp.o | |
[ 69%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group40.cpp.o | |
[ 70%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group41.cpp.o | |
[ 70%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group42.cpp.o | |
[ 71%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group43.cpp.o | |
[ 71%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group50.cpp.o | |
[ 72%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group51.cpp.o | |
[ 72%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group52.cpp.o | |
[ 73%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ApplicationIIN.cpp.o | |
[ 73%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/AssignClassHandler.cpp.o | |
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ClassBasedRequestHandler.cpp.o | |
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandActionAdapter.cpp.o | |
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandResponseHandler.cpp.o | |
[ 75%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/Database.cpp.o | |
[ 75%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseBuffers.cpp.o | |
[ 76%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseConfigView.cpp.o | |
[ 76%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DeferredRequest.cpp.o | |
[ 77%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBuffer.cpp.o | |
[ 77%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBufferConfig.cpp.o | |
[ 78%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventCount.cpp.o | |
[ 78%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventWriter.cpp.o | |
[ 79%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IINHelpers.cpp.o | |
[ 79%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IOutstationApplication.cpp.o | |
[ 80%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationContext.cpp.o | |
[ 80%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationStates.cpp.o | |
[ 81%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ReadHandler.cpp.o | |
[ 81%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/RequestHistory.cpp.o | |
[ 82%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ResponseContext.cpp.o | |
[ 82%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SOERecord.cpp.o | |
[ 83%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SelectedRanges.cpp.o | |
[ 83%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SimpleCommandHandler.cpp.o | |
[ 84%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticBuffers.cpp.o | |
[ 84%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticLoadFunctions.cpp.o | |
[ 85%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/WriteHandler.cpp.o | |
[ 85%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportLayer.cpp.o | |
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportRx.cpp.o | |
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportStack.cpp.o | |
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportTx.cpp.o | |
[ 87%] Linking CXX static library libopendnp3.a | |
[ 87%] Built target opendnp3 | |
[ 87%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ConsoleLogger.cpp.o | |
[ 87%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/Conversions.cpp.o | |
[ 88%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Channel.cpp.o | |
[ 88%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Manager.cpp.o | |
[ 89%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3ManagerImpl.cpp.o | |
[ 89%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultListenCallbacks.cpp.o | |
[ 90%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultMasterApplication.cpp.o | |
[ 90%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ErrorCodes.cpp.o | |
[ 91%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/IOHandler.cpp.o | |
[ 91%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/LinkSession.cpp.o | |
[ 92%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterScan.cpp.o | |
[ 92%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterSessionStack.cpp.o | |
[ 93%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterStack.cpp.o | |
[ 93%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterTCPServer.cpp.o | |
[ 94%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/OutstationStack.cpp.o | |
[ 94%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/PrintingCommandCallback.cpp.o | |
[ 95%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/PrintingSOEHandler.cpp.o | |
[ 95%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/SerialIOHandler.cpp.o | |
[ 96%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/TCPClientIOHandler.cpp.o | |
[ 96%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/TCPServerIOHandler.cpp.o | |
[ 97%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/UpdateBuilder.cpp.o | |
[ 97%] Linking CXX static library libasiodnp3.a | |
[ 97%] Built target asiodnp3 | |
[ 97%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3.cpp.o | |
[ 98%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3asiodnp3.cpp.o | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] | |
167 | PyEval_InitThreads(); | |
| ~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here | |
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
169 | internals_ptr->tstate = PyThread_create_key(); | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
170 | PyThread_set_key_value(internals_ptr->tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] | |
167 | PyEval_InitThreads(); | |
| ~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here | |
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
169 | internals_ptr->tstate = PyThread_create_key(); | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
170 | PyThread_set_key_value(internals_ptr->tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here | |
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1770 | PyThread_set_key_value(internals.tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1809 | PyThread_delete_key_value(detail::get_internals().tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here | |
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1837 | PyThread_set_key_value(key, nullptr); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1850 | PyThread_set_key_value(key, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here | |
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1770 | PyThread_set_key_value(internals.tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1809 | PyThread_delete_key_value(detail::get_internals().tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here | |
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1837 | PyThread_set_key_value(key, nullptr); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1850 | PyThread_set_key_value(key, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
[ 98%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3asiopal.cpp.o | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] | |
167 | PyEval_InitThreads(); | |
| ~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here | |
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
169 | internals_ptr->tstate = PyThread_create_key(); | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
170 | PyThread_set_key_value(internals_ptr->tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here | |
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1770 | PyThread_set_key_value(internals.tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1809 | PyThread_delete_key_value(detail::get_internals().tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here | |
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1837 | PyThread_set_key_value(key, nullptr); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1850 | PyThread_set_key_value(key, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3opendnp3.cpp.o | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] | |
167 | PyEval_InitThreads(); | |
| ~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here | |
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
169 | internals_ptr->tstate = PyThread_create_key(); | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
170 | PyThread_set_key_value(internals_ptr->tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here | |
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1770 | PyThread_set_key_value(internals.tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1809 | PyThread_delete_key_value(detail::get_internals().tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here | |
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1837 | PyThread_set_key_value(key, nullptr); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1850 | PyThread_set_key_value(key, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3openpal.cpp.o | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] | |
167 | PyEval_InitThreads(); | |
| ~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here | |
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations] | |
169 | internals_ptr->tstate = PyThread_create_key(); | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here | |
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
170 | PyThread_set_key_value(internals_ptr->tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here | |
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1770 | PyThread_set_key_value(internals.tstate, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations] | |
1809 | PyThread_delete_key_value(detail::get_internals().tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here | |
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1837 | PyThread_set_key_value(key, nullptr); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’: | |
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] | |
1850 | PyThread_set_key_value(key, tstate); | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | |
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43, | |
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12, | |
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31: | |
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here | |
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
[100%] Linking CXX shared module /home/kefei/project/dnp3-python/build/lib.linux-x86_64-cpython-310/pydnp3.cpython-310-x86_64-linux-gnu.so | |
[100%] Built target pydnp3 | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/egg | |
copying build/lib.linux-x86_64-cpython-310/pydnp3.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg | |
creating build/bdist.linux-x86_64/egg/dnp3_python | |
creating build/bdist.linux-x86_64/egg/dnp3_python/dnp3station | |
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/station_utils.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station | |
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/visitors.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station | |
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/__init__.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station | |
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/outstation_new.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station | |
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/master_new.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station | |
copying build/lib.linux-x86_64-cpython-310/dnp3_python/__init__.py -> build/bdist.linux-x86_64/egg/dnp3_python | |
creating build/bdist.linux-x86_64/egg/dnp3demo | |
copying build/lib.linux-x86_64-cpython-310/dnp3demo/control_workflow_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo | |
copying build/lib.linux-x86_64-cpython-310/dnp3demo/data_retrieval_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo | |
copying build/lib.linux-x86_64-cpython-310/dnp3demo/run_master.py -> build/bdist.linux-x86_64/egg/dnp3demo | |
copying build/lib.linux-x86_64-cpython-310/dnp3demo/multi_stations_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo | |
copying build/lib.linux-x86_64-cpython-310/dnp3demo/__init__.py -> build/bdist.linux-x86_64/egg/dnp3demo | |
copying build/lib.linux-x86_64-cpython-310/dnp3demo/run_outstation.py -> build/bdist.linux-x86_64/egg/dnp3demo | |
copying build/lib.linux-x86_64-cpython-310/dnp3demo/__main__.py -> build/bdist.linux-x86_64/egg/dnp3demo | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/station_utils.py to station_utils.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/visitors.py to visitors.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/__init__.py to __init__.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/outstation_new.py to outstation_new.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/master_new.py to master_new.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/__init__.py to __init__.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/control_workflow_demo.py to control_workflow_demo.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/data_retrieval_demo.py to data_retrieval_demo.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/run_master.py to run_master.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/multi_stations_demo.py to multi_stations_demo.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/__init__.py to __init__.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/run_outstation.py to run_outstation.cpython-310.pyc | |
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/__main__.py to __main__.cpython-310.pyc | |
creating stub loader for pydnp3.cpython-310-x86_64-linux-gnu.so | |
byte-compiling build/bdist.linux-x86_64/egg/pydnp3.py to pydnp3.cpython-310.pyc | |
creating build/bdist.linux-x86_64/egg/EGG-INFO | |
copying src/dnp3_python.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO | |
copying src/dnp3_python.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO | |
copying src/dnp3_python.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO | |
copying src/dnp3_python.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO | |
copying src/dnp3_python.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO | |
copying src/dnp3_python.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO | |
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt | |
creating dist | |
creating 'dist/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it | |
removing 'build/bdist.linux-x86_64/egg' (and everything under it) | |
Processing dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg | |
creating /home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg | |
Extracting dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg to /home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages | |
Adding dnp3-python 0.2.3b2 to easy-install.pth file | |
Installing dnp3demo script to /home/kefei/miniconda3/envs/dnp3-sandbox/bin | |
Installed /home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg | |
Processing dependencies for dnp3-python==0.2.3b2 | |
Finished processing dependencies for dnp3-python==0.2.3b2 | |
64 cd ~
65 mkdir sandbox
66 cd sandbox/
67 git clone git@github.com:kefeimo/dnp3-python.git --recurse-submodules
68 cd dnp3-python/
69 python -V
70 python3 -V
71 sudo apt-get list | grep build
72 apt list | grep build
73 apt list | grep build-essential
74 python3 -m venv dnp3-env
75 source dnp3-env/bin/activate
76 pip install cmake
77 python -V
78 python setup.py install
79 dnp3demo
80 pip install argcomplete
81 dnp3demo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kefei@ubuntu-22:~/sandbox/dnp3-python$ apt list | grep build-essential
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
build-essential/jammy,now 12.9ubuntu3 amd64 [installed]
build-essential/jammy 12.9ubuntu3 i386
crossbuild-essential-amd64/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-arm64/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-armel/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-armhf/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-i386/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-mips64/jammy,jammy 12.9 all
crossbuild-essential-mips64el/jammy,jammy 12.9 all
crossbuild-essential-mips64r6/jammy,jammy 12.9 all
crossbuild-essential-mips64r6el/jammy,jammy 12.9 all
crossbuild-essential-mips/jammy,jammy 12.9 all
crossbuild-essential-mipsel/jammy,jammy 12.9 all
crossbuild-essential-mipsr6/jammy,jammy 12.9 all
crossbuild-essential-mipsr6el/jammy,jammy 12.9 all
crossbuild-essential-powerpc/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-ppc64el/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-riscv64/jammy,jammy 12.9ubuntu3 all
crossbuild-essential-s390x/jammy,jammy 12.9ubuntu3 all
kefei@ubuntu-22:~/sandbox/dnp3-python$ python3 -m venv dnp3-env
kefei@ubuntu-22:~/sandbox/dnp3-python$ source dnp3-env/bin/activate
(dnp3-env) kefei@ubuntu-22:~/sandbox/dnp3-python$ pip install cmake
Collecting cmake
Using cached cmake-3.25.0-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.7 MB)
Installing collected packages: cmake
Successfully installed cmake-3.25.0
(dnp3-env) kefei@ubuntu-22:~/sandbox/dnp3-python$ python -V
Python 3.10.6
(dnp3-env) kefei@ubuntu-22:~/sandbox/dnp3-python$ python setup.py install
running install
/home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
creating src/dnp3_python.egg-info
writing src/dnp3_python.egg-info/PKG-INFO
writing dependency_links to src/dnp3_python.egg-info/dependency_links.txt
writing entry points to src/dnp3_python.egg-info/entry_points.txt
writing top-level names to src/dnp3_python.egg-info/top_level.txt
writing manifest file 'src/dnp3_python.egg-info/SOURCES.txt'
reading manifest file 'src/dnp3_python.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/dnp3_python.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/dnp3_python
copying src/dnp3_python/init.py -> build/lib.linux-x86_64-3.10/dnp3_python
creating build/lib.linux-x86_64-3.10/dnp3demo
copying src/dnp3demo/control_workflow_demo.py -> build/lib.linux-x86_64-3.10/dnp3demo
copying src/dnp3demo/data_retrieval_demo.py -> build/lib.linux-x86_64-3.10/dnp3demo
copying src/dnp3demo/run_master.py -> build/lib.linux-x86_64-3.10/dnp3demo
copying src/dnp3demo/multi_stations_demo.py -> build/lib.linux-x86_64-3.10/dnp3demo
copying src/dnp3demo/init.py -> build/lib.linux-x86_64-3.10/dnp3demo
copying src/dnp3demo/run_outstation.py -> build/lib.linux-x86_64-3.10/dnp3demo
copying src/dnp3demo/main.py -> build/lib.linux-x86_64-3.10/dnp3demo
creating build/lib.linux-x86_64-3.10/dnp3_python/dnp3station
copying src/dnp3_python/dnp3station/station_utils.py -> build/lib.linux-x86_64-3.10/dnp3_python/dnp3station
copying src/dnp3_python/dnp3station/visitors.py -> build/lib.linux-x86_64-3.10/dnp3_python/dnp3station
copying src/dnp3_python/dnp3station/init.py -> build/lib.linux-x86_64-3.10/dnp3_python/dnp3station
copying src/dnp3_python/dnp3station/outstation_new.py -> build/lib.linux-x86_64-3.10/dnp3_python/dnp3station
copying src/dnp3_python/dnp3station/master_new.py -> build/lib.linux-x86_64-3.10/dnp3_python/dnp3station
running build_ext
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake build is: Release
-- Found PythonInterp: /home/kefei/sandbox/dnp3-python/dnp3-env/bin/python (found version "3.10.6")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.3.dev0
CMake Deprecation Warning at deps/dnp3/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake build is: Release
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
ASIO has been checked out as a git submodule: /home/kefei/sandbox/dnp3-python/deps/dnp3/deps/asio/asio/include
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kefei/sandbox/dnp3-python/build/temp.linux-x86_64-3.10
[ 0%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/Buffer.cpp.o
[ 1%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/RSlice.cpp.o
[ 1%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/WSlice.cpp.o
[ 2%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/MonotonicTimestamp.cpp.o
[ 2%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimeDuration.cpp.o
[ 3%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimerRef.cpp.o
[ 3%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/Logger.cpp.o
[ 4%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/StringFormatting.cpp.o
[ 4%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/ByteSerialization.cpp.o
[ 5%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/DoubleFloat.cpp.o
[ 5%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/FloatByteOrder.cpp.o
[ 6%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Format.cpp.o
[ 6%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Parse.cpp.o
[ 7%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/SingleFloat.cpp.o
[ 7%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/UInt48LE.cpp.o
[ 8%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/Limits.cpp.o
[ 8%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/ToHex.cpp.o
[ 9%] Linking CXX static library libopenpal.a
[ 9%] Built target openpal
[ 10%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOSerialHelpers.cpp.o
[ 10%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/LogLevels.cpp.o
[ 11%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUBuilders.cpp.o
[ 11%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUHeader.cpp.o
[ 12%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDULogging.cpp.o
[ 12%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDURequest.cpp.o
[ 13%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUResponse.cpp.o
[ 13%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUWrapper.cpp.o
[ 14%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogCommandEvent.cpp.o
[ 14%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogOutput.cpp.o
[ 15%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AppControlField.cpp.o
[ 15%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ChannelRetry.cpp.o
[ 15%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/BinaryCommandEvent.cpp.o
[ 16%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Executor.cpp.o
[ 17%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ClassField.cpp.o
[ 17%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ControlRelayOutputBlock.cpp.o
[ 18%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/EventTriggers.cpp.o
[ 18%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/Functions.cpp.o
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/GroupVariationRecord.cpp.o
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/HeaderWriter.cpp.o
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/IINField.cpp.o
[ 20%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/MeasurementTypes.cpp.o
[ 20%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/OctetData.cpp.o
[ 21%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/QualityFlags.cpp.o
[ 21%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/SecurityStat.cpp.o
[ 22%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUHeaderParser.cpp.o
[ 22%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUParser.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/BitReader.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountIndexParser.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/IOpenDelayStrategy.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ResourceManager.cpp.o
[ 24%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountParser.cpp.o
[ 25%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SerialChannel.cpp.o
[ 25%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/FreeFormatParser.cpp.o
[ 26%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/IAPDUHandler.cpp.o
[ 26%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/NumParser.cpp.o
[ 27%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/ObjectHeaderParser.cpp.o
[ 27%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/RangeParser.cpp.o
[ 27%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SocketChannel.cpp.o
[ 28%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Attributes.cpp.o
[ 28%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/AuthErrorCode.cpp.o
[ 29%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CertificateType.cpp.o
[ 29%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChallengeReason.cpp.o
[ 30%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChannelState.cpp.o
[ 30%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandPointState.cpp.o
[ 31%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandStatus.cpp.o
[ 31%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ControlCode.cpp.o
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/DoubleBit.cpp.o
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlagsType.cpp.o
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlowControl.cpp.o
[ 33%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FunctionCode.cpp.o
[ 33%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/GroupVariation.cpp.o
[ 34%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/HMACType.cpp.o
[ 34%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/IntervalUnits.cpp.o
[ 35%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyChangeMethod.cpp.o
[ 35%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyStatus.cpp.o
[ 36%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyWrapAlgorithm.cpp.o
[ 36%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkFunction.cpp.o
[ 37%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkStatus.cpp.o
[ 37%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/MasterTaskType.cpp.o
[ 38%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Parity.cpp.o
[ 38%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/QualifierCode.cpp.o
[ 39%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/StopBits.cpp.o
[ 39%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/TaskCompletion.cpp.o
[ 40%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserOperation.cpp.o
[ 40%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserRole.cpp.o
[ 41%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/CRC.cpp.o
[ 41%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkContext.cpp.o
[ 42%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPClient.cpp.o
[ 43%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkFrame.cpp.o
[ 43%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeader.cpp.o
[ 44%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeaderFields.cpp.o
[ 44%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayer.cpp.o
[ 45%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayerParser.cpp.o
[ 45%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/PriLinkLayerStates.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/SecLinkLayerStates.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/ShiftableBuffer.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/AssignClassTask.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPServer.cpp.o
[ 47%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/ClearRestartTask.cpp.o
[ 47%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSet.cpp.o
[ 48%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSetOps.cpp.o
[ 48%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTask.cpp.o
[ 49%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ThreadPool.cpp.o
[ 50%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTaskResult.cpp.o
[ 50%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/DisableUnsolicitedTask.cpp.o
[ 51%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EmptyResponseTask.cpp.o
[ 51%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EnableUnsolicitedTask.cpp.o
[ 52%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EventScanTask.cpp.o
[ 52%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TimeConversions.cpp.o
[ 53%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Timer.cpp.o
[ 53%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/HeaderTypes.cpp.o
[ 54%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/IMasterTask.cpp.o
[ 54%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/LANTimeSyncTask.cpp.o
[ 55%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterContext.cpp.o
[ 55%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/UTCTimeSource.cpp.o
[ 56%] Linking CXX static library libasiopal.a
[ 56%] Built target asiopal
[ 56%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterSchedulerBackend.cpp.o
[ 57%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterTasks.cpp.o
[ 57%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp.o
[ 58%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/PollTaskBase.cpp.o
[ 58%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/RestartOperationTask.cpp.o
[ 59%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/SerialTimeSyncTask.cpp.o
[ 59%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/StartupIntegrityPoll.cpp.o
[ 60%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/TaskBehavior.cpp.o
In file included from /home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:22:
/home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h: In constructor ‘opendnp3::TaskBehavior::TaskBehavior(const openpal::TimeDuration&, const openpal::MonotonicTimestamp&, const openpal::TimeDuration&, const openpal::TimeDuration&, const openpal::MonotonicTimestamp&)’:
/home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:115:37: warning: ‘opendnp3::TaskBehavior::expiration’ will be initialized after [-Wreorder]
115 | openpal::MonotonicTimestamp expiration;
/home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:107:37: warning: ‘const openpal::TimeDuration opendnp3::TaskBehavior::minRetryDelay’ [-Wreorder]
107 | const openpal::TimeDuration minRetryDelay;
/home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:87:1: warning: when initialized here [-Wreorder]
87 | TaskBehavior::TaskBehavior(
In file included from /home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:22:
/home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:118:31: warning: ‘opendnp3::TaskBehavior::currentRetryDelay’ will be initialized after [-Wreorder]
118 | openpal::TimeDuration currentRetryDelay;
/home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:109:43: warning: ‘const openpal::MonotonicTimestamp opendnp3::TaskBehavior::startExpiration’ [-Wreorder]
109 | const openpal::MonotonicTimestamp startExpiration;
/home/kefei/sandbox/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:87:1: warning: when initialized here [-Wreorder]
87 | TaskBehavior::TaskBehavior(
[ 60%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/TaskContext.cpp.o
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/UserPollTask.cpp.o
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group1.cpp.o
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group10.cpp.o
[ 62%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group11.cpp.o
[ 62%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group12.cpp.o
[ 63%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group120.cpp.o
[ 63%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group121.cpp.o
[ 64%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group122.cpp.o
[ 64%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group13.cpp.o
[ 65%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group2.cpp.o
[ 65%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group20.cpp.o
[ 66%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group21.cpp.o
[ 66%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group22.cpp.o
[ 67%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group23.cpp.o
[ 67%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group3.cpp.o
[ 68%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group30.cpp.o
[ 68%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group32.cpp.o
[ 69%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group4.cpp.o
[ 69%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group40.cpp.o
[ 70%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group41.cpp.o
[ 70%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group42.cpp.o
[ 71%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group43.cpp.o
[ 71%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group50.cpp.o
[ 72%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group51.cpp.o
[ 72%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group52.cpp.o
[ 73%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ApplicationIIN.cpp.o
[ 73%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/AssignClassHandler.cpp.o
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ClassBasedRequestHandler.cpp.o
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandActionAdapter.cpp.o
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandResponseHandler.cpp.o
[ 75%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/Database.cpp.o
[ 75%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseBuffers.cpp.o
[ 76%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseConfigView.cpp.o
[ 76%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DeferredRequest.cpp.o
[ 77%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBuffer.cpp.o
[ 77%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBufferConfig.cpp.o
[ 78%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventCount.cpp.o
[ 78%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventWriter.cpp.o
[ 79%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IINHelpers.cpp.o
[ 79%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IOutstationApplication.cpp.o
[ 80%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationContext.cpp.o
[ 80%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationStates.cpp.o
[ 81%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ReadHandler.cpp.o
[ 81%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/RequestHistory.cpp.o
[ 82%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ResponseContext.cpp.o
[ 82%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SOERecord.cpp.o
[ 83%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SelectedRanges.cpp.o
[ 83%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SimpleCommandHandler.cpp.o
[ 84%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticBuffers.cpp.o
[ 84%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticLoadFunctions.cpp.o
[ 85%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/WriteHandler.cpp.o
[ 85%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportLayer.cpp.o
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportRx.cpp.o
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportStack.cpp.o
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportTx.cpp.o
[ 87%] Linking CXX static library libopendnp3.a
[ 87%] Built target opendnp3
[ 87%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ConsoleLogger.cpp.o
[ 87%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/Conversions.cpp.o
[ 88%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Channel.cpp.o
[ 88%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Manager.cpp.o
[ 89%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3ManagerImpl.cpp.o
[ 89%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultListenCallbacks.cpp.o
[ 90%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultMasterApplication.cpp.o
[ 90%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ErrorCodes.cpp.o
[ 91%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/IOHandler.cpp.o
[ 91%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/LinkSession.cpp.o
[ 92%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterScan.cpp.o
[ 92%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterSessionStack.cpp.o
[ 93%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterStack.cpp.o
[ 93%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterTCPServer.cpp.o
[ 94%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/OutstationStack.cpp.o
[ 94%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/PrintingCommandCallback.cpp.o
[ 95%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/PrintingSOEHandler.cpp.o
[ 95%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/SerialIOHandler.cpp.o
[ 96%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/TCPClientIOHandler.cpp.o
[ 96%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/TCPServerIOHandler.cpp.o
[ 97%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/UpdateBuilder.cpp.o
[ 97%] Linking CXX static library libasiodnp3.a
[ 97%] Built target asiodnp3
[ 97%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3.cpp.o
[ 98%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3asiodnp3.cpp.o
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
In file included from /usr/include/python3.10/Python.h:130,
/usr/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
In file included from /usr/include/python3.10/Python.h:130,
/usr/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
[ 98%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3asiopal.cpp.o
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
In file included from /usr/include/python3.10/Python.h:130,
/usr/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3opendnp3.cpp.o
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
In file included from /usr/include/python3.10/Python.h:130,
/usr/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3openpal.cpp.o
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
In file included from /usr/include/python3.10/Python.h:130,
/usr/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
In file included from /home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/sandbox/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
In file included from /usr/include/python3.10/Python.h:122,
/usr/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
[100%] Linking CXX shared module /home/kefei/sandbox/dnp3-python/build/lib.linux-x86_64-3.10/pydnp3.cpython-310-x86_64-linux-gnu.so
[100%] Built target pydnp3
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-3.10/pydnp3.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/dnp3_python
creating build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-3.10/dnp3_python/dnp3station/station_utils.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-3.10/dnp3_python/dnp3station/visitors.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-3.10/dnp3_python/dnp3station/init.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-3.10/dnp3_python/dnp3station/outstation_new.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-3.10/dnp3_python/dnp3station/master_new.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-3.10/dnp3_python/init.py -> build/bdist.linux-x86_64/egg/dnp3_python
creating build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-3.10/dnp3demo/control_workflow_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-3.10/dnp3demo/data_retrieval_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-3.10/dnp3demo/run_master.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-3.10/dnp3demo/multi_stations_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-3.10/dnp3demo/init.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-3.10/dnp3demo/run_outstation.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-3.10/dnp3demo/main.py -> build/bdist.linux-x86_64/egg/dnp3demo
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/station_utils.py to station_utils.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/visitors.py to visitors.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/outstation_new.py to outstation_new.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/master_new.py to master_new.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/control_workflow_demo.py to control_workflow_demo.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/data_retrieval_demo.py to data_retrieval_demo.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/run_master.py to run_master.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/multi_stations_demo.py to multi_stations_demo.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/run_outstation.py to run_outstation.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/main.py to main.cpython-310.pyc
creating stub loader for pydnp3.cpython-310-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/pydnp3.py to pydnp3.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg
creating /home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg
Extracting dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg to /home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages
Adding dnp3-python 0.2.3b2 to easy-install.pth file
Installing dnp3demo script to /home/kefei/sandbox/dnp3-python/dnp3-env/bin
Installed /home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg
Processing dependencies for dnp3-python==0.2.3b2
Finished processing dependencies for dnp3-python==0.2.3b2
(dnp3-env) kefei@ubuntu-22:~/sandbox/dnp3-python$ dnp3demo
Traceback (most recent call last):
File "/home/kefei/sandbox/dnp3-python/dnp3-env/bin/dnp3demo", line 33, in
File "/home/kefei/sandbox/dnp3-python/dnp3-env/bin/dnp3demo", line 25, in importlib_load_entry_point
File "/usr/lib/python3.10/importlib/metadata/init.py", line 171, in load
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg/dnp3demo/main.py", line 4, in
ModuleNotFoundError: No module named 'argcomplete'
(dnp3-env) kefei@ubuntu-22:~/sandbox/dnp3-python$ pip install argcomplete
Collecting argcomplete
Using cached argcomplete-2.0.0-py2.py3-none-any.whl (37 kB)
Installing collected packages: argcomplete
Successfully installed argcomplete-2.0.0
(dnp3-env) kefei@ubuntu-22:~/sandbox/dnp3-python$ dnp3demo
ms(1673309195046) INFO manager - Starting thread (0)
ms(1673309195046) INFO server - Listening on: 0.0.0.0:20000
2023-01-09 19:06:35,047 dnp3demo.data_retrieval_demo DEBUG Initialization complete. OutStation in command loop.
ms(1673309195047) INFO manager - Starting thread (0)
channel state change: OPENING
ms(1673309195047) INFO tcpclient - Connecting to: 127.0.0.1
ms(1673309195047) INFO server - Accepted connection from: 127.0.0.1
2023-01-09 19:06:35,047 dnp3demo.data_retrieval_demo DEBUG Initialization complete. Master Station in command loop.
ms(1673309195047) INFO tcpclient - Connected to: 127.0.0.1
channel state change: OPEN
2023-01-09 19:06:37.050601 ============count 1
====== Outstation update index 0 with 8.160683152399864
====== Outstation update index 1 with 14.902179089178077
====== Outstation update index 2 with 25.091889084284816
====== Outstation update index 0 with False
====== Outstation update index 1 with True
====== Outstation update index 2 with False
===important log: case6 get_db_by_group_variation(group=30, variation=6) ==== 1
2023-01-09 19:06:37.252011 {GroupVariation.Group30Var6: {0: 8.160683152399864, 1: 14.902179089178077, 2: 25.091889084284816, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0, 7: 0.0, 8: 0.0, 9: 0.0}}
===important log: case6b get_db_by_group_variation(group=1, variation=2) ==== 1
2023-01-09 19:06:37.453378 {GroupVariation.Group1Var2: {0: True, 1: True, 2: True, 3: False, 4: False, 5: False, 6: False, 7: False, 8: False, 9: False}}
===important log: case6c get_db_by_group_variation(group=30, variation=1) ==== 1
2023-01-09 19:06:37.654353 {GroupVariation.Group30Var1: {0: 8, 1: 14, 2: 25, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0}}
2023-01-09 19:06:39.656602 ============count 2
===important log: case6 get_db_by_group_variation(group=30, variation=6) ==== 2
2023-01-09 19:06:39.857611 {GroupVariation.Group30Var6: {0: 8.160683152399864, 1: 14.902179089178077, 2: 25.091889084284816, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0, 7: 0.0, 8: 0.0, 9: 0.0}}
===important log: case6b get_db_by_group_variation(group=1, variation=2) ==== 2
2023-01-09 19:06:40.059061 {GroupVariation.Group1Var2: {0: True, 1: True, 2: True, 3: False, 4: False, 5: False, 6: False, 7: False, 8: False, 9: False}}
===important log: case6c get_db_by_group_variation(group=30, variation=1) ==== 2
2023-01-09 19:06:40.260343 {GroupVariation.Group30Var1: {0: 8, 1: 14, 2: 25, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0}}
2023-01-09 19:06:42.262578 ============count 3
====== Outstation update index 0 with 5.109611993925435
====== Outstation update index 1 with 14.81697933547553
====== Outstation update index 2 with 25.120045822120858
====== Outstation update index 0 with True
====== Outstation update index 1 with False
====== Outstation update index 2 with True
===important log: case6 get_db_by_group_variation(group=30, variation=6) ==== 3
2023-01-09 19:06:42.463834 {GroupVariation.Group30Var6: {0: 5.109611993925435, 1: 14.81697933547553, 2: 25.120045822120858, 3: 0.0, 4: 0.0, 5: 0.0, 6: 0.0, 7: 0.0, 8: 0.0, 9: 0.0}}
===important log: case6b get_db_by_group_variation(group=1, variation=2) ==== 3
2023-01-09 19:06:42.665208 {GroupVariation.Group1Var2: {0: True, 1: True, 2: True, 3: False, 4: False, 5: False, 6: False, 7: False, 8: False, 9: False}}
===important log: case6c get_db_by_group_variation(group=30, variation=1) ==== 3
2023-01-09 19:06:42.865677 {GroupVariation.Group30Var1: {0: 5, 1: 14, 2: 25, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0}}
^CTraceback (most recent call last):
File "/home/kefei/sandbox/dnp3-python/dnp3-env/bin/dnp3demo", line 33, in
File "/home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg/dnp3demo/main.py", line 55, in main
File "/home/kefei/sandbox/dnp3-python/dnp3-env/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg/dnp3demo/data_retrieval_demo.py", line 35, in main
KeyboardInterrupt
^C
(dnp3-env) kefei@ubuntu-22:~/sandbox/dnp3-python$