Error building from repo

Bug #1404153 reported by Óscar García Amor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Marlin
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
Daniel Domínguez Álvarez (danieldominguez05) wrote :

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)

Revision history for this message
Óscar García Amor (oscar-garcia-amor) wrote :

:D

I don't remember why I need this... xDDD

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.