Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142087 - /usr/bin/xml2po uses wrong python in #! line
Summary: /usr/bin/xml2po uses wrong python in #! line
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-29 07:37 UTC by Frank Lomax
Modified: 2006-07-29 08:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Lomax 2006-07-29 07:37:16 UTC
/usr/bin/xml2po is part of gnome-doc-utils.  The first line of this script says

#!/usr/local/bin/python

This is broken because the system may have a /usr/local/bin/python that is not controlled by Gentoo and does not have libxml2 installed.  Instead the #! line should use /usr/bin/python to ensure that the Gentoo controlled Python installation is used.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-29 08:37:10 UTC
Not here...

# head /usr/bin/xml2po

#!/usr/bin/python
# Copyright (c) 2004 Danilo Segan <danilo@kvota.net>.
#
# This file is part of xml2po.
#
# xml2po is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#

# equery b /usr/bin/xml2po
[ Searching for file(s) /usr/bin/xml2po in *... ]
app-text/gnome-doc-utils-0.6.1 (/usr/bin/xml2po)