Opened 16 years ago
Last modified 15 years ago
#18001 closed defect
autobench-2.1.1 First run fails due to misplaced config file — at Initial Version
Reported by: | matthew.j.good@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | autobench |
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.