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 Pex without dbus #318

Closed
bhunut-adobe opened this issue Dec 11, 2017 · 6 comments
Closed

Build Pex without dbus #318

bhunut-adobe opened this issue Dec 11, 2017 · 6 comments
Assignees
Labels
Milestone

Comments

@bhunut-adobe
Copy link
Collaborator

The build instruction stated that

You don't need the python-dbus package to build user-sync, but you will need it to run user-sync if you use the dbus secure store for your credentials.

However, when I attempted to build UST, I got an error for dbus which it normal for Centos 6. It seems like dbus is still required to build.

pex: Failed to install package at /tmp/tmp6o6pfowi/dbus-python-1.2.4: Failed

OS: Centos 6.7
Python: 3.6.3
Using virtualEnv.

pex.log

@adobeDan adobeDan self-assigned this Dec 11, 2017
@adobeDan adobeDan added this to the 2.3 milestone Dec 11, 2017
@adorton-adobe
Copy link
Collaborator

I've been unable to build it in 6.7 If you build it in 7, you should be able to run the pex in 6.7.

@bhunut-adobe
Copy link
Collaborator Author

@adorton-adobe Yeah in rhel/centos 6 it usually errors out because of dbus. But the documentation now said dbus is optional from the build process.

@adobeDan
Copy link
Contributor

I'm investigating. I haven't done much in centos6. But I will take a look over the next few days.

@adobeDan
Copy link
Contributor

adobeDan commented Jan 4, 2018

Haven't had any time to look at this. Still trying.

@adobeDan
Copy link
Contributor

OK, so dbus-python is required for builds; that was an error in the README. Further, the latest version of dbus available on CentOS 6 is 1.2 but user-sync requires 1.6 or later to build. So you cannot build user-sync on CentOS 6, but you can run the CentOS 7 build on CentOS 6 (as long as you are using the same version of python 3). But I doubt it will work if you try to use the keyring.

@adobeDan
Copy link
Contributor

adobeDan commented Jan 29, 2018

Marking this bug as a doc bug, because there's no way to build on CentOS6. Going to fix the README.

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

No branches or pull requests

3 participants