Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355837 - app-text/silvercity-0.9.7: fail to install due to QA concerns
Summary: app-text/silvercity-0.9.7: fail to install due to QA concerns
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 12:06 UTC by MATSUI Tetsushi
Modified: 2011-02-21 16:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diff against ebuild (silvercity-0.9.7.ebuild.diff,1.01 KB, patch)
2011-02-21 12:11 UTC, MATSUI Tetsushi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUI Tetsushi 2011-02-21 12:06:49 UTC
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.
Comment 1 MATSUI Tetsushi 2011-02-21 12:11:51 UTC
Created attachment 263265 [details, diff]
diff against ebuild

This just moves a dosed from src_install to src_prepare.
Comment 2 Fabian Groffen gentoo-dev 2011-02-21 13:19:10 UTC
@web-apps: do you have any problems with the patch proposed?
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-02-21 16:07:53 UTC
Fixed.