ports/138183: [PATCH] x11/xcb-util: update to 0.3.6

Nikos Ntarmos ntarmos at cs.uoi.gr
Tue Sep 8 17:13:46 UTC 2009


On Tue, Sep 08, 2009 at 01:20:00PM -0300, Renato Botelho wrote:
> On Sat, Sep 05, 2009 at 08:10:03AM +0000, Nikos Ntarmos wrote:
> > The following reply was made to PR ports/138183; it has been noted by GNATS.
> > 
> >  Since x11/xcb-util v0.3.5 I've received multiple emails about xcb-util
> >  failing to build. This is caused by x11/libxcb having been built against 
> >  x11/xcb-proto version 1.4, while xcb-util requires the former to be
> >  built against xcb-proto 1.5 or higher. As of this, I've added a check in
> >  xcb-util's Makefile to warn when this is the case. Obviously, this
> >  situation arises when the installed ports are not fully in sync with the
> >  ports tree or when libxcb has been installed via an early package. If
> >  the added check is deemed unnecessary, then the patch supplied by Renato
> >  is good to go, but perhaps we should add a line or two in UPDATING.
> 
> What do you think about add xcb-proto dependency explicit on BUILD_DEPENDS
> set with a version check, like following patch:

That's a nice idea but it still wouldn't work. libxcb requires xcb-proto
which is already at version 1.5 in the ports. However, some mirrors and
binary distros seem to have (had) libxcb versions compiled against an
earlier xcb-proto version. In those cases this check wouldn't alleviate
the issue. We can discard the check altogether and hope that the mirrors
and binary distributions will eventually catch up, but given the volume
of reports I had the past couple of months, I'd rather it stayed unless
it's against some policy or something.

Cheers.

\n\n



More information about the freebsd-ports-bugs mailing list