Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138046 - Can't compile tora-1.3.21
Summary: Can't compile tora-1.3.21
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
: 159191 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-26 07:11 UTC by Aben Siatris
Modified: 2006-12-28 23:28 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,114.97 KB, text/plain)
2006-06-26 07:12 UTC, Aben Siatris
Details
tora-1.3.21-r1 failing config.log (tora-1.3.21-r1-config.log,114.80 KB, text/plain)
2006-12-27 05:38 UTC, Taavi Ilves
Details
Session log of emergeing tora (emerging-tora.log,339.71 KB, text/plain)
2006-12-27 23:01 UTC, Taavi Ilves
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aben Siatris 2006-06-26 07:11:23 UTC
checking for oracle... /usr/lib/oracle/10.1.0.4/client
checking oci works... configure: error: Couldn't compile and run a simpile OCI app.
      Try setting ORACLE_HOME or check config.log.
      Otherwise, make sure ORACLE_HOME/lib is in /etc/ld.so.conf or LD_LIBRARY_PATH

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/tora-1.3.21/work/tora-1.3.21/config.log

!!! ERROR: dev-db/tora-1.3.21 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  tora-1.3.21.ebuild, line 60:   Called econf '--with-kde' '--with-qt-dir=/usr/qt/3'
  ebuild.sh, line 541:   Called die
Comment 1 Aben Siatris 2006-06-26 07:12:33 UTC
Created attachment 90181 [details]
config.log
Comment 2 Aben Siatris 2006-06-26 07:13:53 UTC
root@office:  >> export
declare -x ANT_HOME="/usr/share/ant-core"
declare -x AUDIOSERVER="192.168.0.40:0"
declare -x CLASSPATH="."
declare -x COLORTERM=""
declare -x CONFIG_PROTECT="/usr/lib/mozilla/defaults/pref /usr/lib/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/kde/3.4/share/config /usr/kde/3.4/env /usr/kde/3.4/shutdown /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/ /usr/share/config"
declare -x CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo"
declare -x CVS_RSH="ssh"
declare -x C_INCLUDE_PATH="/usr/lib/oracle/10.1.0.4/client/include"
declare -x DCCC_PATH="/usr/lib/distcc/bin"
declare -x DESKTOP_SESSION="kde-3.5"
declare -x DISPLAY="fordinal:0"
declare -x DISTCC_LOG=""
declare -x DISTCC_VERBOSE="0"
declare -x DM_CONTROL="/var/run/xdmctl"
declare -x EDITOR="/bin/nano"
declare -x GCC_SPECS=""
declare -x GDK_USE_XFT="1"
declare -x GS_LIB="/home/fordinal/.fonts"
declare -x GTK2_RC_FILES="/root/.gtkrc-2.0"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/fordinal/.gtkrc:/home/fordinal/.kde3.5/share/config/gtkrc"
declare -x G_BROKEN_FILENAMES="1"
declare -x HOME="/root"
declare -x HOSTNAME="office.webcom.sk"
declare -x ICAROOT="/opt/ICAClient"
declare -x INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info"
declare -x JAVAC="/opt/sun-jdk-1.4.2.10/bin/javac"
declare -x JAVA_HOME="/opt/sun-jdk-1.4.2.10"
declare -x JDK_HOME="/opt/sun-jdk-1.4.2.10"
declare -x KDEDIRS="/usr"
declare -x KDE_FULL_SESSION="true"
declare -x KDE_MALLOC="1"
declare -x KDE_MULTIHEAD="false"
declare -x KONSOLE_DCOP="DCOPRef(konsole-20428,konsole)"
declare -x KONSOLE_DCOP_SESSION="DCOPRef(konsole-20428,session-2)"
declare -x LADSPA_PATH="/usr/lib/ladspa"
declare -x LANG="sk_SK.utf8"
declare -x LC_COLLATE="C"
declare -x LD_LIBRARY_PATH="/usr/lib/oracle/10.1.0.4/client/lib"
declare -x LESS="-R"
declare -x LESSOPEN="|lesspipe.sh %s"
declare -x LOGNAME="fordinal"
declare -x LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:"
declare -x MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man::/opt/sun-jdk-1.4.2.10/man:/usr/qt/3/doc/man:/opt/vmware/workstation/man"
declare -x MOZILLA_FIVE_HOME="/usr/lib/mozilla"
declare -x OLDPWD
declare -x OPENGL_PROFILE="xorg-x11"
declare -x ORACLE_HOME="/usr/lib/oracle/10.1.0.4/client"
declare -x PAGER="/usr/bin/less"
declare -x PATH="/sbin:/bin:/usr/sbin:/usr/bin"
declare -x PRELINK_PATH=""
declare -x PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8:/lib/modules:/usr/lib/locale:/usr/lib/wine:/usr/lib/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js"
declare -x PWD="/home/fordinal"
declare -x PYTHONPATH="/usr/lib/portage/pym"
declare -x QMAKESPEC="linux-g++"
declare -x QTDIR="/usr/qt/3"
declare -x SANE_CONFIG_DIR="/etc/sane.d"
declare -x SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"
declare -x SESSION_MANAGER="local/office.webcom.sk:/tmp/.ICE-unix/20361"
declare -x SGML_CATALOG_FILES="/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat"
declare -x SHLVL="3"
declare -x TERM="xterm"
declare -x USER="fordinal"
declare -x WINDOWID="29360260"
declare -x XAUTHORITY="/root/.xauthrGdrMp"
declare -x XCURSOR_THEME="default"
declare -x XDG_CONFIG_DIRS="/usr/kde/3.5/etc/xdg"
declare -x XDG_DATA_DIRS="/usr/kde/3.5/share:/usr/share"
declare -x XDM_MANAGED="/var/run/xdmctl/xdmctl-fordinal:0,method=classic"
declare -x XINITRC="/etc/X11/xinit/xinitrc"
declare -x XPSERVERLIST=""
Comment 3 Aben Siatris 2006-06-26 07:14:12 UTC
*  dev-db/oracle-instantclient-basic
      Latest version available: 10.1.0.4
      Latest version installed: 10.1.0.4
      Size of files: 29,467 kB
      Homepage:      http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html
      Description:   Oracle 10g client installation for Linux with SDK
      License:       OTN

