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

Build error #76

Closed
akashtalole opened this issue Jan 7, 2016 · 3 comments
Closed

Build error #76

akashtalole opened this issue Jan 7, 2016 · 3 comments

Comments

@akashtalole
Copy link

c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make[2]: *** [CMakeFiles/BootstrapTest.dir/bootstrap/BootstrapTest.cpp.o] Error 4
make[1]: *** [CMakeFiles/BootstrapTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable bin/PeekingAcceptorHandshakeHelperTest
Linking CXX executable bin/OutputBufferingHandlerTest
[ 91%] Built target CodecTest
[ 91%] [ 91%] Built target PeekingAcceptorHandshakeHelperTest
Built target OutputBufferingHandlerTest
Linking CXX executable bin/AsyncSocketHandlerTest
[ 91%] Built target AsyncSocketHandlerTest
Linking CXX executable bin/ObservingHandlerTest
[ 91%] Built target ObservingHandlerTest
Linking CXX executable bin/BroadcastHandlerTest
[ 91%] Built target BroadcastHandlerTest
Linking CXX executable bin/BroadcastPoolTest
[ 91%] Built target BroadcastPoolTest
make: *** [all] Error 2

@viswanathgs
Copy link
Contributor

I'm not able to repro this. What's your platform? Could you paste more info from the build logs?

@akashtalole
Copy link
Author

I build this on Ubuntu 14.04

@akashtalole
Copy link
Author

Build Successfully

facebook-github-bot pushed a commit that referenced this issue Apr 11, 2019
Summary:
Needs to be enabled by option PYTHON_VENV in the config.

shell_builder.py sets up the venv and uses it once; calling activate

For docker we set ENV; resulting in the virtual environment being present
when the resulting container is run as well as at build time. This is also cleaner
and easier to follow than re-asserting on each RUN step.

For Lego builder we need to source activate on each command as environment
will not persist between commands.

While man on the posts say it makes no sense to use virtualenv within docker
container, this method simplifies the process considerably as we can rely on the
name pip being valid and we don't need to either ensure we are root or pass the
--user flag to pip and setuptools.

Pull Request resolved: facebookarchive/LogDevice#76

Reviewed By: wez

Differential Revision: D14875633

Pulled By: calebmarchent

fbshipit-source-id: aabbcdd509d2a59fa36f8004032a052f014ce1ba
facebook-github-bot pushed a commit that referenced this issue Mar 14, 2022
Summary:
X-link: facebookincubator/fizz#76

Pull Request resolved: #402

X-link: facebook/folly#1735

X-link: facebookarchive/bistro#60

X-link: facebook/watchman#1012

X-link: facebook/fbthrift#487

X-link: facebook/fboss#114

X-link: facebook/fb303#27

When using getdeps inside of a container, Python's urllib isn't able to download from dewey lfs (see this post for details https://fb.workplace.com/groups/systemd.and.friends/permalink/2747692278870647/).

This allows for getdeps to use `libcurl` to fetch dependencies, which allows for a getdeps build to work inside the container environment.

Reviewed By: mackorone

Differential Revision: D34696330

fbshipit-source-id: 06cae87eef40dfa3cecacacee49234b6737d546f
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