Package Details: argonone-git r25.ff51561-1

Git Clone URL: https://aur.archlinux.org/argonone-git.git (read-only, click to copy)
Package Base: argonone-git
Description: Argon One Service and Control Scripts por Raspberry Pi
Upstream URL: https://download.argon40.com/argon1.sh
Licenses: GPL3
Provides: argonone
Submitter: tonyfettes
Maintainer: tonyfettes
Last Packager: tonyfettes
Votes: 1
Popularity: 0.084432
First Submitted: 2020-06-21 03:28
Last Updated: 2020-08-15 09:43

Latest Comments

1 2 Next › Last »

Solskogen commented on 2020-09-07 10:00

Installation fails now with gcc 10.

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 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 /usr/bin/ld: build/temp.linux-aarch64-3.8/source/soft_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/soft_pwm.c:28: multiple definition of threads'; build/temp.linux-aarch64-3.8/source/event_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/event_gpio.c:60: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: multiple definition ofgpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/py_pwm.h:23: multiple definition of PWMType'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/py_pwm.h:23: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: multiple definition ofmodule_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: multiple definition of setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: multiple definition ofrpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: multiple definition of pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: multiple definition ofpin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: multiple definition of pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: multiple definition ofpin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/py_pwm.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: multiple definition of gpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: multiple definition ofsetup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: multiple definition of module_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: multiple definition ofgpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: multiple definition of pin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: multiple definition ofrpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: multiple definition of gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: multiple definition ofpin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: multiple definition of pin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/common.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: multiple definition ofpin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:26: multiple definition of high'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:26: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:27: multiple definition oflow'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:27: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:29: multiple definition of output'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:29: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:28: multiple definition ofinput'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:28: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:30: multiple definition of pwm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:30: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:31: multiple definition ofserial'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:31: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:32: multiple definition of i2c'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:32: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:33: multiple definition ofspi'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:33: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:34: multiple definition of unknown'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:35: multiple definition ofboard'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:36: multiple definition of bcm'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:37: multiple definition ofpud_off'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:38: multiple definition of pud_up'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:39: multiple definition ofpud_down'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:40: multiple definition of rising_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:41: multiple definition offalling_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:42: multiple definition of both_edge'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/constants.h:42: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: multiple definition ofmodule_setup'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:41: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: multiple definition of setup_error'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:40: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: multiple definition ofrpiinfo'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:39: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: multiple definition of gpio_direction'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:38: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: multiple definition ofpin_to_gpio'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:37: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: multiple definition of pin_to_gpio_rev3'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:36: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: multiple definition ofpin_to_gpio_rev2'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:35: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: multiple definition of pin_to_gpio_rev1'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:34: first defined here /usr/bin/ld: build/temp.linux-aarch64-3.8/source/constants.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: multiple definition ofgpio_mode'; build/temp.linux-aarch64-3.8/source/py_gpio.o:/tmp/pip-install-xuwid1pb/RPi.GPIO/source/common.h:33: first defined here collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /opt/argonone/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xuwid1pb/RPi.GPIO/setup.py'"'"'; file='"'"'/tmp/pip-install-xuwid1pb/RPi.GPIO/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-d_i6hjnr/install-record.txt --single-version-externally-managed --compile --install-headers /opt/argonone/include/site/python3.8/RPi.GPIO Check the logs for full command output. WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available. You should consider upgrading via the '/opt/argonone/bin/python3 -m pip install --upgrade pip' command. Enabling i2C... (1/1) installing argonone-rpi4 [#######################################################################################################################] 100% Please reboot before first use. Configuration file: /etc/argononed.conf Enable power button and fan control service with: sudo systemctl enable argononed.service If you want to: enable_uart=1 Put it in /boot/config.txt and remove kgdboc=ttyAMA0,115200 in /boot/cmdline Thanks to thegeek1977 to help patching this :: Running post-transaction hooks... (1/2) Reloading system manager configuration... (2/2) Arming ConditionNeedsUpdate...

tonyfettes commented on 2020-08-15 09:52

@backfist

I've add command in argonone.install to upgrade pip before install modules. Hope it can solve your problem.

backfist commented on 2020-08-07 13:36

For me it does not work: /opt/argonone/bin/python3 /opt/argonone/bin/argononed.py Traceback (most recent call last): File "/opt/argonone/bin/argononed.py", line 10, in <module> import RPi.GPIO as GPIO ModuleNotFoundError: No module named 'RPi'

The problem was an old pip version installed. Maybe you should upgrade pip at first and then install modules.

SpacingBat3 commented on 2020-08-05 10:27

Executing argonone-config as user is broken now since you added "backup" entry to PKGBUILD.

EDIT: Executing this command as root works fine, so the problem is related with user permissions. I've also built this package with the backup entry commented in PKGBUILD and this problem has still occured, but it doesn't when building with PKGBUILD from original git repository.

tonyfettes commented on 2020-06-22 00:40

@Dulbi Sorry for my ignorance. Now I believe the backup entry has been added.

Dulbi commented on 2020-06-21 20:02

@tonyfettes as the wiki says https://wiki.archlinux.org/index.php/PKGBUILD#backup, you can create a backup array to save user settings files as the /etc/argononed.conf. It doesn't interfere with your copy of the file in the /opt/argonone/etc directory even if I think it's not necessary. Like that if the file is already present and the user had made changes his config will stay and a .pacnew file will be generated automatically.

tonyfettes commented on 2020-06-21 15:57

@Dulbi

Thank you for your comment!

Sorry for my poor understanding, but I'm not quite sure what do you mean by "backup feature." But according to your comment under the original package, I guess you probably want to have a copy of default conf file to another place as a backup?

If so, my recommendation is to install etckeeper to manage all your files via VCS (like git).

If you want me to add a patch to the upstream python script to backup the conf file automatically, I probably won't do that because my intention is just get it work. You might want to clone the git repo, modify it and file a pull request.

Well, I'll still make a copy of conf file in /opt/argonone/etc in PKGBUILD.

Dulbi commented on 2020-06-21 15:23

Could you please add a backup feature for the conf file ?

tonyfettes commented on 2020-06-21 03:33

@SpacingBat3

Sorry for my fault.

Since Elrondo46/argonone has that fix, I think it is unnecessary to maintain a package with sources file on my server. But I think the package should named as argonone-git if I clone files from Elrondo46/argonone and install then. So probably it's better to create a new package and remove this package or merge them.

Sorry again for my mistakes. I'll ask for removal of this package or merging it with git version in a few weeks.

Dulbi commented on 2020-06-20 19:18

Can you please set a backup entry in PKGBUILD file for the etc/argononed.conf ? source still unavailable by the way.