From andrew@ugh.net.au  Tue Aug 29 23:03:58 2000
Return-Path: <andrew@ugh.net.au>
Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37])
	by hub.freebsd.org (Postfix) with ESMTP id 4F83137B424
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Aug 2000 23:03:56 -0700 (PDT)
Received: by starbug.ugh.net.au (Postfix, from userid 1000)
	id 79EAEA8AA; Wed, 30 Aug 2000 16:04:00 +1000 (EST)
Message-Id: <20000830060400.79EAEA8AA@starbug.ugh.net.au>
Date: Wed, 30 Aug 2000 16:04:00 +1000 (EST)
From: andrew@ugh.net.au
Reply-To: andrew@ugh.net.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: gnomecore ports doesn't build
X-Send-Pr-Version: 3.2

>Number:         20935
>Category:       ports
>Synopsis:       gnomecore ports doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 29 23:10:01 PDT 2000
>Closed-Date:    Sat Sep 2 18:54:44 PDT 2000
>Last-Modified:  Sat Sep 02 18:56:58 PDT 2000
>Originator:     Andrew
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
UgH!
>Environment:

ports cvsupped about a week ago. (gnomecore/Makefile,v 1.44)
I have the libxml2 port installed.


>Description:

When I try and make the gnomecore port is dies with:

Making all in gnome-hint
gmake[2]: Entering directory `/usr/ports/x11/gnomecore/work/gnome-core-1.2.1/gnome-hint'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include                          -I../intl                        -I../intl        -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gtk12         -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale\""  -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include  -O2 -pipe -m486 -Wall -Wunused  -c gnome-hint.c
gnome-hint.c:10: gnome-xml/tree.h: No such file or directory
gnome-hint.c:11: gnome-xml/parser.h: No such file or directory
gnome-hint.c:76: syntax error before `doc'
gnome-hint.c: In function `get_i18n_string':
gnome-hint.c:80: syntax error before `cur'
gnome-hint.c:88: `cur' undeclared (first use in this function)
gnome-hint.c:88: (Each undeclared identifier is reported only once
gnome-hint.c:88: for each function it appears in.)
gnome-hint.c:88: `child' undeclared (first use in this function)
gnome-hint.c:90: `name' undeclared (first use in this function)
gnome-hint.c:92: warning: implicit declaration of function `xmlGetProp'
gnome-hint.c:92: warning: assignment makes pointer from integer without a cast
gnome-hint.c:96: warning: implicit declaration of function `xmlNodeList 

>How-To-Repeat:

cd /usr/ports/x11/gnomecore && make

>Fix:

I'm guessing gnomecore requires the libxml1 port installed (by looking at the
PLIST for the libxml1 port) but the dependency test in the gnomecore Makefile
succeeds for libxml1 or libxml2. The workaround is to not have libxml2 installed
when installing gnomecore. If you dont have any libxml installed libxml1 will
be.

To fix the Makefile for gnomecore would have to be changed to test for libxml1
although exactly how escapes me atm.

I haven't verified this yet but when libxml finishes building (been an hour so
far) I'll let you know.

>Release-Note:
>Audit-Trail:

From: Ade Lovett <ade@FreeBSD.org>
To: andrew@ugh.net.au
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/20935: gnomecore ports doesn't build
Date: Wed, 30 Aug 2000 11:28:50 -0500

 On Wed, Aug 30, 2000 at 04:04:00PM +1000, andrew@ugh.net.au wrote:
 > ports cvsupped about a week ago. (gnomecore/Makefile,v 1.44)
 > I have the libxml2 port installed.
 
 Don't do that.  Use textproc/libxml.  The two are not compatible
 with each other.
 
 -aDe [really, really, wishing he hadn't imported libxml2]
 
 -- 
 Ade Lovett, Austin, TX.			ade@FreeBSD.org
 FreeBSD: The Power to Serve		http://www.FreeBSD.org/
 
State-Changed-From-To: open->feedback 
State-Changed-By: sobomax 
State-Changed-When: Sat Sep 2 07:12:12 PDT 2000 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=20935 
State-Changed-From-To: feedback->closed 
State-Changed-By: ade 
State-Changed-When: Sat Sep 2 18:54:44 PDT 2000 
State-Changed-Why:  
Private email with the submitter confirms that using libxml 
instead of libxml2 works just fine. 

Another nail in the coffin of the libxml author for producing 
two incompatible versions using the same library namespace. 


Responsible-Changed-From-To: freebsd-ports->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Sat Sep 2 18:54:44 PDT 2000 
Responsible-Changed-Why:  
gnomecore is mine. 

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