Package: dpkg-dev
Version: 1.15.7.2
Severity: minor

Wierd things happen if debian/patches/series doesn't end with a newline character:

$ dget http://people.debian.org/~hertzog/packages/debsrc3.0/sample2_1.0-1.dsc
[snip]

$ dpkg-source -x sample2_1.0-1.dsc
dpkg-source: warning: extracting unsigned source package (sample2_1.0-1.dsc)
dpkg-source: info: extracting sample2 in sample2-1.0
dpkg-source: info: unpacking sample2_1.0.orig.tar.bz2
dpkg-source: info: unpacking sample2_1.0-1.debian.tar.bz2
dpkg-source: info: applying change-something
dpkg-source: info: applying debian-changes-1.0-1

$ cd sample2-1.0/

$ quilt pop
Removing patch debian-changes-1.0-1
Restoring upstream/README

$ echo -n change-something > debian/patches/series

$ echo something else > upstream/README

$ dpkg-buildpackage -S -us -uc
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package sample2
dpkg-buildpackage: source version 1.0-1
dpkg-buildpackage: source changed by Raphael Hertzog <hert...@debian.org>
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b sample2-1.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building sample2 using existing ./sample2_1.0.orig.tar.bz2
dpkg-source: info: local changes stored in 
sample2-1.0/debian/patches/debian-changes-1.0-1, the modified files are:
 sample2-1.0/upstream/README
dpkg-source: info: building sample2 in sample2_1.0-1.debian.tar.gz
dpkg-source: info: building sample2 in sample2_1.0-1.dsc
 dpkg-genchanges -S >../sample2_1.0-1_source.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)

$ cat debian/patches/series
change-somethingdebian-changes-1.0-1


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files        5.6                    Debian base system miscellaneous f
ii  binutils          2.20.51.20100527-1     The GNU assembler, linker and bina
ii  bzip2             1.0.5-4                high-quality block-sorting file co
ii  libdpkg-perl      1.15.7.2               Dpkg perl modules
ii  make              3.81-8                 An utility for Directing compilati
ii  patch             2.6-2                  Apply a diff file to an original
ii  xz-utils          4.999.9beta+20100527-1 XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential               11.5       Informational list of build-essent
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  gcc [c-compiler]              4:4.4.4-1  The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.5-1    The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.4-3    The GNU C compiler
ii  gcc-4.5 [c-compiler]          4.5.0-4    The GNU C compiler
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.10-4   GNU privacy guard - signature veri
pn  libalgorithm-merge-perl       <none>     (no description available)
ii  tcc [c-compiler]              0.9.25-3   the smallest ANSI C compiler

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2010.03.31 GnuPG (and obsolete PGP) keys of D

-- no debconf information

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to