Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371264 - app-office/gnucash-2.4.6 links to system libraries instead of the just built ones
Summary: app-office/gnucash-2.4.6 links to system libraries instead of the just built ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNOME Office (OBSOLETE)
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: NeedPatch
: 373083 376199 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-12 13:51 UTC by Fred Krogh
Modified: 2014-02-09 11:18 UTC (History)
3 users (show)

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


Attachments
The build log as requested/suggested (build.log.bz2,30.71 KB, application/octet-stream)
2011-06-13 23:09 UTC, Fred Krogh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Krogh 2011-06-12 13:51:51 UTC
I will attach the build log

Reproducible: Always




=============== emerge --info =app-office/gnucash-2.4.6  ===============Portage 2.1.10.1 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r1-x86_64-AMD_Opteron-tm-_Processor_242-with-gentoo-2.0.2
Timestamp of tree: Sat, 11 Jun 2011 20:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac accessibility acl administrator aiglx alsa amd64 apache2 apng auctex audiofile bash-completion bcmath berkdb blas bonobo bzip2 cairo calendar cdda cdio cdr cdrom clamav clamd cli clisp clucene colordiff consolekit cracklib crypt ctype cups cxx dbus debugger deprecated device-mapper dga discouraged divx-linux dri dvb dvd dvdr dvdread emacs emul-linux86 esd extensions extras fastcgi fbcon ffmpeg flac fontconfig fortran ftp gd gdbm gdu glut gmail gnome gnome-keyring gnutls gphoto2 gpm graphite gstreamer gtk iconv icu imagemagick ipv6 java javascript jpeg kerberos kpathsea lame latex latin1 leim libclamav libnotify libwww lightning logrotate mad maildir mbox mcal mime mmx mmxext mng modules motif mouse mozcalendar mozilla mp3 mpeg mpeg2 mpi mudflap multilib mysql mysqli nat ncurses nls nocd nosendmail nptl nptlonly nsplugin nvidia objc offensive ogg openexr opengl openmp osc oscar pam pcre pdf perl png policykit pop pop3d portaudio posix ppds pppd preview-latex python qt3support qt4 query-browser readline regex replytolist rtc samba sasl secure-delete semantic-desktop session sharedmem sip smbclient sockets sound source sox spamassassin speex sqlite sse sse2 ssl standalone svg symlink sysfs tcltk tcpd tetex theora threads thunderbird tiff truetype udev unicode vhosts vorbis wav weather webkit wxwidgets wxwindows xcomposite xine xmail xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-office/gnucash-2.4.6 was built with the following:
USE="cxx doc (multilib) mysql python sqlite webkit -chipcard -debug -hbci -ofx -postgres -quotes"
Comment 1 Fred Krogh 2011-06-12 13:56:53 UTC
The build log was too big to attach.  Here is what I think is relevant from it.


