* Package: x11-wm/sawfish-1.6.3 * Repository: gentoo * Maintainer: truedfx@gentoo.org gnome@gentoo.org * USE: elibc_glibc kernel_linux nls userland_GNU x86 * FEATURES: preserve-libs sandbox suidctl usersandbox * Applying sawfish-1.6.3-prompt.patch ... * ERROR: x11-wm/sawfish-1.6.3 failed (compile phase): * make failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2174: Called die * The specific snippet of code: * emake || die "make failed" Reproducible: Always Steps to Reproduce: 1. emerge x11-wm/sawfish 2. 3. (compiling sawfish/wm/placement/top-left.jl) *** Error: /usr/lib/rep/i686-pc-linux-gnu/gui/gtk-2/gtk.so: undefined symbol: scm_is_pair *** Error: /usr/lib/rep/i686-pc-linux-gnu/gui/gtk-2/gtk.so: undefined symbol: scm_is_pair *** Error: /usr/lib/rep/i686-pc-linux-gnu/gui/gtk-2/gtk.so: undefined symbol: scm_is_pair *** Error: /usr/lib/rep/i686-pc-linux-gnu/gui/gtk-2/gtk.so: undefined symbol: scm_is_pair make[2]: *** [widget.jlc] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [widget-dialog.jlc] Error 1 make[2]: *** [widget-test.jlc] Error 1 make[2]: *** [widgets/alist.jlc] Error 1 *** Error: /usr/lib/rep/i686-pc-linux-gnu/gui/gtk-2/gtk.so: undefined symbol: scm_is_pair make[2]: *** [stock.jlc] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 emake failed tested on x86 & amd64
Created attachment 273545 [details] build log
Created attachment 273801 [details] emerge --info \=x11-wm/sawfish-1.6.3
Hi. According the upstream maintainer[1], librep detection method has changed, and you can't mix an old sawfish with recent librep. More precisely, librep >= 0.90.3 can't be detected by Sawfish < 1.5.0. I recommend upgrading Sawfish. (I know bug 367623.) Developers, could you either delete Sawfish-1.3.3 (and stabilize 1.6.3), or add ! >= librep-0.90.3 ? There's also a bump request bug 341855. [1] http://mail.gnome.org/archives/sawfish-list/2011-May/msg00081.html (I'm not a Gentoo developer.)
Sorry, ignore the previous comment. I was supposed for bug 368031. Reporter, have you built x11-libs/rep-gtk *after* librep? If not, please try it, and try rebuilding Sawfish again. (I'm not a Gentoo developer.)
(In reply to comment #4) > Reporter, have you built x11-libs/rep-gtk *after* librep? If not, please try > it, and try rebuilding Sawfish again. Portage 2.2.0_alpha33 (hardened/linux/x86, gcc-4.6.0, glibc-2.13-r2, 2.6.38-hardened i686) Tue May 17 13:45:36 2011 >>> dev-libs/librep-0.90.6 Tue May 17 13:46:06 2011 >>> x11-libs/rep-gtk-0.90.3 Portage 2.2.0_alpha34 (hardened/linux/amd64/no-multilib, gcc-4.6.0, glibc-2.13-r2, 2.6.38-hardened-r5-grsec x86_64) Thu May 19 18:19:26 2011 >>> dev-libs/librep-0.90.6 Thu May 19 18:20:00 2011 >>> x11-libs/rep-gtk-0.90.3 Thu May 19 18:53:33 2011 >>> x11-libs/rep-gtk-0.90.3 The result is the same.
Hi, taaroa. I found that x11-libs/rep-gtk is partially wrong; build log says: ------------------------------------------------------------------------ * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * rep-gtk.c:1128: warning: implicit declaration of function 'scm_is_pair' * gdk-glue.c:1993: warning: implicit declaration of function 'sgtk_init_gtk_glib_glue' * gtk-glue.c:15485: warning: implicit declaration of function 'gtk_status_icon_popup_menu' * gtk-glue.c:15537: warning: implicit declaration of function 'gtk_status_icon_get_geometry_interp' * gtk-glue.c:28079: warning: implicit declaration of function 'sgtk_init_gtk_glib_glue' * gtk-glue.c:28080: warning: implicit declaration of function 'sgtk_init_gtk_gdk_glue' * gtk-glue.c:28081: warning: implicit declaration of function 'sgtk_init_gdk_pixbuf_glue' * gdk-pixbuf-glue.c:877: warning: implicit declaration of function 'sgtk_init_gtk_glib_glue' * gdk-pixbuf-glue.c:878: warning: implicit declaration of function 'sgtk_init_gtk_gdk_glue' ------------------------------------------------------------------------ However, each version is downloaded hundreds times, probably without your problem. Do you have some option to trigger it, e.g. to force strict linking? (I'm not sure if I'll be able to understand your explanation.)
Created attachment 275971 [details] rep-gtk-0.90.3-r1.ebuild Please recompile x11-libs/rep-gtk with this new ebuild, and after that, recompile sawfish.
Created attachment 275973 [details, diff] files/implicit-def-new.patch Save this patch as <portage-tree>/x11-libs/rep-gtk/files/implicit-def-new.patch
I cannot reproduce this at all with: [ebuild R ~] dev-libs/librep-0.90.6 USE="readline -emacs" 0 kB [ebuild R ~] x11-libs/rep-gtk-0.90.3 0 kB [ebuild R ~] x11-wm/sawfish-1.6.3 USE="nls -xinerama" 0 kB
*** Bug 382943 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > Created attachment 275973 [details, diff] > files/implicit-def-new.patch > > Save this patch as <portage-tree>/x11-libs/rep-gtk/files/implicit-def-new.patch Affected people from 1.8.x, please show your librep,rep-gtk and sawfish versions and try this patch
[ebuild R ] dev-libs/librep-0.92.1 USE="readline -emacs" 0 kB [ebuild R ] x11-libs/rep-gtk-0.90.7 0 kB [ebuild N ] x11-wm/sawfish-1.8.2 USE="nls -xinerama" 0 kB
patch[1] solves this problem. it need add into portage tree. [1] https://bugs.gentoo.org/attachment.cgi?id=275973
We need to contact upstream to get this patch applied there too :/
+ 25 Sep 2011; Pacho Ramos <pacho@gentoo.org> rep-gtk-0.90.7.ebuild, + +files/rep-gtk-0.90.7-implicit-def-new.patch: + Fix undefined symbol problems like bug #367623, thanks to katabami for the + patch. +