Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468742 - sys-cluster/moosefs - mfscgiserv requires RDEPEND on dev-lang/python:2
Summary: sys-cluster/moosefs - mfscgiserv requires RDEPEND on dev-lang/python:2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-06 09:18 UTC by Marcin Grabowski
Modified: 2013-06-07 10:39 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 Marcin Grabowski 2013-05-06 09:18:44 UTC
When /usr/bin/python defaults to python 3+, running mfscgiserv results in syntax error:
File "/usr/sbin/mfscgiserv", line 242
if (fstatdata.st_mode & 0170000) == 0040000: # directory
^
SyntaxError: invalid token

A fix for now would be to change the shebang from /usr/bin/python to /usr/bin/python2

SourceForge bug report:
http://sourceforge.net/tracker/?func=detail&aid=3612753&group_id=228631&atid=1075719
Comment 1 Marcin Grabowski 2013-05-06 10:37:46 UTC
Unfortunately, the tick pointing to the error location was misplaced; it should point to the token of 0170000
Comment 2 Ultrabug gentoo-dev 2013-06-07 10:39:33 UTC
Hi Marcin, thanks for reporting and for your patience

It's fixed in tree and I bumped the new version ;)

+*moosefs-1.6.27 (07 Jun 2013)
+*moosefs-1.6.26-r1 (07 Jun 2013)
+
+  07 Jun 2013; Ultrabug <ultrabug@gentoo.org> -moosefs-1.6.25.ebuild,
+  -moosefs-1.6.26.ebuild, +moosefs-1.6.26-r1.ebuild, +moosefs-1.6.27.ebuild,
+  -files/mfs.initd, -files/mfscgiserver.initd:
+  version bump, fix #468742 thx to Marcin Grabowski, drop old
+

Cheers