On 11/23/2016 06:08 AM, Alan W. Irwin wrote: > > Sorry for the length of this, but I have a lot to say that should be a > big help to you for testing purposes.
No problem, I appreciate your thoughts and help. > * -- WARNING: CMAKE_VERSION = 3.2.2 is in the range from 3.2 through > 3.3.1 which has a compromised find ability that was fixed in 3.3.2. > Please upgrade to 3.3.2 or greater. I changed the builds to download and install cmake-3.7.0, which seems to be working. > * Currently, your PLplot version is at least 3 commits behind. That is true. Once I have gotten the .travis.yml file to a point where it is providing useful results for us I plan to commit it to the SF repo. Since (I believe) travis-ci only works off the master branch on Github I thought this was the easiest way to do the testing. > From this cmake output message, it appears you don't have any X > display available to you during testing. If you cannot fix that issue, > I suggest you specifically disable Tk (-DENABLE_tk=OFF) to get rid of > the above warning. Done. > * -- Looking for itcl.h - not found > -- WARNING: Disabling Itcl interface code This is still failing with cmake-3.7.0 and the itcl3 and itcl3-dev packages. > Your detailed install messages for itcl3-dev seemed to successful > as noted above, but they did include the following warning message > about 110 packages that needed updating. > > 0 upgraded, 2 newly installed, 0 to remove and 110 not upgraded. > > To reduce that "not upgraded" number to 0, do the following: > > sudo apt-get update > sudo apt-get dist-upgrade I suspect that you can't do that, but I have not actually tried. There are a number of issues on the travis github page basically complaining that the distros they provide are a bit old and why can't they provide something more modern. > You need to install a package that contains the > gnatmake command. On Debian Jessie the name of that package is gnat-4.9. Done. > On Debian Jessie, the packages you need to install are called > liblua5.2-dev (for the development version of the lua library) and lua5.2 > (for the lua executable). Done. > On Debian Jessie, the package you need to install is called gdc. Done. > On Debian Jessie, the package you need to install is called libshp-dev. Done. > On Debian Jessie, the package you need to install is called sip-dev. Done, but it appears we are also missing the package that contains pyqt4. I should be able to fix this on my own :). > On Debian Jessie, the package you need to install is called liblasi-dev. This causes the build to fail with: Scanning dependencies of target psttf [ 20%] Building CXX object drivers/CMakeFiles/psttf.dir/psttf.cc.o In file included from /home/travis/build/HazenBabcock/PLplot/drivers/psttf.cc:44:0: /usr/include/LASi.h:14:30: fatal error: freetype/ftglyph.h: No such file or directory compilation terminated. make[2]: *** [drivers/CMakeFiles/psttf.dir/psttf.cc.o] Error 1 make[1]: *** [drivers/CMakeFiles/psttf.dir/all] Error 2 make: *** [all] Error 2 So I think we are still missing something, a freetype package perhaps? > On Debian Jessie, the package you need to install is called > libwxgtk3.0-dev. This causes the build to fail with: [ 14%] Building CXX object bindings/wxwidgets/CMakeFiles/plplotwxwidgets.dir/wxPLplotstream.cpp.o In file included from /usr/include/c++/5/type_traits:35:0, from /usr/include/wx-3.0/wx/strvararg.h:25, from /usr/include/wx-3.0/wx/string.h:46, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from /home/travis/build/HazenBabcock/PLplot/bindings/wxwidgets/wxPLplotstream.cpp:22: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ In file included from /usr/include/wx-3.0/wx/string.h:46:0, from /usr/include/wx-3.0/wx/memory.h:15, from /usr/include/wx-3.0/wx/object.h:19, from /usr/include/wx-3.0/wx/wx.h:15, from /home/travis/build/HazenBabcock/PLplot/bindings/wxwidgets/wxPLplotstream.cpp:22: /usr/include/wx-3.0/wx/strvararg.h:345:18: error: ‘is_enum’ in namespace ‘std’ does not name a template type typedef std::is_enum<T> is_enum; ^ /usr/include/wx-3.0/wx/strvararg.h:349:54: error: ‘is_enum’ was not declared in this scope enum { value = wxFormatStringSpecifierNonPodType<is_enum::value>::value }; ^ /usr/include/wx-3.0/wx/strvararg.h:349:68: error: template argument 1 is invalid enum { value = wxFormatStringSpecifierNonPodType<is_enum::value>::value }; ^ make[2]: *** [bindings/wxwidgets/CMakeFiles/plplotwxwidgets.dir/wxPLplotstream.cpp.o] Error 1 make[1]: *** [bindings/wxwidgets/CMakeFiles/plplotwxwidgets.dir/all] Error 2 make: *** [all] Error 2 Not sure how to set compiler flags, I will have to investigate further. Or maybe cmake should be doing this for us? > On Debian Jessie, the package you need to install is called libhpdf-dev. Sorry, missed this one, but I will test it soon. > * -- WARNING: The ocamlc application not found. Disabling OCaml binding > > On Debian Jessie, I discovered by running > > apt-file search ocamlc Done, I used both the ocaml and camlidl packages. > * -- checking for module 'gtk+-x11-2.0' > -- package 'gtk+-x11-2.0' not found > -- WARNING: gtk+-x11-2.0 not found. extXdrawable_demo not built. > > On Debian Jessie, the package you need to install is called > libgtk2.0-dev. Sorry, missed this one too. > * make[2]: Circular examples/python/x00 <- examples/python/x00 > dependency dropped. > > And many, many more such messages. Using cmake-3.7.0 seems to have fixed this. > By the way, will there be a graphical summary somewhere of which > ctests failed and which did not for your latest test results? (That > sort of display is what you should soon find at my.cdash.org from my > own nightly ctest-based testing results.) I think we'd have to make our own, possibly by scraping the travis page. It looks like all they are going to tell you is whether or not all the executable "exited with 0". > In any case, I suggest you specify "trusty" rather than the default > "precise" > because the latter is much too old and may include such old versions > of PLplot dependencies that PLplot is no longer compatible with them. > See > <https://docs.travis-ci.com/user/trusty-ci-environment/#Image-differences-from-Precise> > > for how to switch from precise to trusty. I am using trusty. > Then follow up with the usual > sudo apt-get update > sudo apt-get dist-upgrade > > Note, if travis-ci somehow precludes you from switching Ubuntu from > trusty to Ubuntu yakkety (admittedly a pretty drastic change) in > either of the two ways above, then that would force you to build > cmake-3.7.0 as part of each of your tests, and that would obviously be > slower than the above change to yakkety (if allowed by travis-ci). I used the cmake-3.7.0 binary so that I don't have to compile it. It would be nice if they provided more recent distros but I'm not holding my breath.. -Hazen ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel