Debian Bug report logs - #425285
set: 8: Illegal option -o pipefail

version graph

Package: dpatch; Maintainer for dpatch is Gergely Nagy <algernon@madhouse-project.org>; Source for dpatch is src:dpatch (PTS, buildd, popcon).

Reported by: Michael Biebl <biebl@debian.org>

Date: Sun, 20 May 2007 16:48:02 UTC

Severity: important

Merged with 425235, 425966, 427068

Found in version 2.0.24

Fixed in versions 2.0.25, dpatch/2.0.25

Done: Junichi Uekawa <dancer@netfort.gr.jp>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dpatch Maintainers <dpatch-maintainers@lists.alioth.debian.org>:
Bug#425285; Package dpatch. (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
New Bug report received and forwarded. Copy sent to Dpatch Maintainers <dpatch-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: set: 8: Illegal option -o pipefail
Date: Sun, 20 May 2007 18:39:47 +0200
Package: dpatch
Version: 2.0.23
Severity: important

I've been using dpatch successfully in one my packages via
include /usr/share/dpatch/dpatch.make
in debian/rules.

Unfortunately since some time, the invocation of the patch/unpatch
target fails with the following message:

dpatch  deapply-all  
set: 8: Illegal option -o pipefail
make: *** [unpatch] Error 2

Cheers,
Michael

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

Kernel: Linux 2.6.21.1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

dpatch depends on no packages.

Versions of packages dpatch recommends:
ii  dpkg-dev                      1.14.3     package building tools for Debian
ii  fakeroot                      1.7.1      Gives a fake root environment
ii  patchutils                    0.2.31-4   Utilities to work with patches

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Dpatch Maintainers <dpatch-maintainers@lists.alioth.debian.org>:
Bug#425285; Package dpatch. (full text, mbox, link).


Acknowledgement sent to "Trent Buck" <trentbuck@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dpatch Maintainers <dpatch-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 425285@bugs.debian.org (full text, mbox, reply):

From: "Trent Buck" <trentbuck@gmail.com>
To: Debian Bug Tracking System <425285@bugs.debian.org>
Subject: This bug is due to a bashism
Date: Mon, 21 May 2007 13:53:11 +1000
Package: dpatch
Version: 2.0.23
Followup-For: Bug #425285

The following is a minimal transcript:

| $ readlink /bin/sh
| dash
| $ dpatch --help
| set: 8: Illegal option -o pipefail
| $ sed -n '1p;8p' /usr/bin/dpatch
| #! /bin/sh
| set -o pipefail

One of the two lines from dpatch shown above must be changed, per 10.4
of the Policy manual from debian-policy=3.7.2.2:

|    Thus, shell scripts specifying `/bin/sh' as interpreter must only
| use POSIX features.  If a script requires non-POSIX features from
| the shell interpreter, the appropriate shell must be specified in
| the first line of the script (e.g., `#!/bin/bash') and the package
| must depend on the package providing the shell (unless the shell
| package is marked "Essential", as in the case of `bash').



Merged 425235 425285. Request was from Arjan Oosting <arjan@debian.org> to control@bugs.debian.org. (Mon, 28 May 2007 02:24:05 GMT) (full text, mbox, link).


Reply sent to Arjan Oosting <arjan@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Michael Biebl <biebl@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #17 received at 425285-done@bugs.debian.org (full text, mbox, reply):

From: Arjan Oosting <arjan@debian.org>
To: 425235-done@bugs.debian.org, 425285-done@bugs.debian.org
Subject: Duplicate bugreport of 425966. Fixed in version 2.0.25
Date: Mon, 28 May 2007 04:24:50 +0200
[Message part 1 (text/plain, inline)]
Version: 2.0.25

Hi,

This bugreport is a duplicate of bugreport 425966 and was fixed in
version 2.0.25:

dpatch (2.0.25) unstable; urgency=low
 .
   * specify dpatch command to use bash, to use 'set -o pipefail', for
     users who are using dash as their /bin/sh.
      (Closes: #425966).


Greetings Arjan
[signature.asc (application/pgp-signature, inline)]

Reply sent to Arjan Oosting <arjan@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Arjan Oosting <arjan@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Severity set to `serious' from `important' Request was from Arjan Oosting <arjan@debian.org> to control@bugs.debian.org. (Mon, 28 May 2007 02:27:14 GMT) (full text, mbox, link).


Severity set to `serious' from `serious' Request was from Arjan Oosting <arjan@debian.org> to control@bugs.debian.org. (Mon, 28 May 2007 02:27:15 GMT) (full text, mbox, link).


Merged 425235 425285 425966. Request was from Arjan Oosting <arjan@debian.org> to control@bugs.debian.org. (Mon, 28 May 2007 02:27:20 GMT) (full text, mbox, link).


Forcibly Merged 425235 425285 425966 427068. Request was from Junichi Uekawa <dancer@netfort.gr.jp> to control@bugs.debian.org. (Mon, 04 Jun 2007 10:15:16 GMT) (full text, mbox, link).


Bug marked as not found in version 2.0.23. Request was from Junichi Uekawa <dancer@netfort.gr.jp> to control@bugs.debian.org. (Mon, 04 Jun 2007 10:15:27 GMT) (full text, mbox, link).


Bug marked as found in version 2.0.24. Request was from Junichi Uekawa <dancer@netfort.gr.jp> to control@bugs.debian.org. (Mon, 04 Jun 2007 10:15:38 GMT) (full text, mbox, link).


Bug marked as fixed in version 2.0.25, send any further explanations to Jari Aalto <jari.aalto@cante.net> Request was from Junichi Uekawa <dancer@netfort.gr.jp> to control@bugs.debian.org. (Mon, 04 Jun 2007 10:15:50 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 03 Jul 2007 07:30:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 07:32:31 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.