Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106936 - Cannot emerge gnucash
Summary: Cannot emerge gnucash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 108034 111992 118344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-22 17:34 UTC by crapdune
Modified: 2006-01-09 01:36 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crapdune 2005-09-22 17:34:19 UTC
I reinstall gentoo recently based on 2005.1. I had some problem with programs,
but found fix for must of them. Now I had this one.

Reproducible: Always
Steps to Reproduce:
1.USE="quotes" emerge gnucash
2.
3.

Actual Results:  
make[3]: Entering directory
`/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9/src/core-utils'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I
/usr/include/g-wrap -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2
-march=athlon-xp -pipe    -c core-utils.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/include/g-wrap
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -march=athlon-xp -pipe -c
core-utils.c  -fPIC -o .libs/core-utils.o
/bin/sh ../../libtool --mode=link gcc -I /usr/include/g-wrap
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2 -march=athlon-xp -pipe   
-L/usr/X11R6/lib -o libcore-utils.la -rpath /usr/lib -module -L/usr/lib -lglib
core-utils.lo  -lpopt -lm  -lm
gcc -shared  .libs/core-utils.o  -L/usr/X11R6/lib -L/usr/lib /usr/lib/libglib.so
/usr/lib/libpopt.so -lm  -Wl,-soname -Wl,libcore-utils.so.0 -o
.libs/libcore-utils.so.0.0.0
(cd .libs && rm -f libcore-utils.so.0 && ln -s libcore-utils.so.0.0.0
libcore-utils.so.0)
(cd .libs && rm -f libcore-utils.so && ln -s libcore-utils.so.0.0.0
libcore-utils.so)
creating libcore-utils.la
(cd .libs && rm -f libcore-utils.la && ln -s ../libcore-utils.la libcore-utils.la)
rm -f gnucash g-wrapped
ln -sf . gnucash
ln -sf . g-wrapped
touch .scm-links
FLAVOR=gnome guile -c \
          "(set! %load-path (cons \"/usr/share/guile\" %load-path)) \
           (primitive-load \"./gw-core-utils-spec.scm\") \
           (gw:generate-wrapset \"gw-core-utils\")"
**** NOTE: this wrapset appears to be empty !?
add-ws-t gw-core-utils #<output: gw-core-utils.c 3> gw:global-declarations-ccg
 for-parent gw-core-utils
add-ws-t gw-core-utils #<output: gw-core-utils.c 3> gw:global-definitions-ccg
 for-parent gw-core-utils

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I
/usr/include/g-wrap -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2
-march=athlon-xp -pipe    -c gw-core-utils.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/include/g-wrap
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -march=athlon-xp -pipe -c
gw-core-utils.c  -fPIC -o .libs/gw-core-utils.o
/bin/sh ../../libtool --mode=link gcc -I /usr/include/g-wrap
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2 -march=athlon-xp -pipe   
-L/usr/X11R6/lib -o libgw-core-utils.la -rpath /usr/lib -module -L/usr/lib
-lgwrap-wct -lgwrap-glib -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm
gw-core-utils.lo libcore-utils.la -lpopt -lm  -lm
libtool: link: warning: `/usr/X11R6/lib/libglib.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libpopt.la' seems to be moved
gcc -shared  .libs/gw-core-utils.o  -Wl,--rpath
-Wl,/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9/src/core-utils/.libs 
-L/usr/X11R6/lib -L/usr/lib /usr/lib/libgwrap-wct.so -lgwrap-glib
/usr/lib/libguile.so /usr/lib/libguile-ltdl.so /usr/lib/libqthreads.so -lpthread
-lcrypt ./.libs/libcore-utils.so /usr/lib/libpopt.so -lm   -Wl,-soname
-Wl,libgw-core-utils.so.0 -o .libs/libgw-core-utils.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgwrap-glib
collect2: ld returned 1 exit status
make[3]: *** [libgw-core-utils.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9/src/core-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnucash-1.8.9/work/gnucash-1.8.9'
make: *** [all-recursive-am] Error 2


Expected Results:  
gnucash compiled correctly

I check for `/usr/X11R6/lib/libglib.la' and `/usr/X11R6/lib/libpopt.la' and they
are really there on my system, don't know why it doesn't find it.

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
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="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca ftp://cs.ubishops.ca/pub/gentoo 
http://adelie.polymtl.ca"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt
cups eds emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml guile hal howl imlib java jpeg libg++ libwww mad
mikmod mmx mmxext mozilla mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl
oss pam pdflib perl png python quicktime readline sdl sse ssl tcpd tiff truetype
truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib linguas_en linguas_fr
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-09-24 06:13:12 UTC
do you have g-wrap installed? ( it is listed in the depends )

if not, please emerge it.

If you do have it installed, try re-emerging it first, and then report back.

Thanks!
Comment 2 crapdune 2005-09-24 07:06:04 UTC
Yes I had g-wrap installed, but /usr/lib/libgwrap-glib.so was not present. So I
rebuild it and now I have it. After that emerging gnucash work without problem.

thanx

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-10-04 01:29:12 UTC
*** Bug 108034 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-09 13:42:25 UTC
*** Bug 111992 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-01-09 01:36:07 UTC
*** Bug 118344 has been marked as a duplicate of this bug. ***