Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 09:10:11 -0700 (PDT)
From:      Erik Greenwald <erik@smluc.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/53252: databases/mysql323-server: fails to build on 5.1-RELEASE
Message-ID:  <200306121610.h5CGABAf026137@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/53252; it has been noted by GNATS.

From: Erik Greenwald <erik@smluc.org>
To: Alexandr Kovalenko <never@nevermind.kiev.ua>
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 <erik@smluc.org> [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.



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