From nobody@FreeBSD.org  Sun Jan 13 15:12:42 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 42BEC16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Jan 2008 15:12:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3D3B713C44B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Jan 2008 15:12:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0DFBTYA090062
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Jan 2008 15:11:29 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0DFBTCx090061;
	Sun, 13 Jan 2008 15:11:29 GMT
	(envelope-from nobody)
Message-Id: <200801131511.m0DFBTCx090061@www.freebsd.org>
Date: Sun, 13 Jan 2008 15:11:29 GMT
From: "Dmitry 'RCL' Rekman" <dmitry.rekman@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gnucash 2.2.3 refuses to build because of missing header
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119632
>Category:       ports
>Synopsis:       finance/gnucash 2.2.3 refuses to build with certain dependencies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ahze
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 13 15:20:00 UTC 2008
>Closed-Date:    Sun Sep 07 03:48:07 UTC 2008
>Last-Modified:  Sun Sep 07 03:48:07 UTC 2008
>Originator:     Dmitry 'RCL' Rekman
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD dellgx260 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
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
>Fix:


>Release-Note:
>Audit-Trail:
Adding to audit trail from misfiled PR ports/119634:

Date: Sun, 13 Jan 2008 17:02:04 +0100
From: RCL <dmitry.rekman@gmail.com>
 
 Actually, I found the reason:
 
 Something else has installed goffice-0.6, and gnucash configure tests picked
 up its directory, causing the "missing header" problem, while header was
 present in goffice-0.4 include directory.
 
 Gnucash depends on goffice-0.4, but picks up different version when
 configuring (if there are later installed) - that's how the problem should
 have been formulated by me.
 
 Sorry for the confusion.
 
 Regards,
 Dmitry 'RCL' Rekman

State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Jan 13 17:18:36 UTC 2008 
State-Changed-Why:  
So, reading your followup message, does that mean that this PR can 
be closed? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119632 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Sun Jan 13 19:19:37 UTC 2008 
State-Changed-Why:  
Feedback recieved, so change the Synopsis a bit. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119632 
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Sun Jan 13 21:23:59 UTC 2008 
Class-Changed-Why:  
Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119632 
Responsible-Changed-From-To: freebsd-ports-bugs->ahze 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jan 13 21:24:05 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119632 

From: Daniel Rucci <dan@rucci.org>
To: bug-followup@FreeBSD.org, dmitry.rekman@gmail.com
Cc:  
Subject: Re: ports/119632: finance/gnucash 2.2.3 refuses to build with certain
 dependencies
Date: Tue, 15 Jan 2008 23:11:38 -0500

 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

From: RCL <dmitry.rekman@gmail.com>
To: "Daniel Rucci" <dan@rucci.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/119632: finance/gnucash 2.2.3 refuses to build with certain dependencies
Date: Wed, 16 Jan 2008 12:32:24 +0100

 ------=_Part_26135_16043358.1200483144744
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 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
 >
 
 ------=_Part_26135_16043358.1200483144744
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I did portupgrade last Friday/Saturday (16.01.2008) and got that.<br><br>The problem is not with incorrect gnucash dependency - it correctly depends on goffice 0.4.<br>However, when autoconfiguring, it picks up include directory from goffice 
 0.6 (which has been independently installed by portupgrade -ra) and ends up with &quot;missing header&quot; error when compiling.<br><br>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 :)
 <br><br>Regards,<br>Dmitry &#39;RCL&#39; Rekman<br><br><div class="gmail_quote">On Jan 16, 2008 5:11 AM, Daniel Rucci &lt;<a href="mailto:dan@rucci.org">dan@rucci.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 When did you last update your ports?<br>This looks like it may have been fixed in<br><a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/finance/gnucash/Makefile.diff?r1=1.107;r2=1.108" target="_blank">http://www.freebsd.org/cgi/cvsweb.cgi/ports/finance/gnucash/Makefile.diff?r1=1.107;r2=1.108
 </a><br><br>As far as I can tell the Makefile is currently correctly specifying its<br>dependency on .04<br></blockquote></div><br>
 
 ------=_Part_26135_16043358.1200483144744--
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Mon Sep 1 01:01:15 UTC 2008 
State-Changed-Why:  
Is this still a problem with 2.4? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119632 
State-Changed-From-To: feedback->closed  
State-Changed-By: ahze 
State-Changed-When: Sun Sep 7 03:47:54 UTC 2008 
State-Changed-Why:  
Fixed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119632 
>Unformatted:
