Bug 138963

Summary: finance/gnucash doesn't compile
Product: Ports & Packages Reporter: Peter Jeremy <peterjeremy>
Component: Individual Port(s)Assignee: Michael Johnson <ahze>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Peter Jeremy 2009-09-19 09:30:07 UTC
	gnucash build fails with compiler errors:

 cc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"gnc.gui\" -I/usr/local/include -I../../src/core-utils -I../../src/gnc-module -I../../src/engine -I../../src/backend/file -I../../src/app-utils -I../../src -I../../src -I../../lib/libc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_THREAD_SAFE -I/usr/local/include/libglade-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freety!
 pe2 -DORBIT2=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2 -I/usr/local/include/gnome-keyring-1 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 -I/usr/local/include/gail-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/atk-1.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -DORBIT2=1 -D_REENTRANT -I/usr/local/include/libgtkhtml-3.14 -I/usr/local/includ!
 e/gtk-2.0 -I/usr/local/include/libgnomeui-2.0 -I/usr/local/inc!
 lude/libglade-2.0 -I/usr/local/include/enchant -I/usr/local/include/gconf/2 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libart-2.0 -I/usr/local/include/gnome-keyring-1 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/gail-1.0 -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -I../../lib/libqof/qof -I../../lib/libqof/qof -D_THREAD_SAFE -DORBIT2=1 -D_REENTRANT -I/us!
 r/local/include/libgoffice-0.8 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libgsf-1 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/libglade-2.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/gconf/2 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-strict-aliasing -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT gnc-html-graph-gog.lo -MD -MP -MF .deps/gnc-html-graph-gog.Tpo -c gnc-html-graph-gog.c  -fPIC -DPIC -o .libs/gnc-html-graph-gog.o
In file included from /usr/local/include/libgoffice-0.8/goffice/canvas/goffice-canvas.h:53,
                 from /usr/local/include/libgoffice-0.8/goffice/goffice.h:52,
                 from gnc-html-graph-gog.c:35:
/usr/local/include/libgoffice-0.8/goffice/canvas/goc-structs.h:34:28: warning: no newline at end of file
gnc-html-graph-gog.c: In function 'handle_piechart':
gnc-html-graph-gog.c:381: error: 'GOStyle' has no member named 'outline'
gnc-html-graph-gog.c:382: error: 'GOStyle' has no member named 'outline'
gnc-html-graph-gog.c:382: error: 'RGBA_BLACK' undeclared (first use in this function)
gnc-html-graph-gog.c:382: error: (Each undeclared identifier is reported only once
gnc-html-graph-gog.c:382: error: for each function it appears in.)
gnc-html-graph-gog.c: In function 'handle_barchart':
gnc-html-graph-gog.c:511: warning: implicit declaration of function 'GDK_TO_UINT'
gmake[5]: *** [gnc-html-graph-gog.lo] Error 1
gmake[5]: Leaving directory `/usr/ports/work/usr/ports/finance/gnucash/work/gnucash-2.2.9/src/gnome-utils'

Fix: 

Unknown.  Removing files/patch-src-gnome-utils-gnc-html-graph-gog.c
	makes things worse.
How-To-Repeat: 	cd /usr/ports/finance/gnucash && make -DDISABLE_MAKE_JOBS
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-09-19 09:30:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2009-09-20 11:15:01 UTC
State Changed
From-To: open->closed

Port has been marked BROKEN.
Comment 3 Peter Jeremy 2009-09-20 20:33:12 UTC
On 2009-Sep-20 10:15:18 +0000, pav@freebsd.org wrote:
>State-Changed-From-To: open->closed
>State-Changed-By: pav
>State-Changed-When: Sun Sep 20 10:15:01 UTC 2009
>State-Changed-Why: 
>Port has been marked BROKEN.


Whilst I accept the port is currently broken, the underlying problem
is not solved so this PR should not be closed.

-- 
Peter Jeremy
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2009-09-20 22:23:49 UTC
Peter Jeremy pí¹e v po 21. 09. 2009 v 05:33 +1000:
> On 2009-Sep-20 10:15:18 +0000, pav@freebsd.org wrote:
> >State-Changed-From-To: open->closed
> >State-Changed-By: pav
> >State-Changed-When: Sun Sep 20 10:15:01 UTC 2009
> >State-Changed-Why: 
> >Port has been marked BROKEN.
> 
> Whilst I accept the port is currently broken, the underlying problem
> is not solved so this PR should not be closed.


Clearly maintainer is AWOL, and the information about the state of the
port is now written in it, so I see no reason to keep this PR in open
state.

This is a process thing. If a fix becomes available in the future, I'll
be happy to commit it.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>
The number you dialed is imaginary. Please turn your phone by 90 degrees
and try again.