build failure due to missing gio/gdesktopappinfo.h

Bug #880982 reported by Pim Vullers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Marlin
Fix Released
Undecided
Unassigned

Bug Description

Trying to compile marlin from trunk gives me the following error:

[ 82%] Building C object src/CMakeFiles/marlin.dir/marlin-progress-ui-handler.c.o
[ 83%] Building C object src/CMakeFiles/marlin.dir/marlin-progress-info-widget.c.o
[ 84%] Building C object src/CMakeFiles/marlin.dir/Logger.c.o
[ 85%] Building C object src/CMakeFiles/marlin.dir/View/SettingsDialog.c.o
[ 86%] Building C object src/CMakeFiles/marlin.dir/View/DiskRenderer.c.o
[ 87%] Building C object src/CMakeFiles/marlin.dir/View/DirectoryNotFound.c.o
[ 88%] Building C object src/CMakeFiles/marlin.dir/View/Window.c.o
[ 89%] Building C object src/CMakeFiles/marlin.dir/View/Resources.c.o
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/SettingsDialog.c:40:33: fatal error: gio/gdesktopappinfo.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/marlin.dir/View/SettingsDialog.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/DiskRenderer.c: In function 'marlin_cell_renderer_disk_class_init':
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/DiskRenderer.c:290:44: warning: assignment from incompatible pointer type
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/DiskRenderer.c:291:42: warning: assignment from incompatible pointer type
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/Window.c: In function 'marlin_view_window_action_connect_to_server_callback':
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/Window.c:1826:9: warning: assignment from incompatible pointer type
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/Window.c: In function 'marlin_view_window_show_about':
/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/src/View/Window.c:1836:2: warning: passing argument 1 of 'granite_widgets_show_about_dialog' from incompatible pointer type
/usr/include/granite/granite.h:795:6: note: expected 'struct GtkWindow *' but argument is of type 'struct MarlinViewWindow *'
make[1]: *** [src/CMakeFiles/marlin.dir/all] Error 2
make: *** [all] Error 2

I do have this file available at /usr/include/gio-unix-2.0/gio/gdesktopappinfo.h but it look like this folder is not added to the include path correctly.

Revision history for this message
Pim Vullers (pimvullers) wrote :
Revision history for this message
ammonkey (am-monkeyd) wrote :

hello, can u give me the following output on your system please?
pkg-config --cflags gio-unix-2.0

Revision history for this message
xapantu (xapantu) wrote : Re: [Bug 880982] Re: build failure due to missing gio/gdesktopappinfo.h

And it might be interesting to have the log of the compilation with
"make VERBOSE=1" :)

Revision history for this message
Pim Vullers (pimvullers) wrote :
Download full text (6.7 KiB)

ammonkey:

chaos usb # pkg-config --cflags gio-unix-2.0
-pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include

xapantu: (called make VERBOSE=1 after the failure)

chaos marlin-9999_build # make VERBOSE=1
/usr/bin/cmake -H/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999 -B/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/CMakeFiles /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
make -f libwidgets/CMakeFiles/marlinwidgets.dir/build.make libwidgets/CMakeFiles/marlinwidgets.dir/depend
make[2]: Entering directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
cd /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999 /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999/libwidgets /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/libwidgets /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/libwidgets/CMakeFiles/marlinwidgets.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
make -f libwidgets/CMakeFiles/marlinwidgets.dir/build.make libwidgets/CMakeFiles/marlinwidgets.dir/build
make[2]: Entering directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
make[2]: Nothing to be done for `libwidgets/CMakeFiles/marlinwidgets.dir/build'.
make[2]: Leaving directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/CMakeFiles 89 90 91 92 93 94 95
[ 7%] Built target marlinwidgets
make -f libcore/CMakeFiles/marlincore.dir/build.make libcore/CMakeFiles/marlincore.dir/depend
make[2]: Entering directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
cd /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999 /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999/libcore /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/libcore /var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build/libcore/CMakeFiles/marlincore.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
make -f libcore/CMakeFiles/marlincore.dir/build.make libcore/CMakeFiles/marlincore.dir/build
make[2]: Entering directory `/var/tmp/portage/pantheon-base/marlin-9999/work/marlin-9999_build'
make[2]: Nothing to be done for `libcore/CMakeFiles/marlincore...

Read more...

Revision history for this message
ammonkey (am-monkeyd) wrote :

i guess it's just a missing entry (gio-unix-2.0) in src/CMakeLists.txt in the pkg_check_modules section.
@pimvullers, i just updated the bzr can u please try again?

Revision history for this message
Pim Vullers (pimvullers) wrote :

Builds fine now, thanks for the quick reaction :D

Changed in marlin:
status: New → Fix Committed
ammonkey (am-monkeyd)
Changed in marlin:
milestone: none → 0.1
Revision history for this message
ammonkey (am-monkeyd) wrote :

status fixreleased

Revision history for this message
ammonkey (am-monkeyd) wrote :

 status fixreleased

On 15 April 2013 15:33, am monkeyd <email address hidden> wrote:

> status fixreleased
>

Changed in marlin:
status: Fix Committed → Fix Released
Revision history for this message
ammonkey (am-monkeyd) wrote :

 status fixreleased

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.