MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.34k stars 396 forks source link

🐛 | Fresh installation RC522 Reader Problems #1630

Closed Thilo-90 closed 2 years ago

Thilo-90 commented 2 years ago

Bug

What I did

I tried to setup Phoniebox with an RC522 reader and could not get it to work. Wired up the RC522 (it is working, tested with PyMyLifeUp) and also double checked the GPIO and Pins on the Reader.

So to provide clear steps i formatted everything and started again.

Installed latest Raspberry Pi OS using Raspberry Pi Imager V1.6.2

I enabled SSH and ran the one-line install command which guided me through the installation process

What happened

I already got error messages during the installation but did not pay too much attention the first time

#
# START INSTALLATION
#
# Good news: you completed the input.
# Let the install begin.
#
# Get yourself a cup of something. The install takes
# between 15 minutes to half an hour, depending on
# your Raspberry Pi and Internet connectivity.
#
# You will be prompted later to complete the installation.

Do you want to start the installation? [Y/n] y
################################################
WIFIconfig="YES"
WIFIcountryCode="DE"
WIFIssid="WLAN-VSBG5D"
WIFIip="192.168.2.108"
WIFIipRouter="192.168.2.1"
EXISTINGuse=NO
AUDIOiFace="Headphone"
SPOTinstall="NO"
MPDconfig="YES"
DIRaudioFolders="/home/pi/RPi-Jukebox-RFID/shared/audiofolders"
GPIOconfig="YES"
################################################
Generating locales (this might take a while)...
  en_GB.UTF-8... done
