ports/120735: p5-DBD-mysql51 fails to build
Chris Calvey
chris at securityforensics.co.uk
Sat Feb 16 16:10:01 UTC 2008
>Number: 120735
>Category: ports
>Synopsis: p5-DBD-mysql51 fails to build
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 16 16:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Chris Calvey
>Release: 6.2
>Organization:
Digital Investigations
>Environment:
FreeBSD enigmathica.localdomain 6.2-RELEASE-p11 FreeBSD 6.2-RELEASE-p11 #0: Thu Feb 14 14:04:46 GMT 2008 root at enigmathica.localdomain:/usr/obj/usr/src/sys/ENIGMATHICA i386
>Description:
As title. Port fails to build. Please see attached file of build output.
>How-To-Repeat:
make
>Fix:
Patch attached with submission follows:
Script started on Sat Feb 16 15:58:17 2008
===> Extracting for p5-DBD-mysql51-4.006
=> MD5 Checksum OK for DBD-mysql-4.006.tar.gz.
=> SHA256 Checksum OK for DBD-mysql-4.006.tar.gz.
===> p5-DBD-mysql51-4.006 depends on file: /usr/local/bin/perl5.8.8 - found
===> Patching for p5-DBD-mysql51-4.006
===> p5-DBD-mysql51-4.006 depends on file: /usr/local/bin/perl5.8.8 - found
===> p5-DBD-mysql51-4.006 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm - found
===> p5-DBD-mysql51-4.006 depends on file: /usr/local/bin/perl5.8.8 - found
===> p5-DBD-mysql51-4.006 depends on shared library: mysqlclient.16 - found
===> Configuring for p5-DBD-mysql51-4.006
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/local/include/mysql -fno-strict-aliasing -pipe
embedded (mysql_config) =
libs (mysql_config) = -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.601 (for perl 5.008008 on i386-freebsd-64int) installed in /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBI/
Writing Makefile for DBD::mysql
===> Building for p5-DBD-mysql51-4.006
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBI -I/usr/local/include/mysql -fno-strict-aliasing -pipe -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -DVERSION=\"4.006\" -DXS_VERSION=\"4.006\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" dbdimp.c
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:2269: warning: cast from pointer to integer of different size
dbdimp.c: In function `mysql_st_next_results':
dbdimp.c:2763: error: structure has no member named `last_errno'
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:3365: error: structure has no member named `last_errno'
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:4073: warning: cast from pointer to integer of different size
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-mysql51/work/DBD-mysql-4.006.
*** Error code 1
Stop in /usr/ports/databases/p5-DBD-mysql51.
Script done on Sat Feb 16 15:58:27 2008
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list