[Scons-users] untar builder fails with error
daggs
daggs at gmx.com
Tue Nov 8 10:21:37 EST 2022
> On 11/7/22 03:53, daggs wrote:
> > Greetings Mats,
>
> >> this improves things because before you were getting a list of tarInfo
> >> objects from getmembers(), effectively filtering out non-file entries -
> >> but such objects presumably aren't directly useful to SCons; now you're
> >> getting the string version, which is presumably the same as the .name
> >> attribute. Any reason not to go ahead and convert those to File nodes
> >> at the same time?
> >
> > if I'm not mistaken, the File obj wasn't found
>
>
I've decided to debug it on my home setup, it uses scons 4.4.0 and python 3.10.8
the code I'm using is this: https://dpaste.com/CA5CGYWNC and I'm getting this:
dagg at NCC-5001D ~/workspace/scons_untar $ scons .
scons: Reading SConscript files ...
AttributeError: 'map' object has no attribute 'side_effect':
File "/home/dagg/workspace/scons_untar/SConstruct", line 40:
thirdPartyEnvironment.UnTar(source="apr-1.3.3")
File "/usr/lib/python3.10/site-packages/SCons/Environment.py", line 238:
return super().__call__(target, source, *args, **kw)
File "/usr/lib/python3.10/site-packages/SCons/Util.py", line 737:
return self.method(*nargs, **kwargs)
File "/usr/lib/python3.10/site-packages/SCons/Builder.py", line 663:
return self._execute(env, target, source, OverrideWarner(kw), ekw)
File "/usr/lib/python3.10/site-packages/SCons/Builder.py", line 579:
_node_errors(self, env, tlist, slist)
File "/usr/lib/python3.10/site-packages/SCons/Builder.py", line 291:
if t.side_effect:
Dagg
More information about the Scons-users
mailing list