Opened 15 years ago

Closed 15 years ago

#22092 closed defect (duplicate)

erlang failed to build during upgrade

Reported by: trog24 (Frank J. R. Hanstick) Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: erlang

Description

The following build error occurred when upgrading:

--->  Computing dependencies for erlang
--->  Fetching erlang
--->  Attempting to fetch otp_src_R13B02.tar.gz from http://distfiles.macports.org/erlang
--->  Attempting to fetch otp_doc_man_R13B02.tar.gz from http://distfiles.macports.org/erlang
--->  Attempting to fetch otp_doc_html_R13B02.tar.gz from http://distfiles.macports.org/erlang
--->  Verifying checksum(s) for erlang
--->  Extracting erlang
--->  Applying patches to erlang
--->  Configuring erlang
--->  Building erlang
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-R13B02" && /usr/bin/make all " returned error 2
Command output: esock.c: In function 'do_accept':
esock.c:1625: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
esock.c: In function 'dump_connections':
esock.c:1719: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
esock.c:1725: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
esock.c:1730: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
/usr/bin/gcc-4.0 -c -o ../priv/obj/powerpc-apple-darwin9.8.0/debuglog.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -m32 -O2 -arch ppc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/powerpc-apple-darwin9.8.0  -no-cpp-precomp  -I/opt/local/include -DHAVE_CONFIG_H -O2 debuglog.c
/usr/bin/gcc-4.0 -c -o ../priv/obj/powerpc-apple-darwin9.8.0/esock_poll.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -m32 -O2 -arch ppc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/powerpc-apple-darwin9.8.0  -no-cpp-precomp  -I/opt/local/include -DHAVE_CONFIG_H -O2 esock_poll.c
/usr/bin/gcc-4.0 -c -o ../priv/obj/powerpc-apple-darwin9.8.0/esock_osio.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -m32 -O2 -arch ppc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/powerpc-apple-darwin9.8.0  -no-cpp-precomp  -I/opt/local/include -DHAVE_CONFIG_H -O2 esock_osio.c
/usr/bin/gcc-4.0 -c -o ../priv/obj/powerpc-apple-darwin9.8.0/esock_utils.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -m32 -O2 -arch ppc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/powerpc-apple-darwin9.8.0  -no-cpp-precomp  -I/opt/local/include -DHAVE_CONFIG_H -O2 esock_utils.c
esock_utils.c: In function 'esock_malloc':
esock_utils.c:38: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
esock_utils.c: In function 'esock_realloc':
esock_utils.c:50: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
/usr/bin/gcc-4.0 -c -o ../priv/obj/powerpc-apple-darwin9.8.0/esock_posix_str.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -m32 -O2 -arch ppc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/powerpc-apple-darwin9.8.0  -no-cpp-precomp  -I/opt/local/include -DHAVE_CONFIG_H -O2 esock_posix_str.c
/usr/bin/gcc-4.0 -c -o ../priv/obj/powerpc-apple-darwin9.8.0/esock_openssl.o -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -m32 -O2 -arch ppc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/powerpc-apple-darwin9.8.0  -no-cpp-precomp  -I/opt/local/include -DHAVE_CONFIG_H -O2 -I/usr/include esock_openssl.c
esock_openssl.c: In function 'set_ssl_parameters':
esock_openssl.c:905: warning: pointer targets in initialization differ in signedness
esock_openssl.c:906: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/bin/gcc-4.0  -m32 -O2 -arch ppc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/powerpc-apple-darwin9.8.0  -no-cpp-precomp  -I/opt/local/include  -o ../priv/bin/powerpc-apple-darwin9.8.0/ssl_esock ../priv/obj/powerpc-apple-darwin9.8.0/esock.o ../priv/obj/powerpc-apple-darwin9.8.0/debuglog.o ../priv/obj/powerpc-apple-darwin9.8.0/esock_poll.o ../priv/obj/powerpc-apple-darwin9.8.0/esock_osio.o ../priv/obj/powerpc-apple-darwin9.8.0/esock_utils.o ../priv/obj/powerpc-apple-darwin9.8.0/esock_posix_str.o ../priv/obj/powerpc-apple-darwin9.8.0/esock_openssl.o -lutil -ldl -lm   -L/usr/lib -lssl -lcrypto
Undefined symbols:
 "_SSL_CTX_set_info_callback", referenced from:
     _set_ssl_parameters in esock_openssl.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [../priv/bin/powerpc-apple-darwin9.8.0/ssl_esock] Error 1
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2

Error: Unable to upgrade port: 1

The platform is a 1.73 GHz PowerPC G4 Quicksilver running MaxOS 10.5.8.

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to bfulgham@…
Port: erlang added

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Summary: erlong failed to build during upgradeerlang failed to build during upgrade

Duplicate of #21959; please search before opening new tickets.

Note: See TracTickets for help on using tickets.