*  dev-db/oracle-instantclient-jdbc [ Masked ]
      Latest version available: 10.2.0.2
      Latest version installed: 10.1.0.4
      Size of files: 5,802 kB
      Homepage:      http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html
      Description:   Oracle 10g client installation for Linux: JDBC supplement
      License:       OTN

*  dev-db/oracle-instantclient-sqlplus [ Masked ]
      Latest version available: 10.2.0.2
      Latest version installed: 10.1.0.4
      Size of files: 3,073 kB
      Homepage:      http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html
      Description:   Oracle 10g client installation for Linux: SQL*Plus
      License:       OTN
Comment 4 Aben Siatris 2006-06-26 07:54:12 UTC
the only one bug that I have found is missing dependency on instantclient-10.2.0.2
after installing this version of instantclient, tora compiles fine.
Comment 5 Tobias Scherbaum (RETIRED) gentoo-dev 2006-07-23 04:24:16 UTC
(In reply to comment #4)
> the only one bug that I have found is missing dependency on
> instantclient-10.2.0.2
> after installing this version of instantclient, tora compiles fine.
> 

Instead of using the instantclient you could also use a full oracle install on your box or the oracle-xe database, so depending on the instantclient is no option. That's also why $ORACLE_HOME is checked for existence.

In your case you mixed a instantclient-basic-10.1* package with instantclient-{jdbc,sqlplus}-10.2* packages.

I'll mark this as CANTFIX as this is more or less "expected behaviour". Feel free to reopen if you can provide a proper solution.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-27 03:00:25 UTC
*** Bug 159191 has been marked as a duplicate of this bug. ***
Comment 7 Taavi Ilves 2006-12-27 03:08:29 UTC
I submit my problem here, because my bugreport was marked DUBLICATE, but actually it's quite not. 

dev-db/tora-1.3.21-r1 fails at emerge, specifically at configuring. Problem
seems to be, that somehow it doesn't get right enviroment variable ORACLE_HOME.

---------------------------------------------
configuring reaches to this point and then fails:

checking if STL implementation is SGI like... yes
checking for oracle... ls: cannot access /usr/lib/oracle/: No such file or
directory
checking oci works... configure: error: Couldn't compile and run a simpile OCI
app.
      Try setting ORACLE_HOME or check config.log.
      Otherwise, make sure ORACLE_HOME/lib is in /etc/ld.so.conf or
LD_LIBRARY_PATH

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/tora-1.3.21-r1/work/tora-1.3.21/config.log

!!! ERROR: dev-db/tora-1.3.21-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  tora-1.3.21-r1.ebuild, line 73:   Called econf '--with-kde'
'--without-instant-client' '--with-xinerama' '--with-qt-dir=/usr/qt/3'
  ebuild.sh, line 540:   Called die
---------------------------------------------

I have full Oracle install, not instantclient from portage. Notice, that it searches Oracle client from /usr/lib/oracle, but it should
search it from ORACLE_HOME which is at my system:

# echo $ORACLE_HOME $LD_LIBRARY_PATH
/opt/oracle/client102010 /opt/oracle/client102010/lib

tora-1.3.21 seems to respect those variables and passes that check.

My emerge --info just in case: 

Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4,
2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 27 Dec 2006 07:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles"
LINGUAS="en et"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp
alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci
alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938
alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0
alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident
alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem
alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw
alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix
alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty
alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks
alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa
alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter
alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null
alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route
alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2
apm asf bash-completion berkdb bitmap-fonts cdparanoia cdr cli cpus cracklib
crypt cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd
fam firefox flac foomaticdb fortran gif gimp gimpprint gpm gstreamer gtk gtk2
gtkhtml hal iconv imagemagick imlib input_devices_keyboard input_devices_mouse
ipv6 isdnlog jabber jack jpeg kde kdeenablefinal kernel_linux ldap libg++
libwww linguas_en linguas_et lm_sensors mad mikmod motif motroska mp3 mpeg msn
musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin offensive ogg
opengl oracle oss pam pcre pdf perl png posix pppd python qt3 qt4 quicktime
readline reflection samba scanner sdl session spell spl sse sse2 ssl
startup-notification svg tcpd theora truetype truetype-fonts type1-fonts udev
unicode usb userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa
vorbis win32codecs xine xinerama xml xorg xprint xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-27 03:11:47 UTC
(In reply to comment #7)
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/tora-1.3.21-r1/work/tora-1.3.21/config.log

Also "emerge -pv tora" output might be interesting. USE="oracle" is set?
Comment 9 Taavi Ilves 2006-12-27 03:40:58 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > !!! Please attach the following file when filing a report to bugs.gentoo.org:
> > !!! /var/tmp/portage/tora-1.3.21-r1/work/tora-1.3.21/config.log
> 
> Also "emerge -pv tora" output might be interesting. USE="oracle" is set?
> 

I use same useflags as for tora-1.3.21 -- described in my emerge --info

# emerge tora -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-db/tora-1.3.21-r1 [1.3.21] USE="kde oracle xinerama%* -debug -oci8-instant-client%" 0 kB
Comment 10 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-27 05:29:25 UTC
Please attach the config.log.
Comment 11 Taavi Ilves 2006-12-27 05:38:41 UTC
Created attachment 104800 [details]
tora-1.3.21-r1 failing config.log

as requested in comment #10
Comment 12 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-27 06:07:42 UTC
I have absolutely no clue why tora doesn't detect your oracle installation. Please double check your ORACLE_HOME variable. Also check if 1.3.21 works for you.
Comment 13 Taavi Ilves 2006-12-27 23:01:41 UTC
Created attachment 104835 [details]
Session log of emergeing tora

Hi again,

I attatched a log where is shown how I emerge tora-1.3.21 with success, print out ORACLE_HOME and LD_LIBRARY_PATH, then try to emerge tora-1.3.21-r1 and fail. Notice how tora-1.3.21 finds ORACLE_HOME and next moment tora-1.3.21-r1 doesn't.

I didn't submit new config.log, because it's the same as I posted above. tora-1.3.21 when emerged runs fine -- I can connect to db and do my work.
Comment 14 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-28 18:38:53 UTC
See bug #159285.
Comment 15 Taavi Ilves 2006-12-28 23:28:42 UTC
I guess you've made it. Next time I remember to play with diff's of certain ebuilds. 

emerge --sync && emerge =dev-db/tora-1.3.21-r1 

It finally passed that check. Thanks.