From owner-freebsd-ports@FreeBSD.ORG Thu Oct 2 18:33:20 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87CCF271; Thu, 2 Oct 2014 18:33:20 +0000 (UTC) Received: from pozo.com (pozo.com [50.197.129.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pozo.com", Issuer "pozo.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EFE2BD75; Thu, 2 Oct 2014 18:33:19 +0000 (UTC) Received: from T61p.pozo.com (t61p.pozo.com [192.168.0.4]) (authenticated bits=0) by pozo.com (8.14.9/8.14.9) with ESMTP id s92IQ52J017427 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NOT); Thu, 2 Oct 2014 11:26:06 -0700 (PDT) (envelope-from null@pozo.com) Message-Id: <201410021826.s92IQ52J017427@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 02 Oct 2014 11:26:05 -0700 To: ports@freebsd.org From: Manfred Antar Subject: Xtide Broken on X86 X64 current Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,MISSING_MID, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0, No X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: s92IQ52J017427 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com Cc: , brion@queeg.com, marino@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 18:33:20 -0000 /usr/ports/astro/xtide doesn't complie on amd64 or i386 current for me It uses /usr/local/bin/gcc48 for compiler. System is current. The error is : xxGlobal.cc: In function 'void Global::PositioningSystem(Coordinates&)': xxGlobal.cc:80:24: error: 'isnan' was not declared in this scope if (!(isnan(lat) || isnan(lng))) { ^ xxGlobal.cc:80:24: note: suggested alternative: In file included from /usr/local/lib/gcc48/include/c++/random:38:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:65, from /usr/local/lib/gcc48/include/c++/algorithm:62, from common.hh:135, from xtide.hh:21, from xxGlobal.cc:21: /usr/local/lib/gcc48/include/c++/cmath:632:5: note: 'std::isnan' isnan(_Tp __x) ^ mv -f .deps/xxErrorBox.Tpo .deps/xxErrorBox.Po gmake[3]: *** [xxGlobal.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... mv -f .deps/xxFilename.Tpo .deps/xxFilename.Po mv -f .deps/xxGlobe.Tpo .deps/xxGlobe.Po gmake[3]: Leaving directory `/usr/ports/astro/xtide/work/xtide-2.13.2' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/astro/xtide/work/xtide-2.13.2' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/astro/xtide *** Error code 1 If you: vi ./work/xtide-2.13.2/xxGlobal.cc and add to top of file: extern "C" int isnan (double); It will compile. It's been this way awhile, I've had to add this to xxGlobal.cc for some time. If you turn off the option X11 it will build. But then you just get command line tide program. ======================== || null@pozo.com || || || ======================== -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.