x11/xextproto breaks libXext build

Robert Noland rnoland at FreeBSD.org
Thu Jan 29 15:43:18 PST 2009


On Thu, 2009-01-29 at 17:53 -0500, Jung-uk Kim wrote:
> 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. :-(

Already got a matching release of libXext committed...

robert.

> Jung-uk Kim
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090129/7d2f2198/attachment.pgp


More information about the freebsd-x11 mailing list