finance/gnucash fails to build

Guido Falsi mad at madpilot.net
Mon Sep 26 09:29:02 UTC 2016


On 09/26/16 11:24, Guido Falsi wrote:
> 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.
> 

I forgot to mention, the config.log file from the work directory could
also be useful.

Thanks!

-- 
Guido Falsi <mad at madpilot.net>


More information about the freebsd-ports mailing list