Re: [wsjt-devel] PSE Fixed patch for CMakeFiles/qmap_impl.dir/q65c.f90.o

2023-06-13 Thread Manfred Antar {KN6KBS} via wsjt-devel
I just verified that wsjtx will build without errors with OSX macports gcc10 
(gfortran-mp-10)
The error occurs with gcc11 and gcc12 fortran compilers



> On Jun 13, 2023, at 11:22 AM, Marco Calistri via wsjt-devel 
>  wrote:
> 
> Il 13/06/23 12:19, Joe Taylor via wsjt-devel ha scritto:
>> Marco,
>> 
>> As far as I'm aware your problem involves only an attempt to build program 
>> QMAP.  Almost certainly you have no current use for QMAP, and no real 
>> interest in building it for Linux.
>> 
>> I suggest the simple expedient of moving the statement "endif ()", line 1435 
>> of the top-level CMakeFiles.txt down by two lines so that it comes after the 
>> statement "add_subdirectory (qmap)".  Then   you will not run into the 
>> fussy compiler warnings that are currently bothering you.
>> 
>> -- 73, Joe, K1JT
>> 
>> 
>> ___
>> wsjt-devel mailing list
>> wsjt-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
> 
> 
> Hello Joe, you are right, I don't use QMAP at all!
> 
> Many thanks for this easy workaround, I will follow your directions in case I 
> need to recompile the WSJTX source!
> 
> Best regards,
> ---
> 73 de Marco, PY1ZRJ (former IK5BCU)
> <630404BYw2B5Wom7.jpeg>
> ___
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel



signature.asc
Description: Message signed with OpenPGP
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] PSE Fixed patch for CMakeFiles/qmap_impl.dir/q65c.f90.o

2023-06-13 Thread Marco Calistri via wsjt-devel

Il 13/06/23 12:19, Joe Taylor via wsjt-devel ha scritto:

Marco,

As far as I'm aware your problem involves only an attempt to build 
program QMAP.  Almost certainly you have no current use for QMAP, and 
no real interest in building it for Linux.


I suggest the simple expedient of moving the statement "endif ()", 
line 1435 of the top-level CMakeFiles.txt down by two lines so that it 
comes after the statement "add_subdirectory (qmap)".  Then you will 
not run into the fussy compiler warnings that are currently bothering 
you.


-- 73, Joe, K1JT


___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel



Hello Joe, you are right, I don't use QMAP at all!

Many thanks for this easy workaround, I will follow your directions in 
case I need to recompile the WSJTX source!


Best regards,
---
*73 de Marco, PY1ZRJ (former IK5BCU)*
**___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] PSE Fixed patch for CMakeFiles/qmap_impl.dir/q65c.f90.o

2023-06-13 Thread Joe Taylor via wsjt-devel

Marco,

As far as I'm aware your problem involves only an attempt to build 
program QMAP.  Almost certainly you have no current use for QMAP, and no 
real interest in building it for Linux.


I suggest the simple expedient of moving the statement "endif ()", line 
1435 of the top-level CMakeFiles.txt down by two lines so that it comes 
after the statement "add_subdirectory (qmap)".  Then you will not run 
into the fussy compiler warnings that are currently bothering you.


-- 73, Joe, K1JT


___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] PSE Fixed patch for CMakeFiles/qmap_impl.dir/q65c.f90.o

2023-06-13 Thread Jeff Stillinger via wsjt-devel

Test Result and Solution to follow...

Downloaded SuSE Tumbleweed from SuSE Web Site

Standard (out of box options) Gnome Install

   kb6ibb@KB6IBB-TW-Test:~> cat /etc/os-release
   NAME="openSUSE Tumbleweed"
   # VERSION="20230610"
   ID="opensuse-tumbleweed"
   ID_LIKE="opensuse suse"
   VERSION_ID="20230610"
   PRETTY_NAME="openSUSE Tumbleweed"
   ANSI_COLOR="0;32"
   CPE_NAME="cpe:/o:opensuse:tumbleweed:20230610"
   BUG_REPORT_URL="https://bugzilla.opensuse.org;
   SUPPORT_URL="https://bugs.opensuse.org;
   HOME_URL="https://www.opensuse.org;
   DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed;
   LOGO="distributor-logo-Tumbleweed"

