From owner-freebsd-ports@FreeBSD.ORG Fri Apr 4 12:08:37 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E121A438; Fri, 4 Apr 2014 12:08:37 +0000 (UTC) Received: from forward8l.mail.yandex.net (forward8l.mail.yandex.net [84.201.143.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 458A0605; Fri, 4 Apr 2014 12:08:37 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 289EC1A41317; Fri, 4 Apr 2014 16:08:28 +0400 (MSK) Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id B154D16A005B; Fri, 4 Apr 2014 16:08:27 +0400 (MSK) Received: from 46.38.38.120.tel.ru (46.38.38.120.tel.ru [46.38.38.120]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id NGtmzdnGLU-8Fb8ddK0; Fri, 4 Apr 2014 16:08:21 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 19d4774c-2ce4-4eab-98d0-f66c6d37ea60 Message-ID: <533EA0AD.5020109@passap.ru> Date: Fri, 04 Apr 2014 16:08:13 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: cups-client broken on ia64, blocks 70 ports, please help References: <201404040807.s3487nwT082172@mech-cluster241.men.bris.ac.uk> <533E86E7.7080508@passap.ru> <20140404114934.GB48345@ivaldir.etoilebsd.net> In-Reply-To: <20140404114934.GB48345@ivaldir.etoilebsd.net> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: mexas@bris.ac.uk, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 12:08:37 -0000 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 >> # 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