i am trying to emerge all the parts of the oracle instantclient for my job but it seems to be something odd in the ebuild Reproducible: Always Steps to Reproduce: 1.emerge --sync 2.emerge oracle-instantclient-basic Actual Results: emerge oracle-instantclient-basic Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-db/oracle-instantclient-basic-11.2.0.1-r1 * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-db/oracle-instantclient-basic-11.2.0.1-r1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... unzip: cannot find or open /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.1-r1/distdir/.zip, /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.1-r1/distdir/.zip.zip or /var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.1-r1/distdir/.zip.ZIP. * ERROR: dev-db/oracle-instantclient-basic-11.2.0.1-r1 failed: * unsuccesful unzip .zip * * Call stack: * ebuild.sh, line 54: Called src_unpack * environment, line 2411: Called die * The specific snippet of code: * unzip "${DISTDIR}"/${MY_P}.zip || die "unsuccesful unzip ${MY_P}.zip"; * * If you need support, post the output of 'emerge --info =dev-db/oracle-instantclient-basic-11.2.0.1-r1', * the complete build log and the output of 'emerge -pqv =dev-db/oracle-instantclient-basic-11.2.0.1-r1'. * The complete build log is located at '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.1-r1/temp/environment'. * S: '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.1-r1/work' >>> Failed to emerge dev-db/oracle-instantclient-basic-11.2.0.1-r1, Log file: >>> '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.1-r1/temp/build.log' Expected Results: it should emerge without errors emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-rc3 x86_64) ================================================================= System uname: Linux-2.6.35-rc3-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 01 Jul 2010 13:15:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 9999 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.51.0.9 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" 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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.gentoo.no/" LDFLAGS="-Wl,-O1" 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.ie.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi addns ads aesicm aio akonadi alisp alsa amd64 amr archive artworkextra autoipd avahi bash-completion beagle berkdb bidi big-tables bl blender-game bluetooth bonjour bookmarks bs2b bzip2 c3p0 cairo capi caps cdda cdparanoia celt charmap cjk cli cluster colorpicker console consolekit contrast cracklib crypt cscope cups cupsd curl cxx daap dbus derby device-mapper dga dhcp dhcpcd dirac directfb disk-partition diskio djvu dmx dri dtmf dvb dvd dvi dxr3 eap-sim eds elf emacs examples exchange exif expat extensible extraengine extras faac faad fasteap fax fbcon ffmpeg fftw fits flac fontforge foomaticdb fortran fpx ftp fuse gadu galago gcj gconf gd gdal gdbm gdu ggi gif gimp glade gnome gnome-keyring google-gadgets gpc gphoto2 gpm gps graphite graphviz groupwise gs gsm gstreamer gtk guile gunit gzip-el h224 h281 h323 hal hardware-carrier hdri hesiod hotpixels hpijs http iax iconv ieee1394 imagemagick imlib inotify iplayer ipod ipv6 irda ivr ixj jabber java javascript jbig jce jingle joystick jpeg jpeg2k kde kdrive kismet kontact ladspa lame lastfm latex lcms ldap ldb lensfun libcaca libgda libnl libnotify lid lirc lm_sensors log4j lqr lua lzma lzo m17n-lib mad madwifi mail mapnik md5sum mdnsresponder-compat meanwhile mfd-rewrites mmap mmx mmxext mng modules motif mp3 mp3tunes mpeg msn mtp mudflap multilib multimedia mysql mythtv nas nautilus ncurses network networking networkmanager nis nls nntp nptl nptlonly nsplugin nut objc objc++ objc-gc odbc odbcmanual odk ogg okular openal openexr opengl openmp oscar otr pam parport pbxt pch pcre pda pdf perl phonon php playlist plotutils plugins png pnm policykit ppds pppd pulseaudio pvr python q32 q8 qimageblitz qos qq qscintilla qt3support qt4 quota qwt radio rar raster raw readline reflection remote rle rpm ruby samba sasl sbc scanner schroedinger scripts sdk sdl secure-delete serial session shmvideo showtabbar sipim skype slang slp smartspaces smbsharemodes smp sms smux snmp soap socks sound soup speech speex spell spl sql sqlite srtp sse sse2 ssl ssse3 startup-notification static-ppds stats svg swat swig sysfs syslog system-sqlite t1lib taglib tcl tcpd tdbtest teletext telnet templates terminal testbed tga theora thumbnail tiff timezone tk toolkit-scroll-bars tools trace tracker transmitter truetype tslib tts udev-acl unicode usb util v4l v4l2 vcd vdpau verse vim-pager vim-syntax vorbis vpb vxml wav wavpack webkit webpresence wicd wifi winbind winpopup wmf wps wxwidgets x264 xanim xcap xemacs xft xinerama xml xmlrpc xmp xorg xtradb xv xvid xvmc yahoo zeroconf zip zlib zoran" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z topfield toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek joystick penmount synaptics tslib void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="all" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 237387 [details] build log
Hi, it's keyworded `-* ~x86` with providing only x86 src_uri fields. It does not support amd64, sry. Michael
But there were some x64_64 files mentioned at http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html . Tobias, can you integrate the amd64 files? Thanks Michael.
(In reply to comment #3) > But there were some x64_64 files mentioned at > http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html > . Probably released much later than the x86 files. Oracle behaves quite unpredictable here :/ > Tobias, can you integrate the amd64 files? Thanks Michael. Give me a day or two.
sorry if I disturb you just wandering if there are any news... thanks. :D (In reply to comment #4) > (In reply to comment #3) > > But there were some x64_64 files mentioned at > > http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html > > . > > Probably released much later than the x86 files. Oracle behaves quite > unpredictable here :/ > > > Tobias, can you integrate the amd64 files? Thanks Michael. > > Give me a day or two. >
*** Bug 328005 has been marked as a duplicate of this bug. ***
(In reply to comment #4) aww, tobias, you promised > > Give me a day or two. >
Created attachment 240361 [details] ebuild for amd64
(In reply to comment #8) > Created an attachment (id=240361) [details] > ebuild for amd64 > mv /usr/portage/distfiles/oracle-instantclient11.2-sdk-11.2.0.1.0-1.x86_64.zip /usr/portage/distfiles/oracle-instantclient11.2-sdk-11.2.0.1-1.x86_64.zip mv /usr/portage/distfiles/oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.zip /usr/portage/distfiles/oracle-instantclient11.2-basic-11.2.0.1-1.x86_64.zip The same for the sdk: mv /usr/portage/distfiles/oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.zip /usr/portage/distfiles/oracle-instantclient11.2-sdk-11.2.0.1-1.x86_64.zip
Created attachment 242251 [details] ebuild for oracle-instantclient-sqlplus-11.2.0.1.0-r1
Created attachment 246779 [details] oracle-instantclient-sqlplus-11.2.0.1.ebuild This is a hybrid ebuild that does both x86 and amd64.
Created attachment 246781 [details] oracle-instantclient-basic-11.2.0.1-r1.ebuild This is a hybrid ebuild that does both x86 and amd64.
Joerg's ebuilds didn't work appropriately for me. I've created a new one that just handles the differences in naming and does both amd64 and x86. Please consider updating portage as soon as possible. The current ebuilds use binaries that are both obsolete and not available for download!
Created attachment 246782 [details] oracle-instantclient-basic-11.2.0.1-r1.ebuild Whoops forgot to uncomment something :)
11.2.0.2 inCVS.