Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 114925
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jakub Moc (RETIRED) <jakub@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bwd_compat.patch Patch out new datatypes introduced in mysql5 when building against an earlier version patch Malcolm Lashley (RETIRED) 2005-12-11 04:06 0000 1.37 KB Details | Diff
DBD-mysql-3.0002_p4.ebuild updated ebuild to apply above mentioned patch text/plain Malcolm Lashley (RETIRED) 2005-12-11 04:07 0000 724 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114925 depends on: Show dependency tree
Bug 114925 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-08 15:43 0000
dbdimp.c:263:25: warning: extra tokens at end of #ifdef directive
dbdimp.c: In function 'mysql_to_perl_type':
dbdimp.c:249: error: 'MYSQL_TYPE_BIT' undeclared (first use in this function)
dbdimp.c:249: error: (Each undeclared identifier is reported only once
dbdimp.c:249: error: for each function it appears in.)
dbdimp.c:259: error: 'MYSQL_TYPE_VARCHAR' undeclared (first use in this function)
make: *** [dbdimp.o] Error 1

!!! ERROR: dev-perl/DBD-mysql-3.0002_p4 failed.
!!! Function perl-module_src_compile, Line 120, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge dev-perl/DBD-mysql-3.0002_p4




Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 AMD Sempron(tm)
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~maint ~overlay"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr
-ftree-vectorize"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data
/usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr
-ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect confcache distlocks parallel-fetch
sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
ftp://ftp.fi.muni.cz/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage
/usr/local/overlays/gentoo-php-overlay/production-ready
/usr/local/overlays/gentoo-php-overlay/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow acpi apache2 apm bash-completion bcmath berkdb bzip2 calendar
crypt cscope ctype curl curlwrappers dba dbase dbm dbx exif expat fbcon freetds
ftp gd gdbm gif iconv imap innodb jpeg lcms libg++ libwww maildir mcal memlimit
mhash mime ming mmx mp3 mpeg mssql mysql mysqli ncurses nls nptl nptlonly odbc
offensive pam pcntl pcre pdflib perl php png pnp posix python readline sasl
session sharedmem simplexml soap sockets spl sqlite sse ssl sysvipc tcpd tidy
tiff tokenizer truetype udev unicode vhosts wddx xml xml2 xmlrpc xsl zlib
linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL

------- Comment #1 From Dan Check 2005-12-09 07:32:42 0000 -------
ditto here.  mysql version 4.1.15-r1.

------- Comment #2 From Kelly Price 2005-12-09 18:14:35 0000 -------
Same here, against mysql 4.1.14-log


------- Comment #3 From Malcolm Lashley (RETIRED) 2005-12-11 04:06:33 0000 -------
Created an attachment (id=74484) [details]
Patch out new datatypes introduced in mysql5 when building against an earlier
version

This works for me, I couldn't find definitive documentation on when the types
were introduced. make test passed all the tests. ymmv

------- Comment #4 From Malcolm Lashley (RETIRED) 2005-12-11 04:07:48 0000 -------
Created an attachment (id=74485) [details]
updated ebuild to apply above mentioned patch

------- Comment #5 From Jakub Moc (RETIRED) 2005-12-11 04:25:10 0000 -------
The patch works for me. Thanks.

------- Comment #6 From Francesco R. (RETIRED) 2005-12-12 02:51:36 0000 -------
checked the patch against mysql 4.1.15-r2. It work nicely.

In CVS, many thanks malc.

------- Comment #7 From Jakub Moc (RETIRED) 2005-12-12 04:50:59 0000 -------
*** Bug 115291 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug