Hello, Thinking it was a libgc-dev debian package problem I posted a mail ... and got the following 2 answers [below].
Once I manually removed all *.la files from my /usr/local/lib tree, I could further try to compile guile-gnome-platform against gcc-4.6. As the list of *.la files I removed does not only includes guile-gnome stuff but also libguile, cairo and g-wrap, I am posting here instead of guile-gtk. Cheers, David ;;; ;;; -- reportbug + first answer ;;; From: Christoph Egger <christ...@debian.org> To: David Pirotte <da...@altosw.be> Cc: 631...@bugs.debian.org Subject: Re: Bug#631663: libgc-dev: missing .la files Date: Sat, 25 Jun 2011 23:07:39 +0200 Organization: Privat User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Hi! David Pirotte <da...@altosw.be> writes: > libtool: link: gcc -shared -fPIC -DPIC > .libs/libgw_guile_gnome_atk_la-guile-gnome-gw-atk.o -Wl,-rpath > -Wl,/usr/local/src/guile-gnome/git-clone/glib/gnome/gobject/.libs > /usr/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so > /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so > -L/usr/local/lib /usr/local/lib/libgwrap-guile-runtime.so > /usr/local/lib/libgwrap-core-runtime.so /usr/local/lib/libguile-2.0.so > -lgc -lffi > ../../../glib/gnome/gobject/.libs/libguile-gnome-gobject-2.so -pthread > -pthread -pthread -O2 -pthread -pthread -Wl,-soname > -Wl,libgw-guile-gnome-atk.so.0 -o .libs/libgw-guile-gnome-atk.so.0.0.0 > libtool: link: (cd ".libs" && rm -f "libgw-guile-gnome-atk.so.0" && ln > -s "libgw-guile-gnome-atk.so.0.0.0" "libgw-guile-gnome-atk.so.0") > libtool: link: (cd ".libs" && rm -f "libgw-guile-gnome-atk.so" && ln > -s "libgw-guile-gnome-atk.so.0.0.0" "libgw-guile-gnome-atk.so") > /bin/sed: can't read /usr/lib/libgc.la: No such file or directory > libtool: link: /usr/lib/libgc.la' is not a valid libtool archive > make[5]: *** [libgw-guile-gnome-atk.la] Error 1 make[5]: Leaving directory > /usr/local/src/guile-gnome/git-clone/atk/gnome/gw' > make[4]: *** [all] Error 2 What exactly needs to be done to see this failure? Just building guile-gnome-platform here seems to succeed. Note also that .la files are removed on purpose [0] wherever possible [0] http://lists.debian.org/debian-devel/2009/08/msg00783.html Regards Christoph -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer A. Because it breaks the logical sequence of discussion Q. Why is top posting bad? ;;; ;;; reportbug + second answer ;;; From: Julien Cristau <jcris...@debian.org> To: David Pirotte <da...@altosw.be>, 631...@bugs.debian.org Subject: Re: Bug#631663: libgc-dev: missing .la files Date: Sun, 26 Jun 2011 00:57:49 +0200 User-Agent: Mutt/1.5.20 (2009-06-14) On Sat, Jun 25, 2011 at 17:53:36 -0300, David Pirotte wrote: > Package: libgc-dev > Version: 1:7.1-8 > Severity: important > > This is also true for the libgc-dev amd64 [same version] package. > > Important: yes, very, but not urgent: it provides me [and the > community off course] to conmpile guile-gnome-platform: > > libtool: link: gcc -shared -fPIC > -DPIC .libs/libgw_guile_gnome_atk_la-guile-gnome-gw-atk.o -Wl,-rpath > -Wl,/usr/local/src/guile-gnome/git-clone/glib/gnome/gobject/.libs > /usr/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so > -lrt /usr/lib/libglib-2.0.so > -L/usr/local/lib /usr/local/lib/libgwrap-guile-runtime.so > /usr/local/lib/libgwrap-core-runtime.so /usr/local/lib/libguile-2.0.so > -lgc -lffi ../../../glib/gnome/gobject/.libs/libguile-gnome-gobject-2.so > -pthread > -pthread -pthread -O2 -pthread -pthread -Wl,-soname > -Wl,libgw-guile-gnome-atk.so.0 -o .libs/libgw-guile-gnome-atk.so.0.0.0 > libtool: > link: (cd ".libs" && rm -f "libgw-guile-gnome-atk.so.0" && ln -s > "libgw-guile-gnome-atk.so.0.0.0" "libgw-guile-gnome-atk.so.0") libtool: link: > (cd > ".libs" && rm -f "libgw-guile-gnome-atk.so" && ln -s > "libgw-guile-gnome-atk.so.0.0.0" "libgw-guile-gnome-atk.so") /bin/sed: can't > read /usr/lib/libgc.la: No such file or directory libtool: > link: /usr/lib/libgc.la' is not a valid libtool archive make[5]: *** > [libgw-guile-gnome-atk.la] Error 1 make[5]: Leaving > directory /usr/local/src/guile-gnome/git-clone/atk/gnome/gw' make[4]: *** > [all] > Error 2 You need to find what file on your system references /usr/lib/libgc.la, and remove it. Probably something in /usr/local/lib/*.la, looking at your log. I don't think this is a bug. Cheers, Julien ;;; ;;; the list of .la files I removed ;;; note that the presence of *guile-gnome*.la is because I did succeed ;;; compiling/installing guile-gnome-platform against gcc-4.5 [realy in may] and did ;;; not want to run make uninstall [on purpose] before succeeding against gcc-4.6 ... ;;; david@idefix:/usr/local/lib/tmp.la 18 $ ls libguile-2.0.la* libgw-guile-gnome-canvas.la* libgw-guile-gnome-gobject.la* libgw-guile-gnome-pango.la* libguile-cairo.la* libgw-guile-gnome-corba.la* libgw-guile-gnome-gtk.la* libgw-guile-gw-glib.la* libguile-gnome-corba-2.la* libgw-guile-gnome-gconf.la* libgw-guile-gnome-libglade.la* libgw-guile-standard.la* libguile-gnome-gobject-2.la* libgw-guile-gnome-gdk.la* libgw-guile-gnome-libgnome.la* libgwrap-core-runtime.la* libgw-guile-gnome-atk.la* libgw-guile-gnome-glib.la* libgw-guile-gnome-libgnomeui.la* libgwrap-guile-runtime.la* libgw-guile-gnome-cairo.la* libgw-guile-gnome-gnome-vfs.la* libgw-guile-gnome-pangocairo.la*