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&project=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: /usr/bin/git (found version "2.35.3")
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/kb6ibb/src/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build

Step two:
kb6ibb@kb6ibb-15:~/src/wsjtx-2.7.0-rc1/wsjtx-2.7.0/build> cmake --build .

Successful Build
   [100%] Linking CXX executable qmap
   [100%] Built target qmap
   [100%] Built target wsjtx-build
   [100%] Built target build

------------------------------------------------------------------------------------------

The down and dirty fix for Tumbleweed is to remove gcc 13 and install gcc 7 and associated dependencies.  This can be time consuming, using Yast makes it easier.  Once GCC is brought to Enterprise standard, the build works perfectly.  Same as Leap. The other option is as I figured before.   Manual patching is the cost of being so far out ahead of the Enterprise standard.



On 6/12/23 14:59, Marco Calistri via wsjt-devel wrote:
Hi,

Tried also to build WSJTX from git repository and faced same error I faced by using the tgz archive.

In my distro OpenSUSE Tumbleweed applying the standard WSJT-X single patch "wsjtx.patch" do not works and I need to apply it to all the files involved in the error.

I supposed that at least in the git this issue were resolved.

In my opinion (maybe I'm wrong) it looks that the major code attention being reserved to Windows more than on Linux O.S. with this software.

In any case the behavior between OpenSUSE, Fedora, Ubuntu is certainly different on some aspects and for this specific issue of apply the patch it looks to really be different.

[ 94%] Automatic MOC for target qmap_impl
[ 94%] Built target qmap_impl_autogen
[ 94%] Building Fortran object qmap/libqmap/CMakeFiles/qmap_impl.dir/q65c.f90.o
/home/marco/WSJT-X_build/git/src/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[2]: *** [qmap/libqmap/CMakeFiles/qmap_impl.dir/build.make:336: qmap/libqmap/CMakeFiles/qmap_impl.dir/q65c.f90.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:2109: qmap/libqmap/CMakeFiles/qmap_impl.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
---
*73 de Marco, PY1ZRJ (former IK5BCU)*
**


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

--
Jeff Stillinger - KB6IBB
KB6IBB Laboratories, Wylie Tx
http://kb6ibb-15.ham-radio-op.net/
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to