libtool: link: x86_64-pc-linux-gnu-gcc -Wdeclaration-after-statement -march=native -pipe -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -Wl,-O1 -g -o .libs/gnucash gnucash-bin.o -pthread -pthread -Wl,--export-dynamic -pthread -pthread  -Wl,--as-needed ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so ../../src/gnome/.libs/libgnc-gnome.so ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so ../../src/app-utils/.libs/libgncmod-app-utils.so ../../src/engine/.libs/libgncmod-engine.so ../../src/gnc-module/.libs/libgnc-module.so ../../src/core-utils/.libs/libgnc-core-utils.so ../../src/libqof/qof/.libs/libgnc-qof.so -L/usr/lib64 /usr/lib64/libguile.so /usr/lib64/libgmp.so -lcrypt /usr/lib64/libltdl.so /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so -lbonoboui-2 /usr/lib64/libgnomevfs-2.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so -lpopt /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libORBit-2.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libgconf-2.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgio-2.0.so -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpng14 -lpango-1.0 /usr/lib64/libfreetype.so /usr/lib64/libfontconfig.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libglib-2.0.so -lm -pthread -Wl,-rpath -Wl,/usr/lib64/gnucash
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libwebkit-1.0.so.2, needed by /usr/lib64/gnucash/libgncmod-html.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_load_html_string'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_copy_clipboard'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_get_main_frame'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_new'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_get_settings'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_can_copy_clipboard'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_load_uri'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_network_request_get_uri'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_view_get_type'
/usr/lib64/gnucash/libgncmod-html.so: undefined reference to `webkit_web_frame_print_full'
collect2: ld returned 1 exit status
make[4]: *** [gnucash] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.6/work/gnucash-2.4.6/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.6/work/gnucash-2.4.6/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.6/work/gnucash-2.4.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.6/work/gnucash-2.4.6'
make: *** [all] Error 2
emake failed
 * ERROR: app-office/gnucash-2.4.6 failed (compile phase):
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 5460:  Called gnome2_src_compile
 *   environment, line 2996:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
Comment 2 Fredrik Eriksson 2011-06-13 18:54:18 UTC
I run into the same bug, compile fails with the same error message. Here is emerge --info:


Portage 2.1.10.2 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_480_@_2.67GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 13 Jun 2011 14:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en sv ja"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.mdfnet.se/gentoo-portage"
USE="X aacs acl acpi activefilter alsa amd64 apache2 apng berkdb bluetooth bluray branding bzip2 cairo cddb chipcard chm cjk cli cracklib crypt css cups cxx dbus device-mapper dhcp djvu dri eap eap-sim eap-tls ebook exif extras ffmpeg flac fontconfig foomaticdb fortran ftp gd gdbm gif gnutls gpm graphics gsm gtk hbci iconv id3 id3tag idn imlib inotify ipv6 jpeg kpathsea latex latex3 lcms libnl libnotify libsamplerate lzma lzo mmx mmxext modules mp3 msn mudflap multilib music ncurses nls nptl nptlonly ntp nut offensive ofx ogg opengl openmp openntpd optimization pam pcre pcsc-lite pdfannotextractor pdo perl png policykit postgres ppds pppd prediction publishers pulseaudio python python2 python3 qt3support qt4 quotes rdesktop readline science session smartcard socks5 spell sse sse2 sse3 ssl ssse3 svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l2 vaapi vim vim-syntax vnc vorbis webkit wifi wps x264 xcb xcomposite xinerama xml xorg xscreensaver xv zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-13 22:58:43 UTC
(In reply to comment #1)
> The build log was too big to attach.  Here is what I think is relevant from it.

bzip2 build.log    <- attach build.log.bz2
Comment 4 Fred Krogh 2011-06-13 23:09:11 UTC
Created attachment 276979 [details]
The build log as requested/suggested

The build log as requested/suggested.
Comment 5 Alan Grimes 2011-06-14 17:07:59 UTC
I want to +1 this bug. It's definitely there. Naturally, I tried building with -webkit, but the bug persisted. =(  (Which implies that it's ignoring the use flag. =(((   ) I'm out of work and running out of money so I really need to be able to count the pennies I have left. =\
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-06-14 18:16:50 UTC
Propably unemerging gnucash before trying to emerge it would help, as it's trying to link to broken system libs instead of the just build ones.

# emerge -C gnucash
# emerge gnucash

Pretty much same as bug 359033.
Comment 7 Fred Krogh 2011-06-14 18:29:39 UTC
(In reply to comment #6)
An easy fix. Works for me.  Thanks
Comment 8 Pacho Ramos gentoo-dev 2011-06-27 08:55:12 UTC
*** Bug 373083 has been marked as a duplicate of this bug. ***
Comment 9 Pacho Ramos gentoo-dev 2011-07-25 09:56:45 UTC
*** Bug 376199 has been marked as a duplicate of this bug. ***
Comment 10 Pacho Ramos gentoo-dev 2012-05-26 08:32:25 UTC
@tetromino, could this be solved with your dev-util/fix-la-relink-command script?
Comment 11 Pacho Ramos gentoo-dev 2013-04-07 19:07:01 UTC
still valid with 2.4.12
Comment 12 Fred Krogh 2013-04-08 01:34:44 UTC
I'm not sure whether still valid means the bug is still there or the code is still working.  In any case gnucash-2.4.12 is working here.
Comment 13 Pacho Ramos gentoo-dev 2013-04-08 17:33:16 UTC
(In reply to comment #11)
> still valid with 2.4.12

It's still failing per https://bugs.gentoo.org/show_bug.cgi?id=412815#c9
Comment 14 Frank H. Ellenberger 2013-11-22 17:29:14 UTC
(In reply to Samuli Suominen from comment #6)
> Propably unemerging gnucash before trying to emerge it would help, as it's
> trying to link to broken system libs instead of the just build ones.
> 
> # emerge -C gnucash
> # emerge gnucash
> 
> Pretty much same as bug 359033.

Does that mean I have to use 2 different VMs,
one for accounting and the other for gnucash developement?
Comment 15 Pacho Ramos gentoo-dev 2014-02-09 11:08:56 UTC
Still valid with 2.6.1:
https://bugs.gentoo.org/show_bug.cgi?id=496620#c5
Comment 16 Pacho Ramos gentoo-dev 2014-02-09 11:18:48 UTC
+*gnucash-2.6.1 (09 Feb 2014)
+
+  09 Feb 2014; Pacho Ramos <pacho@gentoo.org> +gnucash-2.6.1.ebuild,
+  -gnucash-2.4.12.ebuild:
+  Version bump, prevent linking against installed libs (#371264), drop old.
+