[ET Trac] [Einstein Toolkit] #1253: Cactus should not pass its makefile options to make commands

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Feb 11 23:11:26 CST 2013


#1253: Cactus should not pass its makefile options to make commands
--------------------+-------------------------------------------------------
 Reporter:  rhaas   |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  minor   |   Milestone:     
Component:  Cactus  |     Version:     
 Keywords:          |  
--------------------+-------------------------------------------------------
 The Cactus make file supports a couple of options that are specified as
 options on the command line (from option lists etc). make currently
 exports these as shell environment variables to the sub-makes (which is
 fine) and also to any executed command (which can cause problems).

 There are some options that are directly used by the make file:
 * options (ie. used to specify and options list)
 * PROMPT
 * SILENT
 * VERBOSE

 OpenSSL's config script (contains a bug/or uses the same mechanism) and
 will interpret "options" as an option of its own. This is not visible when
 using simfactory it seems the reason is that simfactory first creates a
 configuration via
 {{{
 echo yes | make sim-config options=optionlist.cfg
 }}}
 then build and configures the thorns in a second step via a
 {{{
 make sim
 }}}

 Using however
 {{{
 make sim-config options=optionlist.cfg PROMPT=no
 }}}
 yields an error message from OpenSSL's config script
 {{{
 OpenSSL: Configuring...
 Operating system: x86_64-whatever-linux2
 Configuring for linux-x86_64
 target already defined - linux-x86_64 (offending arg:
 simfactory/mdb/optionlists/bethe.cfg)
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1253>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list