Bug 49691

Summary: Colord not build with jhbuild
Product: colord Reporter: Carlos Soriano <carlos.soriano89>
Component: libcolordAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Carlos Soriano 2012-05-09 07:29:47 UTC
/usr/bin/ld: colord_convert-cd-convert.o: undefined reference to symbol 'g_file_new_for_path'
/usr/bin/ld: note: 'g_file_new_for_path' is defined in DSO /home/carlos/gnome-shell/install/lib64/libgio-2.0.so.0 so try adding it to the linker command line
/home/carlos/gnome-shell/install/lib64/libgio-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [colord-convert] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/carlos/gnome-shell/source/colord/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/carlos/gnome-shell/source/colord'
make: *** [all] Error 2
*** Error during phase build of colord: ########## Error running make -j 8 *** [42/85]
Comment 1 Richard Hughes 2012-05-09 08:39:28 UTC
Can you try now please:

commit 6539d14eb54edde21cefe1f82af99c2b707f6cff
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed May 9 16:37:54 2012 +0100

    trivial: add Gio dep to colord-convert
    
    Resolves: https://bugs.freedesktop.org/show_bug.cgi?id=49691
Comment 2 Carlos Soriano 2012-05-09 08:49:05 UTC
I can go a little further but I got this error:

/usr/bin/ld: colord_convert-cd-convert.o: undefined reference to symbol 'gtk_init'
/usr/bin/ld: note: 'gtk_init' is defined in DSO /home/carlos/gnome-shell/install/lib64/libgtk-3.so.0 so try adding it to the linker command line
/home/carlos/gnome-shell/install/lib64/libgtk-3.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Comment 3 Richard Hughes 2012-05-09 09:52:37 UTC
(In reply to comment #2)
> I can go a little further but I got this error:

And now?
commit 59f167402cca8512a399ff5d7ea36bfe9d4915dd
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed May 9 17:50:49 2012 +0100

    trivial: only build colorhug-convert if we have GTK support compiled in

Thanks,

Richard.
Comment 4 Carlos Soriano 2012-05-09 10:51:20 UTC
solved =)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.