From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WTpZO-0003OF-Ni for ptxdist@pengutronix.de; Sat, 29 Mar 2014 10:28:54 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1WTpZO-0006Mp-LK for ptxdist@pengutronix.de; Sat, 29 Mar 2014 10:28:54 +0100 Date: Sat, 29 Mar 2014 10:28:54 +0100 From: Michael Olbrich Message-ID: <20140329092854.GC10959@pengutronix.de> References: <2600638.TXFjk7YaMQ@ws-stein> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2600638.TXFjk7YaMQ@ws-stein> Subject: Re: [ptxdist] git ptx-patches fails Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Mar 27, 2014 at 08:16:15AM +0100, Alexander Stein wrote: > I tried to use git ptx-patches fromwithin a package and noticed it doesn't work. > I could track down the problem to this command (from scripts/git-ptx-patches): > > man git-format-patch | grep -q -e --notes > > Executing this command manually results in this error message: > > Error executing formatting or display command. > > System command (cd "/usr/share/man" && (echo ".pl 11i"; /bin/bzip2 -c -d '/usr/share/man/man1/git-format-patch.1.bz2') | /usr/bin/gtbl | /usr/bin/nroff -mandoc | less) exited with status 141. > > No manual entry for git-format-patch > > Interestingly executing > > (cd "/usr/share/man" && (echo ".pl 11i"; /bin/bzip2 -c -d '/usr/share/man/man1/git-format-patch.1.bz2') | /usr/bin/gtbl | /usr/bin/nroff -mandoc | less) | grep -q -e --notes > works as expected. I have no idea what's wrong here. Maybe this is caused by some aliases or interactive/non-ineractive magic. Does it help to replace "man git-format-patch" with "git format-patch --help" or "man -P cat git-format-patch"? Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de