[Build-common-hackers] Bug#318295: cdbs: dpatch apply-all called twice

Peter Eisentraut Peter Eisentraut <peter_e@gmx.net>, 318295@bugs.debian.org
Thu Jul 14 14:50:16 UTC 2005


Package: cdbs
Version: 0.4.32
Severity: normal

In my package apt-rpm, which has a quite simple debian/rules:

"""
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/dpatch.mk

DEB_CONFIGURE_EXTRA_FLAGS := --disable-dependency-tracking --disable-libtool-lock
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
DEB_DH_SHLIBDEPS_ARGS := -L libapt-rpm-pkg -l debian/libapt-rpm-pkg/usr/lib
DEB_INSTALL_DOCS_ALL :=

clean::
        rm -f po/*.gmo
        rm -rf debian/patched/

unpatch: deapply-dpatches
"""

the build log shows that dpatch apply-all is called twice, once in the build
target and once in the binary target.  That can't be good.  Of course, in the
binary target it's a bit too late, too.





More information about the Build-common-hackers mailing list