Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367623 - x11-wm/sawfish-1.6.3 failed (compile phase)
Summary: x11-wm/sawfish-1.6.3 failed (compile phase)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 382943 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-17 05:54 UTC by taaroa
Modified: 2011-09-25 16:56 UTC (History)
1 user (show)

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


Attachments
build log (x11-wm:sawfish-1.6.3:20110517-053933.log,23.98 KB, text/plain)
2011-05-17 05:57 UTC, taaroa
Details
emerge --info \=x11-wm/sawfish-1.6.3 (emergeinfo,14.93 KB, text/plain)
2011-05-18 06:27 UTC, taaroa
Details
rep-gtk-0.90.3-r1.ebuild (rep-gtk-0.90.3-r1.ebuild,916 bytes, application/octet-stream)
2011-06-06 03:18 UTC, katabami
Details
files/implicit-def-new.patch (implicit-def-new.patch,414 bytes, patch)
2011-06-06 03:19 UTC, katabami
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description taaroa 2011-05-17 05:54:08 UTC
* 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
Comment 1 taaroa 2011-05-17 05:57:00 UTC
Created attachment 273545 [details]
build log
Comment 2 taaroa 2011-05-18 06:27:38 UTC
Created attachment 273801 [details]
emerge --info \=x11-wm/sawfish-1.6.3
Comment 3 katabami 2011-05-21 05:59:36 UTC
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.)
Comment 4 katabami 2011-05-21 06:04:20 UTC
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.)
Comment 5 taaroa 2011-05-22 05:02:29 UTC
(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.
Comment 6 katabami 2011-05-26 06:52:20 UTC
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.)
Comment 7 katabami 2011-06-06 03:18:15 UTC
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.
Comment 8 katabami 2011-06-06 03:19:52 UTC
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
Comment 9 Pacho Ramos gentoo-dev 2011-07-25 12:01:31 UTC
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
Comment 10 Pacho Ramos gentoo-dev 2011-09-14 14:08:44 UTC
*** Bug 382943 has been marked as a duplicate of this bug. ***
Comment 11 Pacho Ramos gentoo-dev 2011-09-14 14:09:20 UTC
(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
Comment 12 taaroa 2011-09-15 00:32:12 UTC
[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
Comment 13 taaroa 2011-09-15 00:53:37 UTC
patch[1] solves this problem. it need add into portage tree.

[1] https://bugs.gentoo.org/attachment.cgi?id=275973
Comment 14 Pacho Ramos gentoo-dev 2011-09-15 09:56:15 UTC
We need to contact upstream to get this patch applied there too :/
Comment 15 Pacho Ramos gentoo-dev 2011-09-25 16:56:42 UTC
+  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.
+