Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2014 16:08:13 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        mexas@bris.ac.uk, freebsd-ports@freebsd.org
Subject:   Re: cups-client broken on ia64, blocks 70 ports, please help
Message-ID:  <533EA0AD.5020109@passap.ru>
In-Reply-To: <20140404114934.GB48345@ivaldir.etoilebsd.net>
References:  <201404040807.s3487nwT082172@mech-cluster241.men.bris.ac.uk> <533E86E7.7080508@passap.ru> <20140404114934.GB48345@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
04.04.2014 15:49, Baptiste Daroussin пишет:
> On Fri, Apr 04, 2014 at 02:18:15PM +0400, Boris Samorodov wrote:
>> 04.04.2014 12:07, Anton Shterenlikht пишет:
>>>
>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=188161
>>>
>>> Compiling adminutil.c...
>>> cc  -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE  -D_THREAD_SAFE -D_REENTRANT -D_CUPS_NO_DEPRECATED=1 -D_PPD_DEPRECATED="" -c -o adminutil.o adminutil.c
>>> adminutil.c:1: warning: -fstack-protector not supported for this target
>>> In file included from pwg-private.h:25,
>>>                  from cups-private.h:31,
>>>                  from adminutil.c:33:
>>> ../cups/cups.h:34:35: error: dispatch/dispatch.h: No such file or directory
>>
>> Hm. cups/cups.h has the following code:
>> -----
>> #  ifdef __BLOCKS__
>> #    include <dispatch/dispatch.h>
>> #  endif /* __BLOCKS__ */
>> -----
>>
>> It seems that the whole dispath is an Apple thing. How does it come
>> about that it get used by FreeBSD? I think this check may be removed.
>>
>> Anyway please try the following patch (place it in to the
>> print/cups/file directory -- mind print/cups origin,
>> not print/cups-client) and retry:
>> ftp://ftp.wart.ru/pub/misc/patch-cups-cups.h
>>
> 
> That is on recent head, due to the import of _BLOCKS_ support but we don't have
> libdispatch

Makes sense, thanks.

Wait a little, I don't get any defines:
-----
% uname -a
FreeBSD bb052.bsnet 11.0-CURRENT FreeBSD 11.0-CURRENT #77 r264083: Fri
Apr  4 00:30:01 SAMT 2014
bsam@bb052.bsnet:/usr/obj/usr/src/sys/BB64X  amd64

% grep __BLOCKS__ -r /usr/include
/usr/include/heimbase.h:#ifdef __BLOCKS__
/usr/include/heimbase.h:#ifdef __BLOCKS__
/usr/include/heimbase.h:#ifdef __BLOCKS__
/usr/include/stdlib.h:#ifdef __BLOCKS__
/usr/include/stdlib.h:#ifdef __BLOCKS__
/usr/include/stdlib.h:#ifdef __BLOCKS__
/usr/include/stdlib.h:#ifdef __BLOCKS__
/usr/include/hx509-protos.h:#ifdef __BLOCKS__
/usr/include/hx509-protos.h:#endif /* __BLOCKS__ */
/usr/include/dirent.h:#ifdef __BLOCKS__
-----

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



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