erlang r12b-2 bzip issues with ssl
---> Fetching erlang
---> Attempting to fetch otp_src_R12B-2.tar.gz from http://www.erlang.org/download/
---> Attempting to fetch otp_doc_man_R12B-2.tar.gz from http://www.erlang.org/download/
---> Attempting to fetch otp_doc_html_R12B-2.tar.gz from http://www.erlang.org/download/
---> Verifying checksum(s) for erlang
---> Extracting erlang
---> Applying patches to erlang
---> Configuring erlang
---> Building erlang with target all
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_erlang/work/erlang-R12B-2" && make all " returned error 2
Command output: esock_utils.c: In function 'esock_realloc':
esock_utils.c:48: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
/usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-darwin9.2.2/esock_posix_str.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R12B-2/erts/i386-apple-darwin9.2.2 -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -O2 esock_posix_str.c
/usr/bin/gcc-4.0 -c -o ../priv/obj/i386-apple-darwin9.2.2/esock_openssl.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R12B-2/erts/i386-apple-darwin9.2.2 -no-cpp-precomp -I/opt/local/include -DHAVE_CONFIG_H -O2 -I/opt/local/include esock_openssl.c
esock_openssl.c: In function 'set_ssl_parameters':
esock_openssl.c:903: warning: pointer targets in initialization differ in signedness
esock_openssl.c:904: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
esock_openssl.c: At top level:
esock_openssl.c:1006: warning: 'info_callback' defined but not used
/usr/bin/gcc-4.0 -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R12B-2/erts/i386-apple-darwin9.2.2 -no-cpp-precomp -I/opt/local/include -o ../priv/bin/i386-apple-darwin9.2.2/ssl_esock ../priv/obj/i386-apple-darwin9.2.2/esock.o ../priv/obj/i386-apple-darwin9.2.2/debuglog.o ../priv/obj/i386-apple-darwin9.2.2/esock_poll.o ../priv/obj/i386-apple-darwin9.2.2/esock_osio.o ../priv/obj/i386-apple-darwin9.2.2/esock_utils.o ../priv/obj/i386-apple-darwin9.2.2/esock_posix_str.o ../priv/obj/i386-apple-darwin9.2.2/esock_openssl.o -lutil -ldl -lm /opt/local/lib/libssl.a /opt/local/lib/libcrypto.a
Undefined symbols:
"_inflateEnd", referenced from:
_zlib_stateful_free_ex_data in libcrypto.a(c_zlib.o)
"_inflateInit_", referenced from:
_zlib_stateful_init in libcrypto.a(c_zlib.o)
"_deflate", referenced from:
_zlib_stateful_compress_block in libcrypto.a(c_zlib.o)
"_deflateEnd", referenced from:
_zlib_stateful_free_ex_data in libcrypto.a(c_zlib.o)
"_deflateInit_", referenced from:
_zlib_stateful_init in libcrypto.a(c_zlib.o)
"_inflate", referenced from:
_zlib_stateful_expand_block in libcrypto.a(c_zlib.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [../priv/bin/i386-apple-darwin9.2.2/ssl_esock] Error 1
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
Error: Status 1 encountered during processing.
I believe this is now resolved. Can you retry after updating (
port -d sync
)?