Your message dated Mon, 4 Aug 2014 20:16:23 +0900
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-source: support quilt style -p options
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 Raphael,

thanks for your answer.

On Mon, 04 Aug 2014, Raphael Hertzog wrote:
> Standardization. As you say it's a convenience feature that just makes it
> more complicated to everybody else that righfully expects -p1 patches.

What does *rightfully* mean?

The source format is called "3.0 (quilt)", right?
That includes the *reasonable* assumption that it is quilt-compatible.

There is no rightfully or wrongfully.

If you call it "quilt" something, then it should be quilt compatible,
otherwise, please don't name it like this. THis is what is called a lie!

You know the game about Internet Explorer and HTML/CSS standards
and calling itself "conforming" etc etc ... are we playing the same 
game in dpkg?

> You can just add "&& quilt refresh -p ab" at the end of your command
> sequence.

Sure I can.

> Isn't that enough to address your need? If yes, please close that bug
> because I don't believe that it's a good feature to add to dpkg-source.

I close it, because I just don't want another fight. But record
my opinion that this is wrong-doing by Debian or dpkg, to call something
"..foobar quilt .." and then not supporting quilt.

Next time I create a shell script called "latex" which does
nothing else but "exit 0". And put in the man page: "Sorry, not all
the features of latex are supported ..."

Hmmmm, not good.

Anyway, closing this bug, as I seem to be on a lone front here.

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

--- End Message ---

Reply via email to