GNOME Bugzilla – Bug 164522
Problem compiling aisleriot /w guile unstable.
Last modified: 2012-01-31 23:18:59 UTC
[...] make[3]: Entering directory `/tmp/gnome-games-2.9.4/aisleriot' /bin/sh ../libtool --mode=link gcc -s -O3 -march=i686 -o sol sol.o slot.o dialog.o cscmi.o events.o press_data.o draw.o menu.o card.o statistics.o -Wl,--export-dynamic -pthread -L/usr/local/lib -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lrsvg-2 -lgdk_pixbuf-2.0 -lart_lgpl_2 -lpangoft2-1.0 -lgsf-1 -lcroco -lpango-1.0 -lgmodule-2.0 -ldl -lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 ../libgames-support/libgames-support.la ../libgames-support/libgames-support.la -L/usr/local/lib -lguile -lguile-ltdl -lpthread -lgmp -lcrypt -lm gcc -s -O3 -march=i686 -o sol sol.o slot.o dialog.o cscmi.o events.o press_data.o draw.o menu.o card.o statistics.o -Wl,--export-dynamic -pthread -L/usr/local/lib -L/usr/X11R6/lib /usr/local/lib/libglade-2.0.so /usr/local/lib/libgnomeui-2.so -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/ssl/lib /usr/local/lib/libgnome-keyring.so /usr/local/lib/libjpeg.so /usr/local/lib/libbonoboui-2.so /usr/local/lib/liblinc.so -lSM -lICE /usr/local/lib/libgnomecanvas-2.so /usr/local/lib/libXcursor.so /usr/local/lib/libXrender.so -lX11 /usr/local/lib/libgnome-2.so /usr/local/lib/libesd.so /usr/lib/libasound.so /usr/local/lib/libaudiofile.so /usr/local/lib/libgnomevfs-2.so /usr/local/lib/libgconf-2.so /usr/local/lib/libbonobo-2.so -lssl -lcrypto -lrt /usr/local/lib/libbonobo-activation.so /usr/local/lib/libORBitCosNaming-2.so /usr/local/lib/libORBit-2.so /usr/local/lib/libpopt.so /usr/local/lib/libgthread-2.0.so /usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so /usr/local/lib/librsvg-2.so -lpam -lpam_misc /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libart_lgpl_2.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libgsf-1.so -lbz2 /usr/local/lib/libcroco.so -lgpm /usr/local/lib/libpango-1.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libxml2.so -lz /usr/local/lib/libglib-2.0.so ../libgames-support/.libs/libgames-support.a /usr/local/lib/libhowl.so /usr/local/lib/libguile.so /usr/local/lib/libguile-ltdl.so -ldl -lpthread /usr/local/lib/libgmp.so -lcrypt -lm cscmi.o(.text+0x1ff): In function `add_slot': : undefined reference to `SCM_CHARS' cscmi.o(.text+0x281): In function `add_slot': : undefined reference to `SCM_CHARS' cscmi.o(.text+0x2b8): In function `add_slot': : undefined reference to `SCM_CHARS' cscmi.o(.text+0x2de): In function `add_slot': : undefined reference to `SCM_CHARS' collect2: ld returned 1 exit status make[3]: *** [sol] Error 1 make[3]: Leaving directory `/tmp/gnome-games-2.9.4/aisleriot' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/gnome-games-2.9.4/aisleriot' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/gnome-games-2.9.4' make: *** [all] Error 2
Pierre: Thanks for reporting this bug... Which operating system (distro) are you using, and would you happen to know which version of guile you have installed on your system? (Gnome-games-2.9.4 should require and detect guile >= 1.6)
I'd much rather confirm this one than do NEEDINFO for now. :)
http://lists.gnu.org/archive/html/guile-user/2005-01/msg00044.html & children Mentions of removing SCM_CHARS and bringing it back, etc. I'll dig more about this later. Confirmed, but likely NOTGNOME/NOTABUG in the end.
This is almost NOTGNOME, as you can only trigger it with guile's "technology preview" version 1.7.1, or if you are running 1.6.7 with --disable-deprecated. It may run fine when guile 1.7.2 is released, as 'SCM_CHARS' (deprecated) has been added back to CVS... though I haven't tested this theory. We shouldn't have to rely on this anyway. I figure whenever someone clears the troubled spots out and checks aisleriot to make sure it runs under guile /w --disable-deprecated, this will be closed.
I'm using GNU/Linux LFS. I have guile 1.7.1 installed.
I have to say that this is a guile "bug". When 1.8 comes out I will work out a way to support both 1.6 and the 1.8-and-later interfaces. guile 1.6 will have the largest installed base for a while yet, at least among people capable of compiling the rest of GNOME 2.8, so it stays the way it is for now. Closing as NOTGNOME. Use CVS guile or 1.6 for now. Thanks for alerting us to a possible problem in the future though.
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component. Apologies for the mass email!