I have fetched the two files necessary to emerge dev-db/oracle-instantclient-basic-11.2.0.3, but the ebuild does not recognize that they are sitting in /usr/portage/distfiles. root@sphinkpad:~ # emerge -av --deep --newuse --update world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild FU ~] dev-db/oracle-instantclient-basic-11.2.0.3 [11.2.0.2] USE="(multilib%*)" 57,132 kB Total: 1 package (1 upgrade), Size of downloads: 57,132 kB Fetch Restriction: 1 package (1 unsatisfied) Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-db/oracle-instantclient-basic-11.2.0.3 * instantclient-basic-linux.x64-11.2.0.3.0.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * instantclient-sdk-linux.x64-11.2.0.3.0.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] !!! dev-db/oracle-instantclient-basic-11.2.0.3 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Fetch failed for 'dev-db/oracle-instantclient-basic-11.2.0.3', Log file: * '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.3/temp/build.log' * Please go to * http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html * and download * Instant Client for Linux x86 * Basic: instantclient-basic-linux-11.2.0.3.0.zip * Instant Client for Linux x86-64 * Basic: instantclient-basic-linux.x64-11.2.0.3.0.zip * SDK: instantclient-sdk-linux.x64-11.2.0.3.0.zip * After downloading, put them in: * /usr/portage/distfiles/ >>> Failed to emerge dev-db/oracle-instantclient-basic-11.2.0.3, Log file: >>> '/var/tmp/portage/dev-db/oracle-instantclient-basic-11.2.0.3/temp/build.log' root@sphinkpad:~ # ll /usr/portage/distfiles/instantclient-@(sdk|basic)-linux.x64-11.2.0.3.0.zip -rw-rw-r-- 1 portage portage 60331694 Mar 8 07:32 /usr/portage/distfiles/instantclient-basic-linux.x64-11.2.0.3.0.zip -rw-rw-r-- 1 portage portage 641586 Mar 8 07:32 /usr/portage/distfiles/instantclient-sdk-linux.x64-11.2.0.3.0.zip Reproducible: Always
Since you have multilib USE flag turned on, you also need to fetch the x86 client file manually on amd64: > * Instant Client for Linux x86 > * Basic: instantclient-basic-linux-11.2.0.3.0.zip
(In reply to comment #1) > Since you have multilib USE flag turned on, you also need to fetch the x86 > client file manually on amd64: > > * Instant Client for Linux x86 > > * Basic: instantclient-basic-linux-11.2.0.3.0.zip Exactly. However, ideas for improving the pkg_fetch messages to be less confusing are welcome!
Adding the x86 file worked. Thanks. I have to agree that the instructions were not clear. This is the first time that both files were required; there was no precedent for needing both files. The instructions could easily be interpreted to mean "pick the right file for your architecture". It wouldn't be hard to reword it to say "you need both files on your multilib system".
Created attachment 305879 [details, diff] oracle-instantclient-basic-11.2.0.3.ebuild.patch Or maybe telling the user which file is missing, like this? I don't know if PORTAGE_RO_DISTDIRS can be handled correctly with this patch. (In reply to comment #2) > However, ideas for improving the pkg_fetch messages to be less confusing are > welcome!
(In reply to comment #4) > Or maybe telling the user which file is missing, like this? Done in similar way in oracle-instantclient-basic-11.2.0.3.