Please, add support Python 3.x in app-portage/gentoopm and app-portage/smart-live-rebuild ebuild. This is required to portage[+python3]. Without this support I have error message "Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild'", if I try execute emerge with set @smart-live-rebuild. Reproducible: Always Steps to Reproduce: 1.build portage-2.2[+python3], smart-live-rebuild-1.2.1, gentoopm-0.2.3 2.emerge @smart-live-rebuild Actual Results: Error message "Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild'"
I'd need fixed Python3.1 or stable Python3.2 first.
python-3.2.2 is now stable. :)
(In reply to comment #2) > python-3.2.2 is now stable. :) Does it bring necessary distutils fixes?
Everytime I use emerge, whether for a set or particular atom, I get the following message, except when using the search flag. --->start # emerge -av [package] Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild' These are the packages that would be merged, in order: Calculating dependencies... done! --->end The package creating the error is app-portage/smart-live-rebuild and is pulled in by gentoolkit. Reproducible: Always Steps to Reproduce: 1.build Gentoo keyworded to ~amd64 which includes app-portage/gentoolkit-9999 2.emerge [anything] Actual Results: Error message "Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild' How do I get rid of this message, it is driving me crazy seeing it there all the time.
(In reply to comment #3) > Does it bring necessary distutils fixes? Good question. That would be a no. :(
As a workaround, you could do something like this: pkg_setup() { [[ $(locale charmap) == UTF-8 ]] || die "Please use a UTF-8 locale" python_pkg_setup } Or instead of dying, you could force a value in LC_CTYPE.
(In reply to comment #4) > How do I get rid of this message, it is driving me crazy seeing it there all > the time. eselect python set python2.7 python-updater
(In reply to comment #6) > As a workaround, you could do something like this: > > pkg_setup() { > [[ $(locale charmap) == UTF-8 ]] || die "Please use a UTF-8 locale" > python_pkg_setup > } > > Or instead of dying, you could force a value in LC_CTYPE. Forcing a value requires using valid locale, no?
(In reply to comment #8) > Forcing a value requires using valid locale, no? So it does; not an option then.
Created attachment 312781 [details] ebuild changes I just reinstalled both version without restricting 3.* ABIs, it installes and the python optimization compiles (so the code looks python3 compatible). Which changes in distutils do you need? I didn't get that from the above comments.
Created attachment 312787 [details] ebuild changes Same for `smart-live-rebuild-3.2 -E`, everything is just fine.
Yes, I plan to revbump the ebuild when python-distutils-ng problems are resolved.
Done and done.