Subject: pkg/19883: More guile 1.6 / gnucash breakage
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric Gillespie <epg@pretzelnet.org>
List: netbsd-bugs
Date: 01/17/2003 00:30:37
>Number: 19883
>Category: pkg
>Synopsis: More guile 1.6 / gnucash breakage
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 16 21:31:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6
>Organization:
>Environment:
System: NetBSD wundagore.pretzelnet.org 1.6 NetBSD 1.6 ($Id: WUNDAGORE 435 2002-10-02 02:08:24Z epg $) #6: Sun Jan 12 17:26:34 EST 2003 epg@wundagore.pretzelnet.org:/usr/src/sys/arch/i386/compile/WUNDAGORE i386
Architecture: i386
Machine: i386
>Description:
I had just rebuilt the gdk-pixbuf dependency chain today (and
thus gnucash), and when i saw guile 1.6 support being enabled in
gnumeric i figured i'd better test that. So i had a successful
gnucash build earlier today, and a failure after i updated the
gnumeric package and *only* the gnumeric package (i did of course
rebuild all the packages that depend on gnucash, but i didn't cvs
update anything but gnumeric).
Re-enabling guile 1.6 support in gnumeric caused my system to have
guile 1.6 installed and *that* is where the problem comes in.
Building gnucash fails like this:
/bin/sh ../libtool --mode=link cc -O2 -g -pipe -I/usr/pkg/include -I/usr/X11R6/
include -Wall -Wunused -Wall -Wno-unused -Werror-implicit-function-declaration
-I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -I/usr/pkg/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/pkg/lib/gnome-libs/include -I/usr/pkg/include/orbit-1.0 -I/usr/pkg/guile/1.4/include -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o gnucash MultiLedger.o SplitLedger.o EuroUtils.o FileDialog.o gnc-component-manager.o gnc-exp-parser.o gnc-main.o gnc-ui-util.o messages.o gnome/libgncgnome.a register/libgncregister.a register/gnome/libgncregistergnome.a guile/libgncguile.a gnome/libgncgnome.a calculation/libgnccalc.a engine/libgncengine.la -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lm -lglib -lintl -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lguppitank -lguppi -lzvt -lutil -lglade-gnome -lglade -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP -lwrap -lORBitutil -lbonobox -lbonobo-print -lgnomeprint -lgnomeui -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lart_lgpl -lm -lxml -lz -lfreetype -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lgnomeprint -lgnomeui -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lart_lgpl -lm -lxml -lz -lfreetype -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lg-wrap-runtime-guile -L/usr/pkg/guile/1.4/lib -lguile -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -L/usr/X11R6/lib -lgtkhtml-1.1 -lgal -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lgdk_pixbuf -lgnomecanvaspixbuf -liconv -lgconf-gtk-1 -lgconf-1 -loaf -lORBitCosNaming -lORBit -lIIOP -lwrap -lORBitutil
-lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm -L/usr/pkg/lib -lghttp /usr/lib/libintl.so -lpopt -lm -lintl -lm
mkdir .libs
cc -O2 -g -pipe -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wunused -Wall -Wno-unused -Werror-implicit-function-declaration -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -I/usr/pkg/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/pkg/lib/gnome-libs/include -I/usr/pkg/include/orbit-1.0 -I/usr/pkg/guile/1.4/include -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -o .libs/gnucash MultiLedger.o SplitLedger.o EuroUtils.o FileDialog.o gnc-component-manager.o gnc-exp-parser.o gnc-main.o gnc-ui-util.o messages.o -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib /usr/lib/libintl.so -L/usr/X11R6/lib -L/usr/pkg/lib gnome/libgncgnome.a register/libgncregister.a register/gnome/libgncregistergnome.a guile/libgncguile.a gnome/libgncgnome.a calculation/libgnccalc.a engine/.libs/libgncengine.so -lz -lm -lintl -lm -lossaudio -lSM -lICE -lintl -lXi -lXext -lX11 -lz -lm -lintl -lz -lm -lintl -lSM -lICE -lXext -lintl -lSM -lICE -lXi -lXext -lX11 -lm -lintl -lXi -lXext -lX11 -lm -lintl -lXi -lXext -lX11 -lz -lm -lintl -lz -lm -lintl -lm -lossaudio -lossaudio -lm -lm -lintl /usr/pkg/lib/libguppitank.so -lintl /usr/pkg/lib/libguppi.so -lintl /usr/pkg/lib/libzvt.so -lz -lm -lintl -lutil -lSM -lICE -lXi -lXext -lX11 -lintl -lossaudio -lm -lz -lintl -lintl -lXi -lXext -lX11 -lm -lz -lintl -lintl -lwrap -lintl -lm -lintl -lintl -lm -lintl -lintl -lwrap -lintl -lintl /usr/pkg/lib/libbonobo-print.so -lintl -lSM -lICE -lossaudio -lXi -lXext -lX11 -lintl -lm -lz -lintl -lossaudio -lSM -lICE -lintl -lXi -lXext -lX11 -lz -lm -lintl -lSM -lICE -lXext -lintl -lSM -lICE -lz -lm -lintl -lz -lm -lintl -lm -lossaudio -lossaudio -lm -lintl -lXi -lXext -lX11 -lm -lintl -lXi -lXext -lX11 -lm -lintl -lXi -lXext -lX11 -lm -lintl -lintl -lXi -lXext -lX11 -lz -lm -lintl -lm -lz -lz -lSM -lICE -lossaudio -lXi -lXext -lX11 -lintl -lm -lz -lintl -lossaudio -lSM
-lICE -lintl -lXi -lXext -lX11 -lz -lm -lintl -lSM -lICE -lXext -lintl -lSM -lICE -lz -lm -lintl -lz -lm -lintl -lm -lossaudio -lossaudio -lm -lintl -lXi -lXext -lX11 -lm -lintl -lXi -lXext -lX11 -lm -lintl -lXi -lXext -lX11 -lm -lintl -lintl -lXi -lXext -lX11 -lz -lm -lintl -lm -lz -lz /usr/pkg/lib/libg-wrap-runtime-guile.so -L/usr/pkg/guile/1.4/lib /usr/pkg/guile/1.4/lib/libguile.so /usr/pkg/lib/libltdl.so -lm /usr/pkg/lib/libguile.so /usr/pkg/lib/libguile-ltdl.so -lcrypt -lm -lm /usr/pkg/lib/libgtkhtml-1.1.so /usr/pkg/lib/libbonobo.so /usr/pkg/lib/libbonobox.so -lSM -lICE -lz -lossaudio -lwrap -lintl -lXi -lXext -lX11 -lm -lintl /usr/pkg/lib/libgal.so -lSM -lICE -lintl -lXi -lXext -lX11 -lm -lintl /usr/pkg/lib/libgnomeprint.so -lSM -lICE -lossaudio -lXi -lXext -lX11 -lintl -lm -lz -lintl /usr/pkg/lib/libfreetype.so /usr/pkg/lib/libglade-gnome.so -lSM -lICE -lXi -lXext -lX11 -lintl -lossaudio -lm -lz -lintl /usr/pkg/lib/libglade.so -lintl -lXi -lXext -lX11 -lm -lz -lintl /usr/pkg/lib/libxml.so -lz -lz -lossaudio -lSM -lICE -lintl -lXi -lXext -lX11 -lz -lm -lintl -lz -lm -lintl -lSM -lICE -lXext -lintl -lSM -lICE -lz -lm -lintl -lz -lm -lintl -lm -lossaudio -lossaudio -lm /usr/pkg/lib/libgdk_pixbuf.so -lintl -lXi -lXext -lX11 -lm -lintl /usr/pkg/lib/libgnomecanvaspixbuf.so /usr/pkg/lib/libgnomeui.so /usr/pkg/lib/libart_lgpl.so /usr/pkg/lib/libgdk_imlib.so -lSM -lICE -lXi -lXext -lX11 /usr/pkg/lib/libgnome.so /usr/pkg/lib/libgnomesupport.so -lz -lintl /usr/pkg/lib/libesd.so -lossaudio /usr/pkg/lib/libaudiofile.so -lm -lintl /usr/pkg/lib/libiconv.so /usr/pkg/lib/libgconf-gtk-1.so -lwrap -lintl -lXi -lXext -lX11 -lm -lintl /usr/pkg/lib/libgconf-1.so -lwrap -lintl -lm -lintl /usr/pkg/lib/liboaf.so -lwrap -lintl -lm -lintl /usr/pkg/lib/libORBitCosNaming.so -lintl /usr/pkg/lib/libORBit.so -lm -lintl /usr/pkg/lib/libIIOP.so -lintl /usr/pkg/lib/libpthread.so -lwrap /usr/pkg/lib/libORBitutil.so -lintl /usr/pkg/lib/libgtk.so -lXi -lXext -lX11 -lm -lintl /usr/pkg/lib/libgdk.so -lXi -lXext -lX11 -lm -lintl /usr/pkg/lib/lib
gmodule.so /usr/pkg/lib/libglib.so -lintl -lXi -lXext -lX11 -lm /usr/pkg/lib/libghttp.so /usr/pkg/lib/libpopt.so -lm -lintl -lm -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/guile/1.4/lib
ld: cannot find -lguile-ltdl
gmake[3]: *** [gnucash] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/finance/gnucash/work/gnucash-1.6.8/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/finance/gnucash/work/gnucash-1.6.8/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/finance/gnucash/work/gnucash-1.6.8'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/finance/gnucash
*** Error code 1
Neither guile package includes this guile-ltdl library, but it is on
my system:
0 gnucash% ll /usr/pkg/lib/libguile-ltdl.*
-rw-r--r-- 1 root wheel 73728 Jan 16 23:38 /usr/pkg/lib/libguile-ltdl.a
-r-xr-xr-x 1 root wheel 833 Jan 16 23:38 /usr/pkg/lib/libguile-ltdl.la
lrwxr-xr-x 1 root wheel 20 Jan 16 23:38 /usr/pkg/lib/libguile-ltdl.so -> libguile-ltdl.so.1.0
lrwxr-xr-x 1 root wheel 20 Jan 16 23:38 /usr/pkg/lib/libguile-ltdl.so.1 -> libguile-ltdl.so.1.0
-r-xr-xr-x 1 root wheel 88196 Jan 16 23:38 /usr/pkg/lib/libguile-ltdl.so.1.0
0 gnucash% pkg_info -Fe /usr/pkg/lib/libguile-ltdl.so
pkg_info: No matching pkg for /usr/pkg/lib/libguile-ltdl.so.
The timestamp matches other files from the guile 1.6 package so that
must be the one with the erroneous PLIST.
The problem is that gnucash's configure script picks up the 1.6
guile-config on the PATH instead of the 1.4 guile-config script in the
buildlink dir:
0 gnucash% diff work/.buildlink/bin/guile-config /usr/pkg/guile/1.4/bin/guile-config
0 gnucash% guile-config link
-L/usr/pkg/lib -lguile -lguile-ltdl -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lcrypt -lm
0 gnucash% ./work/.buildlink/bin/guile-config link
-L/usr/pkg/guile/1.4/lib -lguile -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm
>How-To-Repeat:
>Fix:
Not sure. Trick gnucash into using the buildlink guile-config rather
than the first one it finds.
>Release-Note:
>Audit-Trail:
>Unformatted: