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

error: failed to run custom build command for `gecko-media v0.1.0 #19238

Closed
hgallagher1993 opened this issue Nov 15, 2017 · 2 comments
Closed

error: failed to run custom build command for `gecko-media v0.1.0 #19238

hgallagher1993 opened this issue Nov 15, 2017 · 2 comments
Labels

Comments

@hgallagher1993
Copy link
Contributor

@hgallagher1993 hgallagher1993 commented Nov 15, 2017

error: failed to run custom build command for `gecko-media v0.1.0 (https://github.com/servo/gecko-media.git#0299b455)`
process didn't exit successfully: `/home/hugh/opensource/servo/target/release/build/gecko-media-59486aef098dd7b4/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/home/hugh/opensource/servo/.cargo/git/checkouts/gecko-media-6bedb392a81eb7cf/0299b45/." "-DCMAKE_INSTALL_PREFIX=/home/hugh/opensource/servo/target/release/build/gecko-media-ccbcac47a43a429e/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Release"
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hugh/opensource/servo/target/release/build/gecko-media-ccbcac47a43a429e/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--"
[  9%] Built target stagefright
[  9%] Building C object CMakeFiles/cubeb.dir/gecko/src/media/libcubeb/src/cubeb_pulse.c.o
CMakeFiles/cubeb.dir/build.make:206: recipe for target 'CMakeFiles/cubeb.dir/gecko/src/media/libcubeb/src/cubeb_pulse.c.o' failed
CMakeFiles/Makefile2:115: recipe for target 'CMakeFiles/cubeb.dir/all' failed
Makefile:127: recipe for target 'all' failed

--- stderr
/home/hugh/opensource/servo/.cargo/git/checkouts/gecko-media-6bedb392a81eb7cf/0299b45/gecko/src/media/libcubeb/src/cubeb_pulse.c:11:30: fatal error: pulse/pulseaudio.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/cubeb.dir/gecko/src/media/libcubeb/src/cubeb_pulse.c.o] Error 1
make[1]: *** [CMakeFiles/cubeb.dir/all] Error 2
make: *** [all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2

build script failed, must exit now', .cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.27/src/lib.rs:627:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
@jdm
Copy link
Member

@jdm jdm commented Nov 15, 2017

You will need to install the pulseaudio development library. For Ubuntu, that's libpulse-dev.

@jdm jdm added the A-build label Nov 15, 2017
@hgallagher1993
Copy link
Contributor Author

@hgallagher1993 hgallagher1993 commented Nov 16, 2017

@jdm Yes that did it, thanks 😄

@jdm jdm mentioned this issue Nov 16, 2017
3 of 3 tasks complete
bors-servo added a commit that referenced this issue Nov 18, 2017
Add pulseaudio requirement to readme.

Update known requirements for building.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19238.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19252)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.