the script uses python3 interpreter instead of python2 so postinstall of mail-mta/netqmail fails. >>> Installing (9 of 10) mail-mta/netqmail-1.06 * >>> SetUID: [chmod go-r] /var/qmail/bin/qmail-queue ... [ ok ] * Setting up the message queue hierarchy File "/usr/bin/queue-repair.py", line 69 'queue' : ('qmailq', 'qmail', 0750, 0), ^ SyntaxError: invalid token
Almost 3 years later this bug still remains... qmail-repair needs to be modified for > python 2.x or set to only use that version of python and no other. Thanks!
The move to python 3 as the default makes this more of an issue. https://www.gentoo.org/support/news-items/2015-07-25-python-targets.html
Created attachment 426266 [details, diff] queue-repair-0.9.0-python3.patch The attached patch fixes the Python 3 issues so the script is compatible with both Python 2 and 3.
*** This bug has been marked as a duplicate of bug 405899 ***