Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Documenting Fedora 29 build process. #55

Closed
wants to merge 7 commits into from

Conversation

mickvav
Copy link
Contributor

@mickvav mickvav commented Oct 31, 2018

May be not final - needed some cmake-related expertise: on Fedora cmake can't actually find boost_python3 library, although it exists. This commit documents workaround to this step, leading to seems-to-be-working build.

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 1, 2018
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@mickvav
Copy link
Contributor Author

mickvav commented Nov 1, 2018

N.B. Circleci says that test 1779 fails, but on Fedora it runs fine.

Copy link

@calebmarchent calebmarchent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took a little while, as was doing full-builds for each. But tested on Fedora28 (29 not yet available for LXC) which appeared to build ok. But on Xenial the build failed. I did some brief checks and it looks like on Xenial the variable Boost_LIBRARIES is not populated and so the components are not included in the link?

cd mstch
mkdir build
cd build
make && make install

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a CMake step to configure the build:

cmake ..

I believe the make install will either need to be installed to a specific (staging) directory; or installed with sudo permissions.

@@ -4,7 +4,7 @@
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

FROM fedora:25

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I think its good that we only keep a generic Fedora; rather than populating the tree with docker files for Fedora 27, 28 and 29; it is best to be specific in the Dockerfile; this allows people picking up the file to get the same configuration as we test against.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@calebmarchent has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mickvav has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants