seandepagnier / weatherfax_pi

weather fax plugin for opencpn
GNU General Public License v3.0
20 stars 27 forks source link

Travis Build Fails Log #115

Closed rgleason closed 5 years ago

rgleason commented 5 years ago

API1.14 ov4.8.2 Travis build is failing. I have changed the travis.yml file from a more complex one that includes OSX to a simpler one that I am using for Deviation_pi which is working right now, and it still does not compile.So I think the problem is in the programming, or related to Weathefax_pi using more advanced libraries (in Windows we use Opencpn.lib api1.14 for (Opencpn 4.8.2) from sourceforge and it compiles.

Summary Failures:

CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: plots_pi
CPack: - Install project: plots_pi
CPack: Create package
CPackRPM: Will use GENERATED spec file: /home/travis/build/rgleason/plots_pi/build/_CPack_Packages/Linux/RPM/SPECS/plots_pi.spec
CPackRPM:Debug: You may consult rpmbuild logs in: 
CPackRPM:Debug:    - /home/travis/build/rgleason/plots_pi/build/_CPack_Packages/Linux/RPM/rpmbuildplots_pi.err
CPackRPM:Debug: *** error: line 5: Illegal sequence ".." in: Version:        ..
 ***
CPackRPM:Debug:    - /home/travis/build/rgleason/plots_pi/build/_CPack_Packages/Linux/RPM/rpmbuildplots_pi.out
CPackRPM:Debug: *** Building target platforms: x86_64
Building for target x86_64
 ***
CMake Error at /usr/local/cmake-3.9.2/share/cmake-3.9/Modules/CPackRPM.cmake:2674 (message):
  RPM package was not generated!
  /home/travis/build/rgleason/plots_pi/build/_CPack_Packages/Linux/RPM
Call Stack (most recent call first):
  /usr/local/cmake-3.9.2/share/cmake-3.9/Modules/CPackRPM.cmake:2745 (cpack_rpm_generate_package)
CPack Error: Error while execution CPackRPM.cmake
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: plots_pi
make: *** [package] Error 1
The command "make -j2 package" exited with 2.
Done. Your build exited with 1.

Plots_pi-Travis-Build-Errors.txt

Both of these .travis.yml result in failure travis-osx.yml.txt travis-deviation-simple.yml.txt

rgleason commented 5 years ago

Once I get .travis working and compiling I will

  1. Add a Tag for "4.8.2" (as Rasbats did)
  2. Make a PR "4.8.2"
  3. Add a Release "4.8.2" version.
  4. Try to reconfigure cmake to name the plugin ov50
  5. Is there a particular version number of cmake files that we are supposed to use?
  6. Change appveyor.yml and travis.yml to ov50 versions.
  7. Get appveyor and .travis working.
  8. Make a PR "ov50"