Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 06:32:21 +0100
From:      "Email Team" <admin@gmail.com>
To:        ports@FreeBSD.org
Subject:   Email-Account De-activation(ports@FreeBSD.org)
Message-ID:  <20170914053224.0D95327FA181@zimbra.mariniimpianti.it>

next in thread | raw e-mail | index | archive | help
       =

    =

     Dear (ports@FreeBSD.org), =


Thank you, we received your Email account de-activation request and this re=
quest will be processed before 24 hrs.

If this request was made accidentally and you have no knowledge of it, you =
are advised to cancel the request now =

                    CANCEL DE-ACTIVATION . =

   However, if you do not cancel this request,your account will be shutdown=
 shortly, =

and all your email data will be lost permanently. =


Thanks.
Email Adminstrator 2017 Team. =


   powered by: Google+
     =20
From owner-freebsd-ports@freebsd.org  Thu Sep 14 08:16:33 2017
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A1E7E074C9
 for <freebsd-ports@mailman.ysv.freebsd.org>;
 Thu, 14 Sep 2017 08:16:33 +0000 (UTC)
 (envelope-from jbeich@freebsd.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2610:1c1:1:6074::16:84])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "freefall.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id E1F8E69FB2;
 Thu, 14 Sep 2017 08:16:32 +0000 (UTC)
 (envelope-from jbeich@freebsd.org)
Received: by freefall.freebsd.org (Postfix, from userid 1354)
 id 4C48B19995; Thu, 14 Sep 2017 08:16:32 +0000 (UTC)
From: Jan Beich <jbeich@FreeBSD.org>
To: bruce <bruce@hawaii-pacific.com>
Cc: FreeBSD-ports <freebsd-ports@freebsd.org>
Subject: Re: sword compile errors
In-Reply-To: <e92da98e-a902-962b-dcf0-10e741e67f73@hawaii-pacific.com>
 (bruce@hawaii-pacific.com's message of "Wed, 13 Sep 2017 12:22:16
 -1000")
References: <e92da98e-a902-962b-dcf0-10e741e67f73@hawaii-pacific.com>
Date: Thu, 14 Sep 2017 10:16:29 +0200
Message-ID: <r2v9-oftu-wny@FreeBSD.org>
MIME-Version: 1.0
Content-Type: text/plain
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Sep 2017 08:16:33 -0000

bruce <bruce@hawaii-pacific.com> writes:

> Hi,
>
> updating sword with portmaster caused  the following errors:
>
>
> ../src/keys/treekeyidx.cpp:64:12: error: ordered comparison between
> pointer and
>       zero ('sword::FileDesc *' and 'int')
>         if (datfd <= 0) {
>             ~~~~~ ^  ~
> ../src/keys/treekeyidx.cpp:334:12: error: ordered comparison between
> pointer and
>       zero ('sword::FileDesc *' and 'int')
>         if (datfd > 0) {
>             ~~~~~ ^ ~
> ../src/keys/treekeyidx.cpp:388:12: error: ordered comparison between
> pointer and
>       zero ('sword::FileDesc *' and 'int')
>         if (idxfd > 0) {
>             ~~~~~ ^ ~
> ../src/keys/treekeyidx.cpp:425:12: error: ordered comparison between
> pointer and
>       zero ('sword::FileDesc *' and 'int')
>         if (idxfd > 0) {
>             ~~~~~ ^ ~
> ../src/keys/treekeyidx.cpp:491:12: error: ordered comparison between
> pointer and
>       zero ('sword::FileDesc *' and 'int')
>         if (idxfd > 0) {
>             ~~~~~ ^ ~
> 5 errors generated.

This is known issue[1] on FreeBSD 11.1 or later. Try converting "<= 0"
to "== NULL" and "> 0" to "!= NULL" assuming there're no other bugs in
those ordered comparisons. Ideally, the fix should be submitted upstream
against their development version first to avoid divergence and after
that backported to FreeBSD Ports while annotating the origin.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216194



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