Fastest way to configure a WSJT-X build environment on SuSE Linux is to 
install DL8FCL's source rpm.

Download from the SuSE Factory.
https://software.opensuse.org/download/package?package=wsjtx=home%3Adl8fcl%3Aafu

   kb6ibb@KB6IBB-TW-Test:~> zypper si ./wsjtx-2.6.1-2.18.src.rpm

Once the build environment is set, instruct zypper to upgrade the world.

   kb6ibb@KB6IBB-TW-Test:~> sudo zypper dup
   Loading repository data...
   Reading installed packages...
   Warning: You are about to do a distribution upgrade with all enabled
   repositories. Make sure these repositories are compatible before you
   continue. See 'man zypper' for more information about this command.
   Computing distribution upgrade...
   Nothing to do.

Awesome, we are running the latest and greatest Tumbleweed.

Download the WSJT-X Source from Sourceforge.  We will be building WSJT-X 
2.7.0-RC1

https://sourceforge.net/projects/wsjt/files/wsjtx-2.7.0-rc1/wsjtx-2.7.0-rc1.tgz/download

Follow build instructions from KB6IBB.  For this test we will build WITH 
documentation.

http://kb6ibb-15.ham-radio-op.net/Ham-Radio/HamRadioBuild/HowToBuild-WSJT-X.txt

Step one:
kb6ibb@KB6IBB-TW-Test:~/Downloads/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build> 
cmake -DWSJT_SKIP_MANPAGES=OFF -DWSJT_GENERATE_DOCS=ON ..


-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.41.0")
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: 
/home/kb6ibb/Downloads/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build


Step two:
kb6ibb@KB6IBB-TW-Test:~/Downloads/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build> 
cmake --build .


And the build falls over here...

[ 96%] Building Fortran object 
qmap/libqmap/CMakeFiles/qmap_impl.dir/q65c.f90.o

/home/kb6ibb/Downloads/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build/wsjtx-prefix/src/wsjtx/qmap/libqmap/q65c.f90:23:39:

   23 | ndepth,ndiskdat,neme,newdat,nfa,nfb,nfcal,nfshift, &
  |   1
Error: Symbol ‘nfa’ at (1) is USE associated from module ‘q65’ and 
cannot occur in COMMON
gmake[5]: *** [qmap/libqmap/CMakeFiles/qmap_impl.dir/build.make:336: 
qmap/libqmap/CMakeFiles/qmap_impl.dir/q65c.f90.o] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:2129: 
qmap/libqmap/CMakeFiles/qmap_impl.dir/all] Error 2

gmake[3]: *** [Makefile:156: all] Error 2
gmake[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:73: 
wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:279: CMakeFiles/wsjtx-build.dir/all] 
Error 2

gmake: *** [Makefile:91: all] Error 2

---
*** Let's take a quick look at OpenSuSE Leap 15.5, where the build runs 
perfectly...
kb6ibb@kb6ibb-15:~/src/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build> cat 
/etc/os-release

   NAME="openSUSE Leap"
   VERSION="15.5"
   ID="opensuse-leap"
   ID_LIKE="suse opensuse"
   VERSION_ID="15.5"
   PRETTY_NAME="openSUSE Leap 15.5"
   ANSI_COLOR="0;32"
   CPE_NAME="cpe:/o:opensuse:leap:15.5"
   BUG_REPORT_URL="https://bugs.opensuse.org;
   HOME_URL="https://www.opensuse.org/;
   DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap;
   LOGO="distributor-logo-Leap"

Step one:
kb6ibb@kb6ibb-15:~/src/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build> cmake 
-DWSJT_SKIP_MANPAGES=OFF -DWSJT_GENERATE_DOCS=ON ..


   -- The C compiler identification is GNU 7.5.0
   -- The CXX compiler identification is GNU 7.5.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: /usr/bin/cc - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Check for working CXX compiler: /usr/bin/c++ - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Found Git: