Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2016 11:24:37 +0200
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        Jonathan Chen <jonc@chen.org.nz>, freebsd-ports@freebsd.org
Subject:   Re: finance/gnucash fails to build
Message-ID:  <6840f8c6-92a7-91eb-cac9-0f03474fc23b@FreeBSD.org>
In-Reply-To: <CAJuc1zOqfRnqF_e6zaGFL85t0T%2Bv7NNrjtG=DebD3Kzxmx421Q@mail.gmail.com>
References:  <CAJuc1zOqfRnqF_e6zaGFL85t0T%2Bv7NNrjtG=DebD3Kzxmx421Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/26/16 10:15, Jonathan Chen wrote:
> Hi,
> 
> I'm on ports r422767, and gnucash is failing with:
> 
> libtool: link: cc -Wdeclaration-after-statement -Wno-pointer-sign
> -D_FORTIFY_SOURCE=2 -O2 -pipe -isystem /usr/local/include
> -fstack-protector -fno-strict-aliasing -std=gnu99 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused
> -fstack-protector -o .libs/gnucash gnucash-bin.o
> -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector
> -Wl,--export-dynamic -pthread  -L/usr/local/lib
> ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so
> ../../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
> ../../src/report/report-system/.libs/libgncmod-report-system.so
> -lguile -lgmp -lcrypt /usr/local/lib/libltdl.so -lgthread-2.0
> -lgmodule-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0
> -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0
> -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype
> -lm -pthread -Wl,-rpath -Wl,/usr/local/lib/gnucash -Wl,-rpath
> -Wl,/usr/local/lib
> ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so:
> undefined reference to `gnc_recn_cell_set_read_only'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> gmake[5]: *** [Makefile:688: gnucash] Error 1
> gmake[5]: Leaving directory
> '/tmp/usr/ports/finance/gnucash/work/gnucash-2.6.14/src/bin'
> gmake[4]: *** [Makefile:788: all-recursive] Error 1
> gmake[4]: Leaving directory
> '/tmp/usr/ports/finance/gnucash/work/gnucash-2.6.14/src/bin'
> gmake[3]: *** [Makefile:551: all-recursive] Error 1
> gmake[3]: Leaving directory
> '/tmp/usr/ports/finance/gnucash/work/gnucash-2.6.14/src'
> gmake[2]: *** [Makefile:785: all-recursive] Error 1
> gmake[2]: Leaving directory '/tmp/usr/ports/finance/gnucash/work/gnucash-2.6.14'
> gmake[1]: *** [Makefile:638: all] Error 2
> gmake[1]: Leaving directory '/tmp/usr/ports/finance/gnucash/work/gnucash-2.6.14'
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/finance/gnucash
> 
> What am I missing?

Not sure, but I definitely need more information to help you.

Can you please report what OS version you are using? (output of "uname
-a" would be perfect)

Are you building from ports on the live system or using something like
poudriere or synth?

Could you grab the whole build log (you can use script(1)) and send that
as an attachment?

I hope to be able to better help you with this information.

-- 
Guido Falsi <madpilot@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6840f8c6-92a7-91eb-cac9-0f03474fc23b>