Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 18:14:01 -0800 (PST)
From:      jj@nttmcl.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gene@nttmcl.com, jj@nttmcl.com
Subject:   ports/31998: libxml2-2.4.10 breaks kdelibs-2.2.1 build
Message-ID:  <200111150214.fAF2E1C36545@tcp.nttmcl.com>

next in thread | raw e-mail | index | archive | help

>Number:         31998
>Category:       ports
>Synopsis:       libxml2-2.4.10 breaks kdelibs-2.2.1 build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 14 18:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     JJ Behrens
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
NTT MCL, INC.
>Environment:
System: FreeBSD tcp.nttmcl.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386
>Description:

libxml2-2.4.10 builds and installs successfully.  However, when attempting
to build kdelibs-2.2.1, the following build error is generated:

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/local/include/libxml2/libxml -I/usr/local/include/libxml2 -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -D_THREAD_SAFE -I/usr/local/include -O0 -O -pipe -c templates.c  -fPIC -DPIC -o .libs/templates.o
In file included from /usr/local/include/libxml2/libxml/parser.h:576,
                 from /usr/local/include/libxml2/libxml/xmlerror.h:4,
                 from templates.c:18:
/usr/local/include/libxml2/libxml/globals.h:70: syntax error before `xmlGenericErrorFunc'
/usr/local/include/libxml2/libxml/globals.h:217: syntax error before `xmlGenericError'
/usr/local/include/libxml2/libxml/globals.h:217: warning: data definition has no type or storage class
gmake[3]: *** [templates.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools/libxslt'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
...

It appears that the headers have a cyclical dependency.

>How-To-Repeat:

Starting from a naked system, use cvsup to grab the latest version of ports.
Then try to build the kde2 meta port--libxml2 is a dependency.

>Fix:

This may be a libxml issue more than a ports issue.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111150214.fAF2E1C36545>