Menu

#27 Build error with 0.3.1 (automated tests) on linux

wont-fix
None
2015-05-17
2015-05-15
letmaik
No

Hi guys,

lensfun 0.3.1 fails to build for me:

https://travis-ci.org/neothemachine/lensfunpy/jobs/62770917#L173

What's wrong here?

Cheers
Maik

Discussion

  • Torsten Bronger

    Torsten Bronger - 2015-05-16

    Maybe too old GLib version? g_assert_nonnull was introduced in Glib 2.40.

     
    • letmaik

      letmaik - 2015-05-16

      Hm yes, but that's really a shame because it breaks both my Ubuntu 12.04
      and Windows builds. Ubuntu 12.04 is the version used by Travis CI and
      12.04 only has glib 2.32. For Windows I download the relevant DLLs
      myself, however the latest released glib there is 2.34, see
      http://www.gtk.org/download/win32.php and
      http://www.gtk.org/download/win64.php. Any ideas?

      Am 16.05.2015 um 05:56 schrieb Torsten Bronger:

      Maybe too old GLib version? g_assert_nonnull was introduced in Glib 2.40.

       
  • Torsten Bronger

    Torsten Bronger - 2015-05-17

    In CMakeCache.txt, you may set BUILD_TESTS:BOOL=OFF.

     
    • letmaik

      letmaik - 2015-05-17

      That did it, thanks. Turns out I actually already do that for Windows,
      just forgot it in the travis config. For reference, this is how I do it:

      cmake . -DBUILD_TESTS=off

       
  • Torsten Bronger

    Torsten Bronger - 2015-05-17
    • status: open --> wont-fix
    • assigned_to: Torsten Bronger
     
  • Torsten Bronger

    Torsten Bronger - 2015-05-17

    Okay, then I don't change the code. The tests are not vital after all. (Maybe they should be off by default.)

     
  • seebk

    seebk - 2015-05-17

    Yes, actually based on the README it should be turned off by default but seems I forgot to set the switch in the CMake config. Now, it is off for sure :)