Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 17:00:29 +0800 (CST)
From:      June-Yen Huang <jihuang@gate.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41470: ports/mysql323-[cs]* build fail in 5-current
Message-ID:  <200208090900.g7990Tcx047612@cdns2.iis.sinica.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         41470
>Category:       ports
>Synopsis:       ports/mysql323-[cs]* build fail in 5-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 09 02:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     June-Yen Huang
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Institute of Information Science
>Environment:
System: FreeBSD cdns2.iis.sinica.edu.tw 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Jun 29 13:16:06 CST 2002 root@cdns12.iis.sinica.edu.tw:/usr/obj/usr/src/sys/Canopus i386

>Description:
build under mysql323-server
..
..{CUT}
..

cc -DMYSQL_SERVER                       -DDEFAULT_MYSQL_HOME="\"/usr/local\""  -
DDATADIR="\"/var/db/mysql\""                    -DSHAREDIR="\"/usr/local/share/m
ysql\""                         -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobas
e/include                       -I./../include                  -I./../regex   -
I. -I../include -I.. -I.    -DDBUG_OFF -O -pipe -mcpu=pentiumpro -felide-constru
ctors -fno-rtti -fno-exceptions  -fno-implicit-templates -fno-exceptions -fno-rt
ti -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

--------------------------------------
build under mysql323-client
..
..{CUT}
..
cc -DDBUG_OFF -O -pipe -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o .libs/mysqlbinlog mysqlbinlog.o ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lm -lz -lcrypt -lm  -Wl,--rpath -Wl,/usr/local/lib/mysql
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0xc): undefined reference to `__cxa_pure_virtual'
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x1c): undefined reference to `__cxa_pure_virtual'
*** Error code 1

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

>How-To-Repeat:
under /usr/ports/database/mysql323-client/ ; make build
under /usr/ports/database/mysql323-server/ ; make build

>Fix:

	I'm not sure what happen, 
	But is it possible to make one patch under -current and
	make another patch file under -stable ? 

	it looks like that this build fail is due to 
	difference in tcdp(tcp wrapper) and compiler( gcc ) 
	between -current and -stable

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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