From nobody@FreeBSD.org  Sat Jul 27 20:28:04 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A41A937B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Jul 2002 20:28:04 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 648FB43E5E
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Jul 2002 20:28:04 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6S3S4OT073546
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Jul 2002 20:28:04 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g6S3S4Et073545;
	Sat, 27 Jul 2002 20:28:04 -0700 (PDT)
Message-Id: <200207280328.g6S3S4Et073545@www.freebsd.org>
Date: Sat, 27 Jul 2002 20:28:04 -0700 (PDT)
From: Edwin Culp <eculp@encontacto.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mysql323-server doesn't compile on i386 current.
X-Send-Pr-Version: www-1.0

>Number:         41074
>Category:       ports
>Synopsis:       mysql323-server doesn't compile on i386 current.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dirk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 27 20:30:01 PDT 2002
>Closed-Date:    Tue Aug 13 05:44:57 PDT 2002
>Last-Modified:  Tue Aug 13 05:44:57 PDT 2002
>Originator:     Edwin Culp
>Release:        5.0-Current
>Organization:
N/A
>Environment:
FreeBSD encontacto.net 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Jul 22 06:38:33 PDT 2002     root@encontacto.net:/usr/obj/usr/src/sys/PIII850N  i386
>Description:
I have attempted compiling mysql323-server several different ways and always end with the following

cc -DMYSQL_SERVER                       -DDEFAULT_MYSQL_HOME="\"/usr/local\""                   -DDATADIR="\"/var/db/mysql\""                   -DSHAREDIR="\"/usr/local/share/mysql\""                  -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include                       -I./../include                  -I./../regex            -I. -I../include -I.. -I.    -DDBUG_OFF -O -pipe  -felide-constructors -fno-rtti -fno-exceptions  -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -c mysqld.cc
/usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)':
/usr/include/tcpd.h:137: too many arguments to function `void sock_host()'
mysqld.cc:2428: at this point in file
/usr/include/tcpd.h:75: too many arguments to function `int hosts_access()'
mysqld.cc:2429: at this point in file
/usr/include/tcpd.h:130: too many arguments to function `char* eval_client()'
mysqld.cc:2437: at this point in file
*** Error code 1

Stop in /usr/ports/databases/mysql323-server/work/mysql-3.23.51/sql.
*** Error code 1

>How-To-Repeat:
# cd /usr/ports/databases/mysql323-server
# make   
>Fix:
I read that the problem was the 
    CXX="${CC}"
line in the make file.  I have tried with gcc and c++ with the same results.

It does seem that removing 

 --with-libwrap

does allow it to compile but after installing I get intermittent hangs with mysql.  I don't really know if it is related.  I didn't have this
problem with 3.23.49.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->dirk 
Responsible-Changed-By: pat 
Responsible-Changed-When: Sat Jul 27 21:48:58 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41074 
State-Changed-From-To: open->closed 
State-Changed-By: dirk 
State-Changed-When: Tue Aug 13 05:44:44 PDT 2002 
State-Changed-Why:  
Fixed! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41074 
>Unformatted:
