I was trying to update the wsjtx version in my COPR repository[1] but the
builds are failing on Fedora 22+ (but working on Fedora 21)

Here's a link to the failing build on rawhide:
https://copr-be.cloud.fedoraproject.org/results/hobbes1069/WSJT/fedora-rawhide-x86_64/00129822-wsjtx/build.log.gz

But an excerpt of the specific error shows:
[100%] Performing build step for 'wsjtx'
cd /builddir/build/BUILD/wsjtx-1.5/build/wsjtx-prefix/src/wsjtx-build &&
/usr/bin/cmake -Dmake=make -P
/builddir/build/BUILD/wsjtx-1.5/build/wsjtx-prefix/src/wsjtx-stamp/wsjtx-build-.cmake
CMake Error at
/builddir/build/BUILD/wsjtx-1.5/build/wsjtx-prefix/src/wsjtx-stamp/wsjtx-build-.cmake:16
(message):
  Command failed: 2
   'make'
  See also

/builddir/build/BUILD/wsjtx-1.5/build/wsjtx-prefix/src/wsjtx-stamp/wsjtx-build-*.log
CMakeFiles/wsjtx-build.dir/build.make:63: recipe for target
'wsjtx-prefix/src/wsjtx-stamp/wsjtx-build' failed
make[2]: *** [wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 1

This does not look like a gcc error but a cmake error. The only thing I can
assume is it doesn't like something about the superbuild script on newer
versions of cmake.

It already complains about the use of reserved keywords for targets which
should probably be suppressed by setting the correct policy:

CMake Warning (dev) at CMakeLists.txt:170 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
  The target name "install" is reserved or not valid for certain CMake
  features, such as generator expressions, and may result in undefined
  behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:171 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
  The target name "package" is reserved or not valid for certain CMake
  features, such as generator expressions, and may result in undefined
  behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.

Any ideas?

Thanks,
Richard
KF5OIM
------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to