ports/53252: databases/mysql323-server: fails to build on 5.1-RELEASE

Erik Greenwald erik at smluc.org
Thu Jun 12 16:10:12 UTC 2003


The following reply was made to PR ports/53252; it has been noted by GNATS.

From: Erik Greenwald <erik at smluc.org>
To: Alexandr Kovalenko <never at nevermind.kiev.ua>
Cc: FreeBSD-gnats-submit at freebsd.org, dirk at 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 at 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 at 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.



More information about the freebsd-ports-bugs mailing list