Bug 84105

Summary: /databases/p5-DBD-mysql build fails
Product: Ports & Packages Reporter: P. U. Kruppa <root>
Component: Individual Port(s)Assignee: skv <skv>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description P. U. Kruppa 2005-07-26 05:00:35 UTC
build fails with
        --------------------------------------------------------
Checking if your kit is complete...
Looks good
Using DBI 1.48 (for perl 5.008007 on i386-freebsd-64int) installed in /usr/local
/lib/perl5/site_perl/5.8.7/mach/auto/DBI/
Writing Makefile for DBD::mysql
===>  Building for p5-DBD-mysql-3.0002
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/DBI/ -I/usr/local/includ
e/mysql -O -pipe -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -O -pipe -O -pipe    -DVERSIO
N=\"3.0002\"  -DXS_VERSION=\"3.0002\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.7/
mach/CORE"   dbdimp.c
In file included from dbdimp.c:20:
dbdimp.h:22:45: mysqld_error.h: No such file or directory
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:2035: warning: cast from pointer to integer of different size
dbdimp.c: In function `mysql_st_prepare':
dbdimp.c:2245: error: `ER_UNSUPPORTED_PS' undeclared (first use in this function
)
dbdimp.c:2245: error: (Each undeclared identifier is reported only once
dbdimp.c:2245: error: for each function it appears in.)
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:3421: warning: cast from pointer to integer of different size
*** Error code 1

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

Stop in /usr/ports/databases/p5-DBD-mysql.
      -------------------------------------------------------------
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-07-26 07:10:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->skv

Over to maintainer.
Comment 2 skv freebsd_committer freebsd_triage 2005-07-26 09:22:36 UTC
Please, specify your version of mysql-client.

If mysql-client50 is used then update it up to 5.0.9_1.

-- 
Sergey Skvortsov
mailto: skv@FreeBSD.org
Comment 3 skv freebsd_committer freebsd_triage 2005-07-26 09:50:26 UTC
State Changed
From-To: open->analyzed

Wait for feedback.
Comment 4 P. U. Kruppa 2005-07-26 16:43:51 UTC
On Tue, 26 Jul 2005, Sergey Skvortsov wrote:

> Please, specify your version of mysql-client.
>
> If mysql-client50 is used then update it up to 5.0.9_1.
I already had 5.0.9_1 , but I forced a portupgrade on 
it, though. Now everything works fine.

Thanks,

Uli.

>
> -- 
> Sergey Skvortsov
> mailto: skv@FreeBSD.org
>



*********************************************
* Peter Ulrich Kruppa - Wuppertal - Germany *
*********************************************
Comment 5 skv freebsd_committer freebsd_triage 2005-07-26 17:13:45 UTC
State Changed
From-To: analyzed->closed

Issue solved.