when dev-ruby/og-0.40.0 is emerged with the "sqlite" 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't test if <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 => :sqlite, :name => "foo" } )
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?' for class `SQLite3::ResultSet'
Expected Results:
the same without error '^^ :
INFO: Og uses the Sqlite store.
=> true
here is my emerge --info but I don't think it'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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/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"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
userfetch"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu"
LINGUAS="fr en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--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-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="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" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for the bug report, it'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.