Package Details: wsjtx 2.6.1-3

Git Clone URL: https://aur.archlinux.org/wsjtx.git (read-only, click to copy)
Package Base: wsjtx
Description: Software for Amateur Radio Weak-Signal Communication (JT9 and JT65)
Upstream URL: http://physics.princeton.edu/pulsar/k1jt/wsjtx.html
Licenses: GPL-3
Submitter: 7h0ma5
Maintainer: AI5C
Last Packager: AI5C
Votes: 33
Popularity: 0.135394
First Submitted: 2015-06-09 13:48 (UTC)
Last Updated: 2024-04-19 18:18 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

wiccan2 commented on 2020-05-23 13:47 (UTC) (edited on 2020-05-23 13:48 (UTC) by wiccan2)

I can't compile even with the patch:

[ 25%] Building Fortran object CMakeFiles/wsjt_fort_omp.dir/lib/ft8/filt8.f90.o
/home/wiccan2/ForceLocal/aur-rebased/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/ft8/filt8.f90:32:14:

   12 |   call four2a(x,NFFT,1,-1,0)              !r2c
      |              2
......
   32 |   call four2a(cx,nfft,1,1,-1)                  !c2r
      |              1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(4)/REAL(4)).
make[5]: *** [CMakeFiles/wsjt_fort_omp.dir/build.make:1214: 
CMakeFiles/wsjt_fort_omp.dir/lib/ft8/filt8.f90.o] Error 1
make[5]: *** Waiting for unfinished jobs....

...

/home/wiccan2/ForceLocal/aur-rebased/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/ft8/filt8.f90:32:14:

   12 |   call four2a(x,NFFT,1,-1,0)              !r2c
      |              2
......
   32 |   call four2a(cx,nfft,1,1,-1)                  !c2r
      |              1
Error: Type mismatch between actual argument at (1) and actual argument at (2) 
(COMPLEX(4)/REAL(4)).
make[5]: *** [CMakeFiles/wsjt_fort.dir/build.make:1214: 
CMakeFiles/wsjt_fort.dir/lib/ft8/filt8.f90.o] Error 1
make[5]: *** Waiting for unfinished jobs....
[ 26%] Building Fortran object CMakeFiles/wsjt_fort.dir/lib/fitcal.f90.o

...

make[3]: *** [Makefile:172: all] Error 2
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:81: wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:462: CMakeFiles/wsjtx-build.dir/all] Error 2
make: *** [Makefile:104: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

felmey commented on 2020-04-13 01:24 (UTC)

nrdufour's patch fixed my issue. I was able to compile after applying it. Thank you.

(Probably goes without saying but just wipe out all the files and directories that were created if you already had a failed install attempt. )

nrdufour commented on 2020-04-08 19:07 (UTC)

FYI regarding the patch I submitted on this AUR, I also submitted it to the upstream source, and they responded that they were aware of the trouble and it will be included in the next release.

In the meantime, I think we have no other choice than patching the source this way.

AsmundEr commented on 2020-04-08 17:01 (UTC)

With @nrdufour's solution I can compile just fine.

Maybe @felmey and @semeion are also hitting the same error, just that it's displayed higher up in the output e.g. due to multithreaded compile? (There are no errors shown in @semeion's output message).

felmey commented on 2020-04-04 22:05 (UTC)

I'm getting the same errors as semeion

semeion commented on 2020-03-30 16:22 (UTC) (edited on 2020-03-30 16:22 (UTC) by semeion)

I can´t compile, i am getting some errors:

