libxcb won't compile from ports

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat Sep 19 15:28:55 UTC 2009


David Newman <dnewman at 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).

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


More information about the freebsd-questions mailing list