Skip to content

Instantly share code, notes, and snippets.

@speth
Last active November 29, 2016 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save speth/6f022116c3a1273952afe8167c6388ae to your computer and use it in GitHub Desktop.
Save speth/6f022116c3a1273952afe8167c6388ae to your computer and use it in GitHub Desktop.
SCons MinGW Shared library issue
scons: Reading SConscript files ...
Traceback (most recent call last):
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\Main.py", line 1346, in main
_exec_main(parser, values)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\Main.py", line 1309, in _exec_main
_main(parser)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\Main.py", line 994, in _main
SCons.Script._SConscript._SConscript(fs, script)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\SConscript.py", line 250, in _SConscript
exec _file_ in call_stack[-1].globals
File "C:\src\cantera-related\mingwsconsbug\SConstruct", line 3, in <module>
lib = env.SharedLibrary('foo', ['foo.cpp'], SHLIBVERSION='2.4') # this fails
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Environment.py", line 260, in __call__
return MethodWrapper.__call__(self, target, source, *args, **kw)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Environment.py", line 224, in __call__
return self.method(*nargs, **kwargs)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 626, in __call__
return self._execute(env, target, source, OverrideWarner(kw), ekw)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 547, in _execute
tlist, slist = self._create_nodes(env, target, source)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 511, in _create_nodes
target, source = self.emitter(target=tlist, source=slist, env=env)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 342, in __call__
target, source = e(target, source, env)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Tool\mingw.py", line 89, in shlib_emitter
raise SCons.Errors.UserError("A shared library should have exactly one target with the suffix: %s" % env.subst("$SHLIBSUFFIX"))
UserError: A shared library should have exactly one target with the suffix: .dll
scons: *** A shared library should have exactly one target with the suffix: .dll
File "C:\src\cantera-related\mingwsconsbug\SConstruct", line 3, in <module>
scons: Reading SConscript files ...
{ 'AR': 'ar',
'ARCOM': '$AR $ARFLAGS $TARGET $SOURCES',
'ARFLAGS': ['rc'],
'AS': 'as',
'ASCOM': '$AS $ASFLAGS -o $TARGET $SOURCES',
'ASFLAGS': [],
'ASPPCOM': '$CC $ASPPFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES',
'ASPPFLAGS': '$ASFLAGS',
'BUILDERS': {'SharedLibrary': <SCons.Builder.BuilderBase object at 0x0000000002EB2160>, 'RES': <SCons.Builder.BuilderBase object at 0x0000000002E2C5C0>, 'Object': <SCons.Builder.CompositeBuilder object at 0x0000000002E2C978>, 'StaticLibrary': <SCons.Builder.BuilderBase object at 0x0000000002EB2588>, 'M4': <SCons.Builder.BuilderBase object at 0x0000000002EB2BA8>, 'Program': <SCons.Builder.BuilderBase object at 0x0000000002EB2240>, 'Library': <SCons.Builder.BuilderBase object at 0x0000000002EB2588>, 'SharedObject': <SCons.Builder.CompositeBuilder object at 0x0000000002E2CA20>, 'StaticObject': <SCons.Builder.CompositeBuilder object at 0x0000000002E2C978>, 'LoadableModule': <SCons.Builder.BuilderBase object at 0x0000000002EB2390>},
'CC': 'gcc',
'CCCOM': '$CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES',
'CCFLAGS': [],
'CCVERSION': '4.8.1',
'CFILESUFFIX': '.c',
'CFLAGS': [],
'CONFIGUREDIR': '#/.sconf_temp',
'CONFIGURELOG': '#/config.log',
'CPPDEFPREFIX': '-D',
'CPPDEFSUFFIX': '',
'CPPSUFFIXES': [ '.c',
'.C',
'.cxx',
'.cpp',
'.c++',
'.cc',
'.h',
'.H',
'.hxx',
'.hpp',
'.hh',
'.F',
'.fpp',
'.FPP',
'.m',
'.mm',
'.S',
'.spp',
'.SPP',
'.sx'],
'CXX': 'g++',
'CXXCOM': '$CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES',
'CXXFILESUFFIX': '.cc',
'CXXFLAGS': [],
'CXXVERSION': '4.8.1',
'DSUFFIXES': ['.d'],
'Dir': <SCons.Defaults.Variable_Method_Caller object at 0x0000000002ADE1D0>,
'Dirs': <SCons.Defaults.Variable_Method_Caller object at 0x0000000002ADE208>,
'ENV': { 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
'PATH': u'C:\\Windows\\System32',
'PATHEXT': '.COM;.EXE;.BAT;.CMD',
'SystemDrive': 'C:',
'SystemRoot': 'C:\\Windows',
'TEMP': 'C:\\Users\\Ray\\AppData\\Local\\Temp',
'TMP': 'C:\\Users\\Ray\\AppData\\Local\\Temp'},
'ESCAPE': <function escape at 0x0000000002D9D978>,
'F03': 'gfortran',
'F03COM': '$F03 -o $TARGET -c $F03FLAGS $_F03INCFLAGS $_FORTRANMODFLAG $SOURCES',
'F03FLAGS': [],
'F03PPCOM': '$F03 -o $TARGET -c $F03FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F03INCFLAGS $_FORTRANMODFLAG $SOURCES',
'F08': 'gfortran',
'F08COM': '$F08 -o $TARGET -c $F08FLAGS $_F08INCFLAGS $_FORTRANMODFLAG $SOURCES',
'F08FLAGS': [],
'F08PPCOM': '$F08 -o $TARGET -c $F08FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F08INCFLAGS $_FORTRANMODFLAG $SOURCES',
'F77': 'gfortran',
'F77COM': '$F77 -o $TARGET -c $F77FLAGS $_F77INCFLAGS $SOURCES',
'F77FLAGS': [],
'F77PPCOM': '$F77 -o $TARGET -c $F77FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F77INCFLAGS $SOURCES',
'F90': 'gfortran',
'F90COM': '$F90 -o $TARGET -c $F90FLAGS $_F90INCFLAGS $_FORTRANMODFLAG $SOURCES',
'F90FLAGS': [],
'F90PPCOM': '$F90 -o $TARGET -c $F90FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F90INCFLAGS $_FORTRANMODFLAG $SOURCES',
'F95': 'gfortran',
'F95COM': '$F95 -o $TARGET -c $F95FLAGS $_F95INCFLAGS $_FORTRANMODFLAG $SOURCES',
'F95FLAGS': [],
'F95PPCOM': '$F95 -o $TARGET -c $F95FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F95INCFLAGS $_FORTRANMODFLAG $SOURCES',
'FORTRAN': 'gfortran',
'FORTRANCOM': '$FORTRAN -o $TARGET -c $FORTRANFLAGS $_FORTRANINCFLAGS $_FORTRANMODFLAG $SOURCES',
'FORTRANFLAGS': [],
'FORTRANMODDIR': '',
'FORTRANMODDIRPREFIX': '',
'FORTRANMODDIRSUFFIX': '',
'FORTRANMODPREFIX': '',
'FORTRANMODSUFFIX': '.mod',
'FORTRANPPCOM': '$FORTRAN -o $TARGET -c $FORTRANFLAGS $CPPFLAGS $_CPPDEFFLAGS $_FORTRANINCFLAGS $_FORTRANMODFLAG $SOURCES',
'FORTRANSUFFIXES': [ '.f',
'.for',
'.ftn',
'.F',
'.FOR',
'.FTN',
'.fpp',
'.FPP',
'.f77',
'.F77',
'.f90',
'.F90',
'.f95',
'.F95',
'.f03',
'.F03',
'.f08',
'.F08'],
'FRAMEWORKPATH': [],
'FRAMEWORKS': [],
'File': <SCons.Defaults.Variable_Method_Caller object at 0x0000000002ADE240>,
'HOST_ARCH': 'x86_64',
'HOST_OS': 'win32',
'IDLSUFFIXES': ['.idl', '.IDL'],
'INCF03PREFIX': '-I',
'INCF03SUFFIX': '',
'INCF08PREFIX': '-I',
'INCF08SUFFIX': '',
'INCF77PREFIX': '-I',
'INCF77SUFFIX': '',
'INCF90PREFIX': '-I',
'INCF90SUFFIX': '',
'INCF95PREFIX': '-I',
'INCF95SUFFIX': '',
'INCFORTRANPREFIX': '-I',
'INCFORTRANSUFFIX': '',
'INCPREFIX': '-I',
'INCSUFFIX': '',
'LDMODULE': '$SHLINK',
'LDMODULECOM': <SCons.Action.CommandGeneratorAction object at 0x0000000002E2C518>,
'LDMODULEEMITTER': [ <function ldmod_emitter at 0x0000000002EB1908>,
<function shlib_emitter at 0x0000000002D9DD68>],
'LDMODULEFLAGS': '$SHLINKFLAGS',
'LDMODULENOVERSIONSYMLINKS': '$SHLIBNOVERSIONSYMLINKS',
'LDMODULEPREFIX': '$SHLIBPREFIX',
'LDMODULESUFFIX': '$SHLIBSUFFIX',
'LDMODULEVERSION': '$SHLIBVERSION',
'LDMODULEVERSIONFLAGS': '$SHLIBVERSIONFLAGS',
'LIBDIRPREFIX': '-L',
'LIBDIRSUFFIX': '',
'LIBLINKPREFIX': '-l',
'LIBLINKSUFFIX': '',
'LIBPREFIX': 'lib',
'LIBPREFIXES': ['$LIBPREFIX'],
'LIBSUFFIX': '.a',
'LIBSUFFIXES': ['$LIBSUFFIX'],
'LINK': '$SMARTLINK',
'LINKCALLBACKS': { 'VersionedLdModName': <function _versioned_ldmod_name at 0x0000000002EB1A58>,
'VersionedLdModSoname': <function _versioned_ldmod_soname at 0x0000000002EB1C18>,
'VersionedLdModSuffix': <function _versioned_lib_suffix at 0x0000000002EB1AC8>,
'VersionedLdModSymlinks': <function _versioned_ldmod_symlinks at 0x0000000002EB1D68>,
'VersionedShLibName': <function _versioned_shlib_name at 0x0000000002EB19E8>,
'VersionedShLibSoname': <function _versioned_shlib_soname at 0x0000000002EB1BA8>,
'VersionedShLibSuffix': <function _versioned_lib_suffix at 0x0000000002EB1AC8>,
'VersionedShLibSymlinks': <function _versioned_shlib_symlinks at 0x0000000002EB1CF8>},
'LINKCOM': '$LINK -o $TARGET $LINKFLAGS $__RPATH $SOURCES $_LIBDIRFLAGS $_LIBFLAGS',
'LINKFLAGS': [],
'LdModSonameGenerator': <SCons.Tool._LibSonameGenerator object at 0x0000000002AD9748>,
'M4': 'm4',
'M4COM': 'cd ${SOURCE.rsrcdir} && $M4 $M4FLAGS < ${SOURCE.file} > ${TARGET.abspath}',
'M4FLAGS': ['-E'],
'MAXLINELENGTH': 2048,
'OBJPREFIX': '',
'OBJSUFFIX': '.o',
'PLATFORM': 'win32',
'PROGPREFIX': '',
'PROGSUFFIX': '.exe',
'PSPAWN': <function piped_spawn at 0x0000000002D9D828>,
'RC': 'windres',
'RCCOM': '$RC $_CPPDEFFLAGS $RCINCFLAGS ${RCINCPREFIX} ${SOURCE.dir} $RCFLAGS -i $SOURCE -o $TARGET',
'RCFLAGS': [],
'RCINCFLAGS': '$( ${_concat(RCINCPREFIX, CPPPATH, RCINCSUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'RCINCPREFIX': '--include-dir ',
'RCINCSUFFIX': '',
'RDirs': <SCons.Defaults.Variable_Method_Caller object at 0x0000000002ADE278>,
'RPATHPREFIX': '-Wl,-rpath=',
'RPATHSUFFIX': '',
'SCANNERS': [<SCons.Scanner.Base object at 0x0000000002AD4DD8>],
'SHCC': '$CC',
'SHCCCOM': '$SHCC -o $TARGET -c $SHCFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES',
'SHCCFLAGS': ['$CCFLAGS'],
'SHCFLAGS': ['$CFLAGS'],
'SHCXX': '$CXX',
'SHCXXCOM': '$SHCXX -o $TARGET -c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES',
'SHCXXFLAGS': ['$CXXFLAGS'],
'SHELL': u'C:\\Windows\\System32\\cmd.exe',
'SHF03': '$F03',
'SHF03COM': '$SHF03 -o $TARGET -c $SHF03FLAGS $_F03INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHF03FLAGS': ['$F03FLAGS'],
'SHF03PPCOM': '$SHF03 -o $TARGET -c $SHF03FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F03INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHF08': '$F08',
'SHF08COM': '$SHF08 -o $TARGET -c $SHF08FLAGS $_F08INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHF08FLAGS': ['$F08FLAGS'],
'SHF08PPCOM': '$SHF08 -o $TARGET -c $SHF08FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F08INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHF77': '$F77',
'SHF77COM': '$SHF77 -o $TARGET -c $SHF77FLAGS $_F77INCFLAGS $SOURCES',
'SHF77FLAGS': ['$F77FLAGS'],
'SHF77PPCOM': '$SHF77 -o $TARGET -c $SHF77FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F77INCFLAGS $SOURCES',
'SHF90': '$F90',
'SHF90COM': '$SHF90 -o $TARGET -c $SHF90FLAGS $_F90INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHF90FLAGS': ['$F90FLAGS'],
'SHF90PPCOM': '$SHF90 -o $TARGET -c $SHF90FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F90INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHF95': '$F95',
'SHF95COM': '$SHF95 -o $TARGET -c $SHF95FLAGS $_F95INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHF95FLAGS': ['$F95FLAGS'],
'SHF95PPCOM': '$SHF95 -o $TARGET -c $SHF95FLAGS $CPPFLAGS $_CPPDEFFLAGS $_F95INCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHFORTRAN': '$FORTRAN',
'SHFORTRANCOM': '$SHFORTRAN -o $TARGET -c $SHFORTRANFLAGS $_FORTRANINCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHFORTRANFLAGS': ['$FORTRANFLAGS'],
'SHFORTRANPPCOM': '$SHFORTRAN -o $TARGET -c $SHFORTRANFLAGS $CPPFLAGS $_CPPDEFFLAGS $_FORTRANINCFLAGS $_FORTRANMODFLAG $SOURCES',
'SHLIBEMITTER': [ <function shlib_emitter at 0x0000000002EB1898>,
<function shlib_emitter at 0x0000000002D9DD68>],
'SHLIBPREFIX': '',
'SHLIBSUFFIX': '.dll',
'SHLIBVERSIONFLAGS': ['-Wl,-Bsymbolic'],
'SHLINK': '$LINK',
'SHLINKCOM': <SCons.Action.CommandGeneratorAction object at 0x0000000002E2C518>,
'SHLINKFLAGS': ['$LINKFLAGS', '-shared'],
'SHOBJPREFIX': '$OBJPREFIX',
'SHOBJSUFFIX': '.o',
'SMARTLINK': <function smart_link at 0x0000000002EB17B8>,
'SPAWN': <function spawn at 0x0000000002D9D908>,
'STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME': 1,
'ShLibSonameGenerator': <SCons.Tool._LibSonameGenerator object at 0x0000000002AD96D8>,
'TARGET_ARCH': None,
'TARGET_OS': None,
'TEMPFILE': <class 'SCons.Platform.TempFileMunge'>,
'TEMPFILEPREFIX': '@',
'TOOLS': ['mingw', 'gcc', 'g++', 'gnulink', 'ar', 'gas', 'gfortran', 'm4'],
'WIN32DEFPREFIX': '',
'WIN32DEFSUFFIX': '.def',
'WINDOWSDEFPREFIX': '${WIN32DEFPREFIX}',
'WINDOWSDEFSUFFIX': '${WIN32DEFSUFFIX}',
'_CCCOMCOM': '$CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS',
'_CPPDEFFLAGS': '${_defines(CPPDEFPREFIX, CPPDEFINES, CPPDEFSUFFIX, __env__)}',
'_CPPINCFLAGS': '$( ${_concat(INCPREFIX, CPPPATH, INCSUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_F03INCFLAGS': '$( ${_concat(INCF03PREFIX, F03PATH, INCF03SUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_F08INCFLAGS': '$( ${_concat(INCF08PREFIX, F08PATH, INCF08SUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_F77INCFLAGS': '$( ${_concat(INCF77PREFIX, F77PATH, INCF77SUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_F90INCFLAGS': '$( ${_concat(INCF90PREFIX, F90PATH, INCF90SUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_F95INCFLAGS': '$( ${_concat(INCF95PREFIX, F95PATH, INCF95SUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_FORTRANINCFLAGS': '$( ${_concat(INCFORTRANPREFIX, FORTRANPATH, INCFORTRANSUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_FORTRANMODFLAG': '$( ${_concat(FORTRANMODDIRPREFIX, FORTRANMODDIR, FORTRANMODDIRSUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_LDMODULESONAME': '${LdModSonameGenerator(__env__,TARGET)}',
'_LDMODULEVERSIONFLAGS': '$LDMODULEVERSIONFLAGS -Wl,-soname=$_LDMODULESONAME',
'_LIBDIRFLAGS': '$( ${_concat(LIBDIRPREFIX, LIBPATH, LIBDIRSUFFIX, __env__, RDirs, TARGET, SOURCE)} $)',
'_LIBFLAGS': '${_stripixes(LIBLINKPREFIX, LIBS, LIBLINKSUFFIX, LIBPREFIXES, LIBSUFFIXES, __env__)}',
'_RPATH': '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}',
'_SHLIBSONAME': '${ShLibSonameGenerator(__env__,TARGET)}',
'_SHLIBVERSIONFLAGS': '$SHLIBVERSIONFLAGS -Wl,-soname=$_SHLIBSONAME',
'__DSHLIBVERSIONFLAGS': '${__libversionflags(__env__,"DSHLIBVERSION","_DSHLIBVERSIONFLAGS")}',
'__LDMODULEVERSIONFLAGS': '${__libversionflags(__env__,"LDMODULEVERSION","_LDMODULEVERSIONFLAGS")}',
'__SHLIBVERSIONFLAGS': '${__libversionflags(__env__,"SHLIBVERSION","_SHLIBVERSIONFLAGS")}',
'__libversionflags': <function __libversionflags at 0x0000000002ADD898>,
'_concat': <function _concat at 0x0000000002ADD668>,
'_defines': <function _defines at 0x0000000002ADD828>,
'_stripixes': <function _stripixes at 0x0000000002ADD748>}
scons: *** A shared library should have exactly one target with the suffix: .dll
File "C:\src\cantera-related\mingwsconsbug\SConstruct", line 4, in <module>
scons: Reading SConscript files ...
Traceback (most recent call last):
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\Main.py", line 1346, in main
_exec_main(parser, values)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\Main.py", line 1309, in _exec_main
_main(parser)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\Main.py", line 994, in _main
SCons.Script._SConscript._SConscript(fs, script)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Script\SConscript.py", line 250, in _SConscript
exec _file_ in call_stack[-1].globals
File "C:\src\cantera-related\mingwsconsbug\SConstruct", line 5, in <module>
lib = env.SharedLibrary('foo.dll', ['foo.cpp'], SHLIBVERSION='2.4') # this fails
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Environment.py", line 260, in __call__
return MethodWrapper.__call__(self, target, source, *args, **kw)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Environment.py", line 224, in __call__
return self.method(*nargs, **kwargs)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 626, in __call__
return self._execute(env, target, source, OverrideWarner(kw), ekw)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 547, in _execute
tlist, slist = self._create_nodes(env, target, source)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 511, in _create_nodes
target, source = self.emitter(target=tlist, source=slist, env=env)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Builder.py", line 342, in __call__
target, source = e(target, source, env)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Tool\link.py", line 100, in shlib_emitter
return _lib_emitter(target, source, env, symlink_generator = SCons.Tool.ShLibSymlinkGenerator)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Tool\link.py", line 95, in _lib_emitter
SCons.Tool.EmitLibSymlinks(env, symlinks, target[0])
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Tool\__init__.py", line 618, in EmitLibSymlinks
env.SideEffect(link, linktgt)
File "c:\src\Canopy\User\Lib\site-packages\scons-2.5.1\SCons\Environment.py", line 2143, in SideEffect
raise SCons.Errors.UserError("Multiple ways to build the same target were specified for: %s" % str(side_effect))
UserError: Multiple ways to build the same target were specified for: foo.dll
scons: *** Multiple ways to build the same target were specified for: foo.dll
File "C:\src\cantera-related\mingwsconsbug\SConstruct", line 5, in <module>
Directory of .\mingw64\bin
587,776 7za.exe
422 7zae
112,128 a2p.exe
31,714 aclocal
31,714 aclocal-1.12
39,936 addftinfo.exe
870,912 addr2line.exe
165,802 afmtodit
1,786 apropos
894,464 ar.exe
1,379,328 as.exe
14,829 autoconf
7,675 autoconf-2.13
14,503 autoconf-2.67
14,691 autoconf-2.68
14,829 autoconf-2.69
148,480 autogen.exe
8,527 autoheader
8,603 autoheader-2.67
8,574 autoheader-2.68
8,527 autoheader-2.69
32,653 autom4te
31,964 autom4te-2.67
32,195 autom4te-2.68
32,653 autom4te-2.69
256,824 automake
256,824 automake-1.12
24,358 autopoint
21,069 autoreconf
21,122 autoreconf-2.67
21,105 autoreconf-2.68
21,069 autoreconf-2.69
17,116 autoscan
17,180 autoscan-2.67
17,171 autoscan-2.68
17,116 autoscan-2.69
33,861 autoupdate
33,924 autoupdate-2.67
33,910 autoupdate-2.68
33,861 autoupdate-2.69
307,712 awk.exe
20,992 basename.exe
563,200 bash.exe
6,970 bashbug
309,760 bison.exe
27,648 bsdcpio.exe
53,248 bsdtar.exe
31,744 bunzip2.exe
31,744 bzcat.exe
2,128 bzcmp
2,128 bzdiff
3,642 bzegrep
3,642 bzfgrep
3,642 bzgrep
31,744 bzip2.exe
12,288 bzip2recover.exe
1,297 bzless
1,297 bzmore
1,742,848 c++.exe
869,376 c++filt.exe
36,601 c2ph
24,064 cat.exe
29,359 chem
40,960 chgrp.exe
37,376 chmod.exe
43,008 chown.exe
20,480 chroot.exe
23,040 cksum.exe
209 cls
220 clsb
179 cmd
27,136 cmp.exe
16,896 columns.exe
23,040 comm.exe
7,236 config_data
17,270 console-config
14,336 conv.exe
116,736 cp.exe
3,840 cpan
10,165 cpantest
1,741,312 cpp.exe
785 crc32
9,216 crypt.exe
101,888 csplit.exe
227,107 curl-ca-bundle.crt
404,992 curl.exe
30,720 cut.exe
804,352 cvs.exe
14,028 cvsbug
4,175 c_rehash
14,336 d2u.exe
89,600 dash.exe
57,344 date.exe
46,592 dd.exe
46,592 df.exe
151,040 diff.exe
28,672 diff3.exe
32,768 diffstat.exe
96,768 dir.exe
29,184 dircolors.exe
21,504 dirname.exe
929,280 dlltool.exe
74,240 dllwrap.exe
14,336 dos2unix.exe
24,077 dprofpp
74,752 du.exe
17,408 dumpgdbm.exe
22,016 echo.exe
107,520 egrep.exe
59,904 elfedit.exe
38,073 enc2xs
20,480 env.exe
40,448 envsubst.exe
166,912 eqn.exe
2,679 eqn2graph
30,841 error-mode.exe
1,542,144 ex.exe
23,552 expand.exe
2,552,629 expect.exe
95,744 expr.exe
27,648 factor.exe
14,848 false.exe
52,736 fgrep.exe
15,872 file.exe
209,920 find.exe
24,106 find2perl
286,720 flex.exe
27,136 fmt.exe
23,552 fold.exe
186 ftp
104,448 ftp.exe
19,968 funzip.exe
1,742,848 g++.exe
307,712 gawk-3.1.7.exe
307,712 gawk.exe
56,832 gcc-ar.exe
56,832 gcc-nm.exe
56,832 gcc-ranlib.exe
1,739,776 gcc.exe
1,206,784 gcov.exe
48,863 gdb.exe
6,611,255 gdborig.exe
315,549 gdbserver.exe
7,048 gdiffmk
54,784 gendef.exe
72,704 genidl.exe
28,672 genpeimg.exe
11,776 getclip.exe
29,184 getdefs.exe
17,920 getopt.exe
39,424 gettext.exe
4,655 gettext.sh
42,144 gettextize
1,742,848 gfortran.exe
1,371,136 git-receive-pack.exe
1,371,136 git-upload-archive.exe
661,504 git-upload-pack.exe
1,371,136 git.exe
330,727 gitk
3,783,168 gnat.exe
2,312,192 gnatbind.exe
1,967,104 gnatchop.exe
3,726,848 gnatclean.exe
1,948,160 gnatfind.exe
105,472 gnatkr.exe
1,769,472 gnatlink.exe
3,228,672 gnatls.exe
4,064,256 gnatmake.exe
3,311,104 gnatname.exe
2,551,808 gnatprep.exe
1,947,136 gnatxref.exe
932,864 gprof.exe
2,439 grap2graph
109,568 grep.exe
101,376 grn.exe
136,192 grodvi.exe
104,960 groff.exe
61,444 groffer
9,269 grog
134,656 grolbp.exe
125,952 grolj4.exe
210,432 grops.exe
126,976 grotty.exe
1,931 groups
30,100 gspawn-win32-helper-console.exe
30,678 gspawn-win32-helper.exe
2,907 guile-snarf
2,900 guile-tools
6,144 guile.exe
65 gunzip
5,868 gzexe
64,512 gzip.exe
27,325 h2ph
60,035 h2xs
33,280 head.exe
16,758 help2man
20,480 hg.exe
20,480 hostname.exe
124,928 hpftodit.exe
25,088 iconv.exe
23,552 id.exe
4,116 ifnames
4,161 ifnames-2.67
4,161 ifnames-2.68
4,116 ifnames-2.69
3,091 igawk
49,152 indxbib.exe
173,056 info.exe
25,088 infokey.exe
50,176 install-info.exe
378 install-info.exe.manifest
121,856 install.exe
378 install.exe.manifest
4,253 instmodsh
168,064 intl.dll
24,316 intltool-extract
40,414 intltool-merge
8,674 intltool-prepare
31,913 intltool-update
7,123 intltoolize
33,280 join.exe
25,600 kill.exe
1,239,040 ld.bfd.exe
1,239,040 ld.exe
336 ld2
822,444 less.exe
666,027 lessecho.exe
672,265 lesskey.exe
143,434 libapr-1.dll
36,949 libapriconv-1.dll
192,595 libaprutil-1.dll
1,723,196 libcrypto.dll
411,907 libcurl-4.dll
1,278,020 libeay32.dll
75,264 libgcc_s_seh-1.dll
1,228,288 libgfortran-3.dll
1,222,972 libgio-2.0-0.dll
1,243,248 libglib-2.0-0.dll
36,986 libgmodule-2.0-0.dll
202,752 libgnarl-4.8.dll
2,808,320 libgnat-4.8.dll
341,425 libgobject-2.0-0.dll
53,760 libgomp-1.dll
44,287 libgthread-2.0-0.dll
1,226,963 libiconv-2.dll
898,048 libiconv2.dll
103,424 libintl3.dll
15,724 libnetcfg
99,328 libobjc-4.dll
324,096 libquadmath-0.dll
77,892 libsasl.dll
378,238 libssl.dll
17,408 libssp-0.dll
957,440 libstdc++-6.dll
163,953 libsvnjavahl-1.dll
255,849 libsvn_client-1-0.dll
204,905 libsvn_client-1.dll
77,401 libsvn_delta-1-0.dll
90,215 libsvn_delta-1.dll
57,948 libsvn_diff-1-0.dll
53,349 libsvn_diff-1.dll
49,557 libsvn_fs-1-0.dll
135,265 libsvn_fs-1.dll
172,387 libsvn_fs_fs-1-0.dll
37,342 libsvn_ra-1-0.dll
524,385 libsvn_ra-1.dll
181,083 libsvn_ra_dav-1-0.dll
62,039 libsvn_ra_local-1-0.dll
123,176 libsvn_ra_svn-1-0.dll
202,003 libsvn_repos-1-0.dll
143,463 libsvn_repos-1.dll
266,235 libsvn_subr-1-0.dll
725,093 libsvn_subr-1.dll
73,712 libsvn_swig_perl-1-0.dll
284,454 libsvn_wc-1-0.dll
217,185 libsvn_wc-1.dll
322,366 libtool
78,539 libtoolize
79,637 libwinpthread-1.dll
20,480 link.exe
58,880 lkbib.exe
90,624 ln.exe
11,264 lndir.exe
481 lnkcnv
17,408 loadgdbm.exe
20,480 logname.exe
58,368 lookbib.exe
13,684 lp
13,684 lpr
331,264 lpr-basic.exe
13,684 lpr-enhanced
331,264 lpr.exe
96,768 ls.exe
8,527 lwp-download
2,495 lwp-mirror
14,673 lwp-request
15,123 lwp-rget
65,024 lzcat.exe
5,208 lzcmp
5,208 lzdiff
5,287 lzegrep
5,287 lzfgrep
5,287 lzgrep
1,800 lzless
65,024 lzma.exe
12,800 lzmadec.exe
27 lzmae
12,800 lzmainfo.exe
2,161 lzmore
228,864 m4.exe
165,888 make-old.exe
171,520 make.exe
245,760 makeinfo.exe
718,545 man.exe
505 man2dvi
741,135 man2html.exe
7,098 manlint
718,545 manpath.exe
39,424 md5sum.exe
210,944 mingw32-make.exe
114,688 mintty.exe
29,696 mkdir.exe
21,504 mkfifo.exe
27,648 mknod.exe
17,920 mkshortcut.exe
13,312 mktemp.exe
3,705 mmroff
6,321 mount
18,432 msgattrib.exe
17,920 msgcat.exe
17,920 msgcmp.exe
17,408 msgcomm.exe
15,872 msgconv.exe
15,872 msgen.exe
13,312 msgexec.exe
19,968 msgfilter.exe
59,904 msgfmt.exe
91,136 msggrep.exe
34,816 msginit.exe
39,424 msgmerge.exe
29,184 msgunfmt.exe
16,896 msguniq.exe
655,872 msvcr90.dll
820,224 msys-1.0.dll
1,651,659 msys-archive-2.dll
317,440 msys-asprintf-0.dll
66,048 msys-bz2-1.dll
10,752 msys-charset-1.dll
10,240 msys-crypt-0.dll
1,320,448 msys-crypto-1.0.0.dll
163,840 msys-expat-1.dll
20,992 msys-gdbm-3.dll
11,264 msys-gdbm_compat-3.dll
1,152,000 msys-gettextlib-0-17.dll
1,250,816 msys-gettextlib-0-18-1.dll
283,648 msys-gettextpo-0.dll
241,152 msys-gettextsrc-0-17.dll
249,856 msys-gettextsrc-0-18-1.dll
1,750,548 msys-gmp-10.dll
679,424 msys-guile-17.dll
26,112 msys-guile-srfi-srfi-1-v-3-3.dll
7,680 msys-guile-srfi-srfi-13-14-v-3-3.dll
7,680 msys-guile-srfi-srfi-4-v-3-3.dll
10,752 msys-guile-srfi-srfi-60-v-2-2.dll
7,680 msys-guilereadline-v-17-17.dll
1,019,904 msys-iconv-2.dll
48,128 msys-intl-8.dll
1,383,246 msys-ltdl-7.dll
1,501,228 msys-lzma-1.dll
140,288 msys-lzma-5.dll
1,480,248 msys-magic-1.dll
24,064 msys-minires.dll
108,544 msys-opts-25.dll
1,156,608 msys-perl5_8.dll
1,384,327 msys-popt-0.dll
72,192 msys-regex-1.dll
300,544 msys-ssl-1.0.0.dll
36,864 msys-termcap-0.dll
1,125,888 msys-xml2-2.dll
74,752 msys-z.dll
1,427 msysinfo
1,378,069 msysmnt.exe
125,440 mv.exe
271 neqn
39,424 ngettext.exe
23,040 nice.exe
90,624 nl.exe
881,152 nm.exe
22,016 nohup.exe
3,403 nroff
1,038,336 objcopy.exe
1,693,184 objdump.exe
46,592 od.exe
208,896 oldfind.exe
1,303,482 openssl.exe
23,040 paste.exe
107,520 patch.exe
568 patch.exe.manifest
22,016 pathchk.exe
19,710 pdfroff
663 pdftexi2dvi
23,552 peflags.exe
9,589 peflagsall
26,112 perl.exe
26,112 perl5.8.8.exe
37,273 perlbug
17,985 perlcc
224 perldoc
11,931 perlivp
2,571 perlld
2,961 perlrebase
12,288 pfbtops.exe
308,224 pgawk-3.1.7.exe
308,224 pgawk.exe
275,968 pic.exe
3,017 pic2graph
5,843 piconv
27,648 pinky.exe
77,605 pkg-config.exe
4,521 pl2pm
2,338 pod2html
10,255 pod2latex
19,545 pod2man
1,599 pod2readme
7,792 pod2text
3,343 pod2usage
3,726 podchecker
2,526 podselect
1,503 pod_cover
234,496 post-grohtml.exe
59,904 pr.exe
114,176 pre-grohtml.exe
49,152 preconv.exe
20,480 printenv.exe
31,744 printf.exe
9,199 prove
1,388,371 ps.exe
52,997 psed
36,601 pstruct
2,712 ptar
2,506 ptardiff
4,603 ptee
97,280 ptx.exe
12,800 putclip.exe
22,528 pwd.exe
2,148,864 python26.dll
894,464 ranlib.exe
60,416 rcp.exe
20,223 rcs2log
423,936 readelf.exe
23,552 readlink.exe
14,848 readshortcut.exe
326,144 rebase.exe
5,424 rebaseall
12,800 recode-sr-latin.exe
145,920 refer.exe
26,624 rexec.exe
49,152 rlogin.exe
100,352 rm.exe
21,504 rmdir.exe
5,576 roff2dvi
5,576 roff2html
5,576 roff2pdf
5,576 roff2ps
5,576 roff2text
5,576 roff2x
47,104 rsh.exe
359,424 rsync.exe
2,885 runtest
1,542,144 rview.exe
1,542,144 rvim.exe
52,997 s2p
28,750 saslANONYMOUS.dll
32,844 saslCRAMMD5.dll
53,326 saslDIGESTMD5.dll
41,033 saslNTLM.dll
5,166 scandeps.pl
50,688 scp.exe
32,768 sdiff.exe
134,144 sed.exe
23,552 seq.exe
87,040 sftp.exe
563,200 sh.exe
39,424 sha1sum.exe
7,658 shasum
44,544 shred.exe
872,448 size.exe
21,504 sleep.exe
320,000 slogin.exe
45,568 soelim.exe
53,760 sort.exe
17,366 splain
32,768 split.exe
99,328 ssh-add.exe
88,576 ssh-agent.exe
138,752 ssh-keygen.exe
179,712 ssh-keyscan.exe
320,000 ssh.exe
245,828 ssleay32.dll
184 start
44,032 stat.exe
871,424 strings.exe
1,038,336 strip.exe
49,664 stty.exe
26,624 su.exe
31,744 sum.exe
155,731 svn.exe
28,769 svnversion.exe
19,968 sync.exe
81,920 tac.exe
46,080 tail.exe
308,736 tar.exe
144,896 tbl.exe
1,152,701 tcl85.dll
30,023 tclpip85.dll
10,752 tclsh.exe
10,752 tclsh85.exe
21,504 tee.exe
105,984 telnet.exe
26,624 test.exe
52,691 texi2dvi
660 texi2pdf
16,896 texindex.exe
47,616 tfmtodit.exe
51,712 tftp.exe
1,410,875 tk85.dll
45,056 touch.exe
38,912 tr.exe
555,520 troff.exe
14,848 true.exe
23,552 tsort.exe
20,480 tty.exe
14,336 u2d.exe
3,092 umount
21,504 uname.exe
65 uncompress
25,088 unexpand.exe
29,696 uniq.exe
14,336 unix2dos.exe
20,480 unlink.exe
65,024 unlzma.exe
65,024 unxz.exe
186,368 unzip.exe
62,464 unzipsfx.exe
21,504 users.exe
96,768 vdir.exe
1,542,144 view.exe
1,542,144 vim.exe
1,542,144 vimdiff.exe
2,084 vimtutor
24,576 wc.exe
349,184 wget.exe
1,784 whatis
1,831 which
36,864 who.exe
20,480 whoami.exe
894,464 windmc.exe
980,992 windres.exe
12,800 wish.exe
12,800 wish85.exe
1,742,848 x86_64-w64-mingw32-c++.exe
1,742,848 x86_64-w64-mingw32-g++.exe
1,739,776 x86_64-w64-mingw32-gcc-4.8.1.exe
56,832 x86_64-w64-mingw32-gcc-ar.exe
56,832 x86_64-w64-mingw32-gcc-nm.exe
56,832 x86_64-w64-mingw32-gcc-ranlib.exe
1,739,776 x86_64-w64-mingw32-gcc.exe
1,742,848 x86_64-w64-mingw32-gfortran.exe
421,888 x86_64-w64-mingw32-widl.exe
33,280 xargs.exe
244,224 xgettext.exe
21,504 xml2ag.exe
13,312 xmlcatalog.exe
49,664 xmllint.exe
24,064 xmlwf.exe
51,838 xsubpp
13,824 xxd.exe
65,024 xz.exe
65,024 xzcat.exe
5,208 xzcmp
12,800 xzdec.exe
5,208 xzdiff
25 xze
5,287 xzegrep
5,287 xzfgrep
5,287 xzgrep
1,800 xzless
2,161 xzmore
41 yacc
20,480 yes.exe
10,418 ysh
66 zcat
71 zcmp
4,426 zdiff
66 zegrep
66 zfgrep
2,017 zforce
5,599 zgrep
227,328 zip.exe
65,536 zipcloak.exe
406 zipe
2,953 zipgrep
186,368 zipinfo.exe
60,416 zipnote.exe
62,464 zipsplit.exe
1,735 zless
2,418 zmore
4,954 znew
33,280 [.exe
609 File(s) 170,757,551 bytes
Directory of .\mingw64\lib
<DIR> Console2
<DIR> dde1.3
<DIR> expect5.26
<DIR> gcc
<DIR> gdbm
<DIR> gettext
<DIR> groff
<DIR> help2man
<DIR> itcl3.2
<DIR> itk3.2
1,092,402 libbfd.a
3,768 libgnumake-1.dll.a
362,578 libiberty.a
40,278 libmangle.a
907,000 libopcodes.a
<DIR> minires
<DIR> openssl
<DIR> perl5
<DIR> reg1.2
<DIR> tcl8.5
<DIR> tk8.5
5 File(s) 2,406,026 bytes
Directory of .\mingw64\lib\dde1.3
322 pkgIndex.tcl
44,964 tcldde13.dll
2 File(s) 45,286 bytes
Directory of .\mingw64\lib\expect5.26
210,072 libexpect526.a
1 File(s) 210,072 bytes
Directory of .\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.1
<DIR> adainclude
<DIR> adalib
2,693 crtfastmath.o
<DIR> finclude
<DIR> include
<DIR> include-fixed
<DIR> install-tools
8,128 libcaf_single.a
6,422,764 libgcc.a
51,494 libgcc_eh.a
131,804 libgcov.a
2,337,648 libgfortran.a
960,118 libgfortran.dll.a
269 libgfortran.spec
1,128 libgfortranbegin.a
85,036 libgomp.a
147,108 libgomp.dll.a
165 libgomp.spec
566,900 libobjc.a
133,802 libobjc.dll.a
450,796 libquadmath.a
70,666 libquadmath.dll.a
13,708 libssp.a
9,372 libssp.dll.a
970 libssp_nonshared.a
3,381,204 libstdc++.a
3,142,004 libstdc++.dll.a
2,329 libstdc++.dll.a-gdb.py
384,770 libsupc++.a
23 File(s) 18,304,876 bytes
Directory of .\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.1\adalib
14,796 libgmem.a
1,216,504 libgnarl-4.8.dll
1,353,498 libgnarl.a
12,559,614 libgnat-4.8.dll
15,303,018 libgnat.a
690 File(s) 35,719,322 bytes
Directory of .\mingw64\lib\gcc\x86_64-w64-mingw32\lib
74,124 libgcc_s.a
1 File(s) 74,124 bytes
Directory of .\mingw64\lib\openssl\engines-1.0.0
17,408 lib4758cca.so
15,360 libaep.so
14,848 libatalla.so
7,680 libcapi.so
20,480 libchil.so
20,480 libcswift.so
7,680 libgmp.so
80,384 libgost.so
11,776 libnuron.so
13,824 libpadlock.so
23,552 libsureware.so
18,432 libubsec.so
12 File(s) 251,904 bytes
Directory of .\mingw64\libexec\gcc\x86_64-w64-mingw32\4.8.1
13,946,368 cc1.exe
14,126,080 cc1obj.exe
15,040,000 cc1objplus.exe
14,857,728 cc1plus.exe
1,287,168 collect2.exe
14,546,432 f951.exe
16,940,032 gnat1.exe
<DIR> install-tools
74,411 liblto_plugin-0.dll
53,040 liblto_plugin.dll.a
1,473,024 lto-wrapper.exe
13,346,816 lto1.exe
11 File(s) 105,691,099 bytes
Directory of .\mingw64\opt\bin
137 2to3
135 idle
100,780 libbz2-1.dll
93,929 libhistory6.dll
1,837,114 libpython2.7.dll
589,016 libreadline6.dll
749,402 libsqlite3-0.dll
120 pydoc
1,705 python-config
3,115 python-config.sh
44,396 python.exe
1,705 python2-config
1,705 python2.7-config
44,396 python2.7.exe
44,396 python2.exe
19,133 smtpd.py
16 File(s) 3,531,184 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment