Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 17:53:22 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-x11@FreeBSD.org
Cc:        Scott Allendorf <scott-allendorf@uiowa.edu>
Subject:   Re: x11/xextproto breaks libXext build
Message-ID:  <200901291753.25045.jkim@FreeBSD.org>
In-Reply-To: <498222B9.5020700@uiowa.edu>
References:  <498222B9.5020700@uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 29 January 2009 04:42 pm, Scott Allendorf wrote:
> The recent upgrade to x11/xextproto 7.0.5 appears to break the
> building of x11/libXext (which was working until this update):
>
> ===================================================================
>======= scatest2# portupgrade libXext
> --->  Upgrading 'libXext-1.0.3,1' to 'libXext-1.0.4,1'
> (x11/libXext) --->  Building '/usr/ports/x11/libXext'
> ===>  Cleaning for libXext-1.0.4,1
> ===>  Extracting for libXext-1.0.4,1
> => MD5 Checksum OK for xorg/lib/libXext-1.0.4.tar.bz2.
> => SHA256 Checksum OK for xorg/lib/libXext-1.0.4.tar.bz2.
> ===>  Patching for libXext-1.0.4,1
> ===>   libXext-1.0.4,1 depends on file:
> /usr/local/libdata/pkgconfig/xextproto.pc - found
> ===>   libXext-1.0.4,1 depends on file:
> /usr/local/libdata/pkgconfig/xproto.pc - found
> ===>   libXext-1.0.4,1 depends on file:
> /usr/local/libdata/pkgconfig/x11.pc - found
> ===>   libXext-1.0.4,1 depends on file:
> /usr/local/libdata/pkgconfig/xau.pc - found
> ===>   libXext-1.0.4,1 depends on executable: pkg-config - found
> ===>  Configuring for libXext-1.0.4,1
>
> ...
>
>   cc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -I/usr/local/include
> -DMALLOC_0_RETURNS_NULL -O2 -fno-strict-aliasing -pipe
> -march=pentium4 -MT extutil.lo -MD -MP -MF .deps/extutil.Tpo -c
> extutil.c  -fPIC -DPIC -o .libs/extutil.o
> extutil.c:254: error: conflicting types for
> 'XSetExtensionErrorHandler'
> /usr/local/include/X11/extensions/Xext.h:43: error: previous
> declaration of 'XSetExtensionErrorHandler' was here
> extutil.c:254: error: conflicting types for
> 'XSetExtensionErrorHandler'
> /usr/local/include/X11/extensions/Xext.h:43: error: previous
> declaration of 'XSetExtensionErrorHandler' was here
> extutil.c: In function `XMissingExtension':
> extutil.c:272: warning: passing arg 2 of pointer to function
> discards qualifiers from pointer target type
> *** Error code 1
>
> Stop in /home/sca/usr/ports/x11/libXext/work/libXext-1.0.4/src.
> *** Error code 1
>
> Stop in /home/sca/usr/ports/x11/libXext/work/libXext-1.0.4.
> *** Error code 1
>
> Stop in /home/sca/usr/ports/x11/libXext/work/libXext-1.0.4.
> *** Error code 1
>
> Stop in /usr/ports/x11/libXext.
> ===================================================================
>=======

Just to fix libXext:

http://cgit.freedesktop.org/xorg/lib/libXext/commit/?id=52cf9c06819d94e178285d75de6434e98358b63d

However, I think it is not a good idea to update xextproto yet. :-(

Jung-uk Kim



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