Code Monkey home page Code Monkey logo

Comments (1)

martinkarg avatar martinkarg commented on June 24, 2024

There's also the issue with the segmentation fault when building the python wheel

Logs off cmake --build . --target create_python_wheel --config Release

[295/295] Creating python wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.1-arm64-cpython-39
creating build/lib.macosx-11.1-arm64-cpython-39/ecal
copying ecal/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal
creating build/lib.macosx-11.1-arm64-cpython-39/ecal/core
copying ecal/core/service.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core
copying ecal/core/subscriber.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core
copying ecal/core/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core
copying ecal/core/core.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core
copying ecal/core/publisher.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core
creating build/lib.macosx-11.1-arm64-cpython-39/ecal/measurement
copying ecal/measurement/measurement.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/measurement
copying ecal/measurement/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/measurement
copying ecal/measurement/hdf5.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/measurement
creating build/lib.macosx-11.1-arm64-cpython-39/ecal/proto
copying ecal/proto/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/proto
copying ecal/proto/helper.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/proto
creating build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/process_pb2.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/layer_pb2.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/service_pb2.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/host_pb2.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/__init__.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/monitoring_pb2.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/topic_pb2.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/core/pb/ecal_pb2.py -> build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb
copying ecal/_ecal_core_py.so -> build/lib.macosx-11.1-arm64-cpython-39/ecal
copying ecal/_ecal_hdf5_py.so -> build/lib.macosx-11.1-arm64-cpython-39/ecal
running build_ext
/opt/anaconda3/envs/ecal_wheel/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
installing to build/bdist.macosx-11.1-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-11.1-arm64
creating build/bdist.macosx-11.1-arm64/wheel
creating build/bdist.macosx-11.1-arm64/wheel/ecal
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/_ecal_core_py.so -> build/bdist.macosx-11.1-arm64/wheel/ecal
creating build/bdist.macosx-11.1-arm64/wheel/ecal/core
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/service.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core
creating build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/process_pb2.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/layer_pb2.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/service_pb2.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/host_pb2.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/monitoring_pb2.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/topic_pb2.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/pb/ecal_pb2.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core/pb
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/subscriber.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/core.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/core/publisher.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/core
creating build/bdist.macosx-11.1-arm64/wheel/ecal/measurement
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/measurement/measurement.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/measurement
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/measurement/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/measurement
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/measurement/hdf5.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/measurement
creating build/bdist.macosx-11.1-arm64/wheel/ecal/proto
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/proto/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/proto
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/proto/helper.py -> build/bdist.macosx-11.1-arm64/wheel/ecal/proto
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/__init__.py -> build/bdist.macosx-11.1-arm64/wheel/ecal
copying build/lib.macosx-11.1-arm64-cpython-39/ecal/_ecal_hdf5_py.so -> build/bdist.macosx-11.1-arm64/wheel/ecal
running install_egg_info
running egg_info
creating ecal5.egg-info
writing ecal5.egg-info/PKG-INFO
writing dependency_links to ecal5.egg-info/dependency_links.txt
writing requirements to ecal5.egg-info/requires.txt
writing top-level names to ecal5.egg-info/top_level.txt
writing manifest file 'ecal5.egg-info/SOURCES.txt'
reading manifest file 'ecal5.egg-info/SOURCES.txt'
writing manifest file 'ecal5.egg-info/SOURCES.txt'
Copying ecal5.egg-info to build/bdist.macosx-11.1-arm64/wheel/ecal5-5.12.0-py3.9.egg-info
running install_scripts
[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against.  To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 13_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-11.1-arm64/wheel/ecal/_ecal_core_py.so
build/bdist.macosx-11.1-arm64/wheel/ecal/_ecal_hdf5_py.so[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against.  To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 13_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-11.1-arm64/wheel/ecal/_ecal_core_py.so
build/bdist.macosx-11.1-arm64/wheel/ecal/_ecal_hdf5_py.socreating build/bdist.macosx-11.1-arm64/wheel/ecal5-5.12.0.dist-info/WHEEL
creating '/Users/uia72002/Documents/Github/ecal/_build/_deploy/ecal5-5.12.0-cp39-cp39-macosx_13_0_arm64.whl' and adding 'build/bdist.macosx-11.1-arm64/wheel' to it
adding 'ecal/__init__.py'
adding 'ecal/_ecal_core_py.so'
adding 'ecal/_ecal_hdf5_py.so'
adding 'ecal/core/__init__.py'
adding 'ecal/core/core.py'
adding 'ecal/core/publisher.py'
adding 'ecal/core/service.py'
adding 'ecal/core/subscriber.py'
adding 'ecal/core/pb/__init__.py'
adding 'ecal/core/pb/ecal_pb2.py'
adding 'ecal/core/pb/host_pb2.py'
adding 'ecal/core/pb/layer_pb2.py'
adding 'ecal/core/pb/monitoring_pb2.py'
adding 'ecal/core/pb/process_pb2.py'
adding 'ecal/core/pb/service_pb2.py'
adding 'ecal/core/pb/topic_pb2.py'
adding 'ecal/measurement/__init__.py'
adding 'ecal/measurement/hdf5.py'
adding 'ecal/measurement/measurement.py'
adding 'ecal/proto/__init__.py'
adding 'ecal/proto/helper.py'
adding 'ecal5-5.12.0.dist-info/METADATA'
adding 'ecal5-5.12.0.dist-info/WHEEL'
adding 'ecal5-5.12.0.dist-info/top_level.txt'
adding 'ecal5-5.12.0.dist-info/RECORD'
removing build/bdist.macosx-11.1-arm64/wheel

Which leads to a segmentation fault:

> python
Python 3.9.17 (main, Jul  5 2023, 15:35:09)
[Clang 14.0.6 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ecal.measurement.measurement import Measurement
zsh: segmentation fault  python

from ecal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.