From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 16:01:26 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94DB7186; Thu, 25 Sep 2014 16:01:26 +0000 (UTC) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (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 5751C14A; Thu, 25 Sep 2014 16:01:26 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id h136so2568457oig.38 for ; Thu, 25 Sep 2014 09:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WIpuOZTdewujlyzrYBe3c3ukF+XkE8HN2hGfBB4fq+4=; b=IHV1DGypO093cH9Pd+Nd7DNrD01DRG2CAb2wYuX7kibk6isjwlY0ekWN0SVt+DMtlZ aRZpVyZJB+LN3X7BcLCKGJAa3REFsOYwHD1EicAdJXe+DxhGdV/vRgEIcexV0LQT9rGd VzjR4u4m+/33rJITpleLC0q+HV3qyfWTaaGAEbcGOIEsYOSPO/R6kMt21L0giKt/jaBL 8fO1k1X8uEWKlZq6SDrS+3SqIqsbpA0+0pdhonE+cRGB6SgxIwBTHGZMeDJ7NHdKalpz 9zlp7PIUDgcWUMOdRJddkOkPn5bntW1klQ+88r3MeKt2+RYSDd2BnwkZUeYMoQXn8zFw BO2w== MIME-Version: 1.0 X-Received: by 10.60.44.193 with SMTP id g1mr15026112oem.26.1411660883780; Thu, 25 Sep 2014 09:01:23 -0700 (PDT) Received: by 10.202.78.66 with HTTP; Thu, 25 Sep 2014 09:01:23 -0700 (PDT) In-Reply-To: <54233771.4090803@dat.pl> References: <54233771.4090803@dat.pl> Date: Thu, 25 Sep 2014 13:01:23 -0300 Message-ID: Subject: Re: Can't compile pkg on mips From: Thiago Farina To: Maciej Milewski Content-Type: text/plain; charset=UTF-8 Cc: "pkg@FreeBSD.org" , Bryan Drewery 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:01:26 -0000 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: > ===> 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, -- Thiago Farina