Bug#705730: git-buildpackage: xz: unrecognized option --robot (SOLVED)
On Fri, 19 Apr 2013 12:06:51 +0200 Guido =?iso-8859-1?Q?G=FCnther?=wrote: > On Fri, Apr 19, 2013 at 12:09:53PM +0300, jari wrote: > > Due to PATH, it appears that the "xz" used was not the correct one: > > > > $ type xz > > /usr/local/bin/xz > > > > $ /usr/local/bin/xz --version > > xz 4.999.8beta > > liblzma 4.999.8beta > > > > $ /usr/bin/xz --version > > xz (XZ Utils) 5.1.0alpha > > liblzma 5.1.0alpha > > > > I've removed > > > > /usr/local/bin/xz > > > > And git-buildpackage works. > > > > Still, it might be a good idea to catch the xz(1) "unrecognized > > option" condition and act accordingly to display something like: > > > > ERROR: probably incorrect version of xz. Please check. Well, that is what dependencies are for. AFAICT --robot was added in xz 5.0, I will make the Recommends: reflect that. signature.asc Description: PGP signature
Bug#705730: git-buildpackage: xz: unrecognized option --robot (SOLVED)
Due to PATH, it appears that the xz used was not the correct one: $ type xz /usr/local/bin/xz $ /usr/local/bin/xz --version xz 4.999.8beta liblzma 4.999.8beta $ /usr/bin/xz --version xz (XZ Utils) 5.1.0alpha liblzma 5.1.0alpha I've removed /usr/local/bin/xz And git-buildpackage works. Still, it might be a good idea to catch the xz(1) unrecognized option condition and act accordingly to display something like: ERROR: probably incorrect version of xz. Please check. Jari -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#705730: git-buildpackage: xz: unrecognized option --robot (SOLVED)
On Fri, Apr 19, 2013 at 12:09:53PM +0300, jari wrote: Due to PATH, it appears that the xz used was not the correct one: $ type xz /usr/local/bin/xz $ /usr/local/bin/xz --version xz 4.999.8beta liblzma 4.999.8beta $ /usr/bin/xz --version xz (XZ Utils) 5.1.0alpha liblzma 5.1.0alpha I've removed /usr/local/bin/xz And git-buildpackage works. Still, it might be a good idea to catch the xz(1) unrecognized option condition and act accordingly to display something like: ERROR: probably incorrect version of xz. Please check. But that would be pristine-tar's job then. Care to reassign? Cheers, -- Guido Jari -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org