Created attachment 135264 [details] Reproducer document. Steps to reproduce: 1) Open the attached ODT file in Writer. 2) Export as .epub 3) Use 'unzip -l test.epub' to list its file list. Expected: output contains no warnings. Actual: output is: warning [test.epub]: 2546 extra bytes at beginning or within zipfile
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=570d7f9c9f5befdb84e213916036a2b9c7321259 tdf#111481 package: seek to 0 before truncate() It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I guess till this only affects the EPUB export, it makes little sense to backport this.