checking for rep-gtk >= 0.17... no configure: error: You need rep-gtk version 0.17+ !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/sawfish-1.3.20040120-r1/work/sawfish/config.log configure runs rep command like this one: vlab ~ # export DISPLAY=192.168.1.2:0.0 vlab ~ # rep rep 0.17, Copyright (C) 1999-2000 John Harper rep comes with ABSOLUTELY NO WARRANTY; for details see the file COPYING Built Fri Sep 2 2005 by root@vlab, for i386-pc-linux-gnu. Enter `,help' to list commands. user> (require 'gui.gtk-2.gtk) *** Error: /usr/lib/rep/i386-pc-linux-gnu/gui/gtk-2/types.so: undefined symbol: rep_file_fdopen user> While it should behave like this: bajka ~ # export DISPLAY=192.168.1.2:0.0 bajka ~ # rep rep 0.17, Copyright (C) 1999-2000 John Harper rep comes with ABSOLUTELY NO WARRANTY; for details see the file COPYING Built Tue Aug 23 2005 by root@bajka, for i386-pc-linux-gnu. Enter `,help' to list commands. user> (require 'gui.gtk-2.gtk) t user> Reproducible: Always Steps to Reproduce: 1. emerge rep 2. emerge rep-gtk 3. emerge sawfish Actual Results: !!! ERROR: x11-wm/sawfish-1.3.20040120-r1 failed. Expected Results: succesfull install Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -fstack-protector" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="pl_PL" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm avi berkdb bitmap-fonts crypt cscope cups curl eds emboss encode esd fam foomaticdb fortran gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 guile hardened hardenedphp imagemagick imlib ipv6 jack java jpeg junit libg++ libwww mad mcal mikmod mmx motif mp3 mpeg mysql nas ncurses nls nptl odbc ogg oggvorbis opengl oss pam pdflib perl plotutils png python quicktime readline ruby sdl slang spell sse ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY System on which I was able to install sawfish (SMP dual-Pentium Pro): Portage 2.0.51.22-r2 (default-linux/x86/2005.0/2.4, gcc-3.3.6, glibc-2.3.5-r1, 2.4.31-hardened i686) ================================================================= System uname: 2.4.31-hardened i686 Pentium Pro Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -fstack-protector" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="pl_PL" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm avi berkdb bitmap-fonts crypt cscope curl eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hardened imlib ipv6 jpeg kde libg++ libwww mad mcal mikmod motif mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline ruby sdl slang speex spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib video_cards_matrox userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Could you please add the output of emerge -pv librep rep-gtk for both machines, to make it clear which specific versions you're using?
Closing for lack of response.
Strangely, I didn't get previous message! Not working one: vlab ~ # USE="audiofile" emerge -pv librep rep-gtk x11-wm/sawfish These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/librep-0.17-r1 +readline 0 kB [ebuild R ] x11-libs/rep-gtk-0.18-r2 +gnome 0 kB [ebuild N ] x11-wm/sawfish-1.3.20040120-r1 +audiofile +esd +gnome +nls 0 kB Total size of downloads: 0 kB Working one: bajka ~ # USE="audiofile" emerge -pv librep rep-gtk x11-wm/sawfish These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/librep-0.17-r1 +readline 0 kB [ebuild R ] x11-libs/rep-gtk-0.18-r2 +gnome 0 kB [ebuild R ] x11-wm/sawfish-1.3.20040120-r1 +audiofile +esd +gnome +nls 0 kB Total size of downloads: 0 kB
I don't see a significant difference between your systems (your system where you got it working has a 2.4 kernel, but I'm using sawfish with 2.6 myself, so I doubt that's it). On the system where things break, did you try installing sawfish fresh, or did you already have older versions of librep and/or rep-gtk installed? If it's not a fresh installation, would you please reinstall librep and rep-gtk, and see if that works, to make sure rep-gtk is compiled against your current version of librep? If it is a fresh installation, I will try to install sawfish on a system set up similarly to yours, and see if I can at least manage to get your error myself.
I have done some test: I have unmerged sawfish, rep-gtk and librep on the 'successfull' host and now I can't install sawfish on both hosts for the same reasons. Since successfull installations several changes has been done - gcc was upgraded (even twice?) and rebuilt with -hardened option - glibc, glib*, gtk* were upgraded (several times?) - other upgrades One of these upgrades must have caused this problem.
Alright, I now have been able to reproduce this error in a new system, but I don't yet know what's causing it. Just to rule out one possibility: were you using the same CFLAGS when you had a working sawfish? I don't think they caused this, since I could reproduce this also with -fno-stack-protector, but best to make sure.
No I didn't give any special CFLAGS on both hosts. As I have mentioned earlier, only changes through the time were gcc/glibc upgrades and gcc rebuilt with -hardened option.
I still can't explain why it doesn't work on some systems and does on others, but as it turns out, the undefined symbol problem exists on all systems; it's just that it gets ignored on some. Because of this, I've simply added rep_file_fdopen to the list of exported functions; could you resync in a couple of hours and reinstall librep, rep-gtk, and sawfish?
Again no response, so I'll just assume there are no remaining problems for you either. Please reopen if it's still broken.
I was waiting for version change of any of these packages, sorry for that. Finally it works on both machines, thanks alot!