On 28/10/2010, at 11:14 PM, Rhythmic Fistman wrote:

> 
> Pass 1 status: <not converged>
>  Files    : 13
>  New      : 13
>  Changed  : 0
>  Unchanged: 0
> Elapsed Process Time 0 seconds
> ================================
> Traceback (most recent call last):
>  File "fbuild/fbuild-light", line 13, in <module>
>    exec(compile(f.read(), fbuild_exename, 'exec'))
>  File "fbuild/bin/fbuild", line 140, in <module>
>    sys.exit(main())
>  File "fbuild/bin/fbuild", line 117, in main
>    result = build(ctx)
>  File "fbuild/bin/fbuild", line 81, in build
>    target.function(ctx)
>  File "/Users/gchilds/idev-i386/newflx/felix/fbuildroot.py", line 365, in 
> build
>    iscr('lpsrc/flx_config.pak')
>  File "fbuild/lib/fbuild/db/__init__.py", line 415, in __call__
>    result, srcs, dsts = self.call(*args, **kwargs)
>  File "fbuild/lib/fbuild/db/__init__.py", line 419, in call
>    return self.method.__self__.ctx.db.call(self.method, *args, **kwargs)
>  File "fbuild/lib/fbuild/db/__init__.py", line 192, in call
>    result = function(*args, **kwargs)
>  File "/Users/gchilds/idev-i386/newflx/felix/buildsystem/iscr.py",
> line 72, in __call__
>    self.ctx.db.add_external_dependencies_to_call(srcs=srcs)
>  File "fbuild/lib/fbuild/db/__init__.py", line 308, in
> add_external_dependencies_to_call
>    frame = fbuild.inspect.currentframe(i)
> TypeError: currentframe() takes no arguments (1 given)


Ah, I know that one, it's a bug. I just commented out the line

 self.ctx.db.add_external_dependencies_to_call(srcs=srcs)

(Add a # at the front) I forgot about that. There'a ANOTHER bug you have to fix 
too:

In the file fbuild/lib/fbuild/builders/flx.py

change the line 19 to:

        self.exe = fbuild.builders.find_program(ctx, [exe])

i.e. remove the "sys.executable" from the list. flx (the exe there)
used to be a python script. Now it is a standard executable
program (statically linked Felix program :)

Both these problems are in fbuild, the repository of which I
can't modify. Here'a diff of the second one (I have no idea
why it doesn't pick up the first fix ..)

~/felix/fbuild>git diff
diff --git a/lib/fbuild/builders/felix.py b/lib/fbuild/builders/felix.py
index fccbc15..4059631 100644
--- a/lib/fbuild/builders/felix.py
+++ b/lib/fbuild/builders/felix.py
@@ -31,7 +31,7 @@ class Flx(fbuild.db.PersistentObject):
             flags=[],
             cwd=None,
             **kwargs):
-        cmd = [sys.executable, self.exe]
+        cmd = [self.exe]
 
         if debug is None:
             debug = self.debug
--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to