The build log will explain it all . Have reinstalled cups,to no availe
Created attachment 286097 [details] emerge info + -pqv result for pycups-1.9.8
Created attachment 286101 [details] build log for x86
Created attachment 286103 [details] bzipped environment file for x86
Created attachment 286111 [details, diff] patch to ebuild Attached patch gets pycups-1.9.58 emerged when Python3 is the default interpreter for me.
*** Bug 382577 has been marked as a duplicate of this bug. ***
The patch from comment 4 is wrong,... but so is the ebuild. There has been a slight change in the Makefile between .57 and .58 that breaks the way docs are handled. Now, upon 'make doc' rebuild of the module is in effect forced. As in that Makefile it's hardcoded to 'python setup.py build', it obviously fails for this ebuild.
Created attachment 286145 [details] build.log for dev-python/pycups-1.9.57 pycups-1.9.57 also fails for me with USE="doc" and Python3
I can confirm the use of -doc allows the compile to complete. Also system-config-printer has installed . So completes another update. Geoff
@comment 8: could you learn to not close bugs that aren't fixed ? Neither "workaround available" nor "works for you" equals "fixed".
sorry about that ,thought about it after hitting the save changes Geoff
PyCups does not compile against python3 and the thing is it shouldn't even attempt to. Thanks for reporting.
@comment 11: while python.eclass is a bit crazy in a few places, the solution used is pretty much a regression, as now pycups will only be installed for one python slot. Not that *I* see a need for older than 2.7 slots, but other people might.
pycups is in dependency chain of system-config-printer (scp ebuild does not support python ABIs) - and probably scp is its only reverse runtime dependency so nobody should really care. Also, I object to adding 'python API support' to ebuilds when proper implementation (ABI deps) in eclass is not yet available.
A solution, which does not require e.g. patching Makefile, is to call python_pkg_setup() in pkg_setup(). This solution is available in dev-python/pycups in Progress Overlay.