Hi @Bfg and @dragonek93, it looks like the patching is failing... rather the sending me only part of the build log, please post (or pastebin) the entire log... what is the total output of makepkg
?
Search Criteria
Package Details: xmrig-cuda 6.22.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xmrig-cuda.git (read-only, click to copy) |
---|---|
Package Base: | xmrig-cuda |
Description: | NVIDIA CUDA plugin for XMRig miner. |
Upstream URL: | https://github.com/xmrig/xmrig-cuda |
Keywords: | cryptocurrency gpu miner monero |
Licenses: | GPL-3.0-or-later |
Submitter: | hv15 |
Maintainer: | hv15 |
Last Packager: | hv15 |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2019-11-14 12:06 (UTC) |
Last Updated: | 2024-08-27 20:27 (UTC) |
Dependencies (6)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR)
- xmrig (xmrig-donateless-gitAUR, xmrig-c3-binAUR, xmrig-donatelessAUR)
- cmake (cmake-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- monero (monero-gui-static-binAUR) (optional) – wallet
Required by (0)
Sources (2)
hv15 commented on 2021-09-04 17:25 (UTC)
bfg commented on 2021-09-04 09:46 (UTC)
[ 94%] Building CXX object CMakeFiles/xmrig-cuda.dir/src/CudaCryptonightR_gen.cpp.o
In file included from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.cpp:20:
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:88:29: error: ‘size_t’ does not name a type
88 | static inline constexpr size_t l2(Id id) { return family(id) == RANDOM_X ? (1U << ((id >> 8) & 0xff)) : 0U; }
| ^~~~~~
In file included from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.cpp:20:
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:25:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
24 | #include <vector>
+++ |+#include <cstddef>
25 |
In file included from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.cpp:20:
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:89:29: error: ‘size_t’ does not name a type
89 | static inline constexpr size_t l3(Id id) { return 1ULL << ((id >> 16) & 0xff); }
| ^~~~~~
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:89:29: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:97:12: error: ‘size_t’ does not name a type
97 | inline size_t l2() const { return l2(m_id); }
| ^~~~~~
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:97:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:101:12: error: ‘size_t’ does not name a type
101 | inline size_t l3() const
| ^~~~~~
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:101:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
make[2]: [CMakeFiles/xmrig-cuda.dir/build.make:90: CMakeFiles/xmrig-cuda.dir/src/crypto/common/Algorithm.cpp.o] Errore 1
make[2]: Attesa per i processi non terminati....
In file included from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/cryptonight.h:30,
from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/xmrig-cuda.cpp:26:
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:88:29: error: ‘size_t’ does not name a type
88 | static inline constexpr size_t l2(Id id) { return family(id) == RANDOM_X ? (1U << ((id >> 8) & 0xff)) : 0U; }
| ^~~~~~
In file included from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/cryptonight.h:30,
from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/xmrig-cuda.cpp:26:
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:25:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
24 | #include <vector>
+++ |+#include <cstddef>
25 |
In file included from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/cryptonight.h:30,
from /home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/xmrig-cuda.cpp:26:
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:89:29: error: ‘size_t’ does not name a type
89 | static inline constexpr size_t l3(Id id) { return 1ULL << ((id >> 16) & 0xff); }
| ^~~~~~
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:89:29: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:97:12: error: ‘size_t’ does not name a type
97 | inline size_t l2() const { return l2(m_id); }
| ^~~~~~
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:97:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:101:12: error: ‘size_t’ does not name a type
101 | inline size_t l3() const
| ^~~~~~
/home/bfg/Download/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:101:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
make[2]: [CMakeFiles/xmrig-cuda.dir/build.make:104: CMakeFiles/xmrig-cuda.dir/src/xmrig-cuda.cpp.o] Errore 1
make[1]: [CMakeFiles/Makefile2:85: CMakeFiles/xmrig-cuda.dir/all] Errore 2
make: *** [Makefile:91: all] Errore 2
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
dragonek93 commented on 2021-09-04 09:11 (UTC)
still doesn't working. I removed these 2 directories and still i got this errors:
[ 82%] Building CXX object CMakeFiles/xmrig-cuda.dir/src/crypto/common/Algorithm.cpp.o In file included from /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.cpp:20: /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:88:29: error: ‘size_t’ does not name a type 88 | static inline constexpr size_t l2(Id id) { return family(id) == RANDOM_X ? (1U << ((id >> 8) & 0xff)) : 0U; } | ^~~~~~ In file included from /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.cpp:20: /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:25:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? 24 | #include <vector> +++ |+#include <cstddef> 25 | In file included from /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.cpp:20: /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:89:29: error: ‘size_t’ does not name a type 89 | static inline constexpr size_t l3(Id id) { return 1ULL << ((id >> 16) & 0xff); } | ^~~~~~ /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:89:29: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:97:12: error: ‘size_t’ does not name a type 97 | inline size_t l2() const { return l2(m_id); } | ^~~~~~ /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:97:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:101:12: error: ‘size_t’ does not name a type 101 | inline size_t l3() const | ^~~~~~ /home/dragonek/.cache/paru/clone/xmrig-cuda/src/xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h:101:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? make[2]: [CMakeFiles/xmrig-cuda.dir/build.make:90: CMakeFiles/xmrig-cuda.dir/src/crypto/common/Algorithm.cpp.o] Błąd 1 make[1]: [CMakeFiles/Makefile2:85: CMakeFiles/xmrig-cuda.dir/all] Błąd 2 make: *** [Makefile:91: all] Błąd 2 ==> BŁĄD: Wystąpił błąd w build(). Przerywam... error: failed to build 'xmrig-cuda-6.15.0-3': error: packages failed to build: xmrig-cuda-6.15.0-3
It's been working 5 days ago and idk hy you can install wothout problems but im not.
hv15 commented on 2021-09-04 08:05 (UTC)
@dragonek93 these are warnings, they don't affect the compilation... does the PKGBUILD fail to create a package?
hv15 commented on 2021-09-03 19:15 (UTC)
Hi @dragonek93, I'm able to build this on my system. It looks like the patch didn't apply correctly, could you try removing both the src
and pkg
directories and restarting the build.
hv15 commented on 2021-09-03 07:30 (UTC)
Hi @dragonek93, this is fixed upstream but not yet released, see https://github.com/xmrig/xmrig-cuda/issues/119. I've updated the PKGBUILD with the fix though.
hv15 commented on 2021-05-20 07:54 (UTC)
@iyanmv, yes gcc10 works, will update PKGBUILD to use CUDA default compiler from now on.
Pinned Comments
hv15 commented on 2022-10-14 16:33 (UTC)
Hi all, I no longer use this package and have no interest in maintaining it. Before disowning it I'd ideally like to make someone a co-maintainer. Please reach out if you're interested. Thanks!