Subject: pkg/16705: Serious troubles when compiling/running MySQL
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ks@ks.ping-viini.org>
List: netbsd-bugs
Date: 05/08/2002 00:58:19
>Number:         16705
>Category:       pkg
>Synopsis:       Serious troubles when compiling/running MySQL
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 07 14:59:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Karo Salminen
>Release:        NetBSD 1.5.3_RC2
>Organization:
	
>Environment:
	
	
System: NetBSD experiment.kortex.jyu.fi 1.5.3_RC2 NetBSD 1.5.3_RC2 (experiment) #0: Tue Apr 30 21:35:58 EEST 2002 ks@experiment.kortex.jyu.fi:/sources/src/sys/arch/i386/compile/experiment i386
Architecture: i386
Machine: i386
>Description:
MySQL won't compile or start. 

I compiled it from pkgsrc when I was using 20020427-1.5.3_RC2 (i386) snapshot
and it worked fine. Few days after (01.05.2002) that I decided to compile custom kernel and
userland. I fetched them with CVS (with --rnetbsd-1-5) (from anoncvs.netbsd.org),
compiled my custom kernel (http://ks.ping-viini.org:81/~ks/tmp/experiment) and
userland. After that MySQL reported errors to logs and didn't start
(http://ks.ping-viini.org:81/~ks/tmp/mysql_errors). I thought about compiling it again,
because I didn't have any other ideas how to deal with it (I asked from #NetBSD however). 

I removed the packages and started to compile it from pkgsrc. It seems to go fine until
it stucked to "./gen_lex_hash > lex_hash.h". The process ate whole processor time and
didn't ever end (I ran it almost 24 hours and the processor's speed is 166MHz).
Again no-one could help me so I thought about compiling it from the official sources, both
with make and gmake. The very same problem appeared.
(http://ks.ping-viini.org:81/~ks/tmp/make_output) 
However I found some similiar reports with Google
(http://spitfire.velocet.net/pipermail/freebsd-current/2001-July/009866.html).

Original report can be found from (http://mail-index.netbsd.org/tech-pkg/2002/05/07/0001.html).

>How-To-Repeat:
Someone else has had the problems too according to Google. The following post concerns the same
issue: (http://spitfire.velocet.net/pipermail/freebsd-current/2001-July/009866.html)

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