Build failure on travis

Having trouble installing or compiling FreeCAD? Get help here.
wmayer
Site Admin
Posts: 16293
Joined: Thu Feb 19, 2009 10:32 am

Build failure on travis

Postby wmayer » Sun Sep 23, 2018 5:32 pm

We again have trouble on travis to get successful builds. One of the gcc builds on Linux fails with this error message:
CMakeFiles/FemGui.dir/ViewProviderFemConstraintTemperature.cpp.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [Mod/Fem/FemGui.so] Error 1
make[1]: *** [src/Mod/Fem/Gui/CMakeFiles/FemGui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
According to stackoverflow this might be a ccache problem and one has to delete the object file:
https://stackoverflow.com/questions/571 ... -gcc-error


Then again the macOS build fails and I am not quite sure what the reason is. At the end of the log file there is this message:
running `casher push` took longer than 180 seconds and has been aborted.

You can extend the timeout with `cache.timeout`. See https://docs.travis-ci.com/user/caching ... he-timeout for details



travis_time:end:24c3a06e:start=1537719438000000000,finish=1537719622000000000,duration=184000000000
[0Ktravis_fold:end:cache.2
[0K

Done. Your build exited with 1.

/Users/travis/.travis/job_stages: line 339: shell_session_update: command not found
peterl94
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: Build failure on travis

Postby peterl94 » Tue Sep 25, 2018 3:48 am

I'm going to first rule out the usual suspect of a homebrew library version mismatch. I started the update yesterday, but won't have the compiled packages up until tomorrow. The macOS builds will continue to fail until then.