Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271510 - dev-ruby/ruby-oci8-1.0.3 fails to compile: '/usr/lib/oracle/11.1.0.7.0/client/lib/sdk/include/oci.h' does not exist.
Summary: dev-ruby/ruby-oci8-1.0.3 fails to compile: '/usr/lib/oracle/11.1.0.7.0/client...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Troy Bowman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 10:55 UTC by Willard Dawson
Modified: 2009-06-13 07:24 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,3.25 KB, text/plain)
2009-05-28 10:55 UTC, Willard Dawson
Details
version bump to ruby-oci8-1.0.6.ebuild (ruby-oci8-1.0.6.ebuild,722 bytes, text/plain)
2009-06-12 03:38 UTC, Troy Bowman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2009-05-28 10:55:14 UTC
ruby-oci8 fails to merge, complains about missing SDK, yet dev-db/oracle-instantclient-basic "Oracle 11g client installation for Linux with SDK" is installed

Reproducible: Always

Steps to Reproduce:
1.emerge dev-ruby/ruby-oci8
2.
3.

Actual Results:  
Merge failed. Build.log attachment to follow...

Expected Results:  
Merge succeeded.

# emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.28-gentoo-r4 i686)
=================================================================                                     
System uname: Linux-2.6.28-gentoo-r4-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-2.0.1   
Timestamp of tree: Thu, 28 May 2009 00:30:04 +0000                                                    
app-shells/bash:     4.0_p24                                                                          
dev-java/java-config: 1.3.7-r1, 2.1.8                                                                 
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2                                                           
dev-python/pycrypto: 2.0.1-r8                                                                         
dev-util/cmake:      2.6.4                                                                            
sys-apps/baselayout: 2.0.1                                                                            
sys-apps/openrc:     0.4.3-r2                                                                         
sys-apps/sandbox:    1.9                                                                              
sys-devel/autoconf:  2.13, 2.63-r1                                                                    
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                        
sys-devel/binutils:  2.19.1-r1                                                                        
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6a                                                                           
virtual/os-headers:  2.6.29                                                                           
ACCEPT_KEYWORDS="x86 ~x86"                                                                            
CBUILD="i686-pc-linux-gnu"                                                                            
CFLAGS="-march=i686 -O2 -pipe -ggdb"                                                                  
CHOST="i686-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/share/config"                                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                                                       
CXXFLAGS="-march=i686 -O2 -pipe -ggdb"                                                                  
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"   
LANG="en_US.utf8"                                                                                       
LDFLAGS="-Wl,-O1"                                                                                       
MAKEOPTS=""                                                                                             
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="/var/tmp"                                                                               
PORTDIR="/usr/portage"                                                                                  
PORTDIR_OVERLAY="/usr/local/portage"                                                                    
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                          
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa apache2 apm arts ati audiofile avahi avi bash-completion berkdb bitmap-fonts branding bzip2 cairo caps cardbus cdio cdr cli consolekit cracklib crypt ctype cups dba dbtool dbus digitalradio diskio djvu dri dts dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fastbuild ffmpeg fftw fglrx firefox foomaticdb force-cgi-redirect fortran ftp fuse gamin gd gdbm gif glib glitz glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 isdnlog ithreads jack java jpeg kde kerberos kqemu lcms ldap libclamav libg++ libnotify libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash midi mikmod mmx mmxext mng mono motif mozilla mp3 mpeg mudflap mysql ncurses netboot netjack networking nforce2 nls nptl nptlonly nvidia ocaml ogg oggvorbis opengl openmp oss pam pango pch pcmcia pcre pdf pdflib pear perl php pmu png portaudio posix ppds pppd pulseaudio python qt qt3 qt3support qt4 qtmt quicktime readline reflection ruby samba sasl sdl session simplexml slang sndfile snmp soap sockets spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis webkit wifi win32codecs x86 xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunner xv 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" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon ati fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Willard Dawson 2009-05-28 10:55:45 UTC
Created attachment 192696 [details]
Build log
Comment 2 Willard Dawson 2009-05-28 11:04:41 UTC
I found a workaround, perhaps a patch could be added for ruby-oci8 at some point.

1. emerge dev-db/oracle-instantclient-basic
2. cd /usr/lib/oracle/11.1.0.7.0/client/lib
3. mkdir sdk
4. ln -s ../../include
5. emerge dev-ruby/ruby-oci8

Comment 3 Troy Bowman 2009-06-12 03:38:25 UTC
Created attachment 194337 [details]
version bump to ruby-oci8-1.0.6.ebuild

Thanks for your report.  Indeed, you do have to hack your instantclient-basic install to get oci8-1.0.3 to build.  Instead of writing patches to make 1.0.3 to work, lets just bump this to 1.0.6, as it seems to handle the 11.1.0.7 instantclient install correctly.  At least, it works great for me.  Please try this ebuild and confirm.  This ebuild has the fix from Bug 259469 and if a ruby herd person could commit it, we could close the other bug.
Comment 4 Hans de Graaff gentoo-dev Security 2009-06-13 07:24:24 UTC
I've just committed ruby-oci8-1.0.6 to the tree.