emerge =app-text/silvercity-0.9.7 fails at the install stage, due to the strange shebang path written in script cgi-styler-form.py. Reproducible: Always Steps to Reproduce: 1. emerge =app-text/silvercity-0.9.7 Actual Results: * Converting shebang in 'usr/bin/cgi-styler-form.py-2.7' * Converting shebang in 'usr/bin/cgi-styler.py-2.7' * Converting shebang in 'usr/bin/source2html.py-2.7' * Generating '/usr/bin/cgi-styler-form.py' wrapper script * Generating '/usr/bin/cgi-styler.py' wrapper script * Generating '/usr/bin/source2html.py' wrapper script >>> Completed installing silvercity-0.9.7 into /Users/tetsushi/Gentoo/var/tmp/portage/app-text/silvercity-0.9.7/image/Users/tetsushi/Gentoo/ * QA Notice: the following files use invalid (possible non-prefixed) shebangs: * Users/tetsushi/Gentoo/usr/bin/cgi-styler-form.py-2.7:/usr/home/sweetapp/bin/python2.7 (script cgi-styler-form.py-2.7 installed in PATH but interpreter /usr/home/sweetapp/bin/python2.7 not found) * ERROR: app-text/silvercity-0.9.7 failed: * Aborting due to QA concerns: invalid shebangs found * * Call stack: * misc-functions.sh, line 1700: Called install_qa_check * misc-functions.sh, line 210: Called install_qa_check_prefix * misc-functions.sh, line 857: Called die * The specific snippet of code: * die "Aborting due to QA concerns: invalid shebangs found" * Expected Results: emerge without error. The shebang is supposed to be replaced on a later step in src_install, but emerge process stops before reaching the step. If it is relevant, I'm using Portage 2.2.01.17901 on OS X Leopard. I provide a possible diff against the ebuild to avoid the error.
Created attachment 263265 [details, diff] diff against ebuild This just moves a dosed from src_install to src_prepare.
@web-apps: do you have any problems with the patch proposed?
Fixed.