> >2. How can I create a buildtools "release" so I end up with a 
> >"DevTools"
> >directory like is found in the official build tools?
> 
> $TOOL/bin/packBinaryTools.py

That command does not work without an appropriately set PYTHONPATH,
which is not included in envexec. Odds are this is a bug.

Further, it would appear one must have the Perforce toolkit installed
and (I'm guessing) have access to the Perforce repository in order for
that command to work.

I'm going to see if I can fake it out, but just thought you guys would
like to know.

  -- /v\atthew

bash$ pwd
/usr/src/rpm/BUILD/TOOLSRC
bash$ ./envexec $PWD $PWD bin/packBinaryTools
Traceback (most recent call last):
  File "./bin/packBinaryTools.py", line 24, in ?
    from distribTools.packBinaryToolsLib import packBinaryTools
ImportError: No module named distribTools.packBinaryToolsLib

bash$ env PYTHONPATH=$PWD/sys/wrk/fast/obj/Python/ \
    ./envexec $PWD $PWD bin/packBinaryTools
sh: p4: command not found
Traceback (most recent call last):
  File "bin/packBinaryTools", line 42, in ?
    optlib.optMain2 (main, _options ())
  File "/usr/src/rpm/BUILD/TOOLSRC/sys/wrk/fast/obj/Python/optlib.py",
line 254, in optMain2
    rc = mainRoutine (options, args)
  File "bin/packBinaryTools", line 29, in main
    packBinaryTools (options)
  File
"/usr/src/rpm/BUILD/TOOLSRC/sys/wrk/fast/obj/Python/distribTools/packBinaryToolsLib.py",
line 258, in packBinaryTools
    outfile = archiveName ()
  File
"/usr/src/rpm/BUILD/TOOLSRC/sys/wrk/fast/obj/Python/distribTools/packBinaryToolsLib.py",
line 244, in archiveName
    changelist = getYesterdaysChangelist ()
  File
"/usr/src/rpm/BUILD/TOOLSRC/sys/wrk/fast/obj/Python/distribTools/packBinaryToolsLib.py",
line 74, in getYesterdaysChangelist
    return int (data [1])
IndexError: list index out of range


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to