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
Unfortunately, the tick pointing to the error location was misplaced; it should point to the token of 0170000
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