[Clam-devel] Re: test for rev11347
David García Garzón
dgarcia at iua.upf.edu
Mon May 5 11:05:11 PDT 2008
IRC context for others in the list: We are addressing the long command line
problems on SCons. A solution we tried seems to have problems with unicode
environment var content.
Juno, try the next svn revision. Instead of using the second solution in the
wiki (which looked cleaner in my opinion), i changed it to be the first one
in the wiki. Just as Giulio did. It worked for him so i hope that the
problems that those unicode environment vars content disappear.
I liked the second solution being a callable function. But I just changed the
first one to be also a function. Hope i have not introduced any mistake.
I consider this a bug on scons, so i hope that they fix it upstream and we can
remove that ugly code.
David.
On Dilluns 05 Maig 2008, JunJun wrote:
> (print env)
>
> $ scons
> scons: Reading SConscript files ...
> Version: 1.2.1
> Package version: 1.2.1~svn11306
> #############################################
> ### INSTALL DIRECTORY INFORMATION ###
> #############################################
> Directory to install under: d:\mingw\local
> Library files will be installed at: d:\mingw\local/lib
> Executable files will be installed at: d:\mingw\local/bin
> Include files will be installed at: d:\mingw\local/include
> Documentation, data and examples will be installed at:
> d:\mingw\local/share using rtaudio
> ##############################################
> ### BUILDING CLAM LIBRARIES ###
> ##############################################
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -shared -o scons\libs\core\clam_core.dll
> scons\libs\core\src\ProcessingFactory.o scons\libs\core\src\DynamicType.o
> scons\libs\core\src\ProcessingDataPlugin.o
> scons\libs\core\src\Audio.o scons\libs\core\src\ScopePool.o
> scons\libs\core\ src\DescriptionScheme.o
> scons\libs\core\src\Pool.o scons\libs\core\src\DescriptionAttributes.o
> scons\libs\core\src\Desc riptionScope.o
> scons\libs\core\src\Segmentation.o scons\libs\core\src\Assert.o
> scons\libs\core\src\CLAMVersion.o scons\
> libs\core\src\ErrProcessingObj.o scons\libs\core\src\Err.o
> scons\libs\core\src\ErrSoundFileIO.o scons\libs\core\src\Err
> System.o scons\libs\core\src\ErrGUI.o
> scons\libs\core\src\ErrOutOfMemory.o scons\libs\core\src\ErrDynamicType.o
> scons\l ibs\core\src\ErrOpenFile.o
> scons\libs\core\src\Region.o scons\libs\core\src\AudioInPort.o
> scons\libs\core\src\AudioOutP ort.o
> scons\libs\core\src\InPort.o scons\libs\core\src\AudioInPortPublisher.o
> scons\libs\core\src\OutPort.o scons\libs\
> core\src\AudioOutPortPublisher.o
> scons\libs\core\src\ProcessingDefinitionAdapter.o
> scons\libs\core\src\Network.o scons\
> libs\core\src\NaiveFlowControl.o scons\libs\core\src\NetworkPlayer.o
> scons\libs\core\src\FlowControl.o scons\libs\core\
> src\PushFlowControl.o scons\libs\core\src\ConnectionDefinitionAdapter.o
> scons\libs\core\src\BasicFlowControl.o scons\li
> bs\core\src\ControlMultiplier.o scons\libs\core\src\Mapping.o
> scons\libs\core\src\InControlArray.o scons\libs\core\src\
> OutControlArray.o scons\libs\core\src\InControl.o
> scons\libs\core\src\OutControl.o scons\libs\core\src\TopLevelProcessi
> ng.o scons\libs\core\src\ProcessingComposite.o
> scons\libs\core\src\InControlRegistry.o scons\libs\core\src\OutControlRe
> gistry.o scons\libs\core\src\InPortRegistry.o
> scons\libs\core\src\OutPortRegistry.o scons\libs\core\src\Processing.o sc
> ons\libs\core\src\AudioSource.o
> scons\libs\core\src\AudioSink.o scons\libs\core\src\RunTimeLibraryLoader.o
> scons\libs\c ore\src\RunTimeProcessingLibraryLoader.o
> scons\libs\core\src\Flags.o scons\libs\core\src\Enum.o
> scons\libs\core\src\Com plex.o
> scons\libs\core\src\Slot.o scons\libs\core\src\Point.o
> scons\libs\core\src\Matrix.o scons\libs\core\src\Polar.o
> scons\libs\core\src\DirectoryName.o scons\libs\core\src\BPF.o
> scons\libs\core\src\Order.o scons\libs\core\src\Array.o s
> cons\libs\core\src\TraverseDirectory.o scons\libs\core\src\Text.o
> scons\libs\core\src\recursedir.o scons\libs\core\src\
> strfuncs.o scons\libs\core\src\Connection.o scons\libs\core\src\Signal.o
> scons\libs\core\src\XmlWriteContext.o scons\li
> bs\core\src\LibXmlDomReadingContext.o scons\libs\core\src\XmlStorageErr.o
> scons\libs\core\src\LibXmlDomWritingContext.o
> scons\libs\core\src\XMLAdapter.o scons\libs\core\src\XMLComponentAdapter.o
> scons\libs\core\src\XMLStorage.o scons\libs
> \core\src\BasicXMLable.o scons\libs\core\src\FileSystem.o
> scons\libs\core\src\Condition.o scons\libs\core\src\Recursive
> Mutex.o scons\libs\core\src\ThreadPool.o scons\libs\core\src\Mutex.o
> scons\libs\core\src\Thread.o scons\libs\core\src\P
> ooledThread.o -LD:\mingw\local\lib -LD:\mingw\local\lib -lpthread
> -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-
> 2.0 -lglib-2.0 -lintl -liconv
> -Wl,--out-implib,scons\libs\core\libclam_core.a
> -Wl,--output-def,scons\libs\core\clam_cor e.def {'TMP':
> 'C:/DOCUME~1/junjun/LOCALS~1/Temp', 'COMPUTERNAME': 'CA53CAC112824A7',
> 'LIB': u'C:\\Program Files\\Microsoft Vi sual Studio
> 8\\VC\\lib;C:\\Program Files\\Microsoft Visual Studio
> 8\\VC\\PlatformSDK\\Lib;C:\\Program Files\\Microsoft
> Visual Studio 8\\SDK\\v2.0\\lib;d:\\MinGW\\lib', 'USERDOMAIN':
> 'CA53CAC112824A7', 'MSYSFGCOLOR': 'Black', 'HOSTTYPE': '
> i686', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
> 'CPLUS_INCLUDE_PATH': 'd:\\MinGW\\include;d:\\MinGW\\in
> clude\\c++\\3.4.2; d:\\MinGW\\include\\c++\\3.4.2\\mingw32;
> d:\\MinGW\\include\\c++\\3.4.2\\backward;', 'LOGNAME': 'jun
> jun', 'PROGRAMFILES': 'C:\\Program Files', 'PROCESSOR_REVISION':
> '0209', 'PATH': u'd:\\mingw\\bin;C:\\Program Files\\Mi
> crosoft Visual Studio 8\\Common7\\IDE;C:\\Program Files\\Microsoft Visual
> Studio 8\\VC\\bin;C:\\Program Files\\Microsof t Visual
> Studio 8\\Common7\\Tools;C:\\Program Files\\Microsoft Visual Studio
> 8\\Common7\\Tools\\bin;C:\\Program Files\\ Microsoft
> Visual Studio
> 8\\SDK\\v2.0\\bin;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;.;D:\\m
>sys\\1.0\\local\\bin
> ;d:\\mingw\\bin;D:\\msys\\1.0\\bin;d:\\mingw\\local\\bin;d:\\mingw\\include
>;d:\\mingw\\lib;c:\\WINDOWS\\system32;c:\\WI
> NDOWS;c:\\WINDOWS\\System32\\Wbem;c:\\PROGRA~1\\ATT\\Graphviz\\bin;c:\\MATL
>AB7\\bin\\win32;c:\\Python25;c:\\Python25\\s
> cons-0.96.96\\SCons;c:\\Python25\\Scripts;d:\\devel\\xercesc\\bin;c:\\dlls;
>d:\\devel;c:\\Program Files\\Microsoft SQL S
> erver\\90\\Tools\\binn\\', 'HOME': 'c:/Documents and Settings/junjun',
> 'PS1': '\\[\\033]0;$MSYSTEM:\\w\\007\n\\033[32m\
> \]\\u@\\h \\[\\033[33m\\w\\033[0m\\]\n$ ', 'DISPLAY': ':0', 'MSYSTEM':
> 'MINGW32', 'MAKE_MODE': 'unix', 'TERM': 'msys',
> 'SHELL': 'D:/msys/1.0/bin/sh', 'COLORFGBG': 'default;default', 'HISTFILE':
> 'c:/Documents and Settings/junjun/.bash_hist ory',
> 'TEMP': 'C:/DOCUME~1/junjun/LOCALS~1/Temp', 'SHLVL': '1',
> 'PROCESSOR_ARCHITECTURE': 'x86', 'PATHEXT': '.COM;.EXE;
> .BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH', 'ALLUSERSPROFILE': 'C:\\Documents
> and Settings\\All Users', '!::': '::\\', 'WI NDOWID':
> '167838528', '_': 'c:/Python25/Scripts/scons', 'SESSIONNAME': 'Console',
> 'OSTYPE': 'msys', 'VS80COMNTOOLS': 'C :\\Program
> Files\\Microsoft Visual Studio 8\\Common7\\Tools\\', 'MINGW32FGCOLOR':
> 'Navy', 'FGCOLOR': 'Navy', 'USERNAME' : 'junjun',
> 'LOGONSERVER': '\\\\CA53CAC112824A7', 'PROMPT': '$P$G', 'COMSPEC':
> 'C:\\WINDOWS\\system32\\cmd.exe', 'SYSTE MROOT':
> 'C:\\WINDOWS', 'MINGW32BGCOLOR': 'LightYellow', 'HOMEPATH': '\\',
> 'PKG_CONFIG_PATH': 'D:\\MinGW\\local\\lib\\pk gconfig',
> 'SystemRoot': u'C:\\WINDOWS', 'INCLUDE': u'C:\\Program Files\\Microsoft
> Visual Studio 8\\VC\\include;C:\\Prog ram
> Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\Include;C:\\Program
> Files\\Microsoft Visual Studio 8\\SDK\\v2.0\
> \include;d:\\MinGW\\include', 'CLIENTNAME': 'Console', 'MSYSBGCOLOR':
> 'White', 'FP_NO_HOST_CHECK': 'NO', 'WINDIR': 'C:\
> \WINDOWS', 'APPDATA': 'C:\\Documents and Settings\\junjun\\Application
> Data', 'HOMEDRIVE': 'C:', 'BGCOLOR': 'LightYello w',
> '__COMPAT_LAYER': 'EnableNXShowUI ', 'OLDPWD': 'c:/Documents and
> Settings/junjun', 'HOSTNAME': 'CA53CAC112824A7', '
> PROCESSOR_IDENTIFIER': 'x86 Family 15 Model 2 Stepping 9, GenuineIntel',
> 'NUMBER_OF_PROCESSORS': '1', 'PWD': 'd:/devel/ clam',
> 'PROCESSOR_LEVEL': '15', 'COLORTERM': 'rxvt', 'MACHTYPE': 'i686-pc-msys',
> 'OS': 'Windows_NT', 'SYSTEMDRIVE': 'C: ',
> 'USERPROFILE': 'C:\\Documents and Settings\\junjun'} scons: building
> terminated because of errors.
> scons/sconstools\versionInfo.py:14: DeprecationWarning: raising a string
> exception is deprecated raise "No svn revision found for "+ whatToCheck
> scons: *** [scons\libs\core\clam_core.dll] Exception
> Traceback (most recent call last):
> File "C:\Python25\scons-0.96.96\SCons\Taskmaster.py", line 193, in
> execute self.targets[0].build()
> File "C:\Python25\scons-0.96.96\SCons\Node\__init__.py", line 301, in
> build apply(executor, (self, exitstatfunc), kw)
> File "C:\Python25\scons-0.96.96\SCons\Executor.py", line 129, in __call__
> self.do_execute(target, exitstatfunc, kw)
> File "C:\Python25\scons-0.96.96\SCons\Executor.py", line 122, in
> do_execute kw)
> File "C:\Python25\scons-0.96.96\SCons\Action.py", line 754, in __call__
> show, execute, chdir)
> File "C:\Python25\scons-0.96.96\SCons\Action.py", line 588, in __call__
> return apply(c.__call__, args, kw)
> File "C:\Python25\scons-0.96.96\SCons\Action.py", line 531, in __call__
> show, execute, chdir)
> File "C:\Python25\scons-0.96.96\SCons\Action.py", line 531, in __call__
> show, execute, chdir)
> File "C:\Python25\scons-0.96.96\SCons\Action.py", line 331, in __call__
> stat = self.execute(target, source, env)
> File "C:\Python25\scons-0.96.96\SCons\Action.py", line 477, in execute
> result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
> File "d:\devel\clam\scons\libs\clam_build_helpers.py", line 411, in
> ourspawn stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False,
> env = env) File "C:\Python25\lib\subprocess.py", line 593, in __init__
> errread, errwrite)
> File "C:\Python25\lib\subprocess.py", line 815, in _execute_child
> startupinfo)
> TypeError: environment can only contain strings
--
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080505/b68ca073/attachment-0001.sig>
More information about the clam-devel
mailing list