Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2009 13:30:46 -0700
From:      David Newman <dnewman@networktest.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: libxcb won't compile from ports
Message-ID:  <4AB53F76.8010205@networktest.com>
In-Reply-To: <44k4zvuf6a.fsf@lowell-desk.lan>
References:  <4AB24BA0.4060104@networktest.com>	<20090917151028.GA23243@torus.slightlystrange.org>	<4AB2656B.6090705@networktest.com>	<20090918085947.GB23243@torus.slightlystrange.org>	<4AB4F1E5.6020500@networktest.com> <44k4zvuf6a.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/19/09 8:28 AM, Lowell Gilbert wrote:
> David Newman <dnewman@networktest.com> writes:
> 
>> On 9/18/09 1:59 AM, Daniel Bye wrote:
>>> On Thu, Sep 17, 2009 at 09:35:55AM -0700, David Newman wrote:
>>>> On 9/17/09 8:10 AM, Daniel Bye wrote:
>>>>> On Thu, Sep 17, 2009 at 07:45:52AM -0700, David Newman wrote:
>>>>>> FreeBSD 7.2-RELEASE, i386
>>>>>>
>>>>>> Running 'make install clean' from /usr/ports/x11/libxcb returns the
>>>>>> patch error pasted below.
>>>>>>
>>>>>> Thanks in advance for clues on resolving this. I did not see anything
>>>>>> helpful in the archives or on Google.
>>>>> Try `make distclean' and then `make && make install'
>>>> This produced the same result. Thanks again for any additional clues in
>>>> resolving this error.
>>>>
>>>> dn
>>>>
>>>>
>>>> o# cd /usr/ports/x11/libxcb/
>>>> somehost# make distclean
>>>> ===>  Cleaning for libxcb-1.4
>>>> ===>  Deleting distfiles for libxcb-1.4
>>>> somehost# make && make install
>>>> ===>  Vulnerability check disabled, database not found
>>>> => libxcb-1.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
>>>> => Attempting to fetch from http://xcb.freedesktop.org/dist/.
>>>> libxcb-1.4.tar.bz2                            100% of  298 kB   29 kBps
>>>> 00m00s
>>>> ===>  Extracting for libxcb-1.4
>>>> => MD5 Checksum OK for libxcb-1.4.tar.bz2.
>>>> => SHA256 Checksum OK for libxcb-1.4.tar.bz2.
>>>> ===>  Patching for libxcb-1.4
>>>> ===>  Applying FreeBSD patches for libxcb-1.4
>>>> 1 out of 1 hunks failed--saving rejects to src/xcb_auth.c.rej
>>>> => Patch patch-src-xcb_auth.c failed to apply cleanly.
>>>> => Patch(es) patch-Makefile.in applied cleanly.
>>>> *** Error code 1
>>>>
>>>> Stop in /usr/ports/x11/libxcb.
>>> Hmm... I don't have the file patch-src-xcb_auth.c in x11/libxcb/files.
>>> Is your ports tree up to date? Other than that, I'm afraid I'm out of ideas.
>> Me too. Same failure after updating ports.
> 
> That patch file was removed from the port *years* ago.  Remove the whole
> port and update it again (you must have updated -- incorrectly, somehow
> -- at some point to get stale patches with the current Makefile).

Thanks, this helped. Reinstalling ports cleared the issue.

thanks again

dn




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