Generation complete.
Selecting previously unselected package apt-transport-https.
(Reading database ... 99541 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.2.4_all.deb ...
Unpacking apt-transport-https (2.2.4) ...
Setting up apt-transport-https (2.2.4) ...
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Selecting previously unselected package libspotify12.
(Reading database ... 99545 files and directories currently installed.)
Preparing to unpack .../libspotify12_12.1.103-0mopidy1_armhf.deb ...
Unpacking libspotify12 (12.1.103-0mopidy1) ...
Selecting previously unselected package libspotify-dev.
Preparing to unpack .../libspotify-dev_12.1.103-0mopidy1_armhf.deb ...
Unpacking libspotify-dev (12.1.103-0mopidy1) ...
Setting up libspotify12 (12.1.103-0mopidy1) ...
Setting up libspotify-dev (12.1.103-0mopidy1) ...
Processing triggers for man-db (2.9.4-2) ...
Selecting previously unselected package raspberrypi-kernel-headers.
(Reading database ... 99712 files and directories currently installed.)
Preparing to unpack .../raspberrypi-kernel-headers_1%3a1.20211029-1_armhf.deb ...
Unpacking raspberrypi-kernel-headers (1:1.20211029-1) ...
Setting up raspberrypi-kernel-headers (1:1.20211029-1) ...
Preconfiguring packages ...
(Reading database ... 154403 files and directories currently installed.)
Removing openresolv (3.12.0-1) ...
Selecting previously unselected package lighttpd.
(Reading database ... 154385 files and directories currently installed.)
Preparing to unpack .../00-lighttpd_1.4.59-1_armhf.deb ...
Unpacking lighttpd (1.4.59-1) ...
Selecting previously unselected package libbinio1v5:armhf.
Preparing to unpack .../01-libbinio1v5_1.5+dfsg-0.1_armhf.deb ...
Unpacking libbinio1v5:armhf (1.5+dfsg-0.1) ...
Selecting previously unselected package libadplug-2.3.3-0.
Preparing to unpack .../02-libadplug-2.3.3-0_2.3.3+dfsg-2_armhf.deb ...
Unpacking libadplug-2.3.3-0 (2.3.3+dfsg-2) ...
Selecting previously unselected package libao-common.
Preparing to unpack .../03-libao-common_1.2.2+20180113-1.1_all.deb ...
Unpacking libao-common (1.2.2+20180113-1.1) ...
Selecting previously unselected package libao4:armhf.
Preparing to unpack .../04-libao4_1.2.2+20180113-1.1_armhf.deb ...
Unpacking libao4:armhf (1.2.2+20180113-1.1) ...
Selecting previously unselected package libaudiofile1:armhf.
Preparing to unpack .../05-libaudiofile1_0.3.6-5_armhf.deb ...
Unpacking libaudiofile1:armhf (0.3.6-5) ...
Selecting previously unselected package libiso9660-11:armhf.
Preparing to unpack .../06-libiso9660-11_2.1.0-2_armhf.deb ...
Unpacking libiso9660-11:armhf (2.1.0-2) ...
Selecting previously unselected package libmpdclient2:armhf.
Preparing to unpack .../07-libmpdclient2_2.19-1_armhf.deb ...
Unpacking libmpdclient2:armhf (2.19-1) ...
Selecting previously unselected package libsidplayfp5:armhf.
Preparing to unpack .../08-libsidplayfp5_2.0.5-2_armhf.deb ...
Unpacking libsidplayfp5:armhf (2.0.5-2) ...
Selecting previously unselected package liburing1:armhf.
Preparing to unpack .../09-liburing1_0.7-3_armhf.deb ...
Unpacking liburing1:armhf (0.7-3) ...
Selecting previously unselected package libyajl2:armhf.
Preparing to unpack .../10-libyajl2_2.1.0-3_armhf.deb ...
Unpacking libyajl2:armhf (2.1.0-3) ...
Selecting previously unselected package libzzip-0-13:armhf.
Preparing to unpack .../11-libzzip-0-13_0.13.62-3.3_armhf.deb ...
Unpacking libzzip-0-13:armhf (0.13.62-3.3) ...
Selecting previously unselected package mpd.
Preparing to unpack .../12-mpd_0.22.6-1_armhf.deb ...
Unpacking mpd (0.22.6-1) ...
Selecting previously unselected package python3-dnspython.
Preparing to unpack .../13-python3-dnspython_2.0.0-1_all.deb ...
Unpacking python3-dnspython (2.0.0-1) ...
Selecting previously unselected package python3-tdb.
Preparing to unpack .../14-python3-tdb_1.4.3-1+b1_armhf.deb ...
Unpacking python3-tdb (1.4.3-1+b1) ...
Selecting previously unselected package python3-samba.
Preparing to unpack .../15-python3-samba_2%3a4.13.13+dfsg-1~deb11u2_armhf.deb ...
Unpacking python3-samba (2:4.13.13+dfsg-1~deb11u2) ...
Selecting previously unselected package samba-common.
Preparing to unpack .../16-samba-common_2%3a4.13.13+dfsg-1~deb11u2_all.deb ...
Unpacking samba-common (2:4.13.13+dfsg-1~deb11u2) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../17-samba-common-bin_2%3a4.13.13+dfsg-1~deb11u2_armhf.deb ...
Unpacking samba-common-bin (2:4.13.13+dfsg-1~deb11u2) ...
Selecting previously unselected package tdb-tools.
Preparing to unpack .../18-tdb-tools_1.4.3-1+b1_armhf.deb ...
Unpacking tdb-tools (1.4.3-1+b1) ...
Selecting previously unselected package samba.
Preparing to unpack .../19-samba_2%3a4.13.13+dfsg-1~deb11u2_armhf.deb ...
Unpacking samba (2:4.13.13+dfsg-1~deb11u2) ...
Selecting previously unselected package libfl2:armhf.
Preparing to unpack .../20-libfl2_2.6.4-8_armhf.deb ...
Unpacking libfl2:armhf (2.6.4-8) ...
Selecting previously unselected package at.
Preparing to unpack .../21-at_3.1.23-1.1_armhf.deb ...
Unpacking at (3.1.23-1.1) ...
Selecting previously unselected package attr.
Preparing to unpack .../22-attr_1%3a2.4.48-6_armhf.deb ...
Unpacking attr (1:2.4.48-6) ...
Selecting previously unselected package exim4-config.
Preparing to unpack .../23-exim4-config_4.94.2-7_all.deb ...
Unpacking exim4-config (4.94.2-7) ...
Selecting previously unselected package exim4-base.
Preparing to unpack .../24-exim4-base_4.94.2-7_armhf.deb ...
Unpacking exim4-base (4.94.2-7) ...
Selecting previously unselected package libunbound8:armhf.
Preparing to unpack .../25-libunbound8_1.13.1-1_armhf.deb ...
Unpacking libunbound8:armhf (1.13.1-1) ...
Selecting previously unselected package libgnutls-dane0:armhf.
Preparing to unpack .../26-libgnutls-dane0_3.7.1-5_armhf.deb ...
Unpacking libgnutls-dane0:armhf (3.7.1-5) ...
Selecting previously unselected package exim4-daemon-light.
Preparing to unpack .../27-exim4-daemon-light_4.94.2-7_armhf.deb ...
Unpacking exim4-daemon-light (4.94.2-7) ...
Selecting previously unselected package gsasl-common.
Preparing to unpack .../28-gsasl-common_1.10.0-4_all.deb ...
Unpacking gsasl-common (1.10.0-4) ...
Selecting previously unselected package libgc1:armhf.
Preparing to unpack .../29-libgc1_1%3a8.0.4-3_armhf.deb ...
Unpacking libgc1:armhf (1:8.0.4-3) ...
Selecting previously unselected package guile-2.2-libs:armhf.
Preparing to unpack .../30-guile-2.2-libs_2.2.7+1-6_armhf.deb ...
Unpacking guile-2.2-libs:armhf (2.2.7+1-6) ...
Selecting previously unselected package libaudio2:armhf.
Preparing to unpack .../31-libaudio2_1.9.4-7_armhf.deb ...
Unpacking libaudio2:armhf (1.9.4-7) ...
Selecting previously unselected package libcephfs2.
Preparing to unpack .../32-libcephfs2_14.2.21-1+rpi1_armhf.deb ...
Unpacking libcephfs2 (14.2.21-1+rpi1) ...
Selecting previously unselected package libgpgme11:armhf.
Preparing to unpack .../33-libgpgme11_1.14.0-1+b1_armhf.deb ...
Unpacking libgpgme11:armhf (1.14.0-1+b1) ...
Selecting previously unselected package libntlm0:armhf.
Preparing to unpack .../34-libntlm0_1.6-3_armhf.deb ...
Unpacking libntlm0:armhf (1.6-3) ...
Selecting previously unselected package libgsasl7:armhf.
Preparing to unpack .../35-libgsasl7_1.10.0-4_armhf.deb ...
Unpacking libgsasl7:armhf (1.10.0-4) ...
Selecting previously unselected package mailutils-common.
Preparing to unpack .../36-mailutils-common_1%3a3.10-3_all.deb ...
Unpacking mailutils-common (1:3.10-3) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../37-mysql-common_5.8+1.0.7_all.deb ...
Unpacking mysql-common (5.8+1.0.7) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../38-mariadb-common_1%3a10.5.12-0+deb11u1_all.deb ...
Unpacking mariadb-common (1:10.5.12-0+deb11u1) ...
Selecting previously unselected package libmariadb3:armhf.
Preparing to unpack .../39-libmariadb3_1%3a10.5.12-0+deb11u1_armhf.deb ...
Unpacking libmariadb3:armhf (1:10.5.12-0+deb11u1) ...
Selecting previously unselected package libmailutils7:armhf.
Preparing to unpack .../40-libmailutils7_1%3a3.10-3+b1_armhf.deb ...
Unpacking libmailutils7:armhf (1:3.10-3+b1) ...
Selecting previously unselected package libout123-0:armhf.
Preparing to unpack .../41-libout123-0_1.26.4-1_armhf.deb ...
Unpacking libout123-0:armhf (1.26.4-1) ...
Selecting previously unselected package libportaudio2:armhf.
Preparing to unpack .../42-libportaudio2_19.6.0-1.1_armhf.deb ...
Unpacking libportaudio2:armhf (19.6.0-1.1) ...
Selecting previously unselected package libsyn123-0:armhf.
Preparing to unpack .../43-libsyn123-0_1.26.4-1_armhf.deb ...
Unpacking libsyn123-0:armhf (1.26.4-1) ...
Selecting previously unselected package lighttpd-mod-deflate.
Preparing to unpack .../44-lighttpd-mod-deflate_1.4.59-1_armhf.deb ...
Unpacking lighttpd-mod-deflate (1.4.59-1) ...
Selecting previously unselected package lighttpd-mod-openssl.
Preparing to unpack .../45-lighttpd-mod-openssl_1.4.59-1_armhf.deb ...
Unpacking lighttpd-mod-openssl (1.4.59-1) ...
Selecting previously unselected package mailutils.
Preparing to unpack .../46-mailutils_1%3a3.10-3+b1_armhf.deb ...
Unpacking mailutils (1:3.10-3+b1) ...
Selecting previously unselected package mpc.
Preparing to unpack .../47-mpc_0.33-1_armhf.deb ...
Unpacking mpc (0.33-1) ...
Selecting previously unselected package mpg123.
Preparing to unpack .../48-mpg123_1.26.4-1_armhf.deb ...
Unpacking mpg123 (1.26.4-1) ...
Selecting previously unselected package netcat.
Preparing to unpack .../49-netcat_1.10-46_all.deb ...
Unpacking netcat (1.10-46) ...
Selecting previously unselected package php-common.
Preparing to unpack .../50-php-common_2%3a76_all.deb ...
Unpacking php-common (2:76) ...
Selecting previously unselected package php7.4-common.
Preparing to unpack .../51-php7.4-common_7.4.25-1+deb11u1_armhf.deb ...
Unpacking php7.4-common (7.4.25-1+deb11u1) ...
Selecting previously unselected package php7.4-json.
Preparing to unpack .../52-php7.4-json_7.4.25-1+deb11u1_armhf.deb ...
Unpacking php7.4-json (7.4.25-1+deb11u1) ...
Selecting previously unselected package php7.4-opcache.
Preparing to unpack .../53-php7.4-opcache_7.4.25-1+deb11u1_armhf.deb ...
Unpacking php7.4-opcache (7.4.25-1+deb11u1) ...
Selecting previously unselected package php7.4-readline.
Preparing to unpack .../54-php7.4-readline_7.4.25-1+deb11u1_armhf.deb ...
Unpacking php7.4-readline (7.4.25-1+deb11u1) ...
Selecting previously unselected package php7.4-cli.
Preparing to unpack .../55-php7.4-cli_7.4.25-1+deb11u1_armhf.deb ...
Unpacking php7.4-cli (7.4.25-1+deb11u1) ...
Selecting previously unselected package php7.4-cgi.
Preparing to unpack .../56-php7.4-cgi_7.4.25-1+deb11u1_armhf.deb ...
Unpacking php7.4-cgi (7.4.25-1+deb11u1) ...
Selecting previously unselected package php7.4.
Preparing to unpack .../57-php7.4_7.4.25-1+deb11u1_all.deb ...
Unpacking php7.4 (7.4.25-1+deb11u1) ...
Selecting previously unselected package php.
Preparing to unpack .../58-php_2%3a7.4+76_all.deb ...
Unpacking php (2:7.4+76) ...
Selecting previously unselected package php-cgi.
Preparing to unpack .../59-php-cgi_2%3a7.4+76_all.deb ...
Unpacking php-cgi (2:7.4+76) ...
Selecting previously unselected package python3-gpg.
Preparing to unpack .../60-python3-gpg_1.14.0-1+b1_armhf.deb ...
Unpacking python3-gpg (1.14.0-1+b1) ...
Selecting previously unselected package python3-markdown.
Preparing to unpack .../61-python3-markdown_3.3.4-1_all.deb ...
Unpacking python3-markdown (3.3.4-1) ...
Selecting previously unselected package python3-requests-toolbelt.
Preparing to unpack .../62-python3-requests-toolbelt_0.9.1-1_all.deb ...
Unpacking python3-requests-toolbelt (0.9.1-1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../63-python3-yaml_5.3.1-5_armhf.deb ...
Unpacking python3-yaml (5.3.1-5) ...
Selecting previously unselected package resolvconf.
Preparing to unpack .../64-resolvconf_1.87_all.deb ...
Unpacking resolvconf (1.87) ...
Selecting previously unselected package samba-dsdb-modules:armhf.
Preparing to unpack .../65-samba-dsdb-modules_2%3a4.13.13+dfsg-1~deb11u2_armhf.deb ...
Unpacking samba-dsdb-modules:armhf (2:4.13.13+dfsg-1~deb11u2) ...
Selecting previously unselected package samba-vfs-modules:armhf.
Preparing to unpack .../66-samba-vfs-modules_2%3a4.13.13+dfsg-1~deb11u2_armhf.deb ...
Unpacking samba-vfs-modules:armhf (2:4.13.13+dfsg-1~deb11u2) ...
Selecting previously unselected package spi-tools.
Preparing to unpack .../67-spi-tools_0.8.4-1_armhf.deb ...
Unpacking spi-tools (0.8.4-1) ...
Selecting previously unselected package spawn-fcgi.
Preparing to unpack .../68-spawn-fcgi_1.6.4-2_armhf.deb ...
Unpacking spawn-fcgi (1.6.4-2) ...
Setting up lighttpd (1.4.59-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/lighttpd.service → /lib/systemd/system/lighttpd.service.
Setting up libaudiofile1:armhf (0.3.6-5) ...
Setting up php-common (2:76) ...
Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
Setting up libportaudio2:armhf (19.6.0-1.1) ...
Setting up mysql-common (5.8+1.0.7) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up lighttpd-mod-openssl (1.4.59-1) ...
Setting up libbinio1v5:armhf (1.5+dfsg-0.1) ...
Setting up python3-requests-toolbelt (0.9.1-1) ...
Setting up php7.4-common (7.4.25-1+deb11u1) ...

Creating config file /etc/php/7.4/mods-available/calendar.ini with new version

Creating config file /etc/php/7.4/mods-available/ctype.ini with new version

Creating config file /etc/php/7.4/mods-available/exif.ini with new version

Creating config file /etc/php/7.4/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.4/mods-available/ffi.ini with new version

Creating config file /etc/php/7.4/mods-available/ftp.ini with new version

Creating config file /etc/php/7.4/mods-available/gettext.ini with new version

Creating config file /etc/php/7.4/mods-available/iconv.ini with new version

Creating config file /etc/php/7.4/mods-available/pdo.ini with new version

Creating config file /etc/php/7.4/mods-available/phar.ini with new version

Creating config file /etc/php/7.4/mods-available/posix.ini with new version

Creating config file /etc/php/7.4/mods-available/shmop.ini with new version

Creating config file /etc/php/7.4/mods-available/sockets.ini with new version

Creating config file /etc/php/7.4/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.4/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.4/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.4/mods-available/tokenizer.ini with new version
Setting up libiso9660-11:armhf (2.1.0-2) ...
Setting up attr (1:2.4.48-6) ...
Setting up libyajl2:armhf (2.1.0-3) ...
Setting up php7.4-readline (7.4.25-1+deb11u1) ...

Creating config file /etc/php/7.4/mods-available/readline.ini with new version
Setting up python3-yaml (5.3.1-5) ...
Setting up netcat (1.10-46) ...
Setting up libzzip-0-13:armhf (0.13.62-3.3) ...
Setting up resolvconf (1.87) ...
Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolvconf ...
Installing new version of config file /etc/network/if-down.d/resolvconf ...
Installing new version of config file /etc/network/if-up.d/000resolvconf ...
Installing new version of config file /etc/ppp/ip-down.d/000resolvconf ...
Installing new version of config file /etc/ppp/ip-up.d/000resolvconf ...
Created symlink /etc/systemd/system/sysinit.target.wants/resolvconf.service → /lib/systemd/system/resolvconf.service.
Created symlink /etc/systemd/system/systemd-resolved.service.wants/resolvconf-pull-resolved.path → /lib/systemd/system/resolvconf-pull-resolved.path.
Created symlink /etc/systemd/system/systemd-resolved.service.wants/resolvconf-pull-resolved.service → /lib/systemd/system/resolvconf-pull-resolved.service.
Setting up samba-common (2:4.13.13+dfsg-1~deb11u2) ...

Creating config file /etc/samba/smb.conf with new version
Setting up libsidplayfp5:armhf (2.0.5-2) ...
Setting up libgpgme11:armhf (1.14.0-1+b1) ...
Setting up libcephfs2 (14.2.21-1+rpi1) ...
Setting up libout123-0:armhf (1.26.4-1) ...
Setting up libao-common (1.2.2+20180113-1.1) ...
Setting up libsyn123-0:armhf (1.26.4-1) ...
Setting up mariadb-common (1:10.5.12-0+deb11u1) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up python3-tdb (1.4.3-1+b1) ...
Setting up libunbound8:armhf (1.13.1-1) ...
Setting up python3-gpg (1.14.0-1+b1) ...
Setting up libntlm0:armhf (1.6-3) ...
Setting up spi-tools (0.8.4-1) ...
Setting up tdb-tools (1.4.3-1+b1) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode
Setting up python3-markdown (3.3.4-1) ...
Setting up mailutils-common (1:3.10-3) ...
Setting up libmariadb3:armhf (1:10.5.12-0+deb11u1) ...
Setting up libfl2:armhf (2.6.4-8) ...
Setting up libaudio2:armhf (1.9.4-7) ...
Setting up libmpdclient2:armhf (2.19-1) ...
Setting up libgc1:armhf (1:8.0.4-3) ...
Setting up liburing1:armhf (0.7-3) ...
Setting up libao4:armhf (1.2.2+20180113-1.1) ...
Setting up exim4-config (4.94.2-7) ...
Adding system-user for exim (v4)
Setting up python3-dnspython (2.0.0-1) ...
Setting up php7.4-opcache (7.4.25-1+deb11u1) ...

Creating config file /etc/php/7.4/mods-available/opcache.ini with new version
Setting up gsasl-common (1.10.0-4) ...
Setting up spawn-fcgi (1.6.4-2) ...
Setting up samba-dsdb-modules:armhf (2:4.13.13+dfsg-1~deb11u2) ...
Setting up libadplug-2.3.3-0 (2.3.3+dfsg-2) ...
Setting up guile-2.2-libs:armhf (2.2.7+1-6) ...
Setting up python3-samba (2:4.13.13+dfsg-1~deb11u2) ...
Setting up lighttpd-mod-deflate (1.4.59-1) ...
Setting up libgnutls-dane0:armhf (3.7.1-5) ...
Setting up php7.4-json (7.4.25-1+deb11u1) ...

Creating config file /etc/php/7.4/mods-available/json.ini with new version
Setting up exim4-base (4.94.2-7) ...
exim: DB upgrade, deleting hints-db
Created symlink /etc/systemd/system/timers.target.wants/exim4-base.timer → /lib/systemd/system/exim4-base.timer.
exim4-base.service is a disabled or a static unit, not starting it.
Setting up at (3.1.23-1.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/atd.service → /lib/systemd/system/atd.service.
Setting up samba-vfs-modules:armhf (2:4.13.13+dfsg-1~deb11u2) ...
Setting up libgsasl7:armhf (1.10.0-4) ...
Setting up php7.4-cli (7.4.25-1+deb11u1) ...
update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.4/cli/php.ini with new version
Setting up mpg123 (1.26.4-1) ...
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mpg123 (mpg123) in auto mode
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mp3-decoder (mp3-decoder) in auto mode
Setting up mpc (0.33-1) ...
Setting up mpd (0.22.6-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/mpd.service → /lib/systemd/system/mpd.service.
Created symlink /etc/systemd/system/sockets.target.wants/mpd.socket → /lib/systemd/system/mpd.socket.
Job failed. See "journalctl -xe" for details.
Setting up samba-common-bin (2:4.13.13+dfsg-1~deb11u2) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

Done
Setting up exim4-daemon-light (4.94.2-7) ...
Setting up samba (2:4.13.13+dfsg-1~deb11u2) ...
Adding group `sambashare' (GID 125) ...
Done.
Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
Please ignore the following error about deb-systemd-helper not finding those services.
(samba-ad-dc.service masked)
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
samba-ad-dc.service is a disabled or a static unit, not starting it.
Setting up libmailutils7:armhf (1:3.10-3+b1) ...
Setting up php7.4-cgi (7.4.25-1+deb11u1) ...
update-alternatives: using /usr/bin/php-cgi7.4 to provide /usr/bin/php-cgi (php-cgi) in auto mode
update-alternatives: using /usr/lib/cgi-bin/php7.4 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode

Creating config file /etc/php/7.4/cgi/php.ini with new version
Setting up php7.4 (7.4.25-1+deb11u1) ...
Setting up php-cgi (2:7.4+76) ...
update-alternatives: using /usr/bin/php-cgi.default to provide /usr/bin/php-cgi (php-cgi) in auto mode
update-alternatives: using /usr/lib/cgi-bin/php.default to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode
Setting up php (2:7.4+76) ...
Setting up mailutils (1:3.10-3+b1) ...
update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode
update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode
update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode
update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode
update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode
update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode
update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode
Processing triggers for libc-bin (2.31-13+rpt2+rpi1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for resolvconf (1.87) ...
Processing triggers for php7.4-cli (7.4.25-1+deb11u1) ...
Processing triggers for php7.4-cgi (7.4.25-1+deb11u1) ...
Selecting previously unselected package python3-mutagen.
(Reading database ... 157244 files and directories currently installed.)
Preparing to unpack .../python3-mutagen_1.45.1-2_all.deb ...
Unpacking python3-mutagen (1.45.1-2) ...
Setting up python3-mutagen (1.45.1-2) ...
Processing triggers for man-db (2.9.4-2) ...
update-alternatives: using /usr/bin/python3 to provide /usr/bin/python (python) in auto mode
Cloning into 'RPi-Jukebox-RFID'...
Installing additional Python packages...
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/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-ub_fhprt
       cwd: /tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/
  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/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/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/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/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/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/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/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/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-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:42: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:35: multiple definition of `board'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:33: multiple definition of `spi'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:32: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:31: multiple definition of `serial'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:31: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:30: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:29: multiple definition of `output'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:29: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:28: multiple definition of `input'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:28: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:27: multiple definition of `low'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:27: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:26: multiple definition of `high'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:26: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/py_pwm.h:23: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/soft_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/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
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/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-2mq_ydoz/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/RPi.GPIO
         cwd: /tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/
    Complete output (87 lines):
    running install
    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/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/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/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/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/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/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/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/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-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:42: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:35: multiple definition of `board'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:33: multiple definition of `spi'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:32: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:31: multiple definition of `serial'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:31: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:30: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:29: multiple definition of `output'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:29: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:28: multiple definition of `input'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:28: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:27: multiple definition of `low'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:27: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:26: multiple definition of `high'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/constants.h:26: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/py_pwm.h:23: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/common.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/soft_pwm.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/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: Can't roll back RPi.GPIO; was not uninstalled
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cj4wg0oi/rpi-gpio_c2e07e587667426d8682d4bc8e4a956f/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-2mq_ydoz/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/RPi.GPIO Check the logs for full command output.
Configuring Samba...
Added user pi.
Configuring web server...
cp: cannot create regular file '/etc/php/7.3/cgi/php.ini': No such file or directory
chown: cannot access '/etc/php/7.3/cgi/php.ini': No such file or directory
chmod: cannot access '/etc/php/7.3/cgi/php.ini': No such file or directory
Enabling fastcgi: ok
Run "service lighttpd force-reload" to enable changes
Enabling fastcgi-php: ok
Run "service lighttpd force-reload" to enable changes
### Deleting older versions of service daemons. This might throw errors, ignore them
Failed to disable unit: Unit file idle-watchdog.service does not exist.
Failed to disable unit: Unit file rfid-reader.service does not exist.
Failed to disable unit: Unit file phoniebox-startup-sound.service does not exist.
Failed to disable unit: Unit file gpio-buttons.service does not exist.
Failed to disable unit: Unit file phoniebox-rotary-encoder.service does not exist.
Failed to disable unit: Unit file phoniebox-gpio-buttons.service does not exist.
rm: cannot remove '/etc/systemd/system/rfid-reader.service': No such file or directory
rm: cannot remove '/etc/systemd/system/startup-sound.service': No such file or directory
rm: cannot remove '/etc/systemd/system/gpio-buttons.service': No such file or directory
rm: cannot remove '/etc/systemd/system/idle-watchdog.service': No such file or directory
rm: cannot remove '/etc/systemd/system/phoniebox-rotary-encoder.service': No such file or directory
rm: cannot remove '/etc/systemd/system/phoniebox-gpio-buttons.service': No such file or directory
### Done with erasing old daemons. Stop ignoring errors!
Created symlink /etc/systemd/system/multi-user.target.wants/phoniebox-idle-watchdog.service → /etc/systemd/system/phoniebox-idle-watchdog.service.
Created symlink /etc/systemd/system/multi-user.target.wants/phoniebox-rfid-reader.service → /etc/systemd/system/phoniebox-rfid-reader.service.
Created symlink /etc/systemd/system/multi-user.target.wants/phoniebox-startup-scripts.service → /etc/systemd/system/phoniebox-startup-scripts.service.
Created symlink /etc/systemd/system/multi-user.target.wants/phoniebox-gpio-control.service → /etc/systemd/system/phoniebox-gpio-control.service.
Configuring MPD...
volume: n/a   repeat: off   random: off   single: off   consume: off
Setting /etc/dhcpcd.conf...
Setting /etc/wpa_supplicant/wpa_supplicant.conf...
Starting dhcpcd service...
Synchronizing state of dhcpcd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable dhcpcd
Setting owner and permissions for directories...
numid=1,iface=MIXER,name='Headphone Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=-10239,max=400,step=0
  : values=400
  | dBscale-min=-102.39dB,step=0.01dB,mute=1

#
# INSTALLATION FINISHED
#
#####################################################

If you are using an RFID reader, connect it to your RPi.
(In case your RFID reader required soldering, consult the manual.)
Have you connected your RFID reader? [Y/n] y
Please select the RFID reader you want to use
1) USB-Reader (e.g. Neuftech)
2) RC522
3) PN532
4) Manual configuration
5) Multiple RFID reader
#? 2
Please make sure that the RC522 reader is wired up correctly to the GPIO ports before continuing...
Continue (y/n)? y
Installing Python requirements for RC522...
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/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-1t8f_wkg
       cwd: /tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/
  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/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/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/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/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/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/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/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/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-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:42: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:35: multiple definition of `board'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:33: multiple definition of `spi'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:32: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:31: multiple definition of `serial'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:31: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:30: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:29: multiple definition of `output'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:29: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:28: multiple definition of `input'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:28: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:27: multiple definition of `low'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:27: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:26: multiple definition of `high'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:26: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/py_pwm.h:23: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: first defined here
  /usr/bin/ld: build/temp.linux-armv7l-3.9/source/soft_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/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
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/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-bb6dax4d/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/RPi.GPIO
         cwd: /tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/
    Complete output (87 lines):
    running install
    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/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/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/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/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/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/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/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/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-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:42: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:35: multiple definition of `board'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:33: multiple definition of `spi'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:32: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:31: multiple definition of `serial'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:31: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:30: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:29: multiple definition of `output'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:29: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:28: multiple definition of `input'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:28: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:27: multiple definition of `low'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:27: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:26: multiple definition of `high'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/constants.h:26: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:38: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/py_pwm.h:23: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:41: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:40: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:39: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:37: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:36: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:35: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:34: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/common.h:33: first defined here
    /usr/bin/ld: build/temp.linux-armv7l-3.9/source/soft_pwm.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/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: Can't roll back RPi.GPIO; was not uninstalled
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tmfetpvu/rpi-gpio_4b6086beb7fb4ff48ad1b8792e17140f/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-bb6dax4d/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/RPi.GPIO Check the logs for full command output.
Activating SPI...
Configure RFID reader in Phoniebox...
Restarting phoniebox-rfid-reader service...
Done.

DONE. Let the sounds begin.
Find more information and documentation on the github account:
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/
Reboot is needed to activate all settings
WWould you like to reboot now? [Y/n] y
Connection to 192.168.2.108 closed by remote host.
Connection to 192.168.2.108 closed.

I did the reboot and a new SSH connection. Reader was not working in the Web Interface and i could not add cards. (yes it was activated in the web interface settings) So i followed these steps Readme.md

Last login: Wed Nov 17 05:58:15 2021 from 192.168.2.109
pi@raspberrypi:~ $ sudo python3 -m pip install -q -r /home/pi/RPi-Jukebox-RFID/components/rfid-reader/RC522/requirements.txt
pi@raspberrypi:~ $ cd /home/pi/RPi-Jukebox-RFID//scripts
pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ cp Reader.py.experimental Reader.py
pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ python3 RegisterDevice.py
Traceback (most recent call last):
  File "/home/pi/RPi-Jukebox-RFID/scripts/RegisterDevice.py", line 4, in <module>
    from Reader import get_devices
  File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
    from evdev import InputDevice, categorize, ecodes, list_devices
ModuleNotFoundError: No module named 'evdev'
pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $

I expected this to happen

I expected the installation to run smoothly when the reader is wired up correctly

Further information that might help

tail -n 500 /var/log/syslog
Nov 17 05:56:44 raspberrypi systemd[1]: Starting OpenBSD Secure Shell server...
Nov 17 05:56:44 raspberrypi systemd[1]: Starting Permit User Sessions...
Nov 17 05:56:44 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:56:44 raspberrypi systemd[1]: e2scrub_reap.service: Succeeded.
Nov 17 05:56:44 raspberrypi kernel: [    7.903556] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
Nov 17 05:56:44 raspberrypi systemd[1]: Finished Remove Stale Online ext4 Metadata Check Snapshots.
Nov 17 05:56:44 raspberrypi systemd[1]: Started /etc/rc.local Compatibility.
Nov 17 05:56:44 raspberrypi avahi-daemon[367]: Server startup complete. Host name is raspberrypi.local. Local service cookie is 3895234212.
Nov 17 05:56:44 raspberrypi kernel: [    7.931646] Registered IR keymap rc-cec
Nov 17 05:56:44 raspberrypi kernel: [    7.931857] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
Nov 17 05:56:44 raspberrypi kernel: [    7.932082] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input4
Nov 17 05:56:44 raspberrypi raspi-config[383]: Checking if shift key is held down:
Nov 17 05:56:44 raspberrypi raspi-config[527]: Error opening '/dev/input/event*': No such file or directory
Nov 17 05:56:44 raspberrypi raspi-config[383]:  No. Switching to ondemand scaling governor.
Nov 17 05:56:44 raspberrypi kernel: [    7.962946] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
Nov 17 05:56:44 raspberrypi systemd[1]: Started LSB: Switch to ondemand cpu governor (unless shift key is pressed).
Nov 17 05:56:44 raspberrypi systemd[1]: Finished Permit User Sessions.
Nov 17 05:56:44 raspberrypi kernel: [    7.972027] Registered IR keymap rc-cec
Nov 17 05:56:44 raspberrypi kernel: [    7.972122] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
Nov 17 05:56:44 raspberrypi kernel: [    7.972213] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input5
Nov 17 05:56:44 raspberrypi systemd-udevd[187]: Using default interface naming scheme 'v247'.
Nov 17 05:56:44 raspberrypi kernel: [    7.978292] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
Nov 17 05:56:44 raspberrypi kernel: [    7.978476] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
Nov 17 05:56:44 raspberrypi kernel: [    7.978604] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
Nov 17 05:56:44 raspberrypi kernel: [    7.978712] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
Nov 17 05:56:44 raspberrypi kernel: [    7.978832] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
Nov 17 05:56:44 raspberrypi kernel: [    7.978917] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
Nov 17 05:56:44 raspberrypi kernel: [    7.979021] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
Nov 17 05:56:44 raspberrypi kernel: [    8.002092] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
Nov 17 05:56:44 raspberrypi rngd[549]: rngd 2.2 starting up...
Nov 17 05:56:44 raspberrypi systemd[1]: Started LSB: rng-tools (Debian variant).
Nov 17 05:56:44 raspberrypi systemd[1]: Started User Login Management.
Nov 17 05:56:44 raspberrypi systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Nov 17 05:56:44 raspberrypi systemd[1]: Starting Light Display Manager...
Nov 17 05:56:44 raspberrypi systemd[1]: Starting Hold until boot process finishes up...
Nov 17 05:56:44 raspberrypi systemd[1]: Starting Authorization Manager...
Nov 17 05:56:44 raspberrypi rngd[549]: entropy feed to the kernel ready
Nov 17 05:56:44 raspberrypi systemd[1]: Starting Load/Save RF Kill Switch Status...
Nov 17 05:56:44 raspberrypi kernel: [    8.120167] Console: switching to colour frame buffer device 240x67
Nov 17 05:56:44 raspberrypi kernel: [    8.120198] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
Nov 17 05:56:44 raspberrypi systemd[1]: Started Load/Save RF Kill Switch Status.
Nov 17 05:56:44 raspberrypi dhcpcd-run-hooks[600]: wlan0: starting wpa_supplicant
Nov 17 05:56:44 raspberrypi lightdm[560]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Nov 17 05:56:44 raspberrypi kernel: [    8.380063] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
Nov 17 05:56:45 raspberrypi polkitd[562]: started daemon version 0.105 using authority implementation `local' version `0.105'
Nov 17 05:56:45 raspberrypi dbus-daemon[369]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Nov 17 05:56:45 raspberrypi systemd[1]: Started Authorization Manager.
Nov 17 05:56:45 raspberrypi systemd-udevd[178]: event1: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Nov 17 05:56:45 raspberrypi systemd[1]: Received SIGRTMIN+21 from PID 177 (plymouthd).
Nov 17 05:56:45 raspberrypi systemd[1]: Started CUPS Scheduler.
Nov 17 05:56:45 raspberrypi systemd[1]: Started Make remote CUPS printers available locally.
Nov 17 05:56:45 raspberrypi systemd[1]: Received SIGRTMIN+21 from PID 177 (plymouthd).
Nov 17 05:56:45 raspberrypi systemd[1]: Finished Hold until boot process finishes up.
Nov 17 05:56:45 raspberrypi systemd[1]: Started Getty on tty1.
Nov 17 05:56:45 raspberrypi systemd[1]: Reached target Login Prompts.
Nov 17 05:56:45 raspberrypi dhcpcd[421]: wlan0: connected to Access Point `'
Nov 17 05:56:45 raspberrypi systemd[1]: Started Light Display Manager.
Nov 17 05:56:45 raspberrypi dhcpcd[421]: wlan0: waiting for carrier
Nov 17 05:56:45 raspberrypi systemd[1]: Started OpenBSD Secure Shell server.
Nov 17 05:56:45 raspberrypi systemd[1]: Condition check resulted in Manage Sound Card State (restore and store) being skipped.
Nov 17 05:56:45 raspberrypi systemd[1]: Starting Save/Restore Sound Card State...
Nov 17 05:56:45 raspberrypi systemd[1]: Finished Save/Restore Sound Card State.
Nov 17 05:56:45 raspberrypi systemd[1]: Reached target Sound Card.
Nov 17 05:56:45 raspberrypi systemd[1]: Started Disk Manager.
Nov 17 05:56:45 raspberrypi udisksd[420]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Nov 17 05:56:45 raspberrypi systemd-udevd[180]: event0: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Nov 17 05:56:45 raspberrypi lighttpd[488]: 2021-11-17 05:56:44: configfile.c.461) Warning: "mod_compress" is DEPRECATED and has been replaced with "mod_deflate".  A future release of lighttpd 1.4.x will not contain mod_compress and lighttpd may fail to start up
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]: BOOTLOADER: up to date
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:    CURRENT: Thu 29 Apr 16:11:25 UTC 2021 (1619712685)
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:     LATEST: Thu 29 Apr 16:11:25 UTC 2021 (1619712685)
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:    RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:             Use raspi-config to change the release.
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:   VL805_FW: Using bootloader EEPROM
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:      VL805: up to date
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:    CURRENT: 000138a1
Nov 17 05:56:45 raspberrypi rpi-eeprom-update[396]:     LATEST: 000138a1
Nov 17 05:56:45 raspberrypi systemd[1]: Finished Check for Raspberry Pi EEPROM updates.
Nov 17 05:56:45 raspberrypi lighttpd[488]: 2021-11-17 05:56:44: mod_deflate.c.567) DEPRECATED: compress.filetype replaced with deflate.mimetypes
Nov 17 05:56:45 raspberrypi lighttpd[488]: 2021-11-17 05:56:44: mod_deflate.c.580) DEPRECATED: compress.cache-dir replaced with deflate.cache-dir
Nov 17 05:56:45 raspberrypi systemd[1]: Started Lighttpd Daemon.
Nov 17 05:56:46 raspberrypi exim4[485]: Starting MTA: exim4.
Nov 17 05:56:46 raspberrypi systemd[1]: Started LSB: exim Mail Transport Agent.
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[512]: Traceback (most recent call last):
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[512]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[512]:     from Reader import Reader
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[512]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[512]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[512]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:GPIO Started
Nov 17 05:56:46 raspberrypi lighttpd[888]: 2021-11-17 05:56:45: configfile.c.461) Warning: "mod_compress" is DEPRECATED and has been replaced with "mod_deflate".  A future release of lighttpd 1.4.x will not contain mod_compress and lighttpd may fail to start up
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:['VolumeControl', 'PrevNextControl', 'PlayPause', 'Shutdown', 'Volume0', 'VolumeUp', 'VolumeDown', 'NextSong', 'PrevSong', 'Halt']
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:adding GPIO-Device, VolumeControl
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:adding TwoButtonControl
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.two_button_control:adding new action
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:{}: set when_pressed
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:add new action
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 1.
Nov 17 05:56:46 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:56:46 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:{}: set when_pressed
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:add new action
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:adding GPIO-Device, PrevNextControl
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:adding TwoButtonControl
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.two_button_control:adding new action
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:{}: set when_pressed
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:add new action
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:{}: set when_pressed
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:GPIODevices.simple_button:add new action
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:adding GPIO-Device, PlayPause
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[915]: Traceback (most recent call last):
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[915]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[915]:     from Reader import Reader
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[915]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[915]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[915]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Device Shutdown not enabled
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Device Volume0 not enabled
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Device VolumeUp not enabled
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Device VolumeDown not enabled
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Device NextSong not enabled
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Device PrevSong not enabled
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Device Halt not enabled
Nov 17 05:56:46 raspberrypi PhonieboxGPIOControl[500]: INFO:__main__:Ready for taking actions
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 2.
Nov 17 05:56:46 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:56:46 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[960]: Traceback (most recent call last):
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[960]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[960]:     from Reader import Reader
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[960]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[960]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:56:46 raspberrypi daemon_rfid_reader.py[960]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:56:46 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:56:47 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 3.
Nov 17 05:56:47 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:56:47 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[965]: Traceback (most recent call last):
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[965]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[965]:     from Reader import Reader
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[965]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[965]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[965]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:56:47 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:56:47 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:56:47 raspberrypi mpd: exception: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
Nov 17 05:56:47 raspberrypi mpd: zeroconf: No global port, disabling zeroconf
Nov 17 05:56:47 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 4.
Nov 17 05:56:47 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:56:47 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:56:47 raspberrypi systemd[1]: Started Music Player Daemon.
Nov 17 05:56:47 raspberrypi systemd[1]: Starting Phoniebox Startup...
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[970]: Traceback (most recent call last):
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[970]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[970]:     from Reader import Reader
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[970]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[970]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:56:47 raspberrypi daemon_rfid_reader.py[970]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:56:47 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:56:47 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:56:48 raspberrypi bash[1070]: rm: cannot remove '/home/pi/RPi-Jukebox-RFID/scripts/../settings/global.conf': No such file or directory
Nov 17 05:56:48 raspberrypi bash[971]: Phoniebox is starting...
Nov 17 05:56:48 raspberrypi bash[1075]: 2.3
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOFOLDERSPATH="/home/pi/RPi-Jukebox-RFID/shared/audiofolders"
Nov 17 05:56:48 raspberrypi bash[1076]: PLAYLISTSFOLDERPATH="/home/pi/RPi-Jukebox-RFID/playlists"
Nov 17 05:56:48 raspberrypi bash[1076]: SWIPEORPLACE="SWIPENOTPLACE"
Nov 17 05:56:48 raspberrypi bash[1076]: SECONDSWIPE="RESTART"
Nov 17 05:56:48 raspberrypi bash[1076]: SECONDSWIPEPAUSE="2"
Nov 17 05:56:48 raspberrypi bash[1076]: SECONDSWIPEPAUSECONTROLS="ON"
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOIFACENAME="Headphone"
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOIFACEACTIVE="0"
Nov 17 05:56:48 raspberrypi bash[1076]: VOLUMEMANAGER="mpd"
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOVOLCHANGESTEP="3"
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOVOLMAXLIMIT="100"
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOVOLMINLIMIT="1"
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOVOLSTARTUP="0"
Nov 17 05:56:48 raspberrypi bash[1076]: AUDIOVOLBOOT="30"
Nov 17 05:56:48 raspberrypi bash[1076]: VOLCHANGEIDLE="TRUE"
Nov 17 05:56:48 raspberrypi bash[1076]: IDLETIMESHUTDOWN="0"
Nov 17 05:56:48 raspberrypi bash[1076]: POWEROFFCMD="sudo poweroff"
Nov 17 05:56:48 raspberrypi bash[1076]: SHOWCOVER="ON"
Nov 17 05:56:48 raspberrypi bash[1076]: READWLANIPYN="OFF"
Nov 17 05:56:48 raspberrypi bash[1076]: EDITION="classic"
Nov 17 05:56:48 raspberrypi bash[1076]: LANG="en-UK"
Nov 17 05:56:48 raspberrypi bash[1076]: VERSION="2.3 - 2425890 - master"
Nov 17 05:56:48 raspberrypi bash[1076]: CHAPTEREXTENSIONS="mp4,m4a,m4b,m4r"
Nov 17 05:56:48 raspberrypi bash[1076]: CHAPTERMINDURATION="600"
Nov 17 05:56:48 raspberrypi bash[1076]: CMDVOLUP=""
Nov 17 05:56:48 raspberrypi bash[1076]: CMDVOLDOWN=""
Nov 17 05:56:48 raspberrypi bash[1076]: CMDNEXT=""
Nov 17 05:56:48 raspberrypi bash[1076]: CMDPREV=""
Nov 17 05:56:48 raspberrypi bash[1076]: CMDREWIND=""
Nov 17 05:56:48 raspberrypi bash[1076]: CMDSEEKFORW=""
Nov 17 05:56:48 raspberrypi bash[1076]: CMDSEEKBACK=""
Nov 17 05:56:48 raspberrypi bash[971]: 0 is the mpd startup volume
Nov 17 05:56:48 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 5.
Nov 17 05:56:48 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:56:48 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Start request repeated too quickly.
Nov 17 05:56:48 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:56:48 raspberrypi systemd[1]: Failed to start Phoniebox RFID-Reader Service.
Nov 17 05:56:48 raspberrypi bash[1119]: OK MPD 0.22.4
Nov 17 05:56:48 raspberrypi bash[1119]: OK
Nov 17 05:56:48 raspberrypi bash[971]: 9830 is the mpg123 startup volume
Nov 17 05:56:48 raspberrypi bash[1150]: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
Nov 17 05:56:48 raspberrypi bash[1150]: #011version 1.26.4; written and copyright by Michael Hipp and others
Nov 17 05:56:48 raspberrypi bash[1150]: #011free software (LGPL) without any warranty but with best wishes
Nov 17 05:56:48 raspberrypi bash[1150]: Directory: /home/pi/RPi-Jukebox-RFID/shared/
Nov 17 05:56:48 raspberrypi bash[1150]: Playing MPEG stream 1 of 1: startupsound.mp3 ...
Nov 17 05:56:48 raspberrypi bash[1150]: MPEG 1.0 L III cbr64 44100 j-s
Nov 17 05:56:48 raspberrypi bash[1150]: #011Title:
Nov 17 05:56:48 raspberrypi bash[1150]: #011Artist:  Phoniebox
Nov 17 05:56:48 raspberrypi bash[1150]: #011Album:
Nov 17 05:56:48 raspberrypi bash[1150]: #011Year:
Nov 17 05:56:48 raspberrypi bash[1150]: #011Genre:
Nov 17 05:56:48 raspberrypi bash[1150]: #011Comment:
Nov 17 05:56:49 raspberrypi lightdm[1158]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Nov 17 05:56:49 raspberrypi systemd[1]: Created slice User Slice of UID 1000.
Nov 17 05:56:49 raspberrypi systemd[1]: Starting User Runtime Directory /run/user/1000...
Nov 17 05:56:49 raspberrypi systemd[1]: Finished User Runtime Directory /run/user/1000.
Nov 17 05:56:49 raspberrypi systemd[1]: Starting User Manager for UID 1000...
Nov 17 05:56:49 raspberrypi systemd[1168]: gpgconf: error running '/usr/lib/gnupg/scdaemon': probably not installed
Nov 17 05:56:49 raspberrypi systemd-xdg-autostart-generator[1181]: Configuration file /etc/xdg/autostart/pprompt.desktop is marked executable. Please remove executable permission bits. Proceeding anyway.
Nov 17 05:56:49 raspberrypi systemd[1163]: Queued start job for default target Main User Target.
Nov 17 05:56:49 raspberrypi systemd[1163]: Created slice User Application Slice.
Nov 17 05:56:49 raspberrypi systemd[1163]: Reached target Paths.
Nov 17 05:56:49 raspberrypi systemd[1163]: Reached target Timers.
Nov 17 05:56:49 raspberrypi systemd[1163]: Starting D-Bus User Message Bus Socket.
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on GnuPG network certificate management daemon.
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on Multimedia System.
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on debconf communication socket.
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on Sound System.
Nov 17 05:56:49 raspberrypi systemd[1163]: Listening on D-Bus User Message Bus Socket.
Nov 17 05:56:49 raspberrypi systemd[1163]: Reached target Sockets.
Nov 17 05:56:49 raspberrypi systemd[1163]: Reached target Basic System.
Nov 17 05:56:49 raspberrypi systemd[1]: Started User Manager for UID 1000.
Nov 17 05:56:49 raspberrypi systemd[1]: Started Session 1 of user pi.
Nov 17 05:56:49 raspberrypi systemd[1163]: Started Multimedia Service.
Nov 17 05:56:49 raspberrypi systemd[1163]: Starting Sound Service...
Nov 17 05:56:49 raspberrypi systemd[1]: systemd-rfkill.service: Succeeded.
Nov 17 05:56:49 raspberrypi dbus-daemon[369]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.16' (uid=1000 pid=1183 comm="/usr/bin/pipewire ")
Nov 17 05:56:49 raspberrypi systemd[1]: Starting RealtimeKit Scheduling Policy Service...
Nov 17 05:56:49 raspberrypi dbus-daemon[369]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Nov 17 05:56:49 raspberrypi systemd[1]: Started RealtimeKit Scheduling Policy Service.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Successfully called chroot.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Successfully dropped privileges.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Successfully limited resources.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Running.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Watchdog thread running.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Canary thread running.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Successfully made thread 1183 of process 1183 owned by '1000' high priority at nice level -11.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Supervising 1 threads of 1 processes of 1 users.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Successfully made thread 1184 of process 1184 owned by '1000' high priority at nice level -11.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Supervising 2 threads of 2 processes of 1 users.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Supervising 2 threads of 2 processes of 1 users.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Supervising 2 threads of 2 processes of 1 users.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Successfully made thread 1185 of process 1183 owned by '1000' RT at priority 20.
Nov 17 05:56:49 raspberrypi rtkit-daemon[1186]: Supervising 3 threads of 2 processes of 1 users.
Nov 17 05:56:49 raspberrypi systemd[1163]: Started D-Bus User Message Bus.
Nov 17 05:56:50 raspberrypi pipewire[1183]: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of name 'org.freedesktop.portal.Desktop': no such name
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Successfully made thread 1200 of process 1200 owned by '1000' high priority at nice level -11.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Supervising 4 threads of 3 processes of 1 users.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Supervising 4 threads of 3 processes of 1 users.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Supervising 4 threads of 3 processes of 1 users.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Successfully made thread 1205 of process 1200 owned by '1000' RT at priority 20.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Supervising 5 threads of 3 processes of 1 users.
Nov 17 05:56:50 raspberrypi kernel: [   13.512232] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
Nov 17 05:56:50 raspberrypi kernel: [   13.513047] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
Nov 17 05:56:50 raspberrypi kernel: [   13.513691] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
Nov 17 05:56:50 raspberrypi pulseaudio[1184]: Failed to find a working profile.
Nov 17 05:56:50 raspberrypi kernel: [   13.521214] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
Nov 17 05:56:50 raspberrypi kernel: [   13.521506] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
Nov 17 05:56:50 raspberrypi kernel: [   13.521742] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
Nov 17 05:56:50 raspberrypi pulseaudio[1184]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="platform-fef00700.hdmi" card_name="alsa_card.platform-fef00700.hdmi" namereg_fail=false tsched=no fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Supervising 5 threads of 3 processes of 1 users.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Successfully made thread 1207 of process 1184 owned by '1000' RT at priority 5.
Nov 17 05:56:50 raspberrypi rtkit-daemon[1186]: Supervising 6 threads of 3 processes of 1 users.
Nov 17 05:56:50 raspberrypi dbus-daemon[369]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.21' (uid=1000 pid=1184 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo")
Nov 17 05:56:50 raspberrypi systemd[1]: Condition check resulted in Bluetooth service being skipped.
Nov 17 05:56:50 raspberrypi dhcpcd[421]: wlan0: carrier acquired
Nov 17 05:56:50 raspberrypi dhcpcd[421]: wlan0: connected to Access Point `WLAN-VSBG5D'
Nov 17 05:56:50 raspberrypi systemd[1163]: Started Sound Service.
Nov 17 05:56:50 raspberrypi systemd[1163]: Reached target Main User Target.
Nov 17 05:56:50 raspberrypi systemd[1163]: Startup finished in 920ms.
Nov 17 05:56:50 raspberrypi kernel: [   13.696433] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Nov 17 05:56:50 raspberrypi dhcpcd[421]: DUID 00:01:00:01:29:0f:eb:5c:e4:5f:01:72:4d:cd
Nov 17 05:56:50 raspberrypi dhcpcd[421]: wlan0: IAID 01:72:4d:cd
Nov 17 05:56:50 raspberrypi dhcpcd[421]: wlan0: adding address fe80::e65f:1ff:fe72:4dcd
Nov 17 05:56:50 raspberrypi avahi-daemon[367]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::e65f:1ff:fe72:4dcd.
Nov 17 05:56:50 raspberrypi dhcpcd[421]: wlan0: probing address 192.168.2.108/24
Nov 17 05:56:50 raspberrypi avahi-daemon[367]: New relevant interface wlan0.IPv6 for mDNS.
Nov 17 05:56:50 raspberrypi avahi-daemon[367]: Registering new address record for fe80::e65f:1ff:fe72:4dcd on wlan0.*.
Nov 17 05:56:50 raspberrypi systemd[1]: Started Session 3 of user pi.
Nov 17 05:56:50 raspberrypi dhcpcd[421]: wlan0: soliciting an IPv6 router
Nov 17 05:56:51 raspberrypi kernel: [   14.599907] Bluetooth: Core ver 2.22
Nov 17 05:56:51 raspberrypi kernel: [   14.600018] NET: Registered protocol family 31
Nov 17 05:56:51 raspberrypi kernel: [   14.600033] Bluetooth: HCI device and connection manager initialized
Nov 17 05:56:51 raspberrypi kernel: [   14.600058] Bluetooth: HCI socket layer initialized
Nov 17 05:56:51 raspberrypi kernel: [   14.600076] Bluetooth: L2CAP socket layer initialized
Nov 17 05:56:51 raspberrypi kernel: [   14.600107] Bluetooth: SCO socket layer initialized
Nov 17 05:56:51 raspberrypi kernel: [   14.611746] Bluetooth: HCI UART driver ver 2.3
Nov 17 05:56:51 raspberrypi kernel: [   14.611763] Bluetooth: HCI UART protocol H4 registered
Nov 17 05:56:51 raspberrypi kernel: [   14.611835] Bluetooth: HCI UART protocol Three-wire (H5) registered
Nov 17 05:56:51 raspberrypi kernel: [   14.612078] Bluetooth: HCI UART protocol Broadcom registered
Nov 17 05:56:51 raspberrypi btuart[434]: bcm43xx_init
Nov 17 05:56:51 raspberrypi btuart[434]: Flash firmware /lib/firmware/brcm/BCM4345C0.hcd
Nov 17 05:56:51 raspberrypi btuart[434]: Set Controller UART speed to 3000000 bit/s
Nov 17 05:56:51 raspberrypi btuart[434]: Device setup complete
Nov 17 05:56:51 raspberrypi systemd[1]: Starting Load/Save RF Kill Switch Status...
Nov 17 05:56:51 raspberrypi systemd[1]: Started Configure Bluetooth Modems connected by UART.
Nov 17 05:56:51 raspberrypi systemd[1163]: Reached target Bluetooth.
Nov 17 05:56:51 raspberrypi systemd[1]: Created slice system-bthelper.slice.
Nov 17 05:56:51 raspberrypi systemd[1]: Starting Raspberry Pi bluetooth helper...
Nov 17 05:56:51 raspberrypi systemd[1]: Started Load/Save RF Kill Switch Status.
Nov 17 05:56:51 raspberrypi bthelper[1278]: Raspberry Pi BDADDR already set
Nov 17 05:56:51 raspberrypi systemd[1]: Finished Raspberry Pi bluetooth helper.
Nov 17 05:56:51 raspberrypi systemd[1]: Starting Bluetooth service...
Nov 17 05:56:51 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.7' (uid=1000 pid=1190 comm="/usr/bin/lxsession -s LXDE-pi -e LXDE ")
Nov 17 05:56:51 raspberrypi systemd[1163]: Starting Virtual filesystem service...
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: Bluetooth daemon 5.55
Nov 17 05:56:51 raspberrypi dbus-daemon[369]: [system] Successfully activated service 'org.bluez'
Nov 17 05:56:51 raspberrypi systemd[1]: Started Bluetooth service.
Nov 17 05:56:51 raspberrypi systemd[1]: Reached target Bluetooth.
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: Starting SDP server
Nov 17 05:56:51 raspberrypi dbus-daemon[369]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.24' (uid=0 pid=1288 comm="/usr/libexec/bluetooth/bluetoothd ")
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: Bluetooth management interface 1.18 initialized
Nov 17 05:56:51 raspberrypi kernel: [   14.807325] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Nov 17 05:56:51 raspberrypi kernel: [   14.807332] Bluetooth: BNEP filters: protocol multicast
Nov 17 05:56:51 raspberrypi kernel: [   14.807344] Bluetooth: BNEP socket layer initialized
Nov 17 05:56:51 raspberrypi systemd[1]: Starting Hostname Service...
Nov 17 05:56:51 raspberrypi kernel: [   14.819346] NET: Registered protocol family 38
Nov 17 05:56:51 raspberrypi systemd[1163]: Started Virtual filesystem service.
Nov 17 05:56:51 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Successfully activated service 'org.gtk.vfs.Daemon'
Nov 17 05:56:51 raspberrypi kernel: [   14.849704] cryptd: max_cpu_qlen set to 1000
Nov 17 05:56:51 raspberrypi dhcpcd[421]: wlan0: Router Advertisement from fe80::1
Nov 17 05:56:51 raspberrypi dhcpcd[421]: wlan0: adding address 2003:f8:710:1925:e65f:1ff:fe72:4dcd/64
Nov 17 05:56:51 raspberrypi avahi-daemon[367]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::e65f:1ff:fe72:4dcd.
Nov 17 05:56:51 raspberrypi avahi-daemon[367]: Joining mDNS multicast group on interface wlan0.IPv6 with address 2003:f8:710:1925:e65f:1ff:fe72:4dcd.
Nov 17 05:56:51 raspberrypi dhcpcd[421]: wlan0: adding route to 2003:f8:710:1925::/64
Nov 17 05:56:51 raspberrypi avahi-daemon[367]: Registering new address record for 2003:f8:710:1925:e65f:1ff:fe72:4dcd on wlan0.*.
Nov 17 05:56:51 raspberrypi avahi-daemon[367]: Withdrawing address record for fe80::e65f:1ff:fe72:4dcd on wlan0.
Nov 17 05:56:51 raspberrypi dhcpcd[421]: wlan0: requesting DHCPv6 information
Nov 17 05:56:51 raspberrypi dhcpcd[421]: wlan0: fe80::1 is reachable again
Nov 17 05:56:51 raspberrypi dhcpcd[421]: wlan0: adding default route via fe80::1
Nov 17 05:56:51 raspberrypi kernel: [   14.918526] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: sap-server: Operation not permitted (1)
Nov 17 05:56:51 raspberrypi pulseaudio[1184]: Found duplicated D-Bus path for adapter /org/bluez/hci0
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSink/sbc
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: Endpoint registered: sender=:1.21 path=/MediaEndpoint/A2DPSource/sbc
Nov 17 05:56:51 raspberrypi dbus-daemon[369]: [system] Successfully activated service 'org.freedesktop.hostname1'
Nov 17 05:56:51 raspberrypi systemd[1]: Started Hostname Service.
Nov 17 05:56:51 raspberrypi kernel: [   14.981762] Bluetooth: RFCOMM TTY layer initialized
Nov 17 05:56:51 raspberrypi kernel: [   14.981782] Bluetooth: RFCOMM socket layer initialized
Nov 17 05:56:51 raspberrypi kernel: [   14.981803] Bluetooth: RFCOMM ver 1.11
Nov 17 05:56:51 raspberrypi bluetoothd[1288]: Failed to set privacy: Rejected (0x0b)
Nov 17 05:56:51 raspberrypi systemd[1]: Stopping Network Time Synchronization...
Nov 17 05:56:52 raspberrypi systemd[1]: systemd-timesyncd.service: Succeeded.
Nov 17 05:56:52 raspberrypi systemd[1]: Stopped Network Time Synchronization.
Nov 17 05:56:52 raspberrypi systemd[1]: Starting Network Time Synchronization...
Nov 17 05:56:52 raspberrypi systemd[1]: Started Network Time Synchronization.
Nov 17 05:56:52 raspberrypi bash[1150]: [0:04] Decoding of startupsound.mp3 finished.
Nov 17 05:56:52 raspberrypi bash[1428]: volume: 30%   repeat: off   random: off   single: off   consume: off
Nov 17 05:56:52 raspberrypi systemd[1]: Finished Phoniebox Startup.
Nov 17 05:56:52 raspberrypi rtkit-daemon[1186]: Supervising 6 threads of 3 processes of 1 users.
Nov 17 05:56:52 raspberrypi rtkit-daemon[1186]: Successfully made thread 1430 of process 1184 owned by '1000' RT at priority 5.
Nov 17 05:56:52 raspberrypi rtkit-daemon[1186]: Supervising 7 threads of 3 processes of 1 users.
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.12' (uid=1000 pid=1337 comm="pcmanfm --desktop --profile LXDE-pi ")
Nov 17 05:56:53 raspberrypi systemd[1163]: Starting Virtual filesystem service - disk device monitor...
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Nov 17 05:56:53 raspberrypi systemd[1163]: Started Virtual filesystem service - disk device monitor.
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.12' (uid=1000 pid=1337 comm="pcmanfm --desktop --profile LXDE-pi ")
Nov 17 05:56:53 raspberrypi systemd[1163]: Starting Virtual filesystem service - GNOME Online Accounts monitor...
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Nov 17 05:56:53 raspberrypi systemd[1163]: Started Virtual filesystem service - GNOME Online Accounts monitor.
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.12' (uid=1000 pid=1337 comm="pcmanfm --desktop --profile LXDE-pi ")
Nov 17 05:56:53 raspberrypi systemd[1163]: Starting Virtual filesystem service - Media Transfer Protocol monitor...
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
Nov 17 05:56:53 raspberrypi systemd[1163]: Started Virtual filesystem service - Media Transfer Protocol monitor.
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by ':1.12' (uid=1000 pid=1337 comm="pcmanfm --desktop --profile LXDE-pi ")
Nov 17 05:56:53 raspberrypi systemd[1163]: Starting Virtual filesystem service - digital camera monitor...
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
Nov 17 05:56:53 raspberrypi systemd[1163]: Started Virtual filesystem service - digital camera monitor.
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.12' (uid=1000 pid=1337 comm="pcmanfm --desktop --profile LXDE-pi ")
Nov 17 05:56:53 raspberrypi systemd[1163]: Starting Virtual filesystem service - Apple File Conduit monitor...
Nov 17 05:56:53 raspberrypi dbus-daemon[1189]: [session uid=1000 pid=1189] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
Nov 17 05:56:53 raspberrypi systemd[1163]: Started Virtual filesystem service - Apple File Conduit monitor.
Nov 17 05:56:55 raspberrypi dhcpcd[421]: wlan0: using static address 192.168.2.108/24
Nov 17 05:56:55 raspberrypi avahi-daemon[367]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.108.
Nov 17 05:56:55 raspberrypi avahi-daemon[367]: New relevant interface wlan0.IPv4 for mDNS.
Nov 17 05:56:55 raspberrypi avahi-daemon[367]: Registering new address record for 192.168.2.108 on wlan0.IPv4.
Nov 17 05:56:55 raspberrypi dhcpcd[421]: wlan0: adding route to 192.168.2.0/24
Nov 17 05:56:55 raspberrypi dhcpcd[421]: wlan0: adding default route via 192.168.2.1
Nov 17 05:56:56 raspberrypi systemd[1]: systemd-rfkill.service: Succeeded.
Nov 17 05:56:56 raspberrypi bthelper[1585]: Changing power off succeeded
Nov 17 05:56:56 raspberrypi bthelper[1585]: [#001#033[0;93m#002CHG#001#033[0m#002] Controller E4:5F:01:72:4D:CF Powered: no
Nov 17 05:56:56 raspberrypi bthelper[1585]: [#001#033[0;93m#002CHG#001#033[0m#002] Controller E4:5F:01:72:4D:CF Discovering: no
Nov 17 05:56:56 raspberrypi bthelper[1585]: [#001#033[0;93m#002CHG#001#033[0m#002] Controller E4:5F:01:72:4D:CF Class: 0x00000000
Nov 17 05:56:56 raspberrypi systemd[1]: Started Samba NMB Daemon.
Nov 17 05:56:56 raspberrypi systemd[1]: Starting Samba SMB Daemon...
Nov 17 05:56:56 raspberrypi dhcpcd[421]: wlan0: fe80::1 is reachable again
Nov 17 05:56:56 raspberrypi dhcpcd[421]: wlan0: fe80::1 is reachable again
Nov 17 05:56:56 raspberrypi bthelper[1286]: [#001#033[0;93m#002CHG#001#033[0m#002] Controller E4:5F:01:72:4D:CF Class: 0x002c0000
Nov 17 05:56:56 raspberrypi bthelper[1286]: Changing power on succeeded
Nov 17 05:56:56 raspberrypi systemd[1]: Started Samba SMB Daemon.
Nov 17 05:56:56 raspberrypi systemd[1]: Reached target Multi-User System.
Nov 17 05:56:56 raspberrypi systemd[1]: Reached target Graphical Interface.
Nov 17 05:56:56 raspberrypi systemd[1]: Starting Update UTMP about System Runlevel Changes...
Nov 17 05:56:56 raspberrypi systemd[1]: systemd-update-utmp-runlevel.service: Succeeded.
Nov 17 05:56:56 raspberrypi systemd[1]: Finished Update UTMP about System Runlevel Changes.
Nov 17 05:56:56 raspberrypi systemd[1]: Startup finished in 2.047s (kernel) + 18.179s (userspace) = 20.227s.
Nov 17 05:57:02 raspberrypi systemd-timesyncd[1401]: Timed out waiting for reply from [2a01:4f9:c010:157::1]:123 (2.debian.pool.ntp.org).
Nov 17 05:57:18 raspberrypi systemd-timesyncd[1401]: Initial synchronization to time server [2a02:c207:3004:6520::1]:123 (2.debian.pool.ntp.org).
Nov 17 05:57:28 raspberrypi systemd[1]: systemd-fsckd.service: Succeeded.
Nov 17 05:57:37 raspberrypi systemd[1]: systemd-hostnamed.service: Succeeded.
Nov 17 05:58:01 raspberrypi systemd[1]: phoniebox-idle-watchdog.service: Succeeded.
Nov 17 05:58:10 raspberrypi dbus-daemon[369]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.32' (uid=1000 pid=1330 comm="lxpanel --profile LXDE-pi ")
Nov 17 05:58:10 raspberrypi systemd[1]: Starting PackageKit Daemon...
Nov 17 05:58:10 raspberrypi PackageKit: daemon start
Nov 17 05:58:10 raspberrypi dbus-daemon[369]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 17 05:58:10 raspberrypi systemd[1]: Started PackageKit Daemon.
Nov 17 05:58:13 raspberrypi PackageKit: refresh-cache transaction /4_aeadbcae from uid 1000 finished with success after 2837ms
Nov 17 05:58:15 raspberrypi systemd[1]: Started Session 4 of user pi.
Nov 17 05:58:17 raspberrypi PackageKit: get-updates transaction /5_baacbece from uid 1000 finished with success after 4299ms
Nov 17 05:59:52 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:59:52 raspberrypi daemon_rfid_reader.py[1856]: Traceback (most recent call last):
Nov 17 05:59:52 raspberrypi daemon_rfid_reader.py[1856]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:59:52 raspberrypi daemon_rfid_reader.py[1856]:     from Reader import Reader
Nov 17 05:59:52 raspberrypi daemon_rfid_reader.py[1856]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:59:52 raspberrypi daemon_rfid_reader.py[1856]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:59:52 raspberrypi daemon_rfid_reader.py[1856]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:59:52 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:59:52 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 1.
Nov 17 05:59:53 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:59:53 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1883]: Traceback (most recent call last):
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1883]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1883]:     from Reader import Reader
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1883]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1883]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1883]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 2.
Nov 17 05:59:53 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:59:53 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1884]: Traceback (most recent call last):
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1884]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1884]:     from Reader import Reader
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1884]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1884]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1884]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 3.
Nov 17 05:59:53 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:59:53 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1885]: Traceback (most recent call last):
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1885]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1885]:     from Reader import Reader
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1885]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1885]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:59:53 raspberrypi daemon_rfid_reader.py[1885]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:59:53 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:59:54 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 4.
Nov 17 05:59:54 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:59:54 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 17 05:59:54 raspberrypi daemon_rfid_reader.py[1886]: Traceback (most recent call last):
Nov 17 05:59:54 raspberrypi daemon_rfid_reader.py[1886]:   File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 10, in <module>
Nov 17 05:59:54 raspberrypi daemon_rfid_reader.py[1886]:     from Reader import Reader
Nov 17 05:59:54 raspberrypi daemon_rfid_reader.py[1886]:   File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 14, in <module>
Nov 17 05:59:54 raspberrypi daemon_rfid_reader.py[1886]:     from evdev import InputDevice, categorize, ecodes, list_devices
Nov 17 05:59:54 raspberrypi daemon_rfid_reader.py[1886]: ModuleNotFoundError: No module named 'evdev'
Nov 17 05:59:54 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Main process exited, code=exited, status=1/FAILURE
Nov 17 05:59:54 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:59:54 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 5.
Nov 17 05:59:54 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 17 05:59:54 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Start request repeated too quickly.
Nov 17 05:59:54 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Nov 17 05:59:54 raspberrypi systemd[1]: Failed to start Phoniebox RFID-Reader Service.
Nov 17 06:02:02 raspberrypi systemd[1]: session-4.scope: Succeeded.
Nov 17 06:02:27 raspberrypi systemd[1]: Started Session 5 of user pi.
Nov 17 06:09:01 raspberrypi CRON[2027]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Nov 17 06:09:01 raspberrypi systemd[1]: Starting Clean php session files...
Nov 17 06:09:01 raspberrypi systemd[1]: phpsessionclean.service: Succeeded.
Nov 17 06:09:01 raspberrypi systemd[1]: Finished Clean php session files.
Nov 17 06:12:04 raspberrypi systemd[1]: Starting Cleanup of Temporary Directories...
Nov 17 06:12:05 raspberrypi systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Nov 17 06:12:05 raspberrypi systemd[1]: Finished Cleanup of Temporary Directories.
Nov 17 06:17:01 raspberrypi CRON[2199]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Nov 17 06:25:01 raspberrypi CRON[2272]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))

