From nobody@FreeBSD.org  Fri Sep  4 15:54:07 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8ED18106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Sep 2009 15:54:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 653288FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Sep 2009 15:54:07 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n84Fs6b2044718
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 4 Sep 2009 15:54:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n84Fs6VA044705;
	Fri, 4 Sep 2009 15:54:06 GMT
	(envelope-from nobody)
Message-Id: <200909041554.n84Fs6VA044705@www.freebsd.org>
Date: Fri, 4 Sep 2009 15:54:06 GMT
From: Till Klampaeckel <till@php.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mysql-proxy doesn't build with mysql 4.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138533
>Category:       ports
>Synopsis:       databases/mysql-proxy doesn't build with mysql 4.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 04 16:00:13 UTC 2009
>Closed-Date:    Sun Dec 12 00:57:46 UTC 2010
>Last-Modified:  Sun Dec 12 01:00:19 UTC 2010
>Originator:     Till Klampaeckel
>Release:        7.1-RELEASE-p3
>Organization:
n/a
>Environment:
FreeBSD XXX 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #3: Sat Mar 21 19:34:48 EDT 2009     till@XXX:/usr/obj/usr/src/sys/TILL  amd64
>Description:
I've got the latest 4.1 server installed from ports. When I try to make databases/mysql-proxy, it dies with "Requires at least MySQL 4.1 to compile.".
>How-To-Repeat:
portsnap fetch update
cd /usr/ports/databases/mysql41-server/ && make install clean
cd /usr/ports/databases/mysql-proxy && make
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Sep 4 21:23:43 UTC 2009 
Responsible-Changed-Why:  
n/a 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138533 
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Sep 4 21:27:28 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138533 
Responsible-Changed-From-To: clsung->swills 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Fri Dec 10 23:15:12 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138533 

From: Steve Wills <steve@mouf.net>
To: bug-followup@FreeBSD.org, till@php.net
Cc:  
Subject: Re: ports/138533: databases/mysql-proxy doesn't build with mysql
 4.1
Date: Sat, 11 Dec 2010 19:29:09 -0500

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Hi,
 
 The initial source of this bug seems to be here:
 
 http://bazaar.launchpad.net/~mysql-proxy-developers/mysql-proxy/trunk/revision/525
 
 Given that mysql 4.1 declares it's MYSQL_VERSION_ID as 40125, it seems
 this code is wrong. It would be checking for mysql version 4.10 or
 greater. I can patch the code to fix that, but when I do, I get further
 errors about missing types. Which leads me to conclude that even 4.1 is
 also "missing too many things":
 
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -I..
 - -I/usr/local/include/mysql -I/usr/local/include/glib-2.0
 - -I/usr/local/lib/glib-2.0/include -I/usr/local/include/lua51
 - -D_REENTRANT -I/usr/local/include/glib-2.0
 - -I/usr/local/lib/glib-2.0/include -O2 -fno-strict-aliasing -pipe
 - -I/usr/local/include -MT libmysql_proxy_la-network-conn-pool-lua.lo -MD
 - -MP -MF .deps/libmysql_proxy_la-network-conn-pool-lua.Tpo -c
 network-conn-pool-lua.c  -fPIC -DPIC -o
 .libs/libmysql_proxy_la-network-conn-pool-lua.o
 network-mysqld-binlog.c: In function
 'network_mysqld_binlog_event_tablemap_get':
 network-mysqld-binlog.c:499: error: 'MYSQL_TYPE_VARCHAR' undeclared
 (first use in this function)
 network-mysqld-binlog.c:499: error: (Each undeclared identifier is
 reported only once
 network-mysqld-binlog.c:499: error: for each function it appears in.)
 network-mysqld-binlog.c:518: error: 'MYSQL_TYPE_NEWDECIMAL' undeclared
 (first use in this function)
 network-mysqld-binlog.c:555: error: 'MYSQL_TYPE_BIT' undeclared (first
 use in this function)
 *** Error code 1
 
 The mysql folks also seem to have stopped supporting it on 4.1, given
 that the docs for it have disappeared from the 4.1 manual. This page
 announced the docs:
 
 http://forums.mysql.com/read.php?3,170163,170163
 
 The 5.1 and 5.0 pages work fine, but the link to the 4.1 documentation
 is 404 and redirects to a search page.
 
 Given all that and the age of 4.1 (and this bug) it seems the best thing
 to do is to add 4.1 to the IGNORE_WITH_MYSQL for this port.
 
 Steve
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.16 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQEcBAEBAgAGBQJNBBdVAAoJEPXPYrMgexuhy9MH/1TtP1oQYfEDslnSAvxMf3Q5
 W3GxhE4cyqNkIGwKe6hjBjKjRyv53t0B5gAH0911LmqiU0D8Ixat5shbnBDojFBM
 AnNQYtzSAvl1UmJ9PKmB/5Q50beRHoBdkvtRBMmExnLEAAjhGLmhG9X4wUvaibH5
 w8QUGJ7PMvt4RelMMEP5Kf9g4NFeJDT/u8Wr21R1aT0WueF1zWEX8CXW+/tHIbgB
 fzlzIWcE7ajjcADDWGVUmQ0lBiQfHh+w4iUf+94UA+G2tE5GJxEWZwYTIDerJq/o
 2e79VVWUpuFLm8B0P/ubduD19S6NBz/SkrQfvPFzdsarxbNvfpPAH5xcl1TF+eM=
 =JZDL
 -----END PGP SIGNATURE-----
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Sun Dec 12 00:57:45 UTC 2010 
State-Changed-Why:  
Can't be fixed, port has been patched to prevent building with MySQL 
4.1. Sorry. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138533 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/138533: commit references a PR
Date: Sun, 12 Dec 2010 00:55:18 +0000 (UTC)

 swills      2010-12-12 00:55:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/mysql-proxy Makefile 
   Log:
   - Remove support for building with MySQL 4.1 since it is broken
   
   PR:             ports/138533
   Approved by:    pgollucci (mentor)
   
   Revision  Changes    Path
   1.23      +1 -1      ports/databases/mysql-proxy/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
