running install_scripts creating /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin copying build-2.6/scripts-2.6/pildriver.py -> /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin copying build-2.6/scripts-2.6/pilprint.py -> /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin copying build-2.6/scripts-2.6/pilfont.py -> /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin copying build-2.6/scripts-2.6/pilfile.py -> /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin copying build-2.6/scripts-2.6/pilconvert.py -> /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin changing mode of /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin/pildriver.py to 755 changing mode of /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin/pilprint.py to 755 changing mode of /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin/pilfont.py to 755 changing mode of /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin/pilfile.py to 755 changing mode of /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/bin/pilconvert.py to 755 running install_egg_info Writing /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/lib64/python2.6/site-packages/PIL/PIL-1.1.7-py2.6.egg-info creating /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/lib64/python2.6/site-packages/PIL.pth * Generating '/usr/bin/pilconvert.py' wrapper script * Generating '/usr/bin/pildriver.py' wrapper script * Generating '/usr/bin/pilfile.py' wrapper script * Generating '/usr/bin/pilprint.py' wrapper script * Installation of dev-python/imaging-1.1.7 with CPython 2.6... python2.6 setup.py build -b build-2.6 install --no-compile --root=/var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6 running build running build_py warning: build_py: byte-compiling is disabled, skipping. running build_ext running install running install_lib copying build-2.6/lib.linux-x86_64-2.6/_sane.so -> /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/lib64/python2.6/site-packages copying build-2.6/lib.linux-x86_64-2.6/sane.py -> /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/lib64/python2.6/site-packages warning: install_lib: byte-compiling is disabled, skipping. running install_egg_info Writing /var/tmp/portage/dev-python/imaging-1.1.7/temp/images/2.6/usr/lib64/python2.6/site-packages/pysane-2.0-py2.6.egg-info * ERROR: dev-python/imaging-1.1.7 failed: * python_generate_wrapper_scripts(): '/var/tmp/portage/dev-python/imaging-1.1.7/image/usr/bin/pilconvert.py-2.6' already exists This version of imaging previously compiled successfully. It now no longer compiles after performing a global update. I tried both python-2.6.5-r3 and python-2.6.6-r1. I've also run 'python-updater'
Created attachment 258092 [details] build log
I can reproduce this. The failure appears to be triggered by the "scanner" use flag.
Fixed in python.eclass. (This bug was affecting only 3 packages.)
Confirmed fixed. Thank you very much.