linux - Adding a file in a quilt/dquilt patch: patch applies correctly by hand, but breaks debuild -


i trying add patch debian package (on amd64 machine running ubuntu 14.10 "trusty").

while troubleshooting issue, i've reduced patch 1 adds single file. (for sake of context, file modifies fluxbox package creates fluxbox-dbg file debugging symbols.)

i created patch following these steps:

  • (made sure had existing patches applied.)
  • quilt new add-dbg-package.patch
  • quilt add debian/rules.d/70-debug-symbols.mk
  • (created file contents wanted.)
  • quilt refresh

the patch seems fine:

  • with patches applied, file exists , has correct contents.
  • the patch contains delta adds complete contents of file, , nothing else.
  • no other patch references file.
  • when pop new patch, file removed; when push again, recreated.

however, when try rebuild package debuild, this:

the next patch create file debian/rules.d/70-debug-symbols.mk, exists!  skipping patch. 1 out of 1 hunk ignored dpkg-source: info: patch has fuzz not allowed, or malformed dpkg-source: info: if patch 'add-dbg-package.patch' correctly applied quilt, use 'quilt refresh' update 

if take advice, quilt tells me patch up-to-date (as seems be). quilt diff tells me there no changes.

as 1 thought: incorrect add quilt patches changes debian control files?

can me understand i've done offend debuild?

you should not add quilt patches on /debian/ files. patches code only. change debian/rules.d/70-debug-symbols.mk file , build package.

the debian/ubuntu policy says:

the program quilt offers basic method recording modifications *upstream source* debian packaging. 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -