<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>176308</bug_id>
          
          <creation_ts>2007-04-27 23:08 0000</creation_ts>
          <short_desc>dev-ruby/og-0.40.0 : sqlite USEflag install dev-ruby/sqlite-ruby instead dev-ruby/sqlite3-ruby</short_desc>
          <delta_ts>2007-05-19 08:55:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>makoto.kaworu@gmail.com</reporter>
          <assigned_to>ppc64@gentoo.org</assigned_to>
          <cc>rane@gentoo.org</cc>
    
    <cc>ruby@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>makoto.kaworu@gmail.com</who>
            <bug_when>2007-04-27 23:08:07 0000</bug_when>
            <thetext>when dev-ruby/og-0.40.0 is emerged with the &quot;sqlite&quot; useflag, it depends on dev-ruby/sqlite-ruby but sqlite support in og-0.40.0 need the dev-ruby/sqlite3-ruby driver. I didn&apos;t test if &lt;og-0.40.0 has the same problem.

Reproducible: Always

Steps to Reproduce:
1.emerge og with sqlite use flag
2.try in irb : Og.setup( { :store =&gt; :sqlite, :name =&gt; &quot;foo&quot; } )

Actual Results:  
og give the following error :
 INFO: Og uses the Sqlite store.
ERROR: Ruby-Sqlite3 bindings are not installed!
ERROR: no such file to load -- sqlite3
ERROR: NameError in Og.setup:
ERROR: undefined method `eof?&apos; for class `SQLite3::ResultSet&apos;

Expected Results:  
the same without error &apos;^^ :
 INFO: Og uses the Sqlite store.
=&gt; true

here is my emerge --info but I don&apos;t think it&apos;ll be useful :
Portage 2.1.2.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 23 Apr 2007 13:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17.50.0.15
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=pentium-m -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=pentium-m -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch&quot;
GENTOO_MIRRORS=&quot;ftp://mirror.switch.ch/mirror/gentoo/&quot;
LANG=&quot;en_US.UTF-8&quot;
LC_ALL=&quot;en_US.UTF-8&quot;
LDFLAGS=&quot;-Wl,--hash-style=gnu&quot;
LINGUAS=&quot;fr en&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;X a52 aac acl acpi aiglx alsa amr apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode evo fam fbcon ffmpeg firefox flac fortran gdbm gif gimp gpm gstreamer hal iconv imlib ipv6 isdnlog java jpeg kde kerberos ldap libcaca libg++ mad midi mikmod mmx mp3 mpeg mplayer ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl session spell spl sse sse2 ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vim vim-syntax vorbis wifi win32codecs x264 x86 xcomposite xine xml xorg xv xvid zlib&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse synaptics&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;fr en&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;i810 vesa&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>makoto.kaworu@gmail.com</who>
            <bug_when>2007-04-27 23:10:36 0000</bug_when>
            <thetext>Created an attachment (id=117458)
patch for og-0.40.0.ebuild

this patch make og-0.40.0 depend on dev-ruby/sqlite3-ruby instead dev-ruby/sqlite-ruby.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-05-13 16:37:55 0000</bug_when>
            <thetext>Thanks for the bug report, it&apos;s not fixed in CVS. 

ppc64: I had to drop the ppc64 keyword since dev-ruby/sqlite3-ruby is not keyworded for your arch. Please check and re-add the keyword to both og and sqlite3-ruby at your convenience.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-05-19 08:55:20 0000</bug_when>
            <thetext>readded ~ppc64</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>117458</attachid>
            <date>2007-04-27 23:10 0000</date>
            <desc>patch for og-0.40.0.ebuild</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9kZXYtcnVieS9vZy9vZy0wLjQwLjAuZWJ1aWxkCTIwMDctMDMtMTUg
MDU6MTA6MjkuMDAwMDAwMDAwICswMTAwCisrKyAvdXNyL2xvY2FsL3BvcnRhZ2UvZGV2LXJ1Ynkv
b2cvb2ctMC40MC4wLmVidWlsZAkyMDA3LTA0LTI3IDEzOjQ0OjIxLjAwMDAwMDAwMCArMDIwMApA
QCAtMTgsNyArMTgsNyBAQAogICAgICAgICA9ZGV2LXJ1YnkvZ2x1ZS0ke1BWfQogICAgICAgICBt
eXNxbD8gKCA+PWRldi1ydWJ5L215c3FsLXJ1YnktMi43LjIgKQogICAgICAgICBwb3N0Z3Jlcz8g
KCA+PWRldi1ydWJ5L3J1YnktcG9zdGdyZXMtMC43LjEgKQotICAgICAgICBzcWxpdGU/ICggPj1k
ZXYtcnVieS9zcWxpdGUtcnVieS0yLjIuMiApCisgICAgICAgIHNxbGl0ZT8gKCA+PWRldi1ydWJ5
L3NxbGl0ZTMtcnVieS0xLjIuMSApCiAgICAgICAgIGtpcmJ5YmFzZT8gKCA+PWRldi1ydWJ5L2tp
cmJ5YmFzZS0yLjMgKSIKIAogCg==
</data>        

          </attachment>
    </bug>

</bugzilla>