Number: 47400
Category: pkg
Synopsis: gnustep-base-1.20.1 does not build
Confidential: no
Severity: non-critical
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Thu Jan 03 23:10:00 +0000 2013
Originator: Lance Clark
Release: NetBSD 6.0
Organization:
Environment:
NetBSD mhive 6.0 NetBSD 6.0 (MHIVE) #3: Fri Dec 14 17:27:44 CST 2012
lclark%mhive.ks.cox.net@localhost:/usr/src/sys/arch/i386/compile/MHIVE i386
Description:
When building gnustep-base in pkgsrc, the compile fails with the output:
...
Compiling file GSXML.m ...
GSXML.m: In function '-[GSXMLNode description]':
GSXML.m:979:38: error: dereferencing pointer to incomplete type
GSXML.m:979:60: error: dereferencing pointer to incomplete type
gmake[4]: *** [obj/Additions.obj/GSXML.m.o] Error 1
gmake[3]: *** [internal-subproject-all_] Error 2
gmake[2]: *** [Additions.all.subproject.variables] Error 2
gmake[1]: *** [internal-all] Error 2
gmake: *** [internal-all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/devel/gnustep-base
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/gnustep-base
How-To-Repeat:
Change to the deve/gnustep-base directory and enter 'make install' with the
appropriate permissions.
Fix:
In work/.buildlink/include/libxml2/libxml/tree.h: line 104:
typedef struct _xmlBuf xmlBuf;
...should really be...
typedef struct _xmlBuffer xmlBuf;
This fixes the error and allows for a successful build.