Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265384 - dev-python/pychecker-0.8.18 - wrong path in /usr/bin/pychecker
Summary: dev-python/pychecker-0.8.18 - wrong path in /usr/bin/pychecker
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 259945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-07 22:00 UTC by René 'Necoro' Neumann
Modified: 2009-07-17 16:39 UTC (History)
2 users (show)

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


Attachments
pychecker-0.8.18-fix-package_path.patch (pychecker-0.8.18-fix-package_path.patch,574 bytes, patch)
2009-04-07 22:32 UTC, René 'Necoro' Neumann
Details | Diff
pychecker-0.8.18.ebuild.diff (pychecker-0.8.18.ebuild.diff,502 bytes, patch)
2009-04-07 22:34 UTC, René 'Necoro' Neumann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2009-04-07 22:00:46 UTC
/usr/bin/pychecker states:

/usr/bin/python usr/lib/python2.6/site-packages/pychecker/checker.py "$@"

As one can see: The leading / is missing :)
Comment 1 René 'Necoro' Neumann 2009-04-07 22:32:26 UTC
Created attachment 187649 [details, diff]
pychecker-0.8.18-fix-package_path.patch

In this version pychecker tries to determine automatically, when it is installed into a temporary directory by a package manager. But this method is buggy - it removes one slash too much.

This patch fixes it
Comment 2 René 'Necoro' Neumann 2009-04-07 22:34:10 UTC
Created attachment 187650 [details, diff]
pychecker-0.8.18.ebuild.diff

The patch for the ebuild.

Note that I also removed the sed-line (and therefore the complete src_install function), as pychecker handles this now by itself (which produced the bug as noted above)
Comment 3 Martin Mokrejš 2009-04-11 20:56:54 UTC
Works, thanks.
Comment 4 Sebastian Pipping gentoo-dev 2009-07-14 01:55:34 UTC
Can someone push this to the main tree, please?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-17 16:39:15 UTC
*** Bug 259945 has been marked as a duplicate of this bug. ***
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-17 16:39:53 UTC
Fixed.