acprep fail - OS X 10.7.4

29 views
Skip to first unread message

ed

unread,
Jun 9, 2012, 4:59:30 AM6/9/12
to Ledger
Updated yesterday:
./acprep update -- --prefix=/usr/local
....
acprep: ERROR: Caught exception
Traceback (most recent call last):
File "./acprep", line 205, in run
exit_code = self.main(*main_args)
File "./acprep", line 342, in main
PrepareBuild.__dict__['phase_' + cmd](self, *args)
File "./acprep", line 938, in phase_update
self.phase_make(*args)
File "./acprep", line 919, in phase_make
self.phase_config(*config_args)
File "./acprep", line 888, in phase_config
self.phase_configure(*args)
File "./acprep", line 856, in phase_configure
environ, conf_args = self.configure_environment()
File "./acprep", line 814, in configure_environment
if self.build_directory() == self.source_dir:
File "./acprep", line 416, in build_directory
self.options.build_dir = join(self.products_directory(),
File "./acprep", line 402, in products_directory
if not self.options.products_dir:
AttributeError: Values instance has no attribute 'products_dir'

ed

unread,
Jun 9, 2012, 5:01:07 AM6/9/12
to Ledger
Python 2.7.1

Craig Earls

unread,
Jun 9, 2012, 12:49:50 PM6/9/12
to ledge...@googlegroups.com
I am seeing the same error, same configuration.

On Sat, Jun 9, 2012 at 2:01 AM, ed <ed.te...@gmail.com> wrote:
> Python 2.7.1



--
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

thierry

unread,
Jun 10, 2012, 8:47:08 AM6/10/12
to ledge...@googlegroups.com
same error here

$ python --version
Python 2.7.2+
$ lsb_release --description
Description:    Linux Mint Debian Edition


On Saturday, June 9, 2012 6:49:50 PM UTC+2, enderw88 wrote:
I am seeing the same error, same configuration.

thierry

unread,
Jun 10, 2012, 10:54:04 AM6/10/12
to ledge...@googlegroups.com
The patch attached solved partially the issue.
What I mean with partially is that:
- the build with acprep does not fail anymore
- BUT, there is something broken somewhere, as the "--local" acprep option is not honoured. This option is default, so the build should take place in source directory. Now, the directory $SOURCE/build is created, and build occurs in that directory.  --> I submitted bug 775 http://bugs.ledger-cli.org/show_bug.cgi?id=775

Thierry
patch.products_dir

ed

unread,
Jun 15, 2012, 10:18:46 AM6/15/12
to ledge...@googlegroups.com
As noted in another thread, gitclean seems to do the trick, Try update, gitclean and update again. Mine now builds (until the next time?)
Reply all
Reply to author
Forward
0 new messages