Subject: pkg/22988: databases/mysql-client package is broken and out of date
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <adrianp@stindustries.net>
List: netbsd-bugs
Date: 09/28/2003 12:32:46
>Number:         22988
>Category:       pkg
>Synopsis:       databases/mysql-client package is broken and out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 28 12:33:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Portelli
>Release:        1.6.1
>Organization:
STIndustries
>Environment:
NetBSD otto.stindustries.org.uk 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Wed Sep 17 20:29:35 BST 2003     root@otto.stindustries.org.uk:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
There are two problems with the current MySQL package in pkgsrc:

1. It's out of date so much that a 'make fetch' actually fails as none of the known MASTER_SITES actually can find the distfile.

2. It fails during a build:

cc -DDEFAULT_CHARSET_HOME=\"/usr/pkg\" -DDATADIR=\"/var/mysql\" -DSHAREDIR=\"/us
r/pkg/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I./../include -I../inc
lude -I./.. -I.. -I.. -Dunix -I/usr/pkgsrc/databases/mysql-client/work/.buildlin
k/include -O3 -DDBUG_OFF -O2 -I/usr/pkgsrc/databases/mysql-client/work/.buildlin
k/include -Dunix -c my_gethostbyname.c  -fPIC -DPIC -o .libs/my_gethostbyname.o
In file included from my_gethostbyname.c:21:
../include/my_pthread.h:233: pthread.h: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql-client/work/mysql-3.23.51/libmysql
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql-client/work/mysql-3.23.51
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql-client/work/mysql-3.23.51
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql-client
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql-client

>How-To-Repeat:
cd pkgsrc/net/mysql-client && make


>Fix:
pull the mysql3-client and mysql3-server packages from pkgsrc-wip into the main pkgsrc tree.
>Release-Note:
>Audit-Trail:
>Unformatted: