Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 18:43:10 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        freebsd-x11@FreeBSD.org, Scott Allendorf <scott-allendorf@uiowa.edu>
Subject:   Re: x11/xextproto breaks libXext build
Message-ID:  <1233272590.66977.28.camel@squirrel.corp.cox.com>
In-Reply-To: <200901291753.25045.jkim@FreeBSD.org>
References:  <498222B9.5020700@uiowa.edu> <200901291753.25045.jkim@FreeBSD.org>

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

[-- Attachment #1 --]
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEABECAAYFAkmCPw4ACgkQM4TrQ4qfROMt3ACggoEWiZXiqb2R09DIK4egNxbV
vxkAnjMYheI6WZVZdlqBNhyLi4y5+xHN
=5K2M
-----END PGP SIGNATURE-----

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