Package Details: p2pool-git 2.0.r1.g6b4640c-1

Git Clone URL: https://aur.archlinux.org/p2pool-git.git (read-only, click to copy)
Package Base: p2pool-git
Description: Decentralized pool for Monero mining
Upstream URL: https://github.com/SChernykh/p2pool
Keywords: monero p2pool xmrig
Licenses: GPL3
Conflicts: p2pool
Provides: p2pool
Submitter: karce
Maintainer: karce
Last Packager: karce
Votes: 4
Popularity: 0.000000
First Submitted: 2021-09-05 23:20 (UTC)
Last Updated: 2022-05-03 10:52 (UTC)

Required by (1)

Sources (1)

Latest Comments

karce commented on 2022-05-03 10:55 (UTC)

@Farzat I removed that line from the PKGBUILD after looking over the commit and building the change in a clean chroot. Let me know if you experience any issues.

Farzat commented on 2022-05-03 03:47 (UTC)

Please remove this line from PKGBUILD: sed -i 's/gss//g' CMakeLists.txt

This causes an error with the new commit: https://github.com/SChernykh/p2pool/commit/d6992da3a307980d3c417b908d64b67173b3676d

CMake Error at CMakeLists.txt:105 (find_library):
  find_library called with incorrect number of arguments

karce commented on 2022-03-20 14:37 (UTC)

@JstKddng Thanks for letting me know. I had removed it from this build of p2pool because libgss didn't exist in the Arch ecosystem until now. I'll test it and add it.

JstKddng commented on 2022-03-20 14:29 (UTC)

@karce

Hey, I just created a libgss package. It should be added here I think since p2pool uses it.

bfg commented on 2021-09-12 17:57 (UTC)

I can confirm that problem was 'Werror' (I dont know why)

karce commented on 2021-09-12 16:08 (UTC) (edited on 2021-09-12 16:09 (UTC) by karce)

@bfg I looked into this more. Looks like p2pool warnings are treated as errors. I think you can disable this in two lines in flags.cmake:

Remove Werror from these two lines.

https://github.com/SChernykh/p2pool/blob/master/cmake/flags.cmake#L9

and

https://github.com/SChernykh/p2pool/blob/master/cmake/flags.cmake#L42

I'm not sure why they are producing warnings for you. I don't have them in my build. But removing Werror flag should help you build this.

bfg commented on 2021-09-12 15:49 (UTC)

Non only on arm, also on Intel. It seems a warning/error about unused variables... Anyway I try to clone from git and compile directly so we see

karce commented on 2021-09-12 15:45 (UTC)

@Bfg

I haven't seen this issue before. I don't have an arm device to test on unfortunately. I'm not sure what exactly is wrong but you might want to try going to the #monero-pow irc/matrix channel and ask there about arm devices.

If you happen to find a solution please post back with fixes and I'll include it here for others, like dependencies or patches.

bfg commented on 2021-09-12 15:25 (UTC)

Hi, In my cases it does not compile. I've tried on an arm device (orangepi3) and two intel arch installation...

[ 50%] Built target randomx [ 55%] Building C object CMakeFiles/p2pool.dir/external/src/cryptonote/crypto-ops-data.c.o [ 55%] Building C object CMakeFiles/p2pool.dir/external/src/cryptonote/crypto-ops.c.o [ 55%] Building C object CMakeFiles/p2pool.dir/external/src/llhttp/api.c.o [ 57%] Building C object CMakeFiles/p2pool.dir/external/src/llhttp/http.c.o [ 59%] Building C object CMakeFiles/p2pool.dir/external/src/llhttp/llhttp.c.o [ 61%] Building CXX object CMakeFiles/p2pool.dir/src/block_cache.cpp.o [ 62%] Building CXX object CMakeFiles/p2pool.dir/src/block_template.cpp.o [ 64%] Building CXX object CMakeFiles/p2pool.dir/src/console_commands.cpp.o [ 66%] Building CXX object CMakeFiles/p2pool.dir/src/crypto.cpp.o [ 68%] Building CXX object CMakeFiles/p2pool.dir/src/json_rpc_request.cpp.o [ 70%] Building CXX object CMakeFiles/p2pool.dir/src/keccak.cpp.o /home/bfg/.cache/yay/p2pool-git/src/p2pool-git/external/src/llhttp/llhttp.c: In function ‘llhttp__internal__run’: /home/bfg/.cache/yay/p2pool-git/src/p2pool-git/external/src/llhttp/llhttp.c:9584:13: error: unused variable ‘avail’ [-Werror=unused-variable] 9584 | int avail; | ^~~~~ /home/bfg/.cache/yay/p2pool-git/src/p2pool-git/external/src/llhttp/llhttp.c:9771:13: error: unused variable ‘avail’ [-Werror=unused-variable] 9771 | int avail; | ^~~~~ /home/bfg/.cache/yay/p2pool-git/src/p2pool-git/external/src/llhttp/llhttp.c:10573:13: error: unused variable ‘avail’ [-Werror=unused-variable] 10573 | int avail; | ^~~~~ [ 72%] Building CXX object CMakeFiles/p2pool.dir/src/log.cpp.o [ 74%] Building CXX object CMakeFiles/p2pool.dir/src/main.cpp.o [ 75%] Building CXX object CMakeFiles/p2pool.dir/src/memory_leak_debug.cpp.o [ 77%] Building CXX object CMakeFiles/p2pool.dir/src/mempool.cpp.o cc1: all warnings being treated as errors make[2]: [CMakeFiles/p2pool.dir/build.make:132: CMakeFiles/p2pool.dir/external/src/llhttp/llhttp.c.o] Errore 1 make[2]: Attesa per i processi non terminati.... make[1]: [CMakeFiles/Makefile2:100: CMakeFiles/p2pool.dir/all] Errore 2 make: [Makefile:136: all] Errore 2 ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... error making: p2pool-git

karce commented on 2021-09-05 23:28 (UTC)

This is my first published AUR package. If there are any issues, which there probably are, leave a comment or email me and I'll try and get back to fix it.