[ 70%] Building Fortran object CMakeFiles/wsjt_fort_omp.dir/lib/ft4/ft4sim_mult.f90.o
[ 70%] Building Fortran object CMakeFiles/wsjt_fort_omp.dir/lib/77bit/my_hash.f90.o
[ 70%] Building Fortran object CMakeFiles/wsjt_fort_omp.dir/lib/stdmsg.f90.o
[ 70%] Building Fortran object CMakeFiles/wsjt_fort_omp.dir/lib/update_msk40_hasharray.f90.o
[ 70%] Building Fortran object CMakeFiles/wsjt_fort_omp.dir/lib/decoder.f90.o
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:136:76:

  136 |                     call azdist(mygrid,g2fox(j)//'  ',0.d0,nAz,nEl,nDmiles, &
      |                                                                            1
Warning: Nonconforming tab character at (1) [-Wtabs]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:591:19:

  591 |     character c1*12,c2*12,g2*4,w*4
      |                   1
Warning: Unused variable ‘c1’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:591:25:

  591 |     character c1*12,c2*12,g2*4,w*4
      |                         1
Warning: Unused variable ‘c2’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:591:30:

  591 |     character c1*12,c2*12,g2*4,w*4
      |                              1
Warning: Unused variable ‘g2’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:14:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |              1
Warning: Unused variable ‘i0’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:17:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |                 1
Warning: Unused variable ‘i1’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:20:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |                    1
Warning: Unused variable ‘i2’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:23:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |                       1
Warning: Unused variable ‘i3’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:26:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |                          1
Warning: Unused variable ‘i4’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:29:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |                             1
Warning: Unused variable ‘i5’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:33:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |                                 1
Warning: Unused variable ‘n30’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:592:39:

  592 |     integer i0,i1,i2,i3,i4,i5,n30,nwrap
      |                                       1
Warning: Unused variable ‘nwrap’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:591:34:

  591 |     character c1*12,c2*12,g2*4,w*4
      |                                  1
Warning: Unused variable ‘w’ declared at (1) [-Wunused-variable]
/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx/lib/decoder.f90:336:30:

  336 |   subroutine jt4_average (this, used, utc, sync, dt, freq, flip)
      |                              1
Warning: Unused dummy argument ‘this’ at (1) [-Wunused-dummy-argument]
[ 70%] Linking CXX static library libwsjt_fort_omp.a
make[5]: Leaving directory '/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx-build'
[ 70%] Built target wsjt_fort_omp
make[4]: Leaving directory '/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx-build'
make[3]: *** [Makefile:169: all] Error 2
make[3]: Leaving directory '/home/mnemonic/.aur/wsjtx/wsjtx/src/build/wsjtx-prefix/src/wsjtx-build'
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:78: wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[2]: Leaving directory '/home/mnemonic/.aur/wsjtx/wsjtx/src/build'
make[1]: *** [CMakeFiles/Makefile2:405: CMakeFiles/wsjtx-build.dir/all] Error 2
make[1]: Leaving directory '/home/mnemonic/.aur/wsjtx/wsjtx/src/build'
make: *** [Makefile:101: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

pavbaranov commented on 2020-03-18 13:41 (UTC)

It looks like @nrdufour's solution works. If somebody need - there is PKGBUILD with his patch: https://github.com/polaur/aur-rebased/tree/master/wsjtx

nickoe commented on 2020-02-12 21:10 (UTC)

nrdufour, maybe submit it upstream? It looks like we also see the error there in git.

nrdufour commented on 2020-02-03 17:32 (UTC) (edited on 2020-02-03 17:34 (UTC) by nrdufour)

I managed to solve the compilation issue on qt_helpers.hpp with the following patch file called wsjtx.patch being copied in the source itself with the following content:


--- a/qt_helpers.hpp    2019-11-26 09:22:32.000000000 -0500
+++ b/qt_helpers.hpp    2020-02-03 11:30:07.488214336 -0500
@@ -83,6 +83,7 @@
   // std::hash<> specialization for QString based on the dbj2
   // algorithm <http://www.cse.yorku.ca/~oz/hash.html> because qHash()
   // is poor on 64-bit platforms due to being a 32-bit hash value
+  #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
   template<>
   struct hash<QString>
   {
@@ -96,6 +97,7 @@
       return hash;
     }
   };
+#endif
 }

 // Register some useful Qt types with QMetaType

then I added the following to the PKGBUILD:


prepare() {
    cp $srcdir/../wsjtx.patch $srcdir/wsjtx-2.1.2/wsjtx.patch
}

djpohly commented on 2020-02-01 21:08 (UTC)

It looks like either this needs git as a makedep, or we have to patch the "Find_package(Git REQUIRED)" line out of CMakeLists.txt. See build log: https://travis-ci.org/djpohly/PKGBUILD/builds/644871931#L979-L984