Software

Base image and version

PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Branch / Release

master

Installscript

cd; rm buster-install-*; wget https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/master/scripts/installscripts/buster-install-default.sh; chmod +x buster-install-default.sh; ./buster-install-default.sh

Hardware

RaspberryPi version

Raspberry Pi 4 Model B Rev 1.4

RFID Reader

i.e. MAKEVMA405 manual

Lippsson commented 2 years ago

I have the same issue like Thilo-90. I tried both on Rasperian Zero W and Rapberry 4 with connected RC522:

On both system it get the same error like Thilo-90.

I had a running Phoniebox system on a rasperry 3. When i put in that SD card to the zero or rp4 it works well.

There is a fix out here: (Worked for me)

https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1623#issuecomment-968324731

Thilo-90 commented 2 years ago

Thanks for the update Lippsson, though it won't work as intended for me. Please see below my input / output

pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ python3 RegisterDevice.py
Choose the reader from list
0 vc4
1 vc4
2 MFRC522
3 RDM6300
4 PN532
Device Number: 2

If i hit Enter after typing the number, nothing happens. The script does not proceed for me. I have to close the console and start a new ssh connection, though the same thing happens.

I also tried a reboot to see if it is working, but it is not. Neither the script nor the reader (miracles happen? sometimes?)

