The ebuild fails part-way in. Reproducible: Always Steps to Reproduce: 1. emerge -1 dev-java/glassfish-persistence Actual Results: Build fails Expected Results: Package merged. Looks like the ebuild is _old_.
Created attachment 310927 [details] emerge --info =dev-java/glassfish-persistence-1.0
Created attachment 310929 [details] Build log for the ebuild
(In reply to comment #0) > [ snip ] > Looks like the ebuild is _old_. That shouldn't matter. :) Works just fine for me. Maybe you need to run python-updater? Also try reinstalling the javatoolkit if the former doesn't help.
I ran revdep-rebuild and python updater, neither had anything to update. Remerged javatoolkit. Still having the same issue.
Synced and updated my system. This issue appears to have gone away. So... closing it. Thanks!
Thanks for the follow up.
Created attachment 313883 [details] emerge --info
I am having the same problem with this build failing. I have re-synced and updated my system, run python-updater and re-emerged javatoolkit, with no success. Here are my build files and emerge --info.
Created attachment 313885 [details] Dianes build log
Try using a different mirror for your packages. That's ultimately what fixed it for me. I'm using GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo/" for your reference.
this is still broken here, tried different mirrors, no dice, happens on a new system as on some other boxes.
Using different mirrors doesnt work for me either.
whar works is: 1. install python2.6 2. eselect python set --python2 1 (while 1 is 2.6, check that with list before) 3. reemerge java-toolkit 4. emerge glassfish-persistence 5. eselect python set --python2 2 (or whatever was your last active python version) so likely a py2.7 bug (or javatoolkit not completely compatible with it)
Can someone please reopen this bug? We cannot rely on python-2.6 forever. It seems to be a bug in javatoolkit. Has someone opened a report for this?
python 2.7 has a lovely new feature: elif file[:2] == './': raise ValueError("local file url may start with / or file:. Unknown url of type: %s" % url)
Can't be fixed in javatoolkit, so fixing the input to not trigger this exception. *glassfish-persistence-1.0-r1 (10 Jun 2012) 10 Jun 2012; Ralph Sennhauser <sera@gentoo.org> +glassfish-persistence-1.0-r1.ebuild, +files/glassfish-persistence-1.0-python2.7-sax-parser.patch: Fix building without python2.6 installed. #414807 Bump EAPI, fix HOMPAGE and QA issues. Thanks for the report and Robert Förster for finding out what's going on here.