Closed ChrizZz90 closed 2 years ago
You need to make sure rpi.gpio is installed in HLC venv
cd ~/hermesLedControl_v2.0.15
./venv/bin/pip install rpi.gpio
that is causing issues. Do you have any idea if this is HLC related?
pi@raspberrypi:~/hermesLedControl_v2.0.15 $ ./venv/bin/pip3 install rpi.gpio
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting rpi.gpio
Using cached RPi.GPIO-0.7.0.tar.gz (30 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: rpi.gpio
Building wheel for rpi.gpio (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/hermesLedControl_v2.0.15/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-e_3ycsyv
cwd: /tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/
Complete output (87 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.9
creating build/lib.linux-armv7l-3.9/RPi
copying RPi/__init__.py -> build/lib.linux-armv7l-3.9/RPi
creating build/lib.linux-armv7l-3.9/RPi/GPIO
copying RPi/GPIO/__init__.py -> build/lib.linux-armv7l-3.9/RPi/GPIO
running build_ext
building 'RPi._GPIO' extension
creating build/temp.linux-armv7l-3.9
creating build/temp.linux-armv7l-3.9/source
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/c_gpio.c -o build/temp.linux-armv7l-3.9/source/c_gpio.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/common.c -o build/temp.linux-armv7l-3.9/source/common.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/constants.c -o build/temp.linux-armv7l-3.9/source/constants.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/cpuinfo.c -o build/temp.linux-armv7l-3.9/source/cpuinfo.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/event_gpio.c -o build/temp.linux-armv7l-3.9/source/event_gpio.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/py_gpio.c -o build/temp.linux-armv7l-3.9/source/py_gpio.o
source/py_gpio.c: In function ‘PyInit__GPIO’:
source/py_gpio.c:1046:4: warning: ‘PyEval_ThreadsInitialized’ is deprecated [-Wdeprecated-declarations]
1046 | if (!PyEval_ThreadsInitialized())
| ^~
In file included from /usr/include/python3.9/Python.h:145,
from source/py_gpio.c:23:
/usr/include/python3.9/ceval.h:129:36: note: declared here
129 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
source/py_gpio.c:1047:7: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
1047 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.9/Python.h:145,
from source/py_gpio.c:23:
/usr/include/python3.9/ceval.h:130:37: note: declared here
130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/py_pwm.c -o build/temp.linux-armv7l-3.9/source/py_pwm.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/soft_pwm.c -o build/temp.linux-armv7l-3.9/source/soft_pwm.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.9/source/c_gpio.o build/temp.linux-armv7l-3.9/source/common.o build/temp.linux-armv7l-3.9/source/constants.o build/temp.linux-armv7l-3.9/source/cpuinfo.o build/temp.linux-armv7l-3.9/source/event_gpio.o build/temp.linux-armv7l-3.9/source/py_gpio.o build/temp.linux-armv7l-3.9/source/py_pwm.o build/temp.linux-armv7l-3.9/source/soft_pwm.o -o build/lib.linux-armv7l-3.9/RPi/_GPIO.cpython-39-arm-linux-gnueabihf.so
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:42: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:35: multiple definition of `board'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:33: multiple definition of `spi'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:32: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:31: multiple definition of `serial'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:31: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:30: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:29: multiple definition of `output'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:29: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:28: multiple definition of `input'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:28: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:27: multiple definition of `low'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:27: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:26: multiple definition of `high'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:26: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/py_pwm.h:23: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/soft_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/event_gpio.c:60: first defined here
collect2: error: ld returned 1 exit status
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for rpi.gpio
Running setup.py clean for rpi.gpio
Failed to build rpi.gpio
Installing collected packages: rpi.gpio
Running setup.py install for rpi.gpio ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/hermesLedControl_v2.0.15/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_crz043a/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/hermesLedControl_v2.0.15/venv/include/site/python3.9/rpi.gpio
cwd: /tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/
Complete output (89 lines):
running install
/home/pi/hermesLedControl_v2.0.15/venv/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-armv7l-3.9
creating build/lib.linux-armv7l-3.9/RPi
copying RPi/__init__.py -> build/lib.linux-armv7l-3.9/RPi
creating build/lib.linux-armv7l-3.9/RPi/GPIO
copying RPi/GPIO/__init__.py -> build/lib.linux-armv7l-3.9/RPi/GPIO
running build_ext
building 'RPi._GPIO' extension
creating build/temp.linux-armv7l-3.9
creating build/temp.linux-armv7l-3.9/source
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/c_gpio.c -o build/temp.linux-armv7l-3.9/source/c_gpio.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/common.c -o build/temp.linux-armv7l-3.9/source/common.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/constants.c -o build/temp.linux-armv7l-3.9/source/constants.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/cpuinfo.c -o build/temp.linux-armv7l-3.9/source/cpuinfo.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/event_gpio.c -o build/temp.linux-armv7l-3.9/source/event_gpio.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/py_gpio.c -o build/temp.linux-armv7l-3.9/source/py_gpio.o
source/py_gpio.c: In function ‘PyInit__GPIO’:
source/py_gpio.c:1046:4: warning: ‘PyEval_ThreadsInitialized’ is deprecated [-Wdeprecated-declarations]
1046 | if (!PyEval_ThreadsInitialized())
| ^~
In file included from /usr/include/python3.9/Python.h:145,
from source/py_gpio.c:23:
/usr/include/python3.9/ceval.h:129:36: note: declared here
129 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
source/py_gpio.c:1047:7: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
1047 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.9/Python.h:145,
from source/py_gpio.c:23:
/usr/include/python3.9/ceval.h:130:37: note: declared here
130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/py_pwm.c -o build/temp.linux-armv7l-3.9/source/py_pwm.o
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/hermesLedControl_v2.0.15/venv/include -I/usr/include/python3.9 -c source/soft_pwm.c -o build/temp.linux-armv7l-3.9/source/soft_pwm.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.9/source/c_gpio.o build/temp.linux-armv7l-3.9/source/common.o build/temp.linux-armv7l-3.9/source/constants.o build/temp.linux-armv7l-3.9/source/cpuinfo.o build/temp.linux-armv7l-3.9/source/event_gpio.o build/temp.linux-armv7l-3.9/source/py_gpio.o build/temp.linux-armv7l-3.9/source/py_pwm.o build/temp.linux-armv7l-3.9/source/soft_pwm.o -o build/lib.linux-armv7l-3.9/RPi/_GPIO.cpython-39-arm-linux-gnueabihf.so
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:42: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:35: multiple definition of `board'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:33: multiple definition of `spi'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:32: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:31: multiple definition of `serial'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:31: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:30: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:29: multiple definition of `output'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:29: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:28: multiple definition of `input'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:28: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:27: multiple definition of `low'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:27: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:26: multiple definition of `high'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/constants.h:26: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:38: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/py_pwm.h:23: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:41: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:40: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:39: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:37: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:36: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:35: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:34: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/common.h:33: first defined here
/usr/bin/ld: build/temp.linux-armv7l-3.9/source/soft_pwm.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/source/event_gpio.c:60: first defined here
collect2: error: ld returned 1 exit status
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/pi/hermesLedControl_v2.0.15/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2u5j3yle/rpi-gpio_beb7ec2026f8436a80d1638030145c1a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_crz043a/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/hermesLedControl_v2.0.15/venv/include/site/python3.9/rpi.gpio Check the logs for full command output.
No it's not, it's rpi.gpio install related, that is saying that some functions are deprecated in python 3.9
Start by uninstalling rpi.gpio from your global site package and make sure you only have it in venv. Also make sure you never sudo pip
pi@raspberrypi:~/hermesLedControl_v2.0.15 $ pip uninstall RPi.GPIO
WARNING: Skipping RPi.GPIO as it is not installed.
pi@raspberrypi:~/hermesLedControl_v2.0.15 $ pip freeze | grep RPi
pi@raspberrypi:~/hermesLedControl_v2.0.15 $ cd ./venv/lib/python3.9/site-packages/
colorzero/ gpiozero/ numpy/ paho_mqtt-1.6.1.dist-info/ pkg_resources/ setuptools/ toml/ wheel-0.37.0.dist-info/
colorzero-2.0.dist-info/ gpiozero-1.6.2.dist-info/ numpy-1.21.4.dist-info/ pip/ __pycache__/ setuptools-58.3.0.dist-info/ toml-0.10.2.dist-info/ _yaml/
_distutils_hack/ gpiozerocli/ paho/ pip-21.3.1.dist-info/ PyYAML-6.0.dist-info/ spidev-3.5.dist-info/ wheel/ yaml/
I guess rpi.gpio is uninstalled now. But should there be a rpi.gpio folder in venv side-packages? I still have the same issue if I try to install it
it's an issue related to rpi.gpio and Raspbian Bullseye. Installing an alpha version solved the issue.
pip3 install RPi.GPIO==0.7.1a4
Do not remove fields, answer them, otherwise your bug will be reported as invalid and closed
How I did start SLC, with what arguments python main.py --hermesLedControlConfig=/home/pi/.config/hermesLedControl/configuration.yml
Led device name ReSpeaker 2 on a Raspberry Pi Zero 2. I use it with Rhasspy and Rhasspy is running in a docker container.
The bug I have the issue that with based on systemctl Hermes LED Control doesn't work. But if I run HLC in debug mode, everything works fine.
Debug output Debug mode works as it should.
To Reproduce Well, good question. As in debug everything works, I don't know why I have this kind of issue.