[Python-modules-team] Bug#824879: elasticsearch-curator debian/patches/ causing build problems.

Apollon Oikonomopoulos apoikos at debian.org
Mon May 23 17:52:07 UTC 2016


Control: tags -1 moreinfo

Hi Zach,

On 17:29 Fri 20 May     , Volchak, Zakhar (Zach) wrote:
> Package: elasticsearch-curator
> Version: 3.5.1-1
> 
>  When trying to build this package with "debuild -uc -us", it throws
> an error that is caused by the debian/patches/ of this version. Of
> what I understand, the patch is being applied in the previous
> version, but patches/ was not removed in the current version.
> Thus, when trying to build, dpkg-buildpackage is trying to apply
> patch that is already applied and throws an error.:
> 
> 
> dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
> dpkg-source: info: if patch 'setup.py-read-README-utf-8' is correctly applied by quilt, use 'quilt refresh' to update it
> dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/setup.py-read-README-utf-8/ --reject-file=- < source.orig.hFq4PZ/debian/patches/setup.py-read-README-utf-8 gave error exit status 1
> 
> Seems like removing debian/patches/ folder preserves the changes
> of the patch and is able to build successfully.  (running 'quilt refresh'
> didn't solve the problem)
> 
> I am using  "debuild 2.15.3" and "lintian v2.5.30+deb8u4"

I am unable to reproduce this. Running `apt-get source 
elasticsearch-curator` to obtain the source from unstable, I can see:

$ quilt push -a
Applying patch setup.py-read-README-utf-8
patching file setup.py

Now at patch setup.py-read-README-utf-8

The patch is current and it applies without fuzz. The source also builds 
properly on reproducible.debian.net[1], so I suspect there's something 
wrong with the sources you're using. Can you please double-check that 
you are using the correct sources?

Regards,
Apollon

[1] https://tests.reproducible-builds.org/rb-pkg/unstable/amd64/elasticsearch-curator



More information about the Python-modules-team mailing list