2013/11/25 Daniel Baumann
<[email protected]<https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&[email protected]>
>
> On 11/25/2013 01:26 PM, Franklin Weng wrote:
> > Installed from ubuntu repository.
>
> we don't support that version, it's horribly outdated. please upgrade to
> the latest version of live-build 3.x (being 3.0.5-1 at the moment).
>
>
Okay, thanks. I purged the old version and reinstall a latest git version
(4.0~alpha30-1)
I know it is an alpha version.
This time when building, it was blocked due to the following error:
[2013-11-26 13:07:14] lb chroot-includes
[2013-11-26 13:07:14] lb chroot-hooks
Traceback (most recent call last):
File "/usr/lib/live/build/chroot-hooks", line 108, in <module>
main()
File "/usr/lib/live/build/chroot-hooks", line 87, in main
shutil.copy(hook, os.path.join('chroot/live-build/' +
os.path.basename(hook)), follow_symlinks=True)
TypeError: copy() got an unexpected keyword argument 'follow_symlinks'
I googled and found that shutil.copy() with follow_symlinks argument should
be python3 only. This error messages seems that it was calling python2,
hence didn't know what follow_symlinks was. However, I looked at the
/usr/lib/live/build/chroot-hooks. It calls /usr/bin/python3 as its shell
interpreter, and my /usr/bin/python3 points to /usr/bin/python3.2mu, which
was installed by ubuntu.
Is it a bug of live-build 4.0 alpha? I'll try with 3.0.5 later.
Thanks,
Franklin