[Clam-devel] Mingw patch almost commited

Hernán Ordiales h at ordia.com.ar
Mon Dec 24 13:45:57 PST 2007


On 12/21/07, David García Garzón <dgarcia at iua.upf.edu> wrote:
> I am on commiting the patches for crosscompiled CLAM. Hope not breaking
> anything.
>
> Still there is a dependency loop between the CLAM library options and the
> crosscompiled flag: The flag is taken from an option and the options to show
> depend on such flag.

hi, after update my sandbox to the last svn version, now i'm getting this error:

~/dev/clam_dev/CLAM$ scons
scons: Reading SConscript files ...
Version:  1.1.1
Package version:  1.1.1~svn11047
<type 'exceptions.NameError'>: name 'export' is not defined:
  File "/home/hordia/dev/clam_dev/CLAM/SConstruct", line 304:
    export("crosscompiling")



then i tried with the crosscompiled flag equal to 0 (is not set to 0
by default?), and i'm getting this (seems the same error than the
current testfarm log):

~/dev/clam_dev/CLAM$ scons crosscompiled=0
scons: Reading SConscript files ...
Version:  1.1.1
Package version:  1.1.1~svn11047
Configure phase...
############################################
### CLAM GLOBAL DEPENDENCIES CHECKING    ###
############################################
Checking for pkg-config... <type 'exceptions.NameError'>: global name
'env' is not defined:
  File "/home/hordia/dev/clam_dev/CLAM/SConstruct", line 285:
    configureModules(clam_env)
  File "/home/hordia/dev/clam_dev/CLAM/SConstruct", line 123:
    configure_clam(clam_env)
  File "/home/hordia/dev/clam_dev/CLAM/SConstruct", line 73:
    if not setup_global_environment( clam_env, conf ) :
  File "/home/hordia/dev/clam_dev/CLAM/scons/libs/clam_dependent_libs_checks.py",
line 18:
    if not conf.check_pkg_config( conf ) :
  File "/usr/lib/scons/SCons/SConf.py", line 551:
    ret = apply(self.test, (context,) +  args, kw)
  File "/home/hordia/dev/clam_dev/CLAM/scons/libs/clam_build_helpers.py",
line 261:
    crosscompiling=env.has_key('crossmingw') and env['crossmingw']



i'm forgetting about something or it's a bug?

(btw, testfarm seems also broken)

cheers,
-- 
Hernán
http://h.ordia.com.ar
GnuPG: 0xEE8A3FE9




More information about the clam-devel mailing list