Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263888 - dev-cpp/gtkmm-2.14.3 undefined reference to `cairo_glitz_surface_create'
Summary: dev-cpp/gtkmm-2.14.3 undefined reference to `cairo_glitz_surface_create'
Status: RESOLVED DUPLICATE of bug 192355
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 18:46 UTC by Matteo Azzali (RETIRED)
Modified: 2009-03-27 07:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Azzali (RETIRED) gentoo-dev 2009-03-26 18:46:45 UTC
I don't know if it's a missing dep or what, this version of gtkmm gives me:

mv -f .deps/generate_defs_gtk.Tpo .deps/generate_defs_gtk.Po                                           
/bin/sh ../../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -march=native -O2 -pipe -Wall  -Wl,-O1 -o generate_extra_defs generate_defs_gtk.o  -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lglibmm_generate_extra_defs-2.4                                                                                   
mkdir .libs                                                                                            
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -Wall -Wl,-O1 -o generate_extra_defs generate_defs_gtk.o  /usr/lib64/libgiomm-2.4.so /usr/lib64/libpangomm-1.4.so -L/usr/lib64 /usr/lib64/libglibmm-2.4.so /usr/lib64/libcairomm-1.0.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so /usr/lib64/libXext.so -lpthread /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libglibmm_generate_extra_defs-2.4.so /usr/lib64/libsigc-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so                                                          
/usr/lib64/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'                      
collect2: ld returned 1 exit status                                                                    
make[3]: *** [generate_extra_defs] Error 1                                                             
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.14.3/work/gtkmm-2.14.3/tools/extra_defs_gen'                                                                                                     
make[2]: *** [all-recursive] Error 1                                                                   
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.14.3/work/gtkmm-2.14.3/tools'             
make[1]: *** [all-recursive] Error 1                                                                   
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-2.14.3/work/gtkmm-2.14.3'                   
make: *** [all] Error 2                                                                                
 *                                                                                                     
 * ERROR: dev-cpp/gtkmm-2.14.3 failed.                                                                 
 * Call stack:                                                                                         
 *               ebuild.sh, line   48:  Called src_compile                                             
 *             environment, line 1351:  Called gnome2_src_compile                                      
 *             environment, line 1105:  Called die                                                     
 * The specific snippet of code:                                                                       
 *       emake || die "compile failure"                                                                
 *  The die message:                                                                                   
 *   compile failure                                                                                   
 *                                                                                                     
 * If you need support, post the topmost build error, and the call stack if relevant.                  
 * A complete build log is located at '/var/tmp/portage/dev-cpp/gtkmm-2.14.3/temp/build.log'.          
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/gtkmm-2.14.3/temp/environment'. 
 *  

Reproducible: Always
Comment 1 Matteo Azzali (RETIRED) gentoo-dev 2009-03-26 18:49:16 UTC
P.S.: it looks like actually we need to enable glitz support in cairo to compile this version of gtkmm, am I right?
Comment 2 Rafał Mużyło 2009-03-26 20:57:46 UTC
(In reply to comment #1)
> P.S.: it looks like actually we need to enable glitz support in cairo to
> compile this version of gtkmm, am I right?
> 
I doubt it, it's probably more like:
you need to recompile cairomm after changing cairo useflags.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-03-27 00:16:08 UTC
(In reply to comment #2)
> I doubt it, it's probably more like:
> you need to recompile cairomm after changing cairo useflags.

Actually, it's worse. There's a good chance you'll have to rebuild _all_ packages that use cairo or gtk.

Make sure you've removed glitz from your system and revdep-rebuild should be able to do its job properly.

Unfortunately, there's nothing we can do about this. Sorry.

Thanks

*** This bug has been marked as a duplicate of bug 192355 ***
Comment 4 Matteo Azzali (RETIRED) gentoo-dev 2009-03-27 07:42:43 UTC
Yes, it was an automagic dep due to glitz not uninstalled, thank you.