Your message dated Mon, 4 Aug 2014 08:46:12 +0200
with message-id <[email protected]>
and subject line Re: Bug#756964: dpkg-dev: dpkg-source cannot handle -p2
addition in debian/patches
has caused the Debian Bug report #756964,
regarding dpkg-dev: dpkg-source cannot handle -p2 addition in debian/patches
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
756964: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756964
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.17.10
Severity: normal
Hi,
I have added a patch with
quilt import -p2 ....
and now in my debian/patches/series I have an entry
...
patch-name -p2
...
but this is not handled by dpkg-source:
...
dpkg-source: info: applying upstream-svn34711-avoid-compiler-warnings
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B
.pc/upstream-svn34711-avoid-compiler-warnings/ --reject-file=- <
texlive-bin-2014.20140528.34243/debian/patches/upstream-svn34711-avoid-compiler-warnings
gave error exit status 1
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
...
Is this incompatibility with quilt on purpose?
Thanks
Norbert
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-rc7+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg-dev depends on:
ii base-files 7.5
ii binutils 2.24.51.20140727-1
ii bzip2 1.0.6-7
ii libdpkg-perl 1.17.10
ii make 4.0-8
ii patch 2.7.1-5
ii xz-utils 5.1.1alpha+20120614-2
Versions of packages dpkg-dev recommends:
ii build-essential 11.6
ii fakeroot 1.20.1-1
ii gcc [c-compiler] 4:4.9.1-1
ii gcc-4.8 [c-compiler] 4.8.3-7
ii gcc-4.9 [c-compiler] 4.9.1-4
ii gnupg 1.4.18-2
ii gnupg2 2.0.25-1
ii gpgv 1.4.18-2
ii libalgorithm-merge-perl 0.08-2
Versions of packages dpkg-dev suggests:
ii debian-keyring 2014.04.25
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Norbert,
On Mon, 04 Aug 2014, Norbert Preining wrote:
> Is this incompatibility with quilt on purpose?
Yes.
$ man dpkg-source
[...]
Note however that while dpkg-source parses correctly series files with
explicit options used for patch application (stored on each line after
the patch filename and
one or more spaces), it does ignore those options and always
expect patches that can be
applied with the -p1 option of patch. It will thus emit a warning when
it encounters such
options, and the build is likely to fail.
[...]
--
Raphaël Hertzog ◈ Debian Developer
Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/
--- End Message ---