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

Can't build packages for ubuntu 14.x #1

Open
wjessop opened this issue May 16, 2014 · 1 comment
Open

Can't build packages for ubuntu 14.x #1

wjessop opened this issue May 16, 2014 · 1 comment
Assignees

Comments

@wjessop
Copy link
Owner

wjessop commented May 16, 2014

When running:

./build_ruby -r 2.1.0 -i 37s~trusty -d ubuntu:14.04

I get:

make[2]: Entering directory `/tmp/ruby-2.1.0/ext/readline'
compiling readline.c
readline.c: In function 'Init_readline':
readline.c:1977:26: error: 'Function' undeclared (first use in this function)
     rl_pre_input_hook = (Function *)readline_pre_input_hook;
                          ^
readline.c:1977:26: note: each undeclared identifier is reported only once for each function it appears in
readline.c:1977:36: error: expected expression before ')' token
     rl_pre_input_hook = (Function *)readline_pre_input_hook;
                                    ^
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make[1]: make[2]: Leaving directory `/tmp/ruby-2.1.0/ext/readline'
*** Waiting for unfinished jobs....
compiling ossl_pkcs5.c
compiling ossl_pkey_rsa.c
compiling ossl_cipher.c
compiling ossl_bn.c
compiling ossl_engine.c
linking shared-object dl/callback.so
compiling ossl_ssl_session.c
make[2]: Leaving directory `/tmp/ruby-2.1.0/ext/dl/callback'
compiling ossl_pkey_dsa.c
compiling ossl_x509crl.c
compiling openssl_missing.c
compiling ossl_digest.c
compiling ossl_x509revoked.c
compiling ossl_rand.c
compiling ossl_pkey_dh.c
compiling ossl_x509req.c
compiling ossl_pkey.c
compiling ossl_ns_spki.c
compiling ossl_config.c
compiling ossl_hmac.c
compiling ossl_bio.c
compiling ossl_x509ext.c
installing default openssl libraries
linking shared-object openssl.so
make[2]: Leaving directory `/tmp/ruby-2.1.0/ext/openssl'
make[1]: Leaving directory `/tmp/ruby-2.1.0'
make: *** [build-ext] Error 2
panic: The command [/bin/sh -c make -j4 install DESTDIR=/tmp/fpm] returned a non-zero code: 2

goroutine 1 [running]:
runtime.panic(0x287dc0, 0xc210097630)
    /usr/local/Cellar/go/1.2.1/libexec/src/pkg/runtime/panic.c:266 +0xb6
main.buildRuby(0xc2100526a0)
    /Users/will/www/go/src/github.com/wjessop/build_ruby/build_ruby.go:100 +0x818
github.com/codegangsta/cli.(*App).Run(0xc21000f640, 0xc21000a000, 0x7, 0x7, 0xc, ...)
    /Users/will/www/go/src/github.com/codegangsta/cli/app.go:106 +0x839
main.main()
    /Users/will/www/go/src/github.com/wjessop/build_ruby/build_ruby.go:69 +0x2bc

goroutine 6 [runnable]:
net/http.(*persistConn).readLoop(0xc21005f500)
    /usr/local/Cellar/go/1.2.1/libexec/src/pkg/net/http/transport.go:778 +0x68f
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.2.1/libexec/src/pkg/net/http/transport.go:528 +0x607

goroutine 5 [syscall]:
runtime.goexit()
    /usr/local/Cellar/go/1.2.1/libexec/src/pkg/runtime/proc.c:1394

goroutine 7 [select]:
net/http.(*persistConn).writeLoop(0xc21005f500)
    /usr/local/Cellar/go/1.2.1/libexec/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.2.1/libexec/src/pkg/net/http/transport.go:529 +0x61e    
@wjessop wjessop self-assigned this May 16, 2014
@wjessop
Copy link
Owner Author

wjessop commented Aug 10, 2014

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

No branches or pull requests

1 participant