Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645198 - app-office/gnucash-2.7.3 fails src_install: cannot find -lgnc-backend-xml-utils
Summary: app-office/gnucash-2.7.3 fails src_install: cannot find -lgnc-backend-xml-utils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-21 03:32 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-01-22 11:14 UTC (History)
1 user (show)

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


Attachments
gnucash-2.7.3-build.log.xz (gnucash-2.7.3:20180121-012852.log.xz,33.34 KB, application/x-xz)
2018-01-21 03:33 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-01-21 03:32:04 UTC
Looks like a build ordering issue, simpilified error:

libtool: warning: relinking 'libgnc-backend-xml-utils.la'
libtool: warning: relinking 'libgncmod-backend-xml.la'

libtool: install: (cd <...>/libgnucash/backend/xml; /bin/sh "<...>/libtool"  --tag CXX --mode=relink x86_64-pc-linux-gnu-g++ <...> -o libgnc-backend-xml-utils.la <...> gnc-account-xml-v2.lo gnc-address-xml-v2.lo gnc-bill-term-xml-v2.lo gnc-book-xml-v2.lo gnc-budget-xml-v2.lo gnc-commodity-xml-v2.lo gnc-customer-xml-v2.lo gnc-employee-xml-v2.lo gnc-entry-xml-v2.lo gnc-freqspec-xml-v2.lo gnc-invoice-xml-v2.lo gnc-job-xml-v2.lo gnc-lot-xml-v2.lo gnc-order-xml-v2.lo gnc-owner-xml-v2.lo gnc-pricedb-xml-v2.lo gnc-recurrence-xml-v2.lo gnc-schedxaction-xml-v2.lo gnc-tax-table-xml-v2.lo gnc-transaction-xml-v2.lo gnc-vendor-xml-v2.lo gnc-xml-backend.lo gnc-xml-helper.lo io-example-account.lo io-gncxml-gen.lo io-gncxml-v1.lo io-gncxml-v2.lo io-utils.lo sixtp-dom-generators.lo sixtp-dom-parsers.lo sixtp-stack.lo sixtp-to-dom-parser.lo sixtp-utils.lo sixtp.lo <...> ../../../libgnucash/engine/libgncmod-engine.la ../../../libgnucash/core-utils/libgnc-core-utils.la <...>)

libtool: install: (cd <...>/libgnucash/backend/xml; /bin/sh "<...>/libtool"  --tag CXX --mode=relink x86_64-pc-linux-gnu-g++ <...> -o libgncmod-backend-xml.la gnc-backend-xml.lo <...> ../../../libgnucash/engine/libgncmod-engine.la ../../../libgnucash/core-utils/libgnc-core-utils.la libgnc-backend-xml-utils.la <...>)

libtool: relink: x86_64-pc-linux-gnu-g++  <...>  .libs/gnc-backend-xml.o <...> -lgnc-backend-xml-utils <...> -Wl,libgncmod-backend-xml.so -o .libs/libgncmod-backend-xml.so
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgnc-backend-xml-utils
collect2: error: ld returned 1 exit status
libtool: relink: x86_64-pc-linux-gnu-g++  <...> .libs/gnc-account-xml-v2.o .libs/gnc-address-xml-v2.o .libs/gnc-bill-term-xml-v2.o .libs/gnc-book-xml-v2.o .libs/gnc-budget-xml-v2.o .libs/gnc-commodity-xml-v2.o .libs/gnc-customer-xml-v2.o .libs/gnc-employee-xml-v2.o .libs/gnc-entry-xml-v2.o .libs/gnc-freqspec-xml-v2.o .libs/gnc-invoice-xml-v2.o .libs/gnc-job-xml-v2.o .libs/gnc-lot-xml-v2.o .libs/gnc-order-xml-v2.o .libs/gnc-owner-xml-v2.o .libs/gnc-pricedb-xml-v2.o .libs/gnc-recurrence-xml-v2.o .libs/gnc-schedxaction-xml-v2.o .libs/gnc-tax-table-xml-v2.o .libs/gnc-transaction-xml-v2.o .libs/gnc-vendor-xml-v2.o .libs/gnc-xml-backend.o .libs/gnc-xml-helper.o .libs/io-example-account.o .libs/io-gncxml-gen.o .libs/io-gncxml-v1.o .libs/io-gncxml-v2.o .libs/io-utils.o .libs/sixtp-dom-generators.o .libs/sixtp-dom-parsers.o .libs/sixtp-stack.o .libs/sixtp-to-dom-parser.o .libs/sixtp-utils.o .libs/sixtp.o  <..> -lgnc-module <...> -lgnc-core-utils <...> -Wl,libgnc-backend-xml-utils.so.0 -o .libs/libgnc-backend-xml-utils.so.0.0.0
libtool:   error: error: relink 'libgncmod-backend-xml.la' with the above command before installing it
make[5]: *** [Makefile:732: install-pkglibLTLIBRARIES] Error 1
make[5]: *** Waiting for unfinished jobs....


-----------------
 * Package:    app-office/gnucash-2.7.3
 * Repository: gentoo
 * Maintainer: titanofold@gentoo.org gnome@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux nls python_targets_python2_7 userland_GNU
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
-----------------

Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.1/no-multilib, gcc-7.2.0, glibc-2.25-r9, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.4.1
KiB Mem:     2042732 total,    397644 free
KiB Swap:   18588764 total,  18550600 free
Head commit of repository gentoo: 2f7c60b31db36129c58b790c6e2a304fde6b0246

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.28.9999::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-01-21 03:33:00 UTC
Created attachment 515542 [details]
gnucash-2.7.3-build.log.xz
Comment 2 Aaron W. Swenson gentoo-dev 2018-01-22 11:09:39 UTC
(In reply to Kent Fredric (IRC: kent\n) from comment #0)
> Looks like a build ordering issue

Yup, I'll put the -j1 back in. I removed it to see if the issue persisted since it was an old bug, and I didn't have any issues on two machines.
Comment 3 Larry the Git Cow gentoo-dev 2018-01-22 11:14:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c17a01a6632df5bd1f1435860f0681da5d0fc4

commit e8c17a01a6632df5bd1f1435860f0681da5d0fc4
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2018-01-22 11:12:44 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2018-01-22 11:13:15 +0000

    app-office/gnucash: Put -j1 back in for install
    
    Closes: https://bugs.gentoo.org/645198
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-office/gnucash/gnucash-2.7.3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)