<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-05-13 8:20 GMT+02:00 Timotheus Pokorra <span dir="ltr"><<a href="mailto:timotheus@pokorra.de" target="_blank">timotheus@pokorra.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">>> My guess is that dpkg-source is doing some kind of strange magic to ensure<br>
>> the "php textfile" is in the right format or ends with a newline whatever.<br>
><br>
> There's also the [ 59s] running debian transformer... step in<br>
> <a href="https://obs.kolabsys.com/package/live_build_log/home:timotheus:branches:Kolab:Development/composer/Debian_8.0/i586" target="_blank">https://obs.kolabsys.com/package/live_build_log/home:timotheus:branches:Kolab:Development/composer/Debian_8.0/i586</a><br>
> build log . I think this is also where the newline might get added, but<br>
> perhaps you're right and OBS (ab?)use of dpkg-source is the reason.<br>
</span>The source of debian_transformer is here:<br>
<a href="https://github.com/openSUSE/obs-build/blob/master/debtransform" target="_blank">https://github.com/openSUSE/obs-build/blob/master/debtransform</a><br>
On first sight, I cannot see where the byte is added.<span class=""><br></span></blockquote><div><br>I ran debtransform locally and it seems to be the cuplrit:<br><br></div><div>~/composer$ md5sum debian/composer.phar<br>4678f9f648f2fb2348097ebf4bbde229 debian/composer.phar<br>~/composer$ ./debtransform . composer.dsc ../composer.new<br>debtransform: . composer.dsc ../composer.new<br>~/composer$ cd ../composer.new/<br>~/composer.new$ zcat composer_1.0.0-0.4.diff.gz | patch -p1<br>patching file debian/bzr-builder.manifest<br>[...]<br>patching file debian/composer.phar<br>[...]<br>~/composer.new$ md5sum debian/composer.phar<br>261fd5bf293a2e1ff1d7ba9db9dd388a debian/composer.phar<br><br></div><div>I think patch command is responsible for the newline (well, it's a binary file, not sure how Debian manages those inside a source package)<br><br></div><div>Regards,<br><br><br></div><div>Mateusz.<br></div></div></div></div>