Subject: Problem building mysql5-server
To: None <pkgsrc-users@netbsd.org>
From: Gary Thorpe <gathorpe79@yahoo.com>
List: pkgsrc-users
Date: 11/27/2007 16:02:54
Hi,

I get this error in the same place when I try to build (make package)
mysql5-server: should I file a bug report as suggested in the output or
is a newer version available (the Makefile version is '# $NetBSD:
Makefile,v 1.19 2007/07/31 14:10:11 obache Exp$')? I am using NetBSD
3.0. 

c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\""
-DDATADIR="\"/var/mysql\"" -DSHAREDIR="\"/usr/pkg/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../innobase/include
-I../innobase/include -I../include -I../include -I../regex -I.   -Dunix
-I/usr/include -I/usr/pkg/include/mysql -I/usr/pkg/include  -DDBUG_OFF
-O2 -pipe -DUSE_OLD_FUNCTIONS -I/usr/include -I/usr/pkg/include/mysql
-I/usr/pkg/include   -fno-implicit-templates -fno-exceptions -fno-rtti
-Dunix -c -o lock.o lock.cc
In file included from mysql_priv.h:569,
                 from lock.cc:68:
sql_profile.h:21:1: warning: "__func__" redefined
In file included from /usr/include/pthread.h:42,
                 from ../include/my_global.h:241,
                 from mysql_priv.h:28,
                 from lock.cc:68:
/usr/include/sys/cdefs.h:223:1: warning: this is the location of the
previous definition
In file included from item.h:2117,
                 from mysql_priv.h:580,
                 from lock.cc:68:
item_func.h:244: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
gmake[4]: *** [lock.o] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/databases/mysql5-server/work/mysql-5.0.45/sql'



      Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca