Trying to compile marlin from trunk give this error:
[ 42%] Generating tests-pathbar.c
/tmp/packerbuild-1000/marlin-bzr/marlin-bzr/src/marlin/libwidgets/tests/tests-pathbar.vala:36.30-36.43: error: use `new' operator to create new objects
Gdk.EventKey event = Gdk.EventKey();
^^^^^^^^^^^^^^
/tmp/packerbuild-1000/marlin-bzr/marlin-bzr/src/marlin/libwidgets/tests/tests-pathbar.vala:123.30-123.43: error: use `new' operator to create new objects
Gdk.EventKey event = Gdk.EventKey();
^^^^^^^^^^^^^^
/tmp/packerbuild-1000/marlin-bzr/marlin-bzr/src/marlin/libwidgets/tests/tests-pathbar.vala:137.30-137.43: error: use `new' operator to create new objects
Gdk.EventKey event = Gdk.EventKey();
^^^^^^^^^^^^^^
/tmp/packerbuild-1000/marlin-bzr/marlin-bzr/src/marlin/libwidgets/tests/tests-pathbar.vala:150.30-150.43: error: use `new' operator to create new objects
Gdk.EventKey event = Gdk.EventKey();
^^^^^^^^^^^^^^
Compilation failed: 4 error(s), 0 warning(s)
libwidgets/tests/CMakeFiles/widgets-test.dir/build.make:53: recipe for target 'libwidgets/tests/tests-pathbar.c' failed
make[2]: *** [libwidgets/tests/tests-pathbar.c] Error 1
CMakeFiles/Makefile2:214: recipe for target 'libwidgets/tests/CMakeFiles/widgets-test.dir/all' failed
make[1]: *** [libwidgets/tests/CMakeFiles/widgets-test.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
If you only want to compile it for production use just remove the file libwidgets/ tests/CMakeList .txt and it will ignore the test that fails.
(3 years later, but better than nothing I guess)