Lippsson commented 2 years ago

Hi Thilo! Yes the same happend on my side. I pressed the number and nothing. Then i closed with Ctrl+C and get to the next line $ sudo systemctl restart phoniebox-rfid-reader.service

Thilo-90 commented 2 years ago

Hi Lippsson, thank you so much. Just tested it and it finally works. :)

zimbo86 commented 2 years ago

hmm I also struggling with my RC522 after a new installation. All seems running OK but the reader does not read. Can you confirm that there is a RuntimeWarning: This channel is already in use, continuing anyway. in journalctl -f after you run sudo systemctl restart phoniebox-rfid-reader.service ?

Is there another way to test RC522 (the Read.py Write.py does not work anymore since it is Pythons2)

Thilo-90 commented 2 years ago

Hi @zimbo86,

i just ran the commands you mentioned. Here is my log

pi@raspberrypi:~ $ sudo systemctl restart phoniebox-rfid-reader.service
pi@raspberrypi:~ $ journalctl -f
-- Journal begins at Sat 2021-10-30 12:36:50 BST. --
Nov 21 16:02:01 raspberrypi sudo[5612]: pam_unix(sudo:session): session opened for user root(uid=0) by pi(uid=1000)
Nov 21 16:02:01 raspberrypi systemd[1]: Stopping Phoniebox RFID-Reader Service...
Nov 21 16:02:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Succeeded.
Nov 21 16:02:01 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 21 16:02:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Consumed 9min 6.021s CPU time.
Nov 21 16:02:01 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 21 16:02:01 raspberrypi sudo[5612]: pam_unix(sudo:session): session closed for user root
Nov 21 16:02:02 raspberrypi daemon_rfid_reader.py[5615]: /usr/local/lib/python3.9/dist-packages/pirc522/rfid.py:90: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
Nov 21 16:02:02 raspberrypi daemon_rfid_reader.py[5615]:   GPIO.setup(pin_rst, GPIO.OUT)
Nov 21 16:02:02 raspberrypi daemon_rfid_reader.py[5615]: 2021-11-21 16:02:02,053 - root - INFO - Dir_PATH: /home/pi/RPi-Jukebox-RFID/scripts

