-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpath related error on MacOS 12.3.1 #1253
Comments
@santoshshanbhogue … as @bryanwweber mentioned in 2511421#commitcomment-72119076, could you post what version of Scons you are using? |
@ischoegl its 4.1.0 as I mentioned above |
Thanks - not sure why I didn’t see it. 4.1.0 is two versions back, but not really old, either. Presumably, upgrading Scons would resolve this? |
That the first thing I did actually ( I just checked and scons 4.1.0 is the latest that I see that is offered by my anaconda distribution ( How would you go about this? |
That's the last version on the defaults channel. You can use Conda-forge or pip to upgrade. Upgrading was also my first thought, but then I reasoned that |
so I upgraded to 4.3.0 via conda-forge and the build does not stall anymore. thanks! |
Let's keep this open until we figure out what version of SCons ought to have |
Looks like the |
Its your call ultimately, but I'm curious if you know Also, related to the current issue, I am able to successfully build and test ab8aee9 but get the following error during
|
@speth I also wonder why 4.0.0... the version available in the Ubuntu 18.04 repos is 3.0.1, to the extent that we use Ubuntu repos as version setters. IMO if we're going to increase the requirement past that, people aren't going to be able to use the system version anyways and we might as well go to the version that supports the features we're using. The other option that would make sense to me is 4.1.0 since that's the latest available in the defaults channel, if we can find a workaround. |
@santoshshanbhogue Can you please post the entire output from |
If it helps - this is the second time I got the dylib error. The first time I got it during Full output of
|
If it's easy to keep supporting 3.0, that's great. Try not to read too much into my 3 minute investigation into the problem. |
The 'relpath' attribute was only introduced in SCons 4.2.0, which isn't available on all supported build environments (notably, Anaconda, which only has SCons 4.1.0). Fixes Cantera#1253
The 'relpath' attribute was only introduced in SCons 4.2.0, which isn't available on all supported build environments (notably, Anaconda, which only has SCons 4.1.0). Fixes #1253
Problem description
Lines 100-104 introduced as part of 2511421 is preventing me from installing any update beyond this commit
I'm using scons 4.1.0
Steps to reproduce
scons build
Behavior
INFO: Using private installation of Sundials version 5.3.
INFO: Using NumPy version 1.21.2
INFO: Using Cython version 0.29.25
INFO: Building the full Python package for Python 3.7
target.dir:/Users/santosh1/packages/canteraSource/build/lib
target.dir:/Users/santosh1/packages/canteraSource/build/lib
AttributeError: <class 'SCons.Node.FS.File'> object has no attribute 'relpath':
File "/Users/santosh1/packages/canteraSource/SConstruct", line 2014:
SConscript('build/src/SConscript')
File "/Users/santosh1/opt/anaconda3/lib/python3.7/site-packages/SCons/Script/SConscript.py", line 654:
return method(*args, **kw)
File "/Users/santosh1/opt/anaconda3/lib/python3.7/site-packages/SCons/Script/SConscript.py", line 591:
return _SConscript(self.fs, *files, **subst_kw)
File "/Users/santosh1/opt/anaconda3/lib/python3.7/site-packages/SCons/Script/SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/Users/santosh1/packages/canteraSource/src/SConscript", line 103:
Action(f"install_name_tool -id @rpath/{lib[0].name} {lib[0].relpath}"))
File "/Users/santosh1/opt/anaconda3/lib/python3.7/site-packages/SCons/Node/FS.py", line 643:
(self.class, attr))
System information
Attachments
Additional context
The text was updated successfully, but these errors were encountered: