Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 21:02:11 GMT
From:      Gawie Marais <gawie@gam.co.za>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/87643: Cannot install P5-Mysql
Message-ID:  <200510182102.j9IL2BDX006265@www.freebsd.org>
Resent-Message-ID: <200510182110.j9ILAFHx044256@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87643
>Category:       ports
>Synopsis:       Cannot install P5-Mysql
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 18 21:10:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gawie Marais
>Release:        5.4
>Organization:
>Environment:
FreeBSD node.gam.co.za 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
              
>Description:
Cannot install P5-Mysql from the ports collection. Get a nasty compile error :-

[root@node p5-Mysql]# make install
===>  Vulnerability check disabled, database not found
===>  Extracting for p5-Mysql-modules-1.2219
=> Checksum OK for Msql-Mysql-modules-1.2219.tar.gz.
===>   p5-Mysql-modules-1.2219 depends on file: /usr/local/bin/perl5.8.6 - found
===>  Patching for p5-Mysql-modules-1.2219
===>   p5-Mysql-modules-1.2219 depends on file: /usr/local/bin/perl5.8.6 - found
===>   p5-Mysql-modules-1.2219 depends on file: /usr/local/lib/perl5/site_perl/5.8.6/Data/ShowTable.pm - found
===>   p5-Mysql-modules-1.2219 depends on file: /usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm - found
===>   p5-Mysql-modules-1.2219 depends on file: /usr/local/bin/perl5.8.6 - found
===>   p5-Mysql-modules-1.2219 depends on shared library: mysqlclient.14 - found
===>  Configuring for p5-Mysql-modules-1.2219
Creating files for MySQL ....................
WARNING: PL_FILES takes a hash reference not a array reference.
         Please inform the author.
Checking if your kit is complete...
Looks good
Using DBI 1.48 (for perl 5.008006 on i386-freebsd-64int) installed in /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI/
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
===>  Building for p5-Mysql-modules-1.2219
/usr/local/bin/perl5.8.6 -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.8.6/mach  -I/usr/local/lib/perl5/5.8.6 -Ilib -MExtUtils::PerlPP  -e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
/usr/local/bin/pod2text mysql/lib/DBD/mysql.pm >README
cp lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm
cp lib/Mysql.pm ../blib/lib/Mysql.pm
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.6/mach/auto/DBI -I/usr/local/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI -I/usr/local/lib/perl5/5.8.6/mach  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe    -DVERSION=\"2.0419\"  -DXS_VERSION=\"2.0419\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/mach/CORE"  -DDBD_MYSQL dbdimp.c
dbdimp.c: In function `mysql_db_login':
dbdimp.c:724: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:1013: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1019: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1027: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1048: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1052: warning: cast from pointer to integer of different size
dbdimp.c:1059: warning: initialization discards qualifiers from pointer target type
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:1203: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c:1264: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:1427: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:1867: warning: cast from pointer to integer of different size
dbdimp.c:1983: warning: cast from pointer to integer of different size
dbdimp.c:2052: warning: cast from pointer to integer of different size
dbdimp.c: In function `MysqlReconnect':
dbdimp.c:2163: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
/usr/local/bin/perl5.8.6 -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI//Driver.xst > mysql.xsi
/usr/local/bin/perl5.8.6 /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.6/ExtUtils/typemap  mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 281
Warning: duplicate function definition 'rows' detected in mysql.xs, line 407
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI -I/usr/local/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI -I/usr/local/lib/perl5/5.8.6/mach  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe    -DVERSION=\"2.0419\"  -DXS_VERSION=\"2.0419\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/mach/CORE"  -DDBD_MYSQL mysql.c
mysql.xs: In function `XS_DBD__mysql__dr__ListDBs':
mysql.xs:98: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:138: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs:144: error: too few arguments to function `mysql_shutdown'
mysql.xs:186: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__db__ListDBs':
mysql.xs:250: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__db__ListTables':
mysql.xs:271: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
*** Error code 1

Stop in /usr/ports/databases/p5-Mysql/work/Msql-Mysql-modules-1.2219/mysql.
*** Error code 1

Stop in /usr/ports/databases/p5-Mysql/work/Msql-Mysql-modules-1.2219.
*** Error code 1

Stop in /usr/ports/databases/p5-Mysql.

>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510182102.j9IL2BDX006265>