Subject: pkg/32138: pkgsrc/databases/mysql-server fails to build on OS X 10.4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dlg@dorkzilla.org>
List: pkgsrc-bugs
Date: 11/21/2005 20:07:00
>Number: 32138
>Category: pkg
>Synopsis: pkgsrc/databases/mysql-server fails to build on OS X 10.4
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 21 20:07:00 +0000 2005
>Originator: david l goodrich
>Release: Mac OS X 10.4.3
>Organization:
>Environment:
Darwin elektra.music.iastate.edu 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc
>Description:
pkgsrc/databases/mysql-server fails to buils on Macintosh OS X 10.4.3 like so:
gcc -pipe -O3 -DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -I/Volumes/local/pkgsrc/databases/mysql-server/work/.buildlink/include/mysql -o test_thr_lock -DDEFAULT_BASEDIR=\"/Volumes/local/pkg\" -DDATADIR=\"/var/mysql\" -DDEFAULT_CHARSET_HOME=\"/Volumes/local/pkg\" -DSHAREDIR=\"/Volumes/local/pkg/share/mysql\" -DHAVE_CONFIG_H -I./../include -I../include -I.. -I. -Dunix -no-cpp-precomp -O3 -O2 -DMAIN ./test_thr_lock.c -L/Volumes/local/pkgsrc/databases/mysql-server/work/.buildlink/lib/mysql -L/Volumes/local/pkgsrc/databases/mysql-server/work/.buildlink/lib libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lm
test_thr_lock.c: In function `thr_print_locks':
test_thr_lock.c:1130: warning: assignment makes pointer from integer without a cast
ld: warning multiple definitions of symbol _qsort
libmysys.a(mf_qsort.o) definition of _qsort in section (__TEXT,__text)
/usr/lib/libm.dylib(qsort.So) definition of _qsort
ld: Undefined symbols:
_rest
gnumake[2]: *** [test_thr_lock] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /Volumes/local/pkgsrc/databases/mysql-server
>How-To-Repeat:
attempt to build databases/mysql-server from current pkgsrc on os x
>Fix: