From owner-freebsd-ports@FreeBSD.ORG Fri Apr 4 12:13:39 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 36992746; Fri, 4 Apr 2014 12:13:39 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 754206C8; Fri, 4 Apr 2014 12:13:38 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id a1so3382342wgh.20 for ; Fri, 04 Apr 2014 05:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Bw5HaxZE+dFAo4HKBBU5+N6sFdpTRr4M7gmf76/dEJM=; b=MvFjk0dQJRf3vYdi3KlOrWj+lpcyD/E8K4MWKxyNGmKKCYDyFJmJQL6cktywrGhNyQ qwM2yLA2h8IwsP9gWKwY+Kd+lCQqHGRdQWkqcQWXAYwcJmdQ6Tm+5kPZcEvYooEl0oXH VMY2BMCsxkHrTCz11sICGjFyTVxFOaAR/EXC2tHQvZp2RLAvmTZ0gGZlyIrZO9htTbWA sCkUVAckuGM1tJR4bOEZ7CvP8Ad3dpJVlaO+9uDhKFPiDOg2tYCI7D906/YIhWbUmakg 3v+3EZpgw2oj/EzjyEk6IclM/FQtzh1jF8A2hYD3gO41rmjROeDdxbI9ox0+AcQ6oAPm OWoA== X-Received: by 10.194.236.9 with SMTP id uq9mr19348883wjc.31.1396613616682; Fri, 04 Apr 2014 05:13:36 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id h10sm4345297wix.2.2014.04.04.05.13.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 05:13:35 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 4 Apr 2014 14:13:33 +0200 From: Baptiste Daroussin To: Boris Samorodov Subject: Re: cups-client broken on ia64, blocks 70 ports, please help Message-ID: <20140404121333.GC85325@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NKoe5XOeduwbEQHU" Content-Disposition: inline In-Reply-To: <533EA0AD.5020109@passap.ru> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: mexas@bris.ac.uk, pfg@FreeBSD.org, theraven@FreeBSD.org, 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:13:39 -0000 --NKoe5XOeduwbEQHU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2014 at 04:08:13PM +0400, Boris Samorodov wrote: > 04.04.2014 15:49, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Fri, Apr 04, 2014 at 02:18:15PM +0400, Boris Samorodov wrote: > >> 04.04.2014 12:07, Anton Shterenlikht =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>> > >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D188161 > >>> > >>> Compiling adminutil.c... > >>> cc -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -I.= =2E -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -fno-strict-aliasing -DO= PENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_THREAD_SAFE -D_REENT= RANT -D_CUPS_NO_DEPRECATED=3D1 -D_PPD_DEPRECATED=3D"" -c -o adminutil.o adm= inutil.c > >>> adminutil.c:1: warning: -fstack-protector not supported for this targ= et > >>> 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 dir= ectory > >> > >> 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 > >> > >=20 > > That is on recent head, due to the import of _BLOCKS_ support but we do= n't have > > libdispatch >=20 > Makes sense, thanks. >=20 > 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 >=20 > % 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__ > ----- >=20 The compilers defines it, this is probably due to using gcc on ia64,=20 I'm CCing Pedro and David on this as the are the guilty one about __BLOCKS__ support :) and may know better regards, Bapt --NKoe5XOeduwbEQHU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlM+oe0ACgkQ8kTtMUmk6Ez/8QCcCdDJo0KFH07oFNwojR4lVPtu DRwAoIDFv4Xlp0r2pfM3ou3rtKwCBLxA =bT0d -----END PGP SIGNATURE----- --NKoe5XOeduwbEQHU--