From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 19 21:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 ESMTP id 98B2D27C for ; Mon, 19 Aug 2013 21:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A0A52862 for ; Mon, 19 Aug 2013 21:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7JL00RB024483 for ; Mon, 19 Aug 2013 21:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7JL00Ga024482; Mon, 19 Aug 2013 21:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 19 Aug 2013 21:00:00 GMT Resent-Message-Id: <201308192100.r7JL00Ga024482@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryan Steinmetz 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 ESMTP id E5A4BF51 for ; Mon, 19 Aug 2013 20:51:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BB09E2824 for ; Mon, 19 Aug 2013 20:51:43 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7JKphFd017211 for ; Mon, 19 Aug 2013 20:51:43 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7JKphpM017203; Mon, 19 Aug 2013 20:51:43 GMT (envelope-from nobody) Message-Id: <201308192051.r7JKphpM017203@oldred.freebsd.org> Date: Mon, 19 Aug 2013 20:51:43 GMT From: Ryan Steinmetz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181407: [patch] Fix databases/mysql55-server build under 10-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 21:00:00 -0000 >Number: 181407 >Category: ports >Synopsis: [patch] Fix databases/mysql55-server build under 10-CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 19 21:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ryan Steinmetz >Release: 10-CURRENT >Organization: >Environment: FreeBSD fun 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254474: Sun Aug 18 05:40:23 UTC 2013 peter@fun.freebsd.org:/usr/obj/usr/src/sys/HALO amd64 >Description: [ 49%] Building CXX object sql/CMakeFiles/sql.dir/item_func.cc.o In file included from /var/ports/basejail/usr/ports/databases/mysql55-server/work/mysql-5.5.32/sql/item_func.cc:27: In file included from /var/ports/basejail/usr/ports/databases/mysql55-server/work/mysql-5.5.32/include/my_global.h:351: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ /var/ports/basejail/usr/ports/databases/mysql55-server/work/mysql-5.5.32/sql/item_func.cc:2344:29: error: controlling expression type 'volatile double' not compatible with any generic association type else if (!dec_negative && my_isinf(value_mul_tmp)) ^~~~~~~~~~~~~~~~~~~~~~~ /var/ports/basejail/usr/ports/databases/mysql55-server/work/mysql-5.5.32/include/my_global.h:814:21: note: expanded from macro 'my_isinf' #define my_isinf(X) isinf(X) ^~~~~~~~ /usr/include/math.h:107:18: note: expanded from macro 'isinf' #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/math.h:86:49: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((0,(x)), \ ^~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. make: stopped in /var/ports/basejail/usr/ports/databases/mysql55-server/work/mysql-5.5.32 *** Error code 1 >How-To-Repeat: Attempt to build databases/mysql55-server under 10-CURRENT >Fix: Add attached patch to files/ Patch attached with submission follows: --- ./sql/item_func.cc.orig 2013-08-19 16:44:21.000000000 -0400 +++ ./sql/item_func.cc 2013-08-19 16:44:33.000000000 -0400 @@ -2341,7 +2341,7 @@ if (dec_negative && my_isinf(tmp)) tmp2= 0.0; - else if (!dec_negative && my_isinf(value_mul_tmp)) + else if (!dec_negative && my_isinf((double)value_mul_tmp)) tmp2= value; else if (truncate) { >Release-Note: >Audit-Trail: >Unformatted: