Skip to content
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

Failing to build (still) on Ubuntu 16.04 #163

Open
glassrye opened this issue Dec 13, 2017 · 1 comment
Open

Failing to build (still) on Ubuntu 16.04 #163

glassrye opened this issue Dec 13, 2017 · 1 comment

Comments

@glassrye
Copy link

I'd like to try the 'all in one' approach, but Devstack seems to require 16.04. I've gotten past the issues between xenial and trusty in the contrial.sh, but I keep running into this new problem during the build phase:

2017-12-13 18:12:56 ++ [[ fetch-packages == \f\e\t\c\h-\p\a\c\k\a\g\e\s ]]
2017-12-13 18:12:56 ++ sudo scons --opt=production
2017-12-13 18:12:57 scons: Reading SConscript files ...
2017-12-13 18:12:57 OSError: [Errno 17] File exists:
2017-12-13 18:12:57 File "/opt/stack/contrail/SConstruct", line 16:
2017-12-13 18:12:57 SConscript(dirs=['src/contrail-common', 'controller', 'vrouter'])
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
2017-12-13 18:12:57 return method(*args, **kw)
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
2017-12-13 18:12:57 return _SConscript(self.fs, *files, **subst_kw)
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
2017-12-13 18:12:57 exec file in call_stack[-1].globals
2017-12-13 18:12:57 File "/opt/stack/contrail/controller/SConscript", line 5:
2017-12-13 18:12:57 SConscript(dirs=['lib', 'src'])
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
2017-12-13 18:12:57 return method(*args, **kw)
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
2017-12-13 18:12:57 return _SConscript(self.fs, *files, **subst_kw)
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
2017-12-13 18:12:57 exec file in call_stack[-1].globals
2017-12-13 18:12:57 File "/opt/stack/contrail/controller/lib/SConscript", line 53:
2017-12-13 18:12:57 SConscript(dirs = dir, variant_dir = '#/build/third_party/' + dir)
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
2017-12-13 18:12:57 return method(*args, **kw)
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
2017-12-13 18:12:57 return _SConscript(self.fs, *files, **subst_kw)
2017-12-13 18:12:57 File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
2017-12-13 18:12:57 exec file in call_stack[-1].globals
2017-12-13 18:12:57 exited with status :2
2017-12-13 18:12:57 File "/opt/stack/contrail/build/third_party/SimpleAmqpClient/SConscript", line 34:
2017-12-13 18:12:57 [Dir(SimpleAmqpClient_path + '/src/SimpleAmqpClient')])
2017-12-13 18:12:57 File "/opt/stack/contrail/build/third_party/SimpleAmqpClient/SConscript", line 14:
2017-12-13 18:12:57 os.symlink(source[0].abspath, target[0].abspath)
2017-12-13 18:12:57 ++ ret_val=2
2017-12-13 18:12:57 ++ [[ 2 -ne 0 ]]
2017-12-13 18:12:57 ++ exit 2
2017-12-13 18:12:57 ++ clean
2017-12-13 18:12:57 ++ local r=2
2017-12-13 18:12:57 ++ echo 'exited with status :2'
2017-12-13 18:12:57 ++ exit 2

Any thoughts here? I would love to try this out, but getting OpenContrail to build along with Devstack seems very difficult give the current instructions, etc.

@ismail-98-ns
Copy link

hi @glassrye
did you find solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants