[pkg-boost-devel] Bug#593522: Bug#593522: libboost-program-options1.42.0: Options parsing broken for long options with common root

Roger Leigh rleigh at codelibre.net
Thu Aug 19 08:29:15 UTC 2010


On Wed, Aug 18, 2010 at 09:40:43PM -0500, Steve M. Robbins wrote:
> On Wed, Aug 18, 2010 at 11:55:02PM +0100, Roger Leigh wrote:
> > Package: libboost-program-options1.42.0
> > Version: 1.42.0-4
> > Severity: important
> > 
> > Hi,
> > 
> > schroot (version 1.4.8-1 in unstable) has broken options parsing
> > due to what looks like a Boost regression.
> 
> Can you provide a minimal code example, together with
> expected and actual outputs?  I can pass it upstream.

Attached.  This is the output:

$ g++ -o test test.cc -lboost_program_options
$ ./test --all
all-source-chroots
$ ./test --all-chroots
all-chroots
$ ./test --all-sessions
all-sessions
$ ./test --all-source-chroots
all-source-chroots

so you can clearly see that --all is actually being treated by
boost_program_options as being --all-source-chroots.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cc
Type: text/x-c++src
Size: 1176 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20100819/da3d858a/attachment.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20100819/da3d858a/attachment.pgp>


More information about the pkg-boost-devel mailing list