Test compiling connector/odbc with mariadb

Bug #720131 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
New
Undecided
Unassigned
Gentoo Linux
Fix Released
Medium

Bug Description

As mentioned recently on a mailing list, compiling connector/odbc with mariadb fails. We should add such a compilation in the "connectors" builder in buildbot.

Changed in maria:
assignee: nobody → Philip Stoev (pstoev-askmonty)
Revision history for this message
In , Diego Elio Pettenò (flameeyes) wrote :
Download full text (4.8 KiB)

Created attachment 284147
Build log

Portage 2.1.10.10 (default/linux/x86/10.0, gcc-4.6.0-asneeded, glibc-2.14-r0, 3.0.0 i686)
=================================================================
System uname: Linux-3.0.0-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.3
Timestamp of tree: Fri, 12 Aug 2011 12:30:01 +0000
distcc[953] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory [disabled]
ccache version 3.1.5 [disabled]
app-shells/bash: 4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r2, 3.2-r2
dev-util/ccache: 3.1.5
dev-util/cmake: 2.8.5-r2
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils: 2.21.1
sys-devel/gcc: 4.6.0
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc: 2.14
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/bufrtables /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/qpsmtpd/plugins /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb /var/phxd /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms split-log strict test test-fail-continue unknown-features-warn unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.wheel.sk/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=ChangeLog"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree"
PORTDIR_OVERLAY=""
SYNC="rsync://yamato.home.flameeyes.eu/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 java5 java6 modules mudflap mysql ncurses nls nostatic nptl nptlonly openmp pam pcre pcsc-lite perl png postgres pppd python qt3support readline semantic-desktop session ssl sysfs tcpd unicode vhosts x86 xorg zlib" ...

Read more...

Changed in maria:
assignee: Philip Stoev (pstoev-askmonty) → nobody
Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :

I can not seem to compile connector-odbc anymore:

 ODBC_PATH=/home/philips/odbc/unixodbc-install/ cmake -G "Unix Makefiles" -DWITH_UNIXODBC=1 -DMYSQL_INCLUDE_DIR=/home/philips/bzr/maria-5.3/include

make

results in:

/home/philips/odbc/mysql-connector-odbc-5.1.9/util/odbcinstw.c:116: error: conflicting types for ‘SQLGetPrivateProfileStringW’
/home/philips/odbc/mysql-connector-odbc-5.1.9/../unixodbc-install/include/odbcinst.h:340: note: previous declaration of ‘SQLGetPrivateProfileStringW’ was here
/

Revision history for this message
In , Jorge Manuel B. S. Vicetto (jmbsvicetto) wrote :

I was checking another myodbc bug and have just confirmed that it fails to build with both mysql and mariadb 5.5.28.
We also need to do a bump to version 5.2.2 which has moved from autotools to cmake. I'll try to work on this.

Changed in gentoo:
importance: Unknown → Medium
Revision history for this message
In , Bernd Feige (bernd-feige) wrote :

(In reply to comment #1)
> I was checking another myodbc bug and have just confirmed that it fails to
> build with both mysql and mariadb 5.5.28.
> We also need to do a bump to version 5.2.2 which has moved from autotools to
> cmake. I'll try to work on this.

Sorry that I didn't see this bug before - probably https://bugs.gentoo.org/show_bug.cgi?id=442322 is actually a duplicate, see the attachments there...

Revision history for this message
In , Grknight-z (grknight-z) wrote :

Version 5.2.6 added to the tree

Changed in gentoo:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.