From nobody@FreeBSD.org  Wed Sep 26 22:24:56 2007
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 3DC4716A421
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Sep 2007 22:24:56 +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 1FC4C13C458
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Sep 2007 22:24:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QMOtoo001035
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Sep 2007 22:24:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l8QMOtQw001034;
	Wed, 26 Sep 2007 22:24:55 GMT
	(envelope-from nobody)
Message-Id: <200709262224.l8QMOtQw001034@www.freebsd.org>
Date: Wed, 26 Sep 2007 22:24:55 GMT
From: Barrie Archer <BarrieArcher@freebmd.org.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Installing port for DBD-mysql50 4.005 compilation fails in dbdimp.c
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         116681
>Category:       ports
>Synopsis:       Installing port for databases/p5-DBD-mysql50 4.005 compilation fails in dbdimp.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    skv
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 26 22:30:01 GMT 2007
>Closed-Date:    Wed May 28 23:36:46 UTC 2008
>Last-Modified:  Wed May 28 23:36:46 UTC 2008
>Originator:     Barrie Archer
>Release:        6.2
>Organization:
FreeBMD
>Environment:
6.2-STABLE FreeBSD 6.2-STABLE #1: Tue Sep 25 13:36:42 BST 2007
Ports hieraachy up to date at 10/9/07
DBD-mysql50-4.005 is latest according to freshports
>Description:
Doing make for p5-DBD-mysql50-4.005 results in:
===>  Building for p5-DBD-mysql50-4.005
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.5/mach/auto/DBI -I/usr/local/include/mysql -fno-strict-aliasing -pipe -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -O2 -fno-strict-aliasing -pipe -O -pipe    -DVERSION=\"4.005\"  -DXS_VERSION=\"4.005\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.5/mach/CORE"   dbdimp.c
dbdimp.c: In function `mysql_dr_connect':
dbdimp.c:1533: error: `ulong' undeclared (first use in this function)
dbdimp.c:1533: error: (Each undeclared identifier is reported only once
dbdimp.c:1533: error: for each function it appears in.)
dbdimp.c:1533: error: syntax error before numeric constant
dbdimp.c:1535: error: syntax error before numeric constant
dbdimp.c:1649: error: syntax error before numeric constant
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:2268: warning: cast from pointer to integer of different size
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:4071: warning: cast from pointer to integer of different size
*** Error code 1

Stop in /usr/ports/databases/p5-DBD-mysql50/work/DBD-mysql-4.005.
*** Error code 1

>How-To-Repeat:
cd /usr/ports/databases/p5-DBD-mysql50
make
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->skv 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 26 22:31:52 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

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

From: Philip Murray <pmurray@nevada.net.nz>
To: bug-followup@FreeBSD.org,
 BarrieArcher@freebmd.org.uk
Cc:  
Subject: Re: ports/116681: Installing port for databases/p5-DBD-mysql50 4.005 compilation fails in dbdimp.c
Date: Tue, 11 Dec 2007 13:35:26 +1300

 I hit this same problem, it turns out this is actually a MySQL bug,  
 see http://bugs.mysql.com/bug.php?id=22227
 
 If you upgrade MySQL to 5.0.33 or newer, DBD will build
 
 Cheers
 
 Phil

From: Felippe de Meirelles Motta <lippe@FreeBSD.org>
To: Barrie Archer <BarrieArcher@freebmd.org.uk>, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116681: Installing port for databases/p5-DBD-mysql50
 4.005 compilation fails in dbdimp.c
Date: Wed, 28 May 2008 16:15:31 -0300

 --Sig_/D7_m0vPbW1rOvME/8feQn29
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 Hi Submitter,
 
 Can you please feedback us about the philip suggestion ? You try to
 update your MySQL version and build p5-DBD-mysql50 again ?
 
 Thus, we can close this PR ?
 
 --=20
 lippe@FreeBSD.org
 Felippe de Meirelles Motta
 
 --Sig_/D7_m0vPbW1rOvME/8feQn29
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.8 (FreeBSD)
 
 iEYEARECAAYFAkg9r1MACgkQEv+IlQvbYkoxdwCgxojmXbmooNjDz3my5nrIaNdf
 Cl4An1lPYRbG8v/jPSVBYy1XSUjfvwvE
 =jiEz
 -----END PGP SIGNATURE-----
 
 --Sig_/D7_m0vPbW1rOvME/8feQn29--

From: "Archer Barrie" <Barrie.Archer@uk.fujitsu.com>
To: <lippe@FreeBSD.org>, <bug-followup@FreeBSD.org>
Cc:  
Subject: RE: ports/116681: Installing port for databases/p5-DBD-mysql50 4.005 compilation fails in dbdimp.c
Date: Wed, 28 May 2008 23:58:16 +0100

 Yes, that fixed it.
 
 Barrie=20
 
 > -----Original Message-----
 > From: Felippe de Meirelles Motta [mailto:lippemail@gmail.com]=20
 > On Behalf Of Felippe de Meirelles Motta
 > Sent: 28 May 2008 20:16
 > To: Barrie Archer; bug-followup@FreeBSD.org
 > Subject: Re: ports/116681: Installing port for=20
 > databases/p5-DBD-mysql50 4.005 compilation fails in dbdimp.c
 >=20
 > Hi Submitter,
 >=20
 > Can you please feedback us about the philip suggestion ? You try to
 > update your MySQL version and build p5-DBD-mysql50 again ?
 >=20
 > Thus, we can close this PR ?
 >=20
 > --=20
 > lippe@FreeBSD.org
 > Felippe de Meirelles Motta
 >=20
State-Changed-From-To: open->closed 
State-Changed-By: lippe 
State-Changed-When: Wed May 28 23:36:45 UTC 2008 
State-Changed-Why:  
Already fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116681 
>Unformatted:
