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

Re: dquilt debuild problem



Hi João,

I haven't used dquilt in a while (its use has rapidly decrease since
source format 3) but have you checked that refreshing with plain quilt
(without the d) solves the issue? To understand the issue, you may even
compare the patch file before and after quilt refresh to see what has
changed.

Paul

On 22-04-15 03:29, João Vanzuita wrote:
> Hi guys,
> 
> I'm trying to package this "hello world", it's the 1st revision and I
> made a patch for it. When I use debuild I get an error message. The
> steps I did and the error message is bellow, can you help me ?
> 
> root@home:~/pkgs/hello-0.1# rm debian/patches/ -r
> root@home:~/pkgs/hello-0.1# dquilt import ../add_copyright_to_upstream
> Importing patch ../add_copyright_to_upstream (stored as
> add_copyright_to_upstream)root@home:~/pkgs/hello-0.1# dquilt top No
> patches applied root@home:~/pkgs/hello-0.1# dquilt push Applying patch
> add_copyright_to_upstream patching file hello_world.c Now at patch
> add_copyright_to_upstream root@home:~/pkgs/hello-0.1# dquilt top
> add_copyright_to_upstream root@home:~/pkgs/hello-0.1# dquilt pop -a
> Removing patch add_copyright_to_upstream Restoring hello_world.c No
> patches applied root@home:~/pkgs/hello-0.1# while dquilt push; do dquilt
> refresh; doneApplying patch add_copyright_to_upstream patching file
> hello_world.c Now at patch add_copyright_to_upstream Refreshed patch
> add_copyright_to_upstream File series fully applied, ends at patch
> add_copyright_to_upstream ###root@home:~/pkgs/hello-0.1# debuild
> dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: warning:
> using a gain-root-command while being root dpkg-buildpackage: source
> package hello dpkg-buildpackage: source version 0.1-1 dpkg-buildpackage:
> source distribution unstable dpkg-buildpackage: source changed by Joao
> Vanzuita <joaovanzuita@me.com> dpkg-source --before-build hello-0.1
> dpkg-buildpackage: host architecture i386 fakeroot debian/rules clean dh
> clean dh_testdir dh_auto_clean make[1]: Entering directory
> '/root/pkgs/hello-0.1'rm -f *.o hello_world make[1]: Leaving directory
> '/root/pkgs/hello-0.1'dh_clean dpkg-source -b hello-0.1 dpkg-source:
> info: using source format `3.0 (quilt)'dpkg-source: info: building hello
> using existing ./hello_0.1.orig.tar.gzpatching file hello_world.cHunk #1
> FAILED at 1.1 out of 1 hunk FAILEDdpkg-source: info: the patch has fuzz
> which is not allowed, or is malformeddpkg-source: info: if patch
> 'add_copyright_to_upstream' 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/add_copyright_to_upstream/ --reject-file=-
> < hello-0.1.orig.VOGEM5/debian/patches/add_copyright_to_upstream gave
> error exit status 1 dpkg-buildpackage: error: dpkg-source -b hello-0.1
> gave error exit status 2 debuild: fatal error at line 1376:
> dpkg-buildpackage -rfakeroot -D -us -uc failed root@home:~/pkgs/hello-0.1#

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: