[MacPorts] #21809: Update Erlang to R13B-2

MacPorts noreply at macports.org
Tue Oct 13 08:33:29 PDT 2009


#21809: Update Erlang to R13B-2
------------------------------------+---------------------------------------
  Reporter:  bfulgham@…             |       Owner:  macports-tickets@…                   
      Type:  enhancement            |      Status:  closed                               
  Priority:  Normal                 |   Milestone:                                       
 Component:  ports                  |     Version:  1.8.1                                
Resolution:  fixed                  |    Keywords:  lang                                 
      Port:  erlang                 |  
------------------------------------+---------------------------------------

Comment(by jabronson@…):

 i'm on leopard, just did {{{port selfupdate}}}, confirmed that {{{port
 info erlang}}} now shows "erlang @R13B02, Revision 2", and tried {{{port
 upgrade erlang}}}, but no luck. i did not specify either +ssl or -ssl.

 {{{
 # uname -a
 Darwin hex.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01
 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

 #  port installed erlang
 The following ports are currently installed:
   erlang @R13B01_1 (active)

 # port info erlang
 erlang @R13B02, Revision 2 (lang, erlang)
 ...

 # port upgrade erlang
 Portfile changed since last build; discarding previous state.
 --->  Computing dependencies for erlang
 --->  Fetching 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/i386-apple-darwin9.8.0/debuglog.o -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement
 -m32 -O2 -arch i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-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/i386-apple-darwin9.8.0/esock_poll.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -m32 -O2 -arch i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-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/i386-apple-darwin9.8.0/esock_osio.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -m32 -O2 -arch i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-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/i386-apple-darwin9.8.0/esock_utils.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -m32 -O2 -arch i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-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/i386-apple-
 darwin9.8.0/esock_posix_str.o -Wall -Wstrict-prototypes -Wmissing-
 prototypes -Wdeclaration-after-statement -m32 -O2 -arch i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-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/i386-apple-darwin9.8.0/esock_openssl.o
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-
 statement -m32 -O2 -arch i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-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 i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02/erts/i386-apple-darwin9.8.0  -no-cpp-precomp
 -I/opt/local/include  -o ../priv/bin/i386-apple-darwin9.8.0/ssl_esock
 ../priv/obj/i386-apple-darwin9.8.0/esock.o ../priv/obj/i386-apple-
 darwin9.8.0/debuglog.o ../priv/obj/i386-apple-darwin9.8.0/esock_poll.o
 ../priv/obj/i386-apple-darwin9.8.0/esock_osio.o ../priv/obj/i386-apple-
 darwin9.8.0/esock_utils.o ../priv/obj/i386-apple-
 darwin9.8.0/esock_posix_str.o ../priv/obj/i386-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/i386-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
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21809#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list