Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arc Welder - error: subprocess-exited-with-error #21

Closed
doczong opened this issue May 8, 2022 · 4 comments
Closed

Arc Welder - error: subprocess-exited-with-error #21

doczong opened this issue May 8, 2022 · 4 comments

Comments

@doczong
Copy link

doczong commented May 8, 2022

I have tried various versions of the plugin from pip manually at the cmd line, and within octoprint. All fail to install with no error other than the above.

It is after the setup.py legacy starts, or, after building wheels (if wheel is installed). There is nothing in the logs or terminal to indicate which sub process.

Its probably related to compiling on the architecture as best guess.

Can provide a full copy and paste of the pip output if needed.

@ihrapsa
Copy link
Owner

ihrapsa commented May 8, 2022

there's probably a building error of a dependency, yeah. Look at what's failing.

@doczong
Copy link
Author

doczong commented May 8, 2022

Here's the full failure, to be honest, I am not sure what it is trying to say. If it is referring to the most recent version of setuptools, I updated both it and PIP last night and both are at the latest available to it.

root@OctoWrt:~# pip -v install https://github.com/FormerLurker/ArcWelderPlugin/archive/refs/tags/1.1.0rc4.zip
Using pip 22.0.4 from /usr/lib/python3.9/site-packages/pip (python 3.9)
Collecting https://github.com/FormerLurker/ArcWelderPlugin/archive/refs/tags/1.1.0rc4.zip
Downloading https://github.com/FormerLurker/ArcWelderPlugin/archive/refs/tags/1.1.0rc4.zip
- 289.5 kB 569.4 kB/s 0:00:00
Running command python setup.py egg_info
/tmp/pip-req-build-vn3zeb4_/setup.py:86: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(octoprint.server.VERSION) < LooseVersion("1.4"):
Found packages: {'octoprint_arc_welder_setuptools', 'octoprint_arc_welder', 'octoprint_arc_welder.test'}
running egg_info
creating /tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info
writing /tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/entry_points.txt
writing requirements to /tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-pip-egg-info-izkr0eed/Arc_Welder.egg-info/SOURCES.txt'
Preparing metadata (setup.py) ... done
Requirement already satisfied: six in /usr/lib/python3.9/site-packages (from Arc-Welder==1.1.0rc4) (1.16.0)
Requirement already satisfied: OctoPrint>1.3.8 in /usr/lib/python3.9/site-packages (from Arc-Welder==1.1.0rc4) (1.7.3)
Requirement already satisfied: setuptools>=6.0 in /usr/lib/python3.9/site-packages (from Arc-Welder==1.1.0rc4) (62.1.0)
Requirement already satisfied: colorlog<6,>=5.0.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (5.0.1)
Requirement already satisfied: feedparser<7,>=6.0.8 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (6.0.8)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2021.10.11)
Requirement already satisfied: Flask-Babel<2,>=1.0 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.0.0)
Requirement already satisfied: regex in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2022.1.18)
Requirement already satisfied: psutil<6,>=5.8 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (5.8.0)
Requirement already satisfied: pkginfo<2,>=1.7.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.8.2)
Requirement already satisfied: Jinja2<3,>=2.11.3 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.11.3)
Requirement already satisfied: pathvalidate<3,>=2.4.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.5.0)
Requirement already satisfied: sentry-sdk<2,>=1.3.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.5.11)
Requirement already satisfied: future<1,>=0.18.2 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.18.2)
Requirement already satisfied: markupsafe<2.0,>=1.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.1.1)
Requirement already satisfied: blinker<2,>=1.4 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.4)
Requirement already satisfied: zeroconf<0.34,>=0.33 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.33.4)
Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2021.2.23)
Requirement already satisfied: pyserial<4,>=3.4 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (3.5)
Requirement already satisfied: watchdog==0.10.4 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.10.4)
Requirement already satisfied: cachelib<0.2,>=0.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.1.1)
Requirement already satisfied: werkzeug<2,>=1.0.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.0.1)
Requirement already satisfied: wrapt<1.13,>=1.12.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.12.1)
Requirement already satisfied: Flask-Assets<3,>=2.0 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.0)
Requirement already satisfied: netaddr<0.9,>=0.8 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.8.0)
Requirement already satisfied: Click<8,>=7.1.2 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (7.1.2)
Requirement already satisfied: pylru<2,>=1.2 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.2.1)
Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2022.3.28)
Requirement already satisfied: unidecode in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.3.4)
Requirement already satisfied: netifaces<1,>=0.11 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.11.0)
Requirement already satisfied: requests<3,>=2.26.0 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.27.1)
Requirement already satisfied: semantic-version<3,>=2.8.5 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.9.0)
Requirement already satisfied: tornado<7,>=6 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (6.1)
Requirement already satisfied: websocket-client<1,>=0.59 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.59.0)
Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.1.8)
Requirement already satisfied: immutabledict<3,>=2.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.2.1)
Requirement already satisfied: PyYAML<6,>=5.4.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (5.4.1)
Requirement already satisfied: emoji<2,>=1.4.2 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.7.0)
Requirement already satisfied: markdown<3.2,>=3.1 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (3.1.1)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.5.0)
Requirement already satisfied: itsdangerous<2,>=1.1.0 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.1.0)
Requirement already satisfied: flask<2,>=1.1.4 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.1.4)
Requirement already satisfied: sarge==0.1.6 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.1.6)
Requirement already satisfied: filetype<2,>=1.0.7 in /usr/lib/python3.9/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.0.13)
Requirement already satisfied: pathtools>=0.1.1 in /usr/lib/python3.9/site-packages (from watchdog==0.10.4->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.1.2)
Requirement already satisfied: sgmllib3k in /usr/lib/python3.9/site-packages (from feedparser<7,>=6.0.8->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.0.0)
Requirement already satisfied: webassets>=2.0 in /usr/lib/python3.9/site-packages (from Flask-Assets<3,>=2.0->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.0)
Requirement already satisfied: pytz in /usr/lib/python3.9/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2022.1)
Requirement already satisfied: Babel>=2.3 in /usr/lib/python3.9/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.10.1)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/lib/python3.9/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.9/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (1.26.9)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (2021.10.8)
Requirement already satisfied: ifaddr>=0.1.7 in /usr/lib/python3.9/site-packages (from zeroconf<0.34,>=0.33->OctoPrint>1.3.8->Arc-Welder==1.1.0rc4) (0.1.7)
Building wheels for collected packages: Arc-Welder
Running command python setup.py bdist_wheel
/tmp/pip-req-build-vn3zeb4_/setup.py:86: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(octoprint.server.VERSION) < LooseVersion("1.4"):
Found packages: {'octoprint_arc_welder_setuptools', 'octoprint_arc_welder.test', 'octoprint_arc_welder'}
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-mips-cpython-39
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
copying octoprint_arc_welder/test/test_gcode_search.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
copying octoprint_arc_welder/test/test_firmware_checker.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
copying octoprint_arc_welder/test/init.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder_setuptools
copying octoprint_arc_welder_setuptools/init.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder_setuptools
copying octoprint_arc_welder/utilities.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/preprocessor.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/log.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/firmware_checker.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/_version.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/init.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
running egg_info
creating Arc_Welder.egg-info
writing Arc_Welder.egg-info/PKG-INFO
writing dependency_links to Arc_Welder.egg-info/dependency_links.txt
writing entry points to Arc_Welder.egg-info/entry_points.txt
writing requirements to Arc_Welder.egg-info/requires.txt
writing top-level names to Arc_Welder.egg-info/top_level.txt
writing manifest file 'Arc_Welder.egg-info/SOURCES.txt'
reading manifest file 'Arc_Welder.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
adding license file 'LICENSE'
writing manifest file 'Arc_Welder.egg-info/SOURCES.txt'
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/firmware
copying octoprint_arc_welder/data/firmware/types_default.json -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/firmware
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_arc.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_arc.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_shape.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_shape.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/unwritten_command.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/array_list.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/array_list.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/circular_buffer.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/circular_buffer.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/extruder.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/extruder.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/fpconv.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/fpconv.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_comment_processor.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_comment_processor.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_parser.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_parser.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_position.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_position.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/logger.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/logger.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command_parameter.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command_parameter.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/position.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/position.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/utilities.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/utilities.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/version.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder_extension.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder_extension.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_logger.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_logger.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/python_helpers.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/python_helpers.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/css
copying octoprint_arc_welder/static/css/arc_welder.css -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/css
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_klipper.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_marlin.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_marlin_2.0.7.2.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_prusa.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_prusa_buddy.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_smoothieware.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_virtual_marlin.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.allow_3d_arcs.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.allow_dynamic_precision.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.allow_travel_arcs.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.auto_print_slicer_uploads_only.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.auto_process_slicer_uploads_only.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.auto_select_slicer_uploads_only.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.check_firmware.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.check_for_updates.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.current_run_configuration_visible.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.default_e_precision.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.default_xyz_precision.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.delete_source.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.enabled.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.extrusion_rate_variance_percent.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.file_processing.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.firmware_compensation_enabled.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.g90_g91_influences_extruder.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.max_gcode_length.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.max_radius_mm.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.min_arc_segments.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.mm_per_arc_segment.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.octoprint.g90_influences_extruder.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.overwrite_source_file.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.path_percent_tolerance.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.print_after_processing.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.resolution_mm.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.select_after_processing.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.show_completed_notification.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.show_queued_notification.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.show_started_notification.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.target_postfix.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.target_prefix.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.use_octoprint_settings.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/arc_welder.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/arc_welder.settings.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/markdown_help.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/pnotify_extensions.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/showdown.min.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
copying octoprint_arc_welder/templates/arc_welder_settings.jinja2 -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
copying octoprint_arc_welder/templates/arc_welder_settings_about.jinja2 -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
copying octoprint_arc_welder/templates/arc_welder_tab.jinja2 -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
UPDATING build/lib.linux-mips-cpython-39/octoprint_arc_welder/_version.py
set build/lib.linux-mips-cpython-39/octoprint_arc_welder/_version.py to '1.1.0rc4'
running build_ext
Compiling PyGcodeArcConverter Extension with <distutils.unixccompiler.UnixCCompiler object at 0x21e9098>.
Unable to remove -Wstrict-prototypes or to add -Wno-unknown-pragmas.
Building Extensions for PyArcWelder - extra_compile_args:['-O3', '-std=c++11', '-Wno-unknown-pragmas', '-v'] - extra_link_args:[]
building 'PyArcWelder' extension
creating build/temp.linux-mips-cpython-39
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include -fPIC -Ioctoprint_arc_welder/data/lib/c/arc_welder -Ioctoprint_arc_welder/data/lib/c/gcode_processor_lib -Ioctoprint_arc_welder/data/lib/c/py_arc_welder -I/usr/include/python3.9 -c octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.cpp -o build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.o -O3 -std=c++11 -Wno-unknown-pragmas -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12'
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12'
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12'
Target: mipsel-openwrt-linux-musl
Configured with: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/gcc-7.4.0/configure --target=mipsel-openwrt-linux --host=mipsel-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls 'CXXFLAGS_FOR_TARGET=-g -O2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS' --build=x86_64-pc-linux-gnu --host=mipsel-openwrt-linux-musl --target=mipsel-openwrt-linux-musl --enable-languages=c,c++ --with-bugurl=https://dev.openwrt.org/ --with-pkgversion='OpenWrt GCC 7.4.0' --enable-shared --disable-__cxa_atexit --with-default-libstdcxx-abi=gcc4-compatible --enable-target-optspace --with-gnu-ld --disable-nls --disable-libsanitizer --disable-libvtv --disable-libcilkrts --disable-libmudflap --disable-libmpx --disable-multilib --disable-libgomp --disable-libquadmath --disable-libssp --disable-decimal-float --disable-libstdcxx-pch --with-host-libstdcxx=-lstdc++ --prefix=/usr --libexecdir=/usr/lib --with-local-prefix=/usr --with-stage1-ldflags=-lstdc++ --with-float=soft
Thread model: posix
gcc version 7.4.0 (OpenWrt GCC 7.4.0)
error: command '/usr/bin/gcc' failed with exit code 1
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python3 -u -c '
exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run setup.py

