Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308717 - [PATCH] dev-java/ant-core-1.8.0-r1 fails in install_qa_check_prefix() due to DOS line endings
Summary: [PATCH] dev-java/ant-core-1.8.0-r1 fails in install_qa_check_prefix() due to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 20:00 UTC by Stefan Hoelldampf
Modified: 2012-05-30 11:22 UTC (History)
0 users

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


Attachments
ant-core.patch (ant-core.patch,428 bytes, patch)
2010-03-09 20:03 UTC, Stefan Hoelldampf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Hoelldampf 2010-03-09 20:00:43 UTC
Emerging dev-java/ant-core-1.8.0-r1 fails in install_qa_check_prefix() due to DOS line endings within the file src/script/runant.py, its shebang can not be prefixed.
Comment 1 Stefan Hoelldampf 2010-03-09 20:03:44 UTC
Created attachment 222893 [details, diff]
ant-core.patch

Fixed by running edos2unix() on src/script/runant.py, this also makes the script directly executable again.
Comment 2 Fabian Groffen gentoo-dev 2010-03-09 20:21:37 UTC
Please upgrade to portage 2.2.00.15801, it will properly deal with it.

I leave it to the Java team to decide whether they want to fix the line endings of this file.
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2012-05-30 11:22:26 UTC
Probably only makes sense to fix it upstream, carrying around a patch for something that isn't actually broken isn't feasible.

Thanks for the report and the fix in Portage.