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

Unable to build the source tree #1668

Closed
manuel-apple opened this issue Jul 22, 2020 · 7 comments · Fixed by #1689
Closed

Unable to build the source tree #1668

manuel-apple opened this issue Jul 22, 2020 · 7 comments · Fixed by #1689
Assignees

Comments

@manuel-apple
Copy link

I am following the instructions to setup the development environment using Visual Code.
All initial steps to setup development container and run bootstrap work.

When I get to the last step, I do Run Build Task ---> Main. Terminal shows it is compiling but then stops with an error:

checking D-Bus configuration directory... /etc
checking D-Bus system bus services dir... /usr/share/dbus-1/system-services
checking D-Bus session bus services dir... /usr/share/dbus-1/services
${prefix}/share/zsh/site-functions
checking for UDEV... no
configure: error: libudev >= 172 is required
configure: error: ../../../../../third_party/bluez/repo/configure failed for third_party/bluez/repo
The terminal process "/bin/bash '-c', 'scripts/build/bootstrap.sh'" terminated with exit code: 1.

I am using a Mac for development

@turon
Copy link
Contributor

turon commented Jul 22, 2020

@yunhanw-google this seems to be related to #1608. MacOS build should not try to build bluez.

@turon turon assigned yunhanw-google and unassigned yufengwangca Jul 22, 2020
@yunhanw-google
Copy link
Contributor

You should not compile linux device layer in MacOS

configure --with-device-layer=none

@yunhanw-google
Copy link
Contributor

May I see your mac compilation instruction? thanks

@manuel-apple
Copy link
Author

@pan-apple
Copy link
Contributor

To add to it, the VSCode devcontainer is not running native MacOS build. It's an Ubuntu container. If I change the VSCode Bootstrap task with --with-bluez=no, the build works fine. I am not certain if this is a solution.

@pan-apple
Copy link
Contributor

I have pushed a draft PR. I can abandon the PR if there's a more comprehensive solution to the issue.

@woody-apple woody-apple linked a pull request Jul 22, 2020 that will close this issue
@woody-apple
Copy link
Contributor

Resolved in this PR, sorry @manuel-apple !

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

Successfully merging a pull request may close this issue.

6 participants