Bug 119632

Summary: finance/gnucash 2.2.3 refuses to build with certain dependencies
Product: Ports & Packages Reporter: Dmitry 'RCL' Rekman <dmitry.rekman>
Component: Individual Port(s)Assignee: Michael Johnson <ahze>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry 'RCL' Rekman 2008-01-13 15:20:00 UTC
When trying to install finance/gnucash, either via portupgrade or from scratch, it refuses to build with the following error:

gnc-html-graph-gog.c:47:56: goffice/graph/gog-renderer-gnome-print.h: No such file or directory
gnc-html-graph-gog.c: In function `draw_print_cb':
gnc-html-graph-gog.c:671: warning: implicit declaration of function `gog_graph_print_to_gnome_print'
gmake[5]: *** [gnc-html-graph-gog.lo] Error 1

Neither make deinstall clean install nor portupgrade -rRf gnucash do not help :(

How-To-Repeat: cd `whereis -q gnucash`
make install
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-01-13 17:18:36 UTC
State Changed
From-To: open->feedback

So, reading your followup message, does that mean that this PR can 
be closed?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-01-13 19:19:37 UTC
State Changed
From-To: feedback->open

Feedback recieved, so change the Synopsis a bit.
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-13 21:23:59 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-13 21:24:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 5 Daniel Rucci 2008-01-16 04:11:38 UTC
When did you last update your ports?
This looks like it may have been fixed in
http://www.freebsd.org/cgi/cvsweb.cgi/ports/finance/gnucash/Makefile.diff?r1=1.107;r2=1.108

As far as I can tell the Makefile is currently correctly specifying its 
dependency on .04
Comment 6 Dmitry 'RCL' Rekman 2008-01-16 11:32:24 UTC
I did portupgrade last Friday/Saturday (16.01.2008) and got that.

The problem is not with incorrect gnucash dependency - it correctly depends
on goffice 0.4.
However, when autoconfiguring, it picks up include directory from goffice
0.6 (which has been independently installed by portupgrade -ra) and ends up
with "missing header" error when compiling.

So, if one skips upgrading goffice or pkg_deletes goffice-0.6 after
upgrading, gnucash _will_ compile. But it is a bit of nuisance and can also
be frustrating for not technically savvy users :)

Regards,
Dmitry 'RCL' Rekman

On Jan 16, 2008 5:11 AM, Daniel Rucci <dan@rucci.org> wrote:

> When did you last update your ports?
> This looks like it may have been fixed in
>
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/finance/gnucash/Makefile.diff?r1=1.107;r2=1.108
>
> As far as I can tell the Makefile is currently correctly specifying its
> dependency on .04
>
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2008-09-01 02:01:15 UTC
State Changed
From-To: open->feedback

Is this still a problem with 2.4?
Comment 8 Michael Johnson freebsd_committer freebsd_triage 2008-09-07 04:47:54 UTC
State Changed
From-To: feedback->closed

Fixed, Thanks!