MoneroOcean / xmrig

Monero (rx/0, rx/wow, rx/loki, defyx, rx/arq, rx/sfx, rx/keva, cn/0, cn/1, cn/2, cn/r, cn/fast, cn/half, cn/xao, cn/rto, cn/rwz, cn/zls, cn/double, cn/gpu, cn-lite/0, cn-lite/1, cn-heavy/0, cn-heavy/tube, cn-heavy/xhv, cn-pico, cn-pico/tlo, argon2/chukwa, argon2/wrkz, astrobwt) CPU/GPU miner
https://moneroocean.stream
GNU General Public License v3.0
275 stars 86 forks source link

FTBFS on Alpine aarch64 #127

Open tidux opened 8 months ago

tidux commented 8 months ago
[ 63%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclRyoRunner.cpp.o
/xmrig/src/xmrig/src/backend/opencl/runners/OclRyoRunner.cpp: In member function 'virtual void xmrig::OclRyoRunner::set(const xmrig::Job&, uint8_t*)':
/xmrig/src/xmrig/src/backend/opencl/runners/OclRyoRunner.cpp:92:20: error: 'length_error' is not a member of 'std'
   92 |         throw std::length_error("job size too big");
      |                    ^~~~~~~~~~~~
/xmrig/src/xmrig/src/backend/opencl/runners/OclRyoRunner.cpp:37:1: note: 'std::length_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
   36 | #include "crypto/cn/CnAlgo.h"
  +++ |+#include <stdexcept>
   37 |
make[2]: *** [CMakeFiles/xmrig.dir/build.make:2050: CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclRyoRunner.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:138: CMakeFiles/xmrig.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
realsetvin commented 5 months ago

did you install all the dependencies??

Spudz76 commented 5 months ago

Was fixed at commit 7445870414faeae585a495c2f4bb5ba18630e4dc (May 2) and released in v6.21.3-mo2. Please close.