On 29/10/2010, at 11:55 PM, Rhythmic Fistman wrote:
> Using the erick repository, I'm getting to this now:
>
> $ python3 fbuild/fbuild-light
> configuring build phase
> configuring host phase
> using build's c and cxx compiler
> looking for program llvm-config : failed
> configuring target phase
> using host's c and cxx compiler
> looking for program sdl-config : failed
> * ocamlc.opt :
> build/release/src/compiler/flx_misc/flx_map.mli ->
> build/release/src/compiler/flx_misc/flx_map.cmi
> * ocamlc.opt :
> build/release/src/compiler/flx_misc/flx_getopt.mli ->
> build/release/src/compiler/flx_misc/flx_getopt.cmi
> ^C
Hmmm..
> It's hanging there. That's after a git clean -fd
>
> Looks like python3 is getting wedged somehow.
>
> If I remove the build directory and restart I get something different error
>
> * ocamldep.opt : src/compiler/flx_misc/flx_string.mli
> * ocamlc.opt :
> build/release/src/compiler/flx_misc/flx_filesys.mli ->
> build/release/src/compiler/flx_misc/flx_filesys.cmi
> * ocamlc.opt :
> build/release/src/compiler/flx_misc/flx_map.mli ->
> build/release/src/compiler/flx_misc/flx_map.cmi
> 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/z/felix/fbuildroot.py", line 380, in build
> compilers = call('buildsystem.flx_compiler.build_flx_drivers', ctx, host)
> File "fbuild/lib/fbuild/functools.py", line 32, in call
> return import_function(function)(*args, **kwargs)
> File "/Users/gchilds/z/felix/buildsystem/flx_compiler.py", line 164,
> in build_flx_drivers
> build_flx_misc(phase),
> File "/Users/gchilds/z/felix/buildsystem/flx_compiler.py", line 12,
> in build_flx_misc
> external_libs=['nums', 'str', 'unix'])
> File "fbuild/lib/fbuild/builders/ocaml/__init__.py", line 574, in build_lib
> **kwargs)
> File "fbuild/lib/fbuild/builders/ocaml/__init__.py", line 615, in _build_link
> **dict(kwargs, **ckwargs)))
> 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 "fbuild/lib/fbuild/builders/ocaml/__init__.py", line 520, in
> build_objects
> srcs)
> File "fbuild/lib/fbuild/sched.py", line 83, in map_with_dependencies
> self._evaluate(nodes.values())
> File "fbuild/lib/fbuild/sched.py", line 147, in _evaluate
> raise task.exc
> File "fbuild/lib/fbuild/sched.py", line 251, in run
> self.result = self.function(self.src)
> File "fbuild/lib/fbuild/builders/ocaml/__init__.py", line 796, in compile
> return self.ocamlc.compile(src, *args, **kwargs)
> 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 "fbuild/lib/fbuild/builders/ocaml/__init__.py", line 369, in compile
> flags=ocamldep_flags)
> File "fbuild/lib/fbuild/builders/ocaml/__init__.py", line 413, in
> _add_compile_dependencies
> dsts=dsts)
> 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)
Well, this is also where I got a problem, in the database.
This particular code is taking the fbuild config and trying to make
it into a form that can be used with interscript.
Still, I have exactly the same line 308 with the same call and don't have
a problem. Hmm.. I'm using
Python 3.1rc1
Maybe there's a bug in Python 3.2a3?
Or maybe my fbuild is slightly out of date and Erick "fixed" something :)
[but no, git submodule update does nothing ..]
Hmm .. you look in that file, it is using remote procedure calls,
and it is using Pickle... pickle may have changed.. still, I have
no idea ;( however failed thread communication with the rpc
may be the cause of your first hang.
--
john skaller
[email protected]
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language