Menu

make failure

Help
tao
2022-08-10
2022-08-18
  • tao

    tao - 2022-08-10

    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:

    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
  • Andrea Mazzoleni

    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

     
    👍
    2
    • tao

      tao - 2022-08-11

      ===== 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.

       
  • Kyle

    Kyle - 2022-08-11

    Thanks, I've updated the AUR package.

     
    👍
    1
    • tao

      tao - 2022-08-11

      Excellent. I'll reinstall once sync is done. Thank you.

       
  • Andrea Mazzoleni

    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
    • tao

      tao - 2022-08-18

      Hi Andrea,

      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.

       

Log in to post a comment.