Somehow, the file PackagingLog.txt got added to the list of additional files specified in the .prj file. Deleting it through the deploytool GUI solved the problem.
I still don't know where the file came from, however. It got mysteriously included in the project after I aborted a previous build.