Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265062 - dev-ruby/mysql-ruby-2.8 fails to buld with >=dev-lang/ruby-1.9
Summary: dev-ruby/mysql-ruby-2.8 fails to buld with >=dev-lang/ruby-1.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 06:41 UTC by Balint Dobai-Pataky
Modified: 2009-04-07 20:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balint Dobai-Pataky 2009-04-06 06:41:11 UTC
>>> Emerging (1 of 1) dev-ruby/mysql-ruby-2.8
 * mysql-ruby-2.8.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking mysql-ruby-2.8.tar.gz to /dev/shm/portage/dev-ruby/mysql-ruby-2.8/work
 * Applying mysql-ruby-2.8-test2.patch ...                                                                                                             [ ok ]
>>> Source unpacked in /dev/shm/portage/dev-ruby/mysql-ruby-2.8/work
>>> Compiling source in /dev/shm/portage/dev-ruby/mysql-ruby-2.8/work/mysql-ruby-2.8 ...
checking for mysql_query() in -lmysqlclient... yes
checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... yes
checking for mysql.h... no
checking for mysql/mysql.h... yes
creating Makefile
make -j3 -s 
mysql.c: In function 'real_connect':
mysql.c:251: warning: implicit declaration of function 'rb_thread_stop_timer'
mysql.c:262: warning: implicit declaration of function 'rb_thread_start_timer'
mysql.c: In function 'stmt_execute':
mysql.c:1392: error: 'struct RArray' has no member named 'ptr'
mysql.c:1393: error: 'struct RArray' has no member named 'ptr'
mysql.c:1394: error: 'struct RArray' has no member named 'ptr'
mysql.c:1395: error: 'struct RArray' has no member named 'ptr'
mysql.c:1396: error: 'struct RArray' has no member named 'ptr'
mysql.c:1397: error: 'struct RArray' has no member named 'ptr'
make: *** [mysql.o] Error 1


Reproducible: Always




emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r8-i686-Intel-R-_Xeon-TM-_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Sun, 05 Apr 2009 19:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.3.6-r6, 2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d /var/svn/"
CXXFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS=" -j3 -s "
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi apache2 berkdb bzip2 dba gd gnutls icq imap jabber jpeg mime ming munin-apache mysql ncurses nptl nptlonly pam perl php png slang threads truetype unicode utf8 x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-06 21:31:37 UTC
Please remove the "-s" from your MAKEOPTS, re-emerge the package and attach the resulting build.log file to this bug report.
Comment 2 Balint Dobai-Pataky 2009-04-07 04:57:02 UTC
...
creating Makefile
make 
i686-pc-linux-gnu-gcc -I. -I/usr/include/ruby19-1.9.1/i686-linux -I/usr/include/ruby19-1.9.1/ruby/backward -I/usr/include/ruby19-1.9.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_RB_STR_SET_LEN -DHAVE_MYSQL_MYSQL_H -I/usr/local/include  -D_FILE_OFFSET_BITS=64  -fPIC -O2 -march=native -mtune=native -pipe -fno-strict-aliasing -O2 -g -Wall -Wno-parentheses  -fPIC  -o mysql.o -c mysql.c
mysql.c: In function 'real_connect':
mysql.c:251: warning: implicit declaration of function 'rb_thread_stop_timer'
mysql.c:262: warning: implicit declaration of function 'rb_thread_start_timer'
mysql.c: In function 'stmt_execute':
mysql.c:1392: error: 'struct RArray' has no member named 'ptr'
mysql.c:1393: error: 'struct RArray' has no member named 'ptr'
mysql.c:1394: error: 'struct RArray' has no member named 'ptr'
mysql.c:1395: error: 'struct RArray' has no member named 'ptr'
mysql.c:1396: error: 'struct RArray' has no member named 'ptr'
mysql.c:1397: error: 'struct RArray' has no member named 'ptr'
make: *** [mysql.o] Error 1
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-04-07 20:07:05 UTC
+*mysql-ruby-2.8.1 (07 Apr 2009)
+
+  07 Apr 2009; Alex Legler <a3li@gentoo.org>
+  -files/mysql-ruby-2.7.4-test.patch, +files/mysql-ruby-2.8.1-test.patch,
+  -mysql-ruby-2.7.4.ebuild, +mysql-ruby-2.8.1.ebuild:
+  Removing old version, version bump, bug 265062
+

^ is 1.9 compatible.