pypy-1.6 was released. It has different download location, and perhaps patches need to be adapted. http://morepypy.blogspot.com/2011/08/pypy-16-kickass-panda.html Reproducible: Didn't try
Created attachment 283829 [details] pypy-1.6.ebuild Fixed download location etc. Compiles and works for me, but as lots of QA warnings => patch needs improvement
Created attachment 283889 [details] pypy-1.6.patch The patch that I used.
I'm on x86 and it fails with: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/local/portage/dev-python/pypy/files/pypy-1.6-x86.patch * ( pypy-1.6-x86.patch ) in src_prepare() there is: 40 epatch "${FILESDIR}/${P}.patch" 41 use x86 && epatch "${FILESDIR}/${P}-x86.patch" Did i missed something?
(In reply to comment #3) > I'm on x86 and it fails with: > > * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: > * > * /usr/local/portage/dev-python/pypy/files/pypy-1.6-x86.patch > * ( pypy-1.6-x86.patch ) > > Did i missed something? There is pypy-1.5-x86.patch in trunk, I think it should work (if you just rename it to 1.6), but I can't be sure cause I only have x64
Should we perhaps look at 1.7 now?
Definitely.
Created attachment 293883 [details] pypy-1.7.ebuild This ebuild worked for me as pypy-1.7. (On amd64). It's same as previously posted pypy-1.6, with fix of bug 383063.
Created attachment 293885 [details, diff] pypy-1.7-no-pdb.patch Patch to use with pypy-1.7.ebuild
I've put 1.7 in the tree. Please test!
BTW, I don't think I have the x86 patch, maybe someone can test that?
(In reply to comment #9) > I've put 1.7 in the tree. Please test! >>> Compiling source in /var/tmp/portage/dev-python/pypy-1.7/work/pypy-pypy-release-1.7 ... python2.7 ./pypy-pypy-release-1.7/pypy/translator/goal/translate.py -Ojit ./pypy-pypy-release-1.7/pypy/translator/goal/targetpypystandalone.py --withmod-bz2 --withmod-_minimal_curses --withoutmod-pyexpat --withmod-_ssl python2.7: can't open file './pypy-pypy-release-1.7/pypy/translator/goal/translate.py': [Errno 2] No such file or directory * ERROR: dev-python/pypy-1.7 failed (compile phase): * compile error * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5219: Called die * The specific snippet of code: * ${translate_cmd} || die "compile error"
Ah yeah, sorry about that. Should be better now.
Created attachment 294347 [details] error in compiling
It`s probably bug in pypy but i`ve uploaded build log.
Yeah, you should probably report that upstream.