- It imports setuptools before invoking setup.py, to enable projects that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute setup.py since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)

file = %r
sys.argv[0] = file

if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-vn3zeb4_/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-od299m01
cwd: /tmp/pip-req-build-vn3zeb4_/
Building wheel for Arc-Welder (setup.py) ... error
ERROR: Failed building wheel for Arc-Welder
Running setup.py clean for Arc-Welder
Running command python setup.py clean
/tmp/pip-req-build-vn3zeb4_/setup.py:86: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(octoprint.server.VERSION) < LooseVersion("1.4"):
Found packages: {'octoprint_arc_welder_setuptools', 'octoprint_arc_welder.test', 'octoprint_arc_welder'}
running clean
removing 'build/temp.linux-mips-cpython-39' (and everything under it)
removing 'build/lib.linux-mips-cpython-39' (and everything under it)
'build/bdist.linux-mips' does not exist -- can't clean it
'build/scripts-3.9' does not exist -- can't clean it
removing 'build'
deleting 'Arc_Welder.egg-info' egg
recursively removing *.pyc from './octoprint_arc_welder'
Failed to build Arc-Welder
Installing collected packages: Arc-Welder
Running command Running setup.py install for Arc-Welder
/tmp/pip-req-build-vn3zeb4_/setup.py:86: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(octoprint.server.VERSION) < LooseVersion("1.4"):
Found packages: {'octoprint_arc_welder.test', 'octoprint_arc_welder', 'octoprint_arc_welder_setuptools'}
running install
/usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-mips-cpython-39
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/utilities.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/preprocessor.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/log.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/firmware_checker.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/_version.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
copying octoprint_arc_welder/init.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
copying octoprint_arc_welder/test/test_gcode_search.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
copying octoprint_arc_welder/test/test_firmware_checker.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
copying octoprint_arc_welder/test/init.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/test
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder_setuptools
copying octoprint_arc_welder_setuptools/init.py -> build/lib.linux-mips-cpython-39/octoprint_arc_welder_setuptools
running egg_info
creating Arc_Welder.egg-info
writing Arc_Welder.egg-info/PKG-INFO
writing dependency_links to Arc_Welder.egg-info/dependency_links.txt
writing entry points to Arc_Welder.egg-info/entry_points.txt
writing requirements to Arc_Welder.egg-info/requires.txt
writing top-level names to Arc_Welder.egg-info/top_level.txt
writing manifest file 'Arc_Welder.egg-info/SOURCES.txt'
reading manifest file 'Arc_Welder.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.md'
adding license file 'LICENSE'
writing manifest file 'Arc_Welder.egg-info/SOURCES.txt'
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/firmware
copying octoprint_arc_welder/data/firmware/types_default.json -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/firmware
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_arc.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_arc.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_shape.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/segmented_shape.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
copying octoprint_arc_welder/data/lib/c/arc_welder/unwritten_command.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/array_list.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/array_list.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/circular_buffer.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/circular_buffer.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/extruder.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/extruder.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/fpconv.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/fpconv.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_comment_processor.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_comment_processor.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_parser.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_parser.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_position.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/gcode_position.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/logger.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/logger.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command_parameter.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/parsed_command_parameter.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/position.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/position.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/utilities.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/utilities.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
copying octoprint_arc_welder/data/lib/c/gcode_processor_lib/version.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder_extension.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_arc_welder_extension.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_logger.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/py_logger.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/python_helpers.cpp -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
copying octoprint_arc_welder/data/lib/c/py_arc_welder/python_helpers.h -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/css
copying octoprint_arc_welder/static/css/arc_welder.css -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/css
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_klipper.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_marlin.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_marlin_2.0.7.2.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_prusa.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_prusa_buddy.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_smoothieware.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/firmware_virtual_marlin.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.allow_3d_arcs.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.allow_dynamic_precision.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.allow_travel_arcs.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.auto_print_slicer_uploads_only.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.auto_process_slicer_uploads_only.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.auto_select_slicer_uploads_only.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.check_firmware.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.check_for_updates.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.current_run_configuration_visible.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.default_e_precision.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.default_xyz_precision.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.delete_source.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.enabled.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.extrusion_rate_variance_percent.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.file_processing.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.firmware_compensation_enabled.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.g90_g91_influences_extruder.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.max_gcode_length.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.max_radius_mm.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.min_arc_segments.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.mm_per_arc_segment.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.octoprint.g90_influences_extruder.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.overwrite_source_file.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.path_percent_tolerance.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.print_after_processing.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.resolution_mm.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.select_after_processing.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.show_completed_notification.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.show_queued_notification.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.show_started_notification.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.target_postfix.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.target_prefix.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
copying octoprint_arc_welder/static/docs/help/settings.use_octoprint_settings.md -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/docs/help
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/arc_welder.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/arc_welder.settings.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/markdown_help.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/pnotify_extensions.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
copying octoprint_arc_welder/static/js/showdown.min.js -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/static/js
creating build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
copying octoprint_arc_welder/templates/arc_welder_settings.jinja2 -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
copying octoprint_arc_welder/templates/arc_welder_settings_about.jinja2 -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
copying octoprint_arc_welder/templates/arc_welder_tab.jinja2 -> build/lib.linux-mips-cpython-39/octoprint_arc_welder/templates
UPDATING build/lib.linux-mips-cpython-39/octoprint_arc_welder/_version.py
set build/lib.linux-mips-cpython-39/octoprint_arc_welder/_version.py to '1.1.0rc4'
running build_ext
Compiling PyGcodeArcConverter Extension with <distutils.unixccompiler.UnixCCompiler object at 0x3672088>.
Unable to remove -Wstrict-prototypes or to add -Wno-unknown-pragmas.
Building Extensions for PyArcWelder - extra_compile_args:['-O3', '-std=c++11', '-Wno-unknown-pragmas', '-v'] - extra_link_args:[]
building 'PyArcWelder' extension
creating build/temp.linux-mips-cpython-39
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/gcode_processor_lib
creating build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/py_arc_welder
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include -fPIC -Ioctoprint_arc_welder/data/lib/c/arc_welder -Ioctoprint_arc_welder/data/lib/c/gcode_processor_lib -Ioctoprint_arc_welder/data/lib/c/py_arc_welder -I/usr/include/python3.9 -c octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.cpp -o build/temp.linux-mips-cpython-39/octoprint_arc_welder/data/lib/c/arc_welder/arc_welder.o -O3 -std=c++11 -Wno-unknown-pragmas -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12'
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12'
gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/Python-3.9.12=Python-3.9.12'
Target: mipsel-openwrt-linux-musl
Configured with: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc_musl/gcc-7.4.0/configure --target=mipsel-openwrt-linux --host=mipsel-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls 'CXXFLAGS_FOR_TARGET=-g -O2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS' --build=x86_64-pc-linux-gnu --host=mipsel-openwrt-linux-musl --target=mipsel-openwrt-linux-musl --enable-languages=c,c++ --with-bugurl=https://dev.openwrt.org/ --with-pkgversion='OpenWrt GCC 7.4.0' --enable-shared --disable-__cxa_atexit --with-default-libstdcxx-abi=gcc4-compatible --enable-target-optspace --with-gnu-ld --disable-nls --disable-libsanitizer --disable-libvtv --disable-libcilkrts --disable-libmudflap --disable-libmpx --disable-multilib --disable-libgomp --disable-libquadmath --disable-libssp --disable-decimal-float --disable-libstdcxx-pch --with-host-libstdcxx=-lstdc++ --prefix=/usr --libexecdir=/usr/lib --with-local-prefix=/usr --with-stage1-ldflags=-lstdc++ --with-float=soft
Thread model: posix
gcc version 7.4.0 (OpenWrt GCC 7.4.0)
error: command '/usr/bin/gcc' failed with exit code 1
error: subprocess-exited-with-error

× Running setup.py install for Arc-Welder did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python3 -u -c '
exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run setup.py

- It imports setuptools before invoking setup.py, to enable projects that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute setup.py since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)

file = %r
sys.argv[0] = file

if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-vn3zeb4_/setup.py'"'"',), "", "exec"))' install --record /tmp/pip-record-iujw356k/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/Arc-Welder
cwd: /tmp/pip-req-build-vn3zeb4_/
Running setup.py install for Arc-Welder ... error
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> Arc-Welder

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.`

@ihrapsa
Copy link
Owner

ihrapsa commented May 8, 2022

oh my, try inserting the log between "```" next time for better formatting

It seems to be the Cython code that can't be compiled on the box (no proper compiler for mips arch). I think it needs to be cross compiled and that might be the only way.

@doczong
Copy link
Author

doczong commented May 8, 2022

LOL, yup, I tried that double `s or triples strikeout the text.

Anyhow, that's what I thought. PITA.

@ihrapsa ihrapsa closed this as completed Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants