From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 12 09:10:12 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25B7B37B401 for ; Thu, 12 Jun 2003 09:10:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B76C543F85 for ; Thu, 12 Jun 2003 09:10:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5CGABUp026138 for ; Thu, 12 Jun 2003 09:10:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5CGABAf026137; Thu, 12 Jun 2003 09:10:11 -0700 (PDT) Date: Thu, 12 Jun 2003 09:10:11 -0700 (PDT) Message-Id: <200306121610.h5CGABAf026137@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Erik Greenwald Subject: Re: ports/53252: databases/mysql323-server: fails to build on 5.1-RELEASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Erik Greenwald List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 16:10:12 -0000 The following reply was made to PR ports/53252; it has been noted by GNATS. From: Erik Greenwald To: Alexandr Kovalenko Cc: FreeBSD-gnats-submit@freebsd.org, dirk@freebsd.org Subject: Re: ports/53252: databases/mysql323-server: fails to build on 5.1-RELEASE Date: Thu, 12 Jun 2003 11:06:11 -0500 On Thu, Jun 12, 2003 at 05:56:05PM +0300, Alexandr Kovalenko wrote: > > >Description: > checking if conversion of longlong to float works... Segmentation fault (core dumped) no > configure: error: Your compiler cannot convert a longlong value to a float! > If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try > again > ===> Script "configure" failed unexpectedly. > Please report the problem to dirk@FreeBSD.org [maintainer] and attach > the "/usr/ports/databases/mysql323-server/work/mysql-3.23.56/config.log" > including the output of the failure of your make command. Also, it might > be a good idea to provide an overview of all packages installed on your > system (e.g. an `ls /var/db/pkg`). > *** Error code 1 > > Stop in /usr/ports/databases/mysql323-server. mysql323-client also fails with this error The issue is that in the longlong check, it uses fopen() to get a file pointer, then later uses close() with the file pointer.... cahnging the close to fclose solves the immediate issue. I can provide patches for both mysql323-server and mysql323-client if no one else wants to bother it... I'm planning on digging into the close() function in libc_r and seeing why it sig11's instead of returning the error code. This function is somewhat broken in the library :( -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated.