Discussion:
minimal.bkl + mingw error.
(too old to reply)
news.gmane.org
2008-11-27 08:48:48 UTC
Permalink
Hi all.
I'm trying wxWidgets 2.8.9 minimal.bkl sample with bakefile-0.2.5 on
Windows XP Pro.

When I try the istruction

bakefile -f mingw -I.. minimal.bkl

I get the error


Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\wxWidgets\2.8.9\build\bakefiles\wxpresets\sample>bakefile -f mingw
-I.. minimal.bkl

Traceback (most recent call last):
File "C:\Tools\Bakefile\src\bakefile.py", line 237, in <module>
run(sys.argv[1:])
File "C:\Tools\Bakefile\src\bakefile.py", line 204, in run
read_ok = reader.read(args[0])
File "c:\tools\bakefile\src\reader.py", line 1150, in read
processFile(filename)
File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
__doProcess(file=filename)
File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
processNodes(m.children)
File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
h(e)
File "c:\tools\bakefile\src\reader.py", line 943, in handleInclude
if processFileIfExists(os.path.join(dir, file), justOnce):
File "c:\tools\bakefile\src\reader.py", line 1112, in processFileIfExists
processFile(filename, onlyOnce)
File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
__doProcess(file=filename)
File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
processNodes(m.children)
File "c:\tools\bakefile\src\reader.py", line 1071, in processNodes
processNodes(e.children)
File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
h(e)
File "c:\tools\bakefile\src\reader.py", line 943, in handleInclude
if processFileIfExists(os.path.join(dir, file), justOnce):
File "c:\tools\bakefile\src\reader.py", line 1112, in processFileIfExists
processFile(filename, onlyOnce)
File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
__doProcess(file=filename)
File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
processNodes(m.children)
File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
h(e)
File "c:\tools\bakefile\src\reader.py", line 171, in handleSet
cond = mk.makeCondition(condstr)
File "c:\tools\bakefile\src\mk.py", line 447, in makeCondition
assert conditions[cname].exprs == condexpr_list
AssertionError
Error executing the script!

c:\wxWidgets\2.8.9\build\bakefiles\wxpresets\sample>


The environment variable WXWIN is set to C:\wxWidgets\2.8.9

I get this error even if I try msvc target instead of mingw target.

Where I mistake?

Best regards.

M.Z.
Vaclav Slavik
2008-11-27 09:52:37 UTC
Permalink
Post by news.gmane.org
Where I mistake?
Only in not searching the bug tracker first.

Vaclav
M.Z.
2008-11-27 17:40:59 UTC
Permalink
I look inside bug tracker.
But I find only the ticket #230 with the same problem.

Then I try to modify mk.py and look why the line

assert conditions[cname].exprs == condexpr_list

fails.

If I make
bakefile -f mingw -DWX_PYTHON=0 minimal.bkl all works fine.

Why?

This is the log I take.
The lines marked mz>> are my lines.

C:\wxWidgets\2.8.9\build\bakefiles\wxpresets\sample>bakefile -f mingw
-I.. minimal.bkl
mz>> conditions[cname].exprs:
mz>> WX_DEBUG 1
mz>> WX_PYTHON 0
mz>> condexpr_list:
mz>> WX_DEBUG 1
mz>> WX_PYTHON 0
mz>> assert: False
Traceback (most recent call last):
File "C:\Tools\Bakefile\src\bakefile.py", line 237, in <module>
run(sys.argv[1:])
File "C:\Tools\Bakefile\src\bakefile.py", line 204, in run
read_ok = reader.read(args[0])
File "c:\tools\bakefile\src\reader.py", line 1150, in read
processFile(filename)
File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
__doProcess(file=filename)
File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
processNodes(m.children)
File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
h(e)
File "c:\tools\bakefile\src\reader.py", line 943, in handleInclude
if processFileIfExists(os.path.join(dir, file), justOnce):
File "c:\tools\bakefile\src\reader.py", line 1112, in processFileIfExists
processFile(filename, onlyOnce)
File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
__doProcess(file=filename)
File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
processNodes(m.children)
File "c:\tools\bakefile\src\reader.py", line 1071, in processNodes
processNodes(e.children)
File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
h(e)
File "c:\tools\bakefile\src\reader.py", line 943, in handleInclude
if processFileIfExists(os.path.join(dir, file), justOnce):
File "c:\tools\bakefile\src\reader.py", line 1112, in processFileIfExists
processFile(filename, onlyOnce)
File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
__doProcess(file=filename)
File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
processNodes(m.children)
File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
h(e)
File "c:\tools\bakefile\src\reader.py", line 171, in handleSet
cond = mk.makeCondition(condstr)
File "C:\Tools\Bakefile\src\mk.py", line 457, in makeCondition
assert conditions[cname].exprs == condexpr_list
AssertionError
Error executing the script!
Post by Vaclav Slavik
Post by news.gmane.org
Where I mistake?
Only in not searching the bug tracker first.
Vaclav
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________
Bakefile-devel mailing list
https://lists.sourceforge.net/lists/listinfo/bakefile-devel
Vaclav Slavik
2008-11-27 23:25:22 UTC
Permalink
Post by M.Z.
I look inside bug tracker.
But I find only the ticket #230 with the same problem.
See, the bug is already reported. If you don't have any new information
to add, what's the point of posting about the bug? And if you do have
new information (but I didn't notice any), then you should add it to the
existing bug.
Post by M.Z.
If I make
bakefile -f mingw -DWX_PYTHON=0 minimal.bkl all works fine.
Why?
Because there's a bug somewhere, obviously.

Vaclav

Loading...