-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fails to build on GNU/Hurd #19
Comments
|
My tests are not passing with 1 error for 1.0.18 version, sources do compile libtest/unittest.cc:626: in application_doesnotexist_BINARY() Assertion 'Application::SUCCESS' != 'true_app.run(args)' Tests 65 Under raw docker image of debian:stretch (https://hub.docker.com/_/debian/) Configuration summary for libmemcached version 1.0.18
|
No libtest anymore. |
Imported from Launchpad using lp2gh.
libmemcached 1.0.17 does not compile on GNU/Hurd. Also, there is one failure when running the test suite.
The attached patch fixes the following issues:
libtest/timer.cc
The code in the MACH blocks is specific to Mac OS X; since GNU/Hurd runs on a Mach-based microkernel (gnumach), MACH is defined by the compiler, leading to compile issues. The solution is just changing the checked symbol (APPLE) so it is really used only on Mac OS X.
libtest/unittest.cc
The Hurd implementation of posix_spawn in glibc fails straight away when the filename does not exist, i.e. what happens in application_doesnotexist_BINARY. Thus, fix the expected return value to be INVALID_POSIX_SPAWN.
The text was updated successfully, but these errors were encountered: