Summary: | app-office/gnucash-2.4.4 links against system gnucash, instead of the one it's building | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Smith <chris> |
Component: | Current packages | Assignee: | GNOME Office (OBSOLETE) <gnome-office+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, again, aklhfex, binki, bogo.mipps, chris.burroughs, fkrogh, flameeyes, gottlieb, ian, mschiff, steven, tetromino, yamadharma, zzam |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=644897 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 344059 |
Description
Chris Smith
2011-03-15 15:12:48 UTC
> /usr/lib64/gnucash/libgncmod-report-gnome.so: undefined reference to
> `gnc_html_export'
> /usr/lib64/gnucash/libgncmod-report-gnome.so: undefined reference to
> `gnc_html_copy'
> /usr/lib64/gnucash/libgncmod-report-gnome.so: undefined reference to
> `gnc_html_new'
Looks like it's trying to link against system gnucash instead of the one you are building now. Try this:
# emerge -C gnucash
# emerge gnucash
Or you can also verify which package file libgncmod-report-gnome.so belongs to, and just uninstall that:
# emerge portage-utils
# qfile libgncmod-report-gnome.so
Either way, this looks like a valid bug... It shouldn't be linking to system gnucash but the copy in $WORKDIR instead.
Guess my patch work from 2.4.0 didn't get fully ported to 2.4.4 :( (In reply to comment #1) > Looks like it's trying to link against system gnucash instead of the one you > are building now. Try this: > > # emerge -C gnucash > # emerge gnucash Different failure: libtool: install: /usr/bin/install -c .libs/libgnc-backend-xml-utils.lai /var/tmp/portage/app-office/gnucash-2.4.4/image//usr/lib64/libgnc-backend-xml-utils.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[5]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.4/work/gnucash-2.4.4/src/backend/xml' make[4]: *** [install-am] Error 2 (In reply to comment #3) > (In reply to comment #1) > > Looks like it's trying to link against system gnucash instead of the one you > > are building now. Try this: > > > > # emerge -C gnucash > > # emerge gnucash > > Different failure: > > libtool: install: /usr/bin/install -c .libs/libgnc-backend-xml-utils.lai > /var/tmp/portage/app-office/gnucash-2.4.4/image//usr/lib64/libgnc-backend-xml-utils.la > libtool: install: warning: remember to run `libtool --finish /usr/lib64' > make[5]: Leaving directory > `/var/tmp/portage/app-office/gnucash-2.4.4/work/gnucash-2.4.4/src/backend/xml' > make[4]: *** [install-am] Error 2 Can work around this with -j1 (but shouldn't have to). As for comment 3: you've failed to paste the actual error. Attach full build log and config.log of original problem. Most likely, one of Makefile.am has wrong linking order. Please use another bug report for parallel build failure as it clearly isn't the same thing as the summary of this one, thanks. After looking briefly at a few of Makefile.am, I'd say first suspect would be src/libqof/qof/Makefile.am - seems moving $(top_builddir)/lib/libc/libc-missing.la to the front of the list could help. Same problem for me on amd64. Here are actual errors in my case: /usr/lib64/gnucash/libgncmod-report-gnome.so: undefined reference to `gnc_html_export' /usr/lib64/gnucash/libgncmod-report-gnome.so: undefined reference to `gnc_html_copy' /usr/lib64/gnucash/libgncmod-report-gnome.so: undefined reference to `gnc_html_new' I see you've requested build log from reporter: my emerge info follows, and build log is available if required: Portage 2.2.0_alpha27 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1 Timestamp of tree: Tue, 15 Mar 2011 22:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo kde-sunset kde sunrise enlightenment Installed sets: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-march=native -O2 -pipe" DISTDIR="/mnt/nfs_portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps y" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo ftp://mirror.pacific.net.au/linux/Gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/mnt/nfs_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="/mnt/nfs_portage" PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/enlightenment" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="32bit X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac gdbm gdu gif git gpm hal iconv jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit postgres ppds pppd python qt3support qt4 readline sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xbase xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS *** Bug 359141 has been marked as a duplicate of this bug. *** I had the same issue. And # emerge -C gnucash # emerge gnucash solved the issue. (In reply to comment #10) > I had the same issue. And > > # emerge -C gnucash > # emerge gnucash > > solved the issue. This failed when I tried it earlier. But now it works.
> This failed when I tried it earlier. But now it works.
This was my experience, too.
Same for me ... Same for me. # emerge -C gnucash # emerge gnucash solved the issue. *** Bug 362519 has been marked as a duplicate of this bug. *** (In reply to comment #10) > I had the same issue. And > > # emerge -C gnucash > # emerge gnucash > > solved the issue. Same issue and solution here. +*gnucash-2.4.5 (19 Apr 2011) + + 19 Apr 2011; Gilles Dartiguelongue <eva@gentoo.org> +gnucash-2.4.5.ebuild, + +files/gnucash-2.4.5-link-system-libs.patch: + Version bump. Fix linking against already installed gnucash libraries, bug + #359033. + Thanks for reporting. If the problem persists, please open a new bug report with emerge --info and full build.log. |