Skip to content

Instantly share code, notes, and snippets.

@mrichman
Created September 17, 2009 12:54
Show Gist options
  • Save mrichman/188478 to your computer and use it in GitHub Desktop.
Save mrichman/188478 to your computer and use it in GitHub Desktop.
[8:50:01] mark:~ $ sudo port install ruby
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since readline 6.0.000_1 >= readline 6.0.000_1, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants.
---> Computing dependencies for ruby
---> Fetching ruby
---> Attempting to fetch ruby-1.8.7-p174.tar.bz2 from http://www.ibiblio.org/pub/languages/ruby/1.8
---> Attempting to fetch ruby-1.8.7-p174.tar.bz2 from ftp://xyz.lcs.mit.edu/pub/ruby/1.8
---> Verifying checksum(s) for ruby
---> Extracting ruby
---> Applying patches to ruby
---> Configuring ruby
---> Building ruby
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby/work/ruby-1.8.7-p174" && /usr/bin/make -j8 all " returned error 2
Command output: ossl_x509revoked.c: In function 'ossl_x509revoked_new':
ossl_x509revoked.c:48: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_x509revoked.c: In function 'DupX509RevokedPtr':
ossl_x509revoked.c:64: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
cp ../.././ext/openssl/lib/net/telnets.rb ../../.ext/common/net
cp ../.././ext/openssl/lib/openssl/bn.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/buffering.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/cipher.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/digest.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/pkcs7.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/ssl.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common
/usr/bin/gcc-4.2 -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin10/openssl.bundle openssl_missing.o ossl.o ossl_asn1.o ossl_bio.o ossl_bn.o ossl_cipher.o ossl_config.o ossl_digest.o ossl_engine.o ossl_hmac.o ossl_ns_spki.o ossl_ocsp.o ossl_pkcs12.o ossl_pkcs5.o ossl_pkcs7.o ossl_pkey.o ossl_pkey_dh.o ossl_pkey_dsa.o ossl_pkey_ec.o ossl_pkey_rsa.o ossl_rand.o ossl_ssl.o ossl_ssl_session.o ossl_x509.o ossl_x509attr.o ossl_x509cert.o ossl_x509crl.o ossl_x509ext.o ossl_x509name.o ossl_x509req.o ossl_x509revoked.o ossl_x509store.o -L. -L../.. -L. -L/opt/local/lib -arch x86_64 -lruby -lssl -lcrypto -lpthread -ldl -lobjc
compiling pty
/usr/bin/gcc-4.2 -I. -I../.. -I../../. -I../.././ext/pty -DHAVE_OPENPTY -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -O2 -arch x86_64 -fno-common -pipe -fno-common -arch x86_64 -c pty.c
cp ../.././ext/pty/lib/expect.rb ../../.ext/common
/usr/bin/gcc-4.2 -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin10/pty.bundle pty.o -L. -L../.. -L. -L/opt/local/lib -arch x86_64 -lruby -lutil -lpthread -ldl -lobjc
compiling racc/cparse
mkdir -p ../../../.ext/i686-darwin10/racc
/usr/bin/gcc-4.2 -I. -I../../.. -I../../../. -I../../.././ext/racc/cparse -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -arch x86_64 -fno-common -pipe -fno-common -arch x86_64 -c cparse.c
/usr/bin/gcc-4.2 -dynamic -bundle -undefined suppress -flat_namespace -o ../../../.ext/i686-darwin10/racc/cparse.bundle cparse.o -L. -L../../.. -L. -L/opt/local/lib -arch x86_64 -lruby -lpthread -ldl -lobjc
compiling readline
/usr/bin/gcc-4.2 -I. -I../.. -I../../. -I../.././ext/readline -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS -DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS -DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_FILENAME_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK -DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -O2 -arch x86_64 -fno-common -pipe -fno-common -arch x86_64 -c readline.c
readline.c: In function 'username_completion_proc_call':
readline.c:730: error: 'username_completion_function' undeclared (first use in this function)
readline.c:730: error: (Each undeclared identifier is reported only once
readline.c:730: error: for each function it appears in.)
make[1]: *** [readline.o] Error 1
make: *** [all] Error 1
Error: Status 1 encountered during processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment