Hi ! This build fails because the directory inside the github archive contains the first digits of the SHA1 of the git branch, for example : delano-storable-c2bca6e. This leads to the following error : >>> Unpacking storable-git-0.8.9.tgz to /home/var_tmp/portage/dev-ruby/storable-0.8.9-r1/work/all >>> Source unpacked in /home/var_tmp/portage/dev-ruby/storable-0.8.9-r1/work * ERROR: dev-ruby/storable-0.8.9-r1::gentoo failed (prepare phase): * The source directory '/home/var_tmp/portage/dev-ruby/storable-0.8.9-r1/work/delano-storable-*' doesn't exist The proposed ebuild fixes that by : - in the src_unpack phase, renaming this directory to "all", which is the name expected by the next phase - unfixing the S variable :) Best Regards, Joël Thieffry.
Created attachment 372716 [details] dev-ruby/storable-0.8.9-r2.ebuild
Comment on attachment 372716 [details] dev-ruby/storable-0.8.9-r2.ebuild --- storable-0.8.9-r1.ebuild 2014-03-10 17:15:31.000000000 +0100 +++ - 2014-03-15 15:23:25.295770607 +0100 @@ -24,7 +24,6 @@ IUSE="" SRC_URI="http://github.com/delano/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz" -S="${WORKDIR}/delano-${PN}-*" # technically, it could work without either; on the other hand, it # would break a bit of stuff. @@ -36,6 +35,11 @@ ruby_add_bdepend "test? ( dev-ruby/tryouts:2 )" +src_unpack() { + unpack ${A} + mv delano-${PN}-* all +} + all_ruby_prepare() { mv bin examples || die }
We have support for this mechanism in the ruby eclasses with the RUBY_S variable but it looks like this was not applied when the EAPI was bumped. Now fixed.