Bug 20576

Summary: gnucash port build stops on src/guile/gnc.c
Product: Ports & Packages Reporter: lcremeans <lcremeans>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description lcremeans 2000-08-13 16:10:01 UTC
When I build gnucash from the latest ports tree, it gets all the necessary
things, then dies thusly:

Making all in guile
gmake[3]: Entering directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.2/src/guile'
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome   -I../register  -I/usr/local/include -I/usr/X11R6/include  -O -pipe -Wall -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/local/include -I/usr/local/include -c enriched-messages.c
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome   -I../register  -I/usr/local/include -I/usr/X11R6/include  -O -pipe -Wall -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/local/include -I/usr/local/include -c gfec.c
gfec.c: In function `gfec_catcher':
gfec.c:38: warning: implicit declaration of function `strdup'
gfec.c:38: warning: assignment makes pointer from integer without a cast
FLAVOR=gnome g-wrap --api c --target guile gnc.gwp
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome   -I../register  -I/usr/local/include -I/usr/X11R6/include  -O -pipe -Wall -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/local/include -I/usr/local/include -c gnc.c
gnc.c:50: syntax error before `POINTER_TOKEN_smob'
gnc.c:50: warning: type defaults to `int' in declaration of `POINTER_TOKEN_smob'
gnc.c:51: warning: initialization makes integer from pointer without a cast
gnc.c:51: warning: excess elements in scalar initializer
gnc.c:51: warning: (near initialization for `POINTER_TOKEN_smob')
gnc.c:51: warning: excess elements in scalar initializer
gnc.c:51: warning: (near initialization for `POINTER_TOKEN_smob')
gnc.c:53: warning: excess elements in scalar initializer
gnc.c:53: warning: (near initialization for `POINTER_TOKEN_smob')
gnc.c:53: warning: data definition has no type or storage class
gnc.c:56: syntax error before `POINTER_ARRAY_smob'
gnc.c:56: warning: type defaults to `int' in declaration of `POINTER_ARRAY_smob'
gnc.c:57: warning: initialization makes integer from pointer without a cast
gnc.c:57: warning: excess elements in scalar initializer
gnc.c:57: warning: (near initialization for `POINTER_ARRAY_smob')
gnc.c:57: warning: excess elements in scalar initializer
gnc.c:57: warning: (near initialization for `POINTER_ARRAY_smob')
gnc.c:59: warning: excess elements in scalar initializer
gnc.c:59: warning: (near initialization for `POINTER_ARRAY_smob')
gnc.c:59: warning: data definition has no type or storage class
gnc.c: In function `gwrap_gnc_print_session_text':
gnc.c:5922: warning: passing arg 2 of `gnc_print_session_text' discards qualifiers from pointer target type
gnc.c: In function `init_gnc':
gnc.c:7208: warning: implicit declaration of function `scm_newsmob'
gmake[3]: *** [gnc.o] Error 1
gmake[3]: Leaving directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.2/src/guile'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/deskutils/gnucash/work/gnucash-1.4.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/deskutils/gnucash.
*** Error code 1

Stop in /usr/ports/deskutils/gnucash.
*** Error code 1

Stop in /usr/ports/deskutils/gnucash.

Fix: 

I'm guessing it's a problem with g-wrap but I'm not sure.
How-To-Repeat: Build gnucash from the latest port.
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2000-08-21 17:49:14 UTC
State Changed
From-To: open->closed

Port was updated to 1.4.4 this morning, which builds successfully 
on at least 3-STABLE and 4-STABLE.  Please re-cvsup your ports 
tree and try again. 


Comment 2 Ade Lovett freebsd_committer freebsd_triage 2000-08-21 17:49:14 UTC
Responsible Changed
From-To: freebsd-ports->ade

I took over this port.