bzr-windows team mailing list archive
-
bzr-windows team
-
Mailing list archive
-
Message #00326
Problems with bzr-windows-installers
Hi Ian,
I've tried to test your latest stuff from lp:bzr-windows-installers for
bzr 2.2.
The first problem for me is the lack of information on the required
dependencies I need to install to make it work. I've not touched the
installer stuff for very long time and therefore I have to start from
the ground.
I've put some notes on dependencies in my branch
lp:~bialix/bzr-windows-installers/dependencies (see dependencies.txt).
I'm sure the list is not full yet, I'm updating it every time I found
new dependency.
Then I've tried to run build.py in dry run mode:
C:\work\Bazaar\bzr-windows-installers>py26 build.py --dry-run
--standalone-only installers
Initialising C:\work\Bazaar\bzr-windows-installers\build-win32 directory
Running c:\Python26\python.exe bootstrap.py ...
Generating buildout configuration for bzr-2.2 ...
Generating buildout-bzr-2.2.cfg in .
Running bin\buildout -c buildout-bzr-2.2.cfg ...
### Building WinHelp for bzr-2.2 ###
Traceback (most recent call last):
File "build.py", line 542, in <module>
main()
File "build.py", line 473, in main
build(build_type, distros, options)
File "build.py", line 500, in build
builder.build(distros)
File "build.py", line 200, in build
self._build_help(distro)
File "build.py", line 209, in _build_help
os.chdir(bzr_root)
WindowsError: [Error 3] The system cannot find the path specified:
u'C:\\work\\Bazaar\\bzr-windows-installers\\build-win32/bzr/b
zr-2.2'
As I can see --dry-run is not exactly dry. :-/
Next time I've started it without --dry-run:
C:\work\Bazaar\bzr-windows-installers>py26 build.py --standalone-only
installers
Initialising C:\work\Bazaar\bzr-windows-installers\build-win32 directory
Running c:\Python26\python.exe bootstrap.py ...
Creating directory
'C:\\work\\Bazaar\\bzr-windows-installers\\build-win32\\bin'.
Creating directory
'C:\\work\\Bazaar\\bzr-windows-installers\\build-win32\\parts'.
Creating directory
'C:\\work\\Bazaar\\bzr-windows-installers\\build-win32\\eggs'.
Creating directory
'C:\\work\\Bazaar\\bzr-windows-installers\\build-win32\\develop-eggs'.
Generated script
'C:\\work\\Bazaar\\bzr-windows-installers\\build-win32\\bin\\buildout'.
Generating buildout configuration for bzr-2.2 ...
Generating buildout-bzr-2.2.cfg in .
Running bin\buildout -c buildout-bzr-2.2.cfg ...
Getting distribution for 'hexagonit.recipe.download==1.2.2'.
Got hexagonit.recipe.download 1.2.2.
c:\work\bazaar\bzr-windows-installers\build-win32\eggs\hexagonit.recipe.download-1.2.2-py2.6.egg\hexagonit\recipe\download\__ini
t__.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib
instead
import md5
Getting distribution for 'gf.recipe.bzr==1.0rc8'.
Got gf.recipe.bzr 1.0rc8.
Installing svn-lib.
svn-lib: Creating download directory:
C:\work\Bazaar\bzr-windows-installers\build-win32\downloads
While:
Installing svn-lib.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File
"c:\work\bazaar\bzr-windows-installers\build-win32\eggs\zc.buildout-1.4.3-py2.6.egg\zc\buildout\buildout.py",
line 1660,
in main
getattr(buildout, command)(args)
File
"c:\work\bazaar\bzr-windows-installers\build-win32\eggs\zc.buildout-1.4.3-py2.6.egg\zc\buildout\buildout.py",
line 532, i
n install
installed_files = self[part]._call(recipe.install)
File
"c:\work\bazaar\bzr-windows-installers\build-win32\eggs\zc.buildout-1.4.3-py2.6.egg\zc\buildout\buildout.py",
line 1204,
in _call
return f()
File
"c:\work\bazaar\bzr-windows-installers\build-win32\eggs\hexagonit.recipe.download-1.2.2-py2.6.egg\hexagonit\recipe\downlo
ad\__init__.py", line 125, in install
base = self.calculate_base(extract_dir)
File
"c:\work\bazaar\bzr-windows-installers\build-win32\eggs\hexagonit.recipe.download-1.2.2-py2.6.egg\hexagonit\recipe\downlo
ad\__init__.py", line 65, in calculate_base
log.error('Unable to strip top level directory because there are more '
NameError: global name 'log' is not defined
No luck again. :-(
I don't know what I'm doing wrong.
Alexander
Follow ups