Skip to content

#435 autogen thinks that space in dune.module are mandatory

Metadata

Property Value
Reported by Markus Blatt (markus@dr-blatt.de)
Reported at Oct 6, 2008 16:25
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Last edited at Oct 6, 2008 20:02
Closed by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Closed at Oct 6, 2008 20:02
Closed in version Unknown
Resolution Fixed
Comment

Description

With revision 5295 spaces after the colon in dune.module silently became mandatory. Running dunecontrol autogen with a dune.module line like

Module:dune-without-space

fails with:

--- calling autogen for dune-richards --- Found am directory /home/mblatt/dune/trunk/dune-common/am --> libtoolize... Remember to add AC_PROG_LIBTOOL' to configure.ac'. --> Usage: dunecontrol [OPTIONS] COMMANDS [COMMAND-OPTIONS]

Execute COMMANDS for all Dune modules found. All entries in the DUNE_CONTROL_PATH variable are scanned recursively for Dune modules. If DUNE_CONTROL_PATH is empty, the current directory is scanned. Dependencies are controlled by the dune.module files.

OPTIONS: -h, --help show this help --debug enable debug output of this script --module=mod only apply the actions on module mod and all modules it depends on --only=mod only apply the actions on module mod and not the modules it depends on --current only apply the actions on the current module, the one in whichs source tree we are standing --opts=FILE load default options from FILE (see dune-common/doc/example.opts) --[COMMAND]-opts=opts set options for COMMAND (this is mainly useful for the all COMMAND) COMMANDS: Colon seperated list of commands. Availabel commands are: help' guess what :-) print' print the list of modules sorted after their dependencies update' updated all modules from the repository autogen' run the autogen.sh script for each module configure' run configure for each module make' run make for each module all' run 'autogen', 'configure' and 'make' command for each module exec' execute an arbitrary command in each module directory status' show vc status for all modules svn' run svn command for each svn managed module export' run eval dunecontrol export` to save the list of dune.module files to the DUNE_CONTROL_PATH variable

ERROR: Parameter for --only is missing

Execution of dunecontrol terminated due to errors! --- Failed to build dune-richards --- Execution of dunecontrol terminated due to errors!

IMHO this is changed behaviour and therefore considered a bug.

Added spaces after the colons fixed the problem