My Tags are read without any problem though by now. Also after restarting the service.

zimbo86 commented 2 years ago

Hi @zimbo86,

i just ran the commands you mentioned. Here is my log

pi@raspberrypi:~ $ sudo systemctl restart phoniebox-rfid-reader.service
pi@raspberrypi:~ $ journalctl -f
-- Journal begins at Sat 2021-10-30 12:36:50 BST. --
Nov 21 16:02:01 raspberrypi sudo[5612]: pam_unix(sudo:session): session opened for user root(uid=0) by pi(uid=1000)
Nov 21 16:02:01 raspberrypi systemd[1]: Stopping Phoniebox RFID-Reader Service...
Nov 21 16:02:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Succeeded.
Nov 21 16:02:01 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Nov 21 16:02:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Consumed 9min 6.021s CPU time.
Nov 21 16:02:01 raspberrypi systemd[1]: Started Phoniebox RFID-Reader Service.
Nov 21 16:02:01 raspberrypi sudo[5612]: pam_unix(sudo:session): session closed for user root
Nov 21 16:02:02 raspberrypi daemon_rfid_reader.py[5615]: /usr/local/lib/python3.9/dist-packages/pirc522/rfid.py:90: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
Nov 21 16:02:02 raspberrypi daemon_rfid_reader.py[5615]:   GPIO.setup(pin_rst, GPIO.OUT)
Nov 21 16:02:02 raspberrypi daemon_rfid_reader.py[5615]: 2021-11-21 16:02:02,053 - root - INFO - Dir_PATH: /home/pi/RPi-Jukebox-RFID/scripts

My Tags are read without any problem though by now. Also after restarting the service.

Got a soldering mistake - reader is detected now ;)