Subject: Re: pkg/34844: mysql5-client fails to build with gcc4 on Darwin
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.org.uk>
List: pkgsrc-bugs
Date: 10/18/2006 11:35:02
The following reply was made to PR pkg/34844; it has been noted by GNATS.

From: Matthias Scheler <tron@zhadum.org.uk>
To: jussi.liukkonen@snorkkeli.homeip.net
Cc: NetBSD GNATS <gnats-bugs@NetBSD.org>
Subject: Re: pkg/34844: mysql5-client fails to build with gcc4 on Darwin
Date: Wed, 18 Oct 2006 12:30:12 +0100

 On Tue, Oct 17, 2006 at 08:45:01PM +0000, jussi.liukkonen@snorkkeli.homeip.net wrote:
 > >Number:         34844
 > >Category:       pkg
 > >Synopsis:       mysql5-client fails to build with gcc4 on Darwin
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Oct 17 20:45:00 +0000 2006
 > >Originator:     Juha Liukkonen
 > >Release:        Mac OS X 10.4.8
 > >Organization:
 > Headache, Inc
 > >Environment:
 > Darwin lankku.koti2.net 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc
 > 
 > >Description:
 > mysql 5.0.24a (from pkgsrc-2006Q3) fails to build with Darwin's gcc4
 > due to use of bool variables in C source files.
 
 1.) The C99 standard includes the "bool" datatype defined in a header
     file called "stdbool.h". Does that file exist on your system?
 
 2.) The build works fine on Mac OS X 10.4.8 PPC system. How old are
     your X-Code tools (what does e.g. "gcc -v" print out)? I'm using
     Xcode Tools 2.3 on my Mac OS X system which comes with this
     version of GCC:
 
 Using built-in specs.
 Target: powerpc-apple-darwin8
 Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
 Thread model: posix
 gcc version 4.0.1 (Apple Computer, Inc. build 5250)
 
 	Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/