On Mon, 07 Aug 2017, Lucas Nussbaum wrote: > Hi,
> On 07/08/17 at 14:32 -0400, Yaroslav Halchenko wrote: > > severity 871371 important > > tags 871371 + unreproducible > > thanks > > Ran rebuild which succeeded just fine on up to date sid for both amd64 > > and i386 (binary only) > > Would need to be able to reproduce to figure out WTF > I could reproduce it using sbuild (on a different setup). > The root cause is that you use help2man to generate manpages, but > help2man expects both --help and --version to work. And > 'run-singularity --version' doesn't work: > $ run-singularity --version > ERROR: Unknown option: --version > That shows in the manpage for run-singularity, that contains garbage as > version number (see man run-singularity | tail -1). This garbage comes > from a call to tput to colorize the error message. > For some reason, this triggers a build failure in sbuild, but not when I > run debian/generate_manpages manually. help2man does some magic with the > output of 'command --version', which I did not fully understand due to > my limited perl-fu. The relevant code is: Hi Lucas, Thank you very much for taking time and digging into this issue. I am still puzzled why it didn't fail for me in cowbuilder but for in sbuild and my perl foo also ... non-existent also running locally help2man /usr/bin/run-singularity >/tmp/1.1 runs just fine without crashing/complaints, and indeed generated manpage lacks version info (well - contains some garbled probably ansi formatting symbols)... anyways (although still interested in the answer to "why" ;) ) I will adjust the script to consume version from the debian/changelog -- this way even debian revision would be listed in the version. Thank you for the report and the investigation ;) -- Yaroslav O. Halchenko Center for Open Neuroscience http://centerforopenneuroscience.org Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik
signature.asc
Description: PGP signature