From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 16:27:20 2014 Return-Path: Delivered-To: pkg@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 8BBD95D7 for ; Thu, 25 Sep 2014 16:27:20 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C228AFA for ; Thu, 25 Sep 2014 16:27:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s8PGRKlZ005175 for ; Thu, 25 Sep 2014 16:27:20 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s8PGRKgr005172 for pkg@freebsd.org; Thu, 25 Sep 2014 16:27:20 GMT (envelope-from bdrewery) Received: (qmail 96808 invoked from network); 25 Sep 2014 11:27:18 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 25 Sep 2014 11:27:18 -0500 Message-ID: <5424425A.9040709@FreeBSD.org> Date: Thu, 25 Sep 2014 11:27:06 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Maciej Milewski , Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> In-Reply-To: <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj" Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 16:27:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 9/25/2014 11:19 AM, Maciej Milewski wrote: >=20 >=20 > On 25 wrze=C5=9Bnia 2014 18:01:23 CEST, Thiago Farina wrote: >> On Wed, Sep 24, 2014 at 6:28 PM, Maciej Milewski wrote: >>> Hi, >>> I have problem with compiling pkg-1.3.8 on my RSPro mips board: >>> =3D=3D=3D> Building for pkg-1.3.8 >>> /usr/bin/make all-recursive >>> Making all in external >>> /usr/bin/make all-am >>> Making all in libpkg >>> Making all in repo >>> Making all in binary >>> Making all in . >>> Making all in src >>> CC pkg-info.o >>> cc1: warnings being treated as errors >>> info.c: In function 'exec_info': >>> info.c:266: warning: implicit declaration of function >> 'cap_rights_init' >>> info.c:267: warning: passing argument 2 of 'cap_rights_limit' makes >>> integer from pointer without a cast >>> *** [pkg-info.o] Error code 1 >>> >> Have you tried fixing this warning? As it is treating warnings as >> errors the compilation fails. >> >> Hope that helps, >> >> Regards, > Yes tried removing -Werror from src/Makefile. If that's sth connected w= ith capsicum then my system might be built before that got to the tree. I= 'll try of I can build and flash newer image for that device. >=20 Huh that's strange. The header is included properly. What FreeBSD version is this? --=20 Regards, Bryan Drewery --D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUJEJaAAoJEDXXcbtuRpfP8KYH/3EpvmSSxra+W2A/x+Q7fAUJ y1pdGyc3JkJ8KvFnReP+SKZaP/HTa/BUoKkO2G8TnOWQ3TIxgEJU9t0T9ZcHF1HN HvPDXFd63LW3M6zUMoIz3zuIFCqZxInaol3shuknAeedAPkIAG72ir2WUYs6kzrP y3cd3ZniU5QFiCJOqNUwQ9LybgW/9OqeurdG0PADcJ5tmydycTQh/AbgHow0KEqK MH6DHrUMUIsdC07zs2MzITjWNlzoOBz8NhY1IX5m8ERKnXDL9ZXHwKQCqmBZeWbE n/UKgdTDYzUo4OdwUJ8ktYn1e6+szd2ADIJCCdhfXGB86eP+pAs0xUF4f00fT7g= =Wvpt -----END PGP SIGNATURE----- --D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj--