This is exactly the same thing that happened while building libgpewidgets-0.117-r1, in bug #283339. Check out the attached build.log, and see bug #283339 for some suggestions. Reproducible: Always Steps to Reproduce: 1.cross-compile gpe-utils/gpe-ownerinfo-0.28 2. 3.
Created attachment 202813 [details] build.log
This package does not need to link with opengl directly.
(In reply to comment #2) > This package does not need to link with opengl directly. > That's what makes it a bit tricky... I don't see any other 'smooth' way around it aside from inserting -lGL into cairo.pc from the cairo ebuild. So it could be considered a bug in cairo. An alternative is to add a test to some aspect of the configure process to see if the -lGL flag is necessary to build a cairo-linked binary, and insert that into the resulting Makefile, as appropriate, but that might be a lot of work for each of the gpe-* apps that doesn't build.
try with the linker flag -Wl,--as-needed on all of the pkgs in question.
(In reply to comment #4) > try with the linker flag -Wl,--as-needed on all of the pkgs in question. > still no dice
Can you do armv5tel-softfloat-linux-gnueabi-scanelf -n /usr/armv5tel-softfloat-linux-gnueabi/usr/lib/{libglitz,libglitz-glx,libgtk-x11,libcairo}.so ? Thanks,
I've actually tried compiling the program natively, so cross-compiling is not an issue. On the hose machine, I've got ET_DYN libm.so.6,libgcc_s.so.1,libc.so.6 /usr/lib/libglitz.so ET_DYN libglitz.so.1,libX11.so.6,libGL.so.1,libpthread.so.0,libc.so.6 /usr/lib/libglitz-glx.so ET_DYN libpixman-1.so.0,libfreetype.so.6,libfontconfig.so.1,libglitz-glx.so.1,libGL.so.1,libpthread.so.0,libglitz.so.1,libpng12.so.0,libxcb-render-util.so.0,libxcb-render.so.0,libxcb.so.1,libXrender.so.1,libX11.so.6,libz.so.1,libm.so.6,libgcc_s.so.1,libc.so.6 /usr/lib/libcairo.so /usr/lib/libgtk-x11.so does not exist (I guess it would be a symlink?) but rather /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1600.5 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1600.5 /usr/lib/libgtk-x11-2.0.so.0.1600.5 for that so, scanelf gives ET_DYN libgdk-x11-2.0.so.0,libXrandr.so.2,libXcursor.so.1,libgdk_pixbuf-2.0.so.0,libpangocairo-1.0.so.0,libuuid.so.1,libxcb-xlib.so.0,libXcomposite.so.1,libXdamage.so.1,libXfixes.so.3,libatk-1.0.so.0,libcairo.so.2,libpixman-1.so.0,libglitz-glx.so.1,libGL.so.1,libSM.so.6,libICE.so.6,libXmu.so.6,libXt.so.6,libXext.so.6,libXi.so.6,libpthread.so.0,libglitz.so.1,libpng12.so.0,libxcb-render-util.so.0,libxcb-render.so.0,libxcb.so.1,libXrender.so.1,libX11.so.6,libXau.so.6,libXdmcp.so.6,libgio-2.0.so.0,libpangoft2-1.0.so.0,libpango-1.0.so.0,libfontconfig.so.1,libfreetype.so.6,libz.so.1,libexpat.so.1,libgobject-2.0.so.0,libgmodule-2.0.so.0,libdl.so.2,libglib-2.0.so.0,libm.so.6,libc.so.6 /usr/lib/libgtk-x11-2.0.so.0.1600.5
Sorry, I can't reproduce it. Since the problem isn't on gpe-ownerinfo, I'm going to close as cantfix.