Guest User

error compiling python-raspberry-gpio from AUR on Manjaro ARM

a guest
Sep 11th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.56 KB | None | 0 0
  1. $ yay --aur python-raspberry-gpio
  2. 1 aur/python-raspberry-gpio 0.7.0-1 (+13 0.00)
  3. Python library for GPIO access on a Raspberry Pi
  4. ==> Packages to install (eg: 1 2 3, 1-3 or ^4)
  5. ==> 1
  6. :: Checking for conflicts...
  7. :: Checking for inner conflicts...
  8. [Aur:1] python-raspberry-gpio-0.7.0-1
  9.  
  10. :: Downloaded PKGBUILD (1/1): python-raspberry-gpio
  11. 1 python-raspberry-gpio (Build Files Exist)
  12. ==> Diffs to show?
  13. ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
  14. ==> N
  15. :: (1/1) Parsing SRCINFO: python-raspberry-gpio
  16. ==> Making package: python-raspberry-gpio 0.7.0-1 (Fri 11 Sep 2020 11:58:33 AM WEST)
  17. ==> Retrieving sources...
  18. -> Downloading RPi.GPIO-0.7.0.tar.gz...
  19. % Total % Received % Xferd Average Speed Time Time Time Current
  20. Dload Upload Total Spent Left Speed
  21. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  22. 100 30845 100 30845 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k
  23. ==> Validating source files with sha1sums...
  24. RPi.GPIO-0.7.0.tar.gz ... Passed
  25. ==> Making package: python-raspberry-gpio 0.7.0-1 (Fri 11 Sep 2020 11:58:38 AM WEST)
  26. ==> Checking runtime dependencies...
  27. ==> Checking buildtime dependencies...
  28. ==> Retrieving sources...
  29. -> Found RPi.GPIO-0.7.0.tar.gz
  30. ==> Validating source files with sha1sums...
  31. RPi.GPIO-0.7.0.tar.gz ... Passed
  32. ==> Removing existing $srcdir/ directory...
  33. ==> Extracting sources...
  34. -> Extracting RPi.GPIO-0.7.0.tar.gz with bsdtar
  35. ==> Sources are ready.
  36. ==> Making package: python-raspberry-gpio 0.7.0-1 (Fri 11 Sep 2020 11:58:48 AM WEST)
  37. ==> Checking runtime dependencies...
  38. ==> Checking buildtime dependencies...
  39. ==> WARNING: Using existing $srcdir/ tree
  40. ==> Entering fakeroot environment...
  41. ==> Starting package()...
  42. running install
  43. running build
  44. running build_py
  45. creating build
  46. creating build/lib.linux-aarch64-3.8
  47. creating build/lib.linux-aarch64-3.8/RPi
  48. copying RPi/__init__.py -> build/lib.linux-aarch64-3.8/RPi
  49. creating build/lib.linux-aarch64-3.8/RPi/GPIO
  50. copying RPi/GPIO/__init__.py -> build/lib.linux-aarch64-3.8/RPi/GPIO
  51. running build_ext
  52. building 'RPi._GPIO' extension
  53. creating build/temp.linux-aarch64-3.8
  54. creating build/temp.linux-aarch64-3.8/source
  55. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/py_gpio.c -o build/temp.linux-aarch64-3.8/source/py_gpio.o
  56. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/c_gpio.c -o build/temp.linux-aarch64-3.8/source/c_gpio.o
  57. source/c_gpio.c: In function ‘setup’:
  58. source/c_gpio.c:130:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  59. 130 | if ((uint32_t)gpio_mem % PAGE_SIZE)
  60. | ^
  61. source/c_gpio.c:131:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  62. 131 | gpio_mem += PAGE_SIZE - ((uint32_t)gpio_mem % PAGE_SIZE);
  63. | ^
  64. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/cpuinfo.c -o build/temp.linux-aarch64-3.8/source/cpuinfo.o
  65. source/cpuinfo.c: In function ‘get_rpi_info’:
  66. source/cpuinfo.c:139:28: warning: format ‘%llx’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘uint64_t *’ {aka ‘long unsigned int *’} [-Wformat=]
  67. 139 | sscanf(revision, "%llx", &rev);
  68. | ~~~^ ~~~~
  69. | | |
  70. | | uint64_t * {aka long unsigned int *}
  71. | long long unsigned int *
  72. | %lx
  73. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/event_gpio.c -o build/temp.linux-aarch64-3.8/source/event_gpio.o
  74. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/soft_pwm.c -o build/temp.linux-aarch64-3.8/source/soft_pwm.o
  75. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/py_pwm.c -o build/temp.linux-aarch64-3.8/source/py_pwm.o
  76. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/common.c -o build/temp.linux-aarch64-3.8/source/common.o
  77. gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c source/constants.c -o build/temp.linux-aarch64-3.8/source/constants.o
  78. gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.8/source/py_gpio.o build/temp.linux-aarch64-3.8/source/c_gpio.o build/temp.linux-aarch64-3.8/source/cpuinfo.o build/temp.linux-aarch64-3.8/source/event_gpio.o build/temp.linux-aarch64-3.8/source/soft_pwm.o build/temp.linux-aarch64-3.8/source/py_pwm.o build/temp.linux-aarch64-3.8/source/common.o build/temp.linux-aarch64-3.8/source/constants.o -L/usr/lib -o build/lib.linux-aarch64-3.8/RPi/_GPIO.cpython-38-aarch64-linux-gnu.so
  79. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/soft_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-aarch64-3.8/source/event_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/event_gpio.c:60: first defined here
  80. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:38: first defined here
  81. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/py_pwm.h:23: first defined here
  82. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:41: first defined here
  83. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:40: first defined here
  84. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:39: first defined here
  85. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:37: first defined here
  86. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:36: first defined here
  87. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:35: first defined here
  88. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:34: first defined here
  89. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:33: first defined here
  90. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:40: first defined here
  91. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:41: first defined here
  92. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:33: first defined here
  93. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:37: first defined here
  94. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:39: first defined here
  95. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:38: first defined here
  96. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:36: first defined here
  97. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:35: first defined here
  98. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:34: first defined here
  99. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:26: multiple definition of `high'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:26: first defined here
  100. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:27: multiple definition of `low'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:27: first defined here
  101. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:29: multiple definition of `output'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:29: first defined here
  102. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:28: multiple definition of `input'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:28: first defined here
  103. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:30: first defined here
  104. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:31: multiple definition of `serial'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:31: first defined here
  105. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:32: first defined here
  106. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:33: multiple definition of `spi'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:33: first defined here
  107. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:34: first defined here
  108. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:35: multiple definition of `board'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:35: first defined here
  109. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:36: first defined here
  110. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:37: multiple definition of `pud_off'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:37: first defined here
  111. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:38: multiple definition of `pud_up'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:38: first defined here
  112. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:39: multiple definition of `pud_down'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:39: first defined here
  113. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:40: multiple definition of `rising_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:40: first defined here
  114. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:41: multiple definition of `falling_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:41: first defined here
  115. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:42: multiple definition of `both_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/constants.h:42: first defined here
  116. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:41: multiple definition of `module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:41: first defined here
  117. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:40: multiple definition of `setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:40: first defined here
  118. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:39: multiple definition of `rpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:39: first defined here
  119. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/pytho
  120. n-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:38: multiple definition of `gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:38: first defined here
  121. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:37: multiple definition of `pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:37: first defined here
  122. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:36: multiple definition of `pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:36: first defined here
  123. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:35: multiple definition of `pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:35: first defined here
  124. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:34: multiple definition of `pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:34: first defined here
  125. /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:33: multiple definition of `gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/home/undercover/.cache/yay/python-raspberry-gpio/src/RPi.GPIO-0.7.0/source/common.h:33: first defined here
  126. collect2: error: ld returned 1 exit status
  127. error: command 'gcc' failed with exit status 1
  128. ==> ERROR: A failure occurred in package().
  129. Aborting...
  130. error making: python-raspberry-gpio
Advertisement
Add Comment
Please, Sign In to add comment