Skip to content

Instantly share code, notes, and snippets.

@ping-localhost
Last active March 5, 2021 21:47
Show Gist options
  • Save ping-localhost/aad12f9619b13deaf5e2d6810407a0f5 to your computer and use it in GitHub Desktop.
Save ping-localhost/aad12f9619b13deaf5e2d6810407a0f5 to your computer and use it in GitHub Desktop.
PSU Control issue
2021-02-23 21:52:16,545 - octoprint.plugins.pluginmanager - ERROR - Could not install plugin from https://github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 738, in _command_install_archive
returncode, stdout, stderr = self._call_pip(pip_args)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 1414, in _call_pip
return self._pip_caller.execute(*args, **kwargs)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 209, in execute
return self.call(command, **kwargs)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 243, in call
all_stderr += process_stderr(p.stderr.readlines(timeout=0.5))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 239, in process_stderr
return process_lines(lines, self._log_stderr)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 229, in process_lines
processed = self._preprocess_lines(
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 511, in _preprocess_lines
return list(map(self._preprocess, lines))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 530, in _preprocess
return to_unicode(clean_ansi(text))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi
return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1")
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2018' in position 31: ordinal not in range(256)
2021-02-23 21:52:16,545 - octoprint.plugins.pluginmanager - ERROR - Reason: UnicodeEncodeError('latin-1', ' source/c_gpio.c: In function ‘setup’:\n', 31, 32, 'ordinal not in range(256)')
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 738, in _command_install_archive
returncode, stdout, stderr = self._call_pip(pip_args)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 1414, in _call_pip
return self._pip_caller.execute(*args, **kwargs)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 209, in execute
return self.call(command, **kwargs)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 243, in call
all_stderr += process_stderr(p.stderr.readlines(timeout=0.5))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 239, in process_stderr
return process_lines(lines, self._log_stderr)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 229, in process_lines
processed = self._preprocess_lines(
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 511, in _preprocess_lines
return list(map(self._preprocess, lines))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 530, in _preprocess
return to_unicode(clean_ansi(text))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi
return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1")
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2018' in position 31: ordinal not in range(256)
2021-02-23 21:51:59,914 /home/pi/oprint/bin/python -m pip --disable-pip-version-check install file:///tmp/tmpb52p85mg/OctoPrint-PSUControl-master.zip --no-cache-dir
2021-02-23 21:52:01,941 > Processing /tmp/tmpb52p85mg/OctoPrint-PSUControl-master.zip
2021-02-23 21:52:02,943 > Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint-PSUControl==0.1.11) (1.5.3)
2021-02-23 21:52:02,944 > Collecting RPi.GPIO>=0.6.3
2021-02-23 21:52:02,945 > Downloading RPi.GPIO-0.7.0.tar.gz (30 kB)
2021-02-23 21:52:04,742 > Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.18.2)
2021-02-23 21:52:04,742 > Requirement already satisfied: rsa==4.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (4.0)
2021-02-23 21:52:04,743 > Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.5.0)
2021-02-23 21:52:04,744 > Requirement already satisfied: cachelib<1,>=0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.1.1)
2021-02-23 21:52:04,744 > Requirement already satisfied: requests<3,>=2.23.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (2.25.1)
2021-02-23 21:52:04,744 > Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (2020.11.13)
2021-02-23 21:52:04,744 > Requirement already satisfied: tornado==5.1.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (5.1.1)
2021-02-23 21:52:04,745 > Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (7.1.2)
2021-02-23 21:52:04,745 > Requirement already satisfied: PyYAML<6,>=5.3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (5.4.1)
2021-02-23 21:52:04,745 > Requirement already satisfied: zeroconf<0.25,>=0.24 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.24.5)
2021-02-23 21:52:04,745 > Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.10.4)
2021-02-23 21:52:04,745 > Requirement already satisfied: wrapt<2,>=1.12.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.12.1)
2021-02-23 21:52:04,745 > Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (2.8.5)
2021-02-23 21:52:04,746 > Requirement already satisfied: psutil<6,>=5.7 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (5.8.0)
2021-02-23 21:52:04,746 > Requirement already satisfied: feedparser<7,>=6.0.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (6.0.2)
2021-02-23 21:52:04,746 > Requirement already satisfied: flask<2,>=1.1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.1.2)
2021-02-23 21:52:04,746 > Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (2.0)
2021-02-23 21:52:04,746 > Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.1.1)
2021-02-23 21:52:04,746 > Requirement already satisfied: emoji<1,>=0.5.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.6.0)
2021-02-23 21:52:04,746 > Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.2.0)
2021-02-23 21:52:04,746 > Requirement already satisfied: Jinja2<3,>=2.11.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (2.11.3)
2021-02-23 21:52:04,747 > Requirement already satisfied: frozendict<2,>=1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.2)
2021-02-23 21:52:04,747 > Requirement already satisfied: netaddr<1,>=0.7.19 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.8.0)
2021-02-23 21:52:04,747 > Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.0.7)
2021-02-23 21:52:04,747 > Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (3.5)
2021-02-23 21:52:04,747 > Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.1.0)
2021-02-23 21:52:04,747 > Requirement already satisfied: pkginfo<2,>=1.5.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.7.0)
2021-02-23 21:52:04,747 > Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (3.1.1)
2021-02-23 21:52:04,747 > Requirement already satisfied: netifaces<1,>=0.10.9 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.10.9)
2021-02-23 21:52:04,747 > Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.0.0)
2021-02-23 21:52:04,748 > Requirement already satisfied: OctoPrint-FileCheck>=2020.08.07 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (2021.2.23)
2021-02-23 21:52:04,748 > Requirement already satisfied: sarge==0.1.5post0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.1.5.post0)
2021-02-23 21:52:04,748 > Requirement already satisfied: sentry-sdk<1,>=0.15.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.20.3)
2021-02-23 21:52:04,748 > Requirement already satisfied: unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.4.21)
2021-02-23 21:52:04,749 > Requirement already satisfied: websocket-client<1,>=0.57 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (0.57.0)
2021-02-23 21:52:04,749 > Requirement already satisfied: OctoPrint-FirmwareCheck>=2020.09.23 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (2021.2.4)
2021-02-23 21:52:04,749 > Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.4)
2021-02-23 21:52:04,749 > Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint->OctoPrint-PSUControl==0.1.11) (1.0.1)
2021-02-23 21:52:04,749 > Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python3.8/site-packages (from rsa==4.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (0.4.8)
2021-02-23 21:52:04,749 > Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python3.8/site-packages (from watchdog==0.10.4->OctoPrint->OctoPrint-PSUControl==0.1.11) (0.1.2)
2021-02-23 21:52:04,749 > Requirement already satisfied: sgmllib3k in /home/pi/oprint/lib/python3.8/site-packages (from feedparser<7,>=6.0.2->OctoPrint->OctoPrint-PSUControl==0.1.11) (1.0.0)
2021-02-23 21:52:04,750 > Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Assets<3,>=2.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (2.0)
2021-02-23 21:52:04,750 > Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (2.9.0)
2021-02-23 21:52:04,750 > Requirement already satisfied: pytz in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (2021.1)
2021-02-23 21:52:04,750 > Requirement already satisfied: setuptools>=36 in /home/pi/oprint/lib/python3.8/site-packages (from markdown<3.2,>=3.1->OctoPrint->OctoPrint-PSUControl==0.1.11) (44.0.0)
2021-02-23 21:52:04,750 > Requirement already satisfied: idna<3,>=2.5 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (2.10)
2021-02-23 21:52:04,750 > Requirement already satisfied: chardet<5,>=3.0.2 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (4.0.0)
2021-02-23 21:52:04,750 > Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (1.26.3)
2021-02-23 21:52:04,750 > Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-PSUControl==0.1.11) (2020.12.5)
2021-02-23 21:52:04,751 > Requirement already satisfied: six in /home/pi/oprint/lib/python3.8/site-packages (from websocket-client<1,>=0.57->OctoPrint->OctoPrint-PSUControl==0.1.11) (1.15.0)
2021-02-23 21:52:04,751 > Requirement already satisfied: ifaddr in /home/pi/oprint/lib/python3.8/site-packages (from zeroconf<0.25,>=0.24->OctoPrint->OctoPrint-PSUControl==0.1.11) (0.1.7)
2021-02-23 21:52:04,751 > Building wheels for collected packages: OctoPrint-PSUControl, RPi.GPIO
2021-02-23 21:52:04,751 > Building wheel for OctoPrint-PSUControl (setup.py): started
2021-02-23 21:52:05,753 > Building wheel for OctoPrint-PSUControl (setup.py): finished with status 'done'
2021-02-23 21:52:05,753 > Created wheel for OctoPrint-PSUControl: filename=OctoPrint_PSUControl-0.1.11-py3-none-any.whl size=23564 sha256=4f52378da4a19128a7c1afd074bc686ef92e0d9b706ddcc5ada939c44927866a
2021-02-23 21:52:05,754 > Stored in directory: /tmp/pip-ephem-wheel-cache-bn_08ufx/wheels/c3/be/e1/4d31d5553b594ff8bf09de4aaf7467ddbf5d29417bb9bfda98
2021-02-23 21:52:05,755 > Building wheel for RPi.GPIO (setup.py): started
2021-02-23 21:52:10,856 > Building wheel for RPi.GPIO (setup.py): finished with status 'error'
2021-02-23 21:52:10,857 > Running setup.py clean for RPi.GPIO
Collecting https://github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
Using cached https://github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
Collecting OctoPrint
Using cached OctoPrint-1.5.3-py2.py3-none-any.whl (3.8 MB)
Collecting RPi.GPIO>=0.6.3
Using cached RPi.GPIO-0.7.0.tar.gz (30 kB)
Collecting Flask-Babel<2,>=1.0
Using cached Flask_Babel-1.0.0-py3-none-any.whl (9.5 kB)
Collecting Flask-Assets<3,>=2.0
Using cached Flask_Assets-2.0-py3-none-any.whl (8.5 kB)
Collecting markupsafe<2.0,>=1.1
Using cached MarkupSafe-1.1.1-cp38-cp38-manylinux2014_aarch64.whl (33 kB)
Collecting werkzeug<2,>=1.0.1
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting PyYAML<6,>=5.3.1
Using cached PyYAML-5.4.1-cp38-cp38-linux_aarch64.whl
Collecting pyserial<4,>=3.4
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting filetype<2,>=1.0.7
Using cached filetype-1.0.7-py2.py3-none-any.whl (15 kB)
Collecting watchdog==0.10.4
Using cached watchdog-0.10.4-py3-none-any.whl
Collecting Flask-Login<0.6,>=0.5
Using cached Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
Collecting feedparser<7,>=6.0.2
Using cached feedparser-6.0.2-py3-none-any.whl (80 kB)
Collecting blinker<2,>=1.4
Using cached blinker-1.4-py3-none-any.whl
Collecting regex!=2018.11.6
Using cached regex-2020.11.13-cp38-cp38-manylinux2014_aarch64.whl (730 kB)
Collecting flask<2,>=1.1.2
Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting netifaces<1,>=0.10.9
Using cached netifaces-0.10.9-cp38-cp38-linux_aarch64.whl
Collecting semantic-version<3,>=2.8.5
Using cached semantic_version-2.8.5-py2.py3-none-any.whl (15 kB)
Collecting wrapt<2,>=1.12.1
Using cached wrapt-1.12.1-cp38-cp38-linux_aarch64.whl
Collecting pylru<2,>=1.2
Using cached pylru-1.2.0-py3-none-any.whl
Collecting psutil<6,>=5.7
Using cached psutil-5.8.0-cp38-cp38-linux_aarch64.whl
Collecting future<1,>=0.18.2
Using cached future-0.18.2-py3-none-any.whl
Collecting zeroconf<0.25,>=0.24
Using cached zeroconf-0.24.5-py3-none-any.whl (65 kB)
Collecting emoji<1,>=0.5.4
Using cached emoji-0.6.0-py3-none-any.whl
Collecting pkginfo<2,>=1.5.0.1
Using cached pkginfo-1.7.0-py2.py3-none-any.whl (25 kB)
Collecting itsdangerous<2,>=1.1.0
Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting Jinja2<3,>=2.11.2
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting rsa==4.0
Using cached rsa-4.0-py2.py3-none-any.whl (38 kB)
Collecting sarge==0.1.5post0
Using cached sarge-0.1.5.post0-py3-none-any.whl
Collecting frozendict<2,>=1.2
Using cached frozendict-1.2-py3-none-any.whl
Collecting unidecode<0.05,>=0.04.14
Using cached Unidecode-0.04.21-py2.py3-none-any.whl (228 kB)
Collecting OctoPrint-FileCheck>=2020.08.07
Using cached OctoPrint_FileCheck-2021.2.23-py2.py3-none-any.whl (19 kB)
Collecting requests<3,>=2.23.0
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting OctoPrint-FirmwareCheck>=2020.09.23
Using cached OctoPrint_FirmwareCheck-2021.2.4-py2.py3-none-any.whl (30 kB)
Collecting websocket-client<1,>=0.57
Using cached websocket_client-0.58.0-py2.py3-none-any.whl (61 kB)
Collecting netaddr<1,>=0.7.19
Using cached netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
Collecting Click<8,>=7.1.2
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting tornado==5.1.1
Using cached tornado-5.1.1-cp38-cp38-linux_aarch64.whl
Collecting sentry-sdk<1,>=0.15.1
Using cached sentry_sdk-0.20.3-py2.py3-none-any.whl (131 kB)
Collecting cachelib<1,>=0.1
Using cached cachelib-0.1.1-py3-none-any.whl (13 kB)
Collecting markdown<3.2,>=3.1
Using cached Markdown-3.1.1-py2.py3-none-any.whl (87 kB)
Collecting pyasn1>=0.1.3
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pathtools>=0.1.1
Using cached pathtools-0.1.2-py3-none-any.whl
Collecting sgmllib3k
Using cached sgmllib3k-1.0.0-py3-none-any.whl
Collecting webassets>=2.0
Using cached webassets-2.0-py3-none-any.whl (142 kB)
Collecting pytz
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting Babel>=2.3
Using cached Babel-2.9.0-py2.py3-none-any.whl (8.8 MB)
Collecting setuptools>=36
Using cached setuptools-54.1.0-py3-none-any.whl (784 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting six
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting ifaddr
Using cached ifaddr-0.1.7-py2.py3-none-any.whl (10 kB)
Building wheels for collected packages: OctoPrint-PSUControl, RPi.GPIO
Building wheel for OctoPrint-PSUControl (setup.py) ... done
Created wheel for OctoPrint-PSUControl: filename=OctoPrint_PSUControl-0.1.11-py3-none-any.whl size=23564 sha256=7f07e5c38e5831774db172280575ecba728aef030200f03c135b39f72ce85dc2
Stored in directory: /tmp/pip-ephem-wheel-cache-9vyw9py2/wheels/60/b4/9e/007ae8b53afc3455f1776813497fa8235dbb2122a9c6ac35b9
Building wheel for RPi.GPIO (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-kezvow3o
cwd: /tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/
Complete output (85 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.8
creating build/lib.linux-aarch64-3.8/RPi
copying RPi/__init__.py -> build/lib.linux-aarch64-3.8/RPi
creating build/lib.linux-aarch64-3.8/RPi/GPIO
copying RPi/GPIO/__init__.py -> build/lib.linux-aarch64-3.8/RPi/GPIO
running build_ext
building 'RPi._GPIO' extension
creating build/temp.linux-aarch64-3.8
creating build/temp.linux-aarch64-3.8/source
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/py_gpio.c -o build/temp.linux-aarch64-3.8/source/py_gpio.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/c_gpio.c -o build/temp.linux-aarch64-3.8/source/c_gpio.o
source/c_gpio.c: In function ‘setup’:
source/c_gpio.c:130:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
130 | if ((uint32_t)gpio_mem % PAGE_SIZE)
| ^
source/c_gpio.c:131:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
131 | gpio_mem += PAGE_SIZE - ((uint32_t)gpio_mem % PAGE_SIZE);
| ^
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/cpuinfo.c -o build/temp.linux-aarch64-3.8/source/cpuinfo.o
source/cpuinfo.c: In function ‘get_rpi_info’:
source/cpuinfo.c:139:28: warning: format ‘%llx’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
139 | sscanf(revision, "%llx", &rev);
| ~~~^ ~~~~
| | |
| | uint64_t * {aka long unsigned int *}
| long long unsigned int *
| %lx
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/event_gpio.c -o build/temp.linux-aarch64-3.8/source/event_gpio.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/soft_pwm.c -o build/temp.linux-aarch64-3.8/source/soft_pwm.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/py_pwm.c -o build/temp.linux-aarch64-3.8/source/py_pwm.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/common.c -o build/temp.linux-aarch64-3.8/source/common.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/constants.c -o build/temp.linux-aarch64-3.8/source/constants.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/source/py_gpio.o build/temp.linux-aarch64-3.8/source/c_gpio.o build/temp.linux-aarch64-3.8/source/cpuinfo.o build/temp.linux-aarch64-3.8/source/event_gpio.o build/temp.linux-aarch64-3.8/source/soft_pwm.o build/temp.linux-aarch64-3.8/source/py_pwm.o build/temp.linux-aarch64-3.8/source/common.o build/temp.linux-aarch64-3.8/source/constants.o -o build/lib.linux-aarch64-3.8/RPi/_GPIO.cpython-38-aarch64-linux-gnu.so
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/soft_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-aarch64-3.8/source/event_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/event_gpio.c:60: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/py_pwm.h:23: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:26: multiple definition of `high'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:26: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:27: multiple definition of `low'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:27: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:29: multiple definition of `output'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:29: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:28: multiple definition of `input'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:28: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:30: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:31: multiple definition of `serial'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:31: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:32: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:33: multiple definition of `spi'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:33: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:34: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:35: multiple definition of `board'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:35: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:36: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:38: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:41: first defined
here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:42: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: first defined here
collect2: error: ld returned 1 exit status
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for RPi.GPIO
Running setup.py clean for RPi.GPIO
Successfully built OctoPrint-PSUControl
Failed to build RPi.GPIO
Installing collected packages: markupsafe, werkzeug, pytz, Jinja2, itsdangerous, Click, webassets, urllib3, six, sgmllib3k, setuptools, pyasn1, pathtools, ifaddr, idna, flask, chardet, certifi, Babel, zeroconf, wrapt, websocket-client, watchdog, unidecode, tornado, sentry-sdk, semantic-version, sarge, rsa, requests, regex, PyYAML, pyserial, pylru, psutil, pkginfo, OctoPrint-FirmwareCheck, OctoPrint-FileCheck, netifaces, netaddr, markdown, future, frozendict, Flask-Login, Flask-Babel, Flask-Assets, filetype, feedparser, emoji, cachelib, blinker, RPi.GPIO, OctoPrint, OctoPrint-PSUControl
Running setup.py install for RPi.GPIO ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nekzx4br/install-record.txt --single-version-externally-managed --home /tmp/pip-target-k2dqt4db --compile --install-headers /tmp/pip-target-k2dqt4db/include/python/RPi.GPIO
cwd: /tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/
Complete output (85 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.8
creating build/lib.linux-aarch64-3.8/RPi
copying RPi/__init__.py -> build/lib.linux-aarch64-3.8/RPi
creating build/lib.linux-aarch64-3.8/RPi/GPIO
copying RPi/GPIO/__init__.py -> build/lib.linux-aarch64-3.8/RPi/GPIO
running build_ext
building 'RPi._GPIO' extension
creating build/temp.linux-aarch64-3.8
creating build/temp.linux-aarch64-3.8/source
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/py_gpio.c -o build/temp.linux-aarch64-3.8/source/py_gpio.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/c_gpio.c -o build/temp.linux-aarch64-3.8/source/c_gpio.o
source/c_gpio.c: In function ‘setup’:
source/c_gpio.c:130:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
130 | if ((uint32_t)gpio_mem % PAGE_SIZE)
| ^
source/c_gpio.c:131:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
131 | gpio_mem += PAGE_SIZE - ((uint32_t)gpio_mem % PAGE_SIZE);
| ^
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/cpuinfo.c -o build/temp.linux-aarch64-3.8/source/cpuinfo.o
source/cpuinfo.c: In function ‘get_rpi_info’:
source/cpuinfo.c:139:28: warning: format ‘%llx’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
139 | sscanf(revision, "%llx", &rev);
| ~~~^ ~~~~
| | |
| | uint64_t * {aka long unsigned int *}
| long long unsigned int *
| %lx
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/event_gpio.c -o build/temp.linux-aarch64-3.8/source/event_gpio.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/soft_pwm.c -o build/temp.linux-aarch64-3.8/source/soft_pwm.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/py_pwm.c -o build/temp.linux-aarch64-3.8/source/py_pwm.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/common.c -o build/temp.linux-aarch64-3.8/source/common.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/constants.c -o build/temp.linux-aarch64-3.8/source/constants.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/source/py_gpio.o build/temp.linux-aarch64-3.8/source/c_gpio.o build/temp.linux-aarch64-3.8/source/cpuinfo.o build/temp.linux-aarch64-3.8/source/event_gpio.o build/temp.linux-aarch64-3.8/source/soft_pwm.o build/temp.linux-aarch64-3.8/source/py_pwm.o build/temp.linux-aarch64-3.8/source/common.o build/temp.linux-aarch64-3.8/source/constants.o -o build/lib.linux-aarch64-3.8/RPi/_GPIO.cpython-38-aarch64-linux-gnu.so
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/soft_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-aarch64-3.8/source/event_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/event_gpio.c:60: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/py_pwm.h:23: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:26: multiple definition of `high'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:26: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:27: multiple definition of `low'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:27: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:29: multiple definition of `output'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:29: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:28: multiple definition of `input'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:28: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:30: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:31: multiple definition of `serial'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:31: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:32: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:33: multiple definition of `spi'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:33: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:34: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:35: multiple definition of `board'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:35: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:36: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:39: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:41: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/constants.h:42: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:36: first defined
here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:35: first defined
here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:34: first defined
here
/usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/source/common.h:33: first defined here
collect2: error: ld returned 1 exit status
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-5y3_18pw/rpi-gpio_b54d2f556008481d977ad42ef212fcb4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nekzx4br/install-record.txt --single-version-externally-managed --home /tmp/pip-target-k2dqt4db --compile --install-headers /tmp/pip-target-k2dqt4db/include/python/RPi.GPIO Check the logs for full command output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment