Skip to content

Backstop on Debian Wheezy 7.7 #23

@bkosick

Description

@bkosick

Hi Guys,

When I try to install backstop, I get the following errors with event machine and thin:

Installing eventmachine (0.12.10) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
....
make
compiling rubymain.cpp
rubymain.cpp: In function ‘VALUE t_connect_server(VALUE, VALUE, VALUE)’:
rubymain.cpp:468:42: error: format not a string literal and no format arguments [-Werror=format-security
rubymain.cpp: In function ‘VALUE t_bind_connect_server(VALUE, VALUE, VALUE, VALUE, VALUE)’:
rubymain.cpp:488:42: error: format not a string literal and no format arguments [-Werror=format-security]
cc1plus: some warnings being treated as errors
make: *** [rubymain.o] Error 1

After some research it seems it's because of a Debian desicion to make -Werror=format-securoty a default compile flag. Changing the Gem.lock file to use eventmachine 1.0.3 and thin 1.6.3 lets backstop compile. However, after I export my carbon location and a test prefix, I use netstat to see if anything is listening on port 80 and nothing..... the foreman start command appears to hang as well.
bkvm4:root# export CARBON_URLS="carbon://carbon.example.com:2003"
bkvm4:root# export PREFIXES=test
bkvm4:root# foreman start
16:09:35 web.1 | started with pid 4741
16:09:35 web.1 | Ignoring ruby directive. This is a feature added to Bundler 1.2.0
16:09:35 web.1 | and higher. Please upgrade if you would like to use it.
16:09:35 web.1 |

^ hangs here, not sure if it's supposed to daemonize or not....

bkosick@bkvm4:~/puppet/modules/salesforce/manifests$ sudo netstat -l | grep http retuens nothing.

Any help would be appreciated.
Thanks,
Brian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions