[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#561401: heimdal: FTBFS: Uses quilt in debian/rules, patches fail to apply.



Hello Debian-Devel!

See bug #561401.

The reporter suggests that the problem is because I use quilt in debian/rules,
however I was under the impression removing quilt stuff was optional, from
<http://lists.debian.org/debian-devel-announce/2009/11/msg00003.html>:

"You can remove everything related to quilt in debian/rules (patch/unpatch
logic, cleanup of quilt stamp file and its .pc directory)."

When I built the package it built fine, maybe the auto build environment is
broken?


>From the build log I see:

if [ -d "." ]; then \
      cd . && QUILT_PATCHES=/build/buildd/heimdal-1.3.1.dfsg.1/debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \
    fi
No patch removed

...


cd . && QUILT_PATCHES=/build/buildd/heimdal-1.3.1.dfsg.1/debian/patches quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch 011_sharedlibs
patching file tools/krb5-config.in
Hunk #1 FAILED at 135.
1 out of 1 hunk FAILED -- rejects in file tools/krb5-config.in
Patch 011_sharedlibs can be reverse-applied

...


This seems wrong. Why did the quilt pop command fail to remove the patches?


Thanks
-- 
Brian May <bam@snoopy.debian.net>


Reply to: