x11/xextproto breaks libXext build

Jung-uk Kim jkim at FreeBSD.org
Thu Jan 29 14:53:33 PST 2009


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


More information about the freebsd-x11 mailing list