[MacPorts] #18001: autobench-2.1.1 First run fails due to misplaced config file

MacPorts noreply at macports.org
Thu Jan 15 16:29:00 PST 2009


#18001: autobench-2.1.1 First run fails due to misplaced config file
---------------------------------------+------------------------------------
  Reporter:  matthew.j.good@…          |       Owner:  macports-tickets@…                   
      Type:  defect                    |      Status:  closed                               
  Priority:  Normal                    |   Milestone:  Port Bugs                            
 Component:  ports                     |     Version:  1.7.0                                
Resolution:  fixed                     |    Keywords:                                       
      Port:  autobench                 |  
---------------------------------------+------------------------------------

Old description:

> The ports package (or is it autobench?) thinks the .autobench.conf file
> is in the wrong directory.  Observer... upon running autobench for the
> first time:
> $ autobench
> Autobench configuration file not found
>  - installing new copy in /Users/mgood/.autobench.conf
> cp:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_autobench/work/destroot/opt/local/etc/autobench.conf:
> No such file or directory
> Installation complete - please rerun autobench
>
> However, because the .autobench.conf file wasn't found, rerunning
> autobench causes the same error message.
>
> My Workaround:
> I manually copied the .autobench.conf file from the actual source
> location:
> cp
> /opt/local/var/macports/software/autobench/2.1.2_0/opt/local/etc/autobench.conf
> ~/.autobench.conf
>
> The workaround seems just fine... but DarwinPorts/MacPorts/autobench
> should have known originally where the .autobench.conf file was during
> the setup script.

New description:

 The ports package (or is it autobench?) thinks the .autobench.conf file is
 in the wrong directory.  Observer... upon running autobench for the first
 time:
 {{{
 $ autobench
 Autobench configuration file not found
  - installing new copy in /Users/mgood/.autobench.conf
 cp:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_autobench/work/destroot/opt/local/etc/autobench.conf:
 No such file or directory
 Installation complete - please rerun autobench
 }}}

 However, because the .autobench.conf file wasn't found, rerunning
 autobench causes the same error message.

 My Workaround:
 I manually copied the .autobench.conf file from the actual source
 location:
 {{{
 cp
 /opt/local/var/macports/software/autobench/2.1.2_0/opt/local/etc/autobench.conf
 ~/.autobench.conf
 }}}

 The workaround seems just fine... but DarwinPorts/MacPorts/autobench
 should have known originally where the .autobench.conf file was during the
 setup script.

--

Comment(by ryandesign@…):

 Matthew, please remember WikiFormatting. :)

 Toby, please remember to increase the revision when you make a change that
 causes the installed software to be different. I did so this time for you
 in r45431.

-- 
Ticket URL: <http://trac.macports.org/ticket/18001#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list