erlong failed to build during upgrade

Frank J. R. Hanstick trog24 at comcast.net
Thu Oct 15 11:34:59 PDT 2009


Hello,
	Ticket #22092.

On Oct 15, 2009, at 12:46 AM, Ryan Schmidt wrote:

> You may want to file a ticket in the issue tracker for this problem  
> so it can be properly tracked.
>
> On Oct 15, 2009, at 02:05, Frank J. R. Hanstick wrote:
>
>> Hello,
>> 	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
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>

Frank J. R. Hanstick
trog24 at comcast.net



More information about the macports-users mailing list