I'm trying to install SnapRAID on 5.18.16-arch1-1 (installed from the 2022-08-05 iso), but the package fails, and compiling from snapraid-12.1.tar.gz gives the same errors:
===== Regression test completed with SUCCESS!
===== Please ignore any error message printed above, they are expected!
===== Everything OK
make[1]: Leaving directory '/home/taonl/dev/sys/snapraid-12.1'
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've downloaded snapraid-12.2-rc-1-g986e16b.tar.gz from the link you provided, ran ./configure, make and make check.
Everything OK
===== Regression test completed with SUCCESS!
===== Please ignore any error message printed above, they are expected!
===== Everything OK
make[1]: Leaving directory '/home/taonl/dev/sys/snapraid-12.2-rc-1-g986e16b'
This was on Linux asgard 5.19.1-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 Aug 2022 16:06:13 +0000 x86_64 GNU/Linux using an AMD Ryzen 5 5600X.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to install SnapRAID on
5.18.16-arch1-1
(installed from the 2022-08-05 iso), but the package fails, and compiling fromsnapraid-12.1.tar.gz
gives the same errors:https://paste.ec/paste/XIr7+h76#T13fL-mZkrk3ZkJb7WGPXVuZIYJKnosRkgqaM2941TU
gcc 12.1.1 20220730 is installed.
On the AUR, I see more people having what seems like the same problem. Anyone know how I can start diagnosing this or is there a known solution?
E: added gcc version and fixed typo.
Last edit: tao 2022-08-10
Try removing the #include <sys mount.h=""> line in the file cmdline/portable.h</sys>
It's just a try, but maybe it works.
Ciao,
Andrea
===== Regression test completed with SUCCESS!
===== Please ignore any error message printed above, they are expected!
===== Everything OK
make[1]: Leaving directory '/home/taonl/dev/sys/snapraid-12.1'
Thank you.
Thanks, I've updated the AUR package.
Excellent. I'll reinstall once sync is done. Thank you.
Hi tao,
Could you please try the 12.2 RC available at: http://beta.snapraid.it/
It's an equivalent fix, but that keeps compatibility with darwin. If you confirm that it's OK, I'm going to release it.
Thanks,
Andrea
Last edit: Andrea Mazzoleni 2022-08-17
Hi Andrea,
I've downloaded snapraid-12.2-rc-1-g986e16b.tar.gz from the link you provided, ran
./configure
,make
andmake check
.This was on Linux asgard 5.19.1-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 Aug 2022 16:06:13 +0000 x86_64 GNU/Linux using an AMD Ryzen 5 5600X.