[MacPorts] #22964: erlang fails with +universal (was: Erlang fails with +universal)

MacPorts noreply at macports.org
Sun Dec 20 19:39:54 PST 2009


#22964: erlang fails with +universal
-------------------------------+--------------------------------------------
  Reporter:  wobbet@…          |       Owner:  macports-tickets@…                   
      Type:  defect            |      Status:  closed                               
  Priority:  Normal            |   Milestone:                                       
 Component:  ports             |     Version:  1.8.1                                
Resolution:  duplicate         |    Keywords:  erlang universal                     
      Port:  erlang            |  
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * milestone:  MacPorts 1.8.2 =>


Old description:

> Running Snow Leopard in 32bit mode on MacBookPro 2,2. +universal enabled
> for all ports in the config file.
>
> Macintosh-2:~ wobbet$ sudo port install erlang
> Password:
> --->  Computing dependencies for erlang
> --->  Configuring erlang
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
> /erlang-R13B02" && ./configure --prefix=/opt/local --disable-dependency-
> tracking
> --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/destroot/opt/local
> --enable-kernel-poll --enable-threads --enable-dynamic-ssl-lib --enable-
> smp-support --enable-hipe --disable-ssl " returned error 1
> Command output: checking size of void *... 8
> checking whether compilation mode forces ARCH adjustment... yes:
> adjusting ARCH=x86 to ARCH=amd64
> configure: Adjusting LDFLAGS to cope with 64bit Darwin
> checking if VM has to be linked with Carbon framework... no
> checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for perl5... /opt/local/bin/perl5
> checking whether ln -s works... yes
> checking for ar... ar
> checking for rm... /bin/rm
> checking for mkdir... /bin/mkdir
> checking for a BSD-compatible install... /usr/bin/install -c
> checking how to create a directory including parents... /usr/bin/install
> -c -d
> checking for extra flags needed to export symbols... none
> none
> checking for sin in -lm... no
> checking for dlopen in -ldl... no
> checking for main in -linet... no
> checking for openpty in -lutil... no
> checking for native win32 threads... no
> checking for pthread_create in -lpthread... no
> checking for pthread_create in -lc_r... no
> checking if the '-pthread' switch can be used... no
> checking whether default stack size should be modified... no
> checking for void *... (cached) yes
> checking size of void *... (cached) 8
> checking whether an emulator with smp support should be built... yes;
> enabled by user
> configure: error: cannot build smp enabled emulator since no thread
> library was found
> configure: error: /bin/sh
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
> /erlang-R13B03/erts/configure' failed for erts
>
> Error: Status 1 encountered during processing.

New description:

 Running Snow Leopard in 32bit mode on MacBookPro 2,2. +universal enabled
 for all ports in the config file.

 {{{
 Macintosh-2:~ wobbet$ sudo port install erlang
 Password:
 --->  Computing dependencies for erlang
 --->  Configuring erlang
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B02" && ./configure --prefix=/opt/local --disable-dependency-
 tracking
 --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/destroot/opt/local
 --enable-kernel-poll --enable-threads --enable-dynamic-ssl-lib --enable-
 smp-support --enable-hipe --disable-ssl " returned error 1
 Command output: checking size of void *... 8
 checking whether compilation mode forces ARCH adjustment... yes: adjusting
 ARCH=x86 to ARCH=amd64
 configure: Adjusting LDFLAGS to cope with 64bit Darwin
 checking if VM has to be linked with Carbon framework... no
 checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
 checking for ranlib... ranlib
 checking for bison... bison -y
 checking for perl5... /opt/local/bin/perl5
 checking whether ln -s works... yes
 checking for ar... ar
 checking for rm... /bin/rm
 checking for mkdir... /bin/mkdir
 checking for a BSD-compatible install... /usr/bin/install -c
 checking how to create a directory including parents... /usr/bin/install
 -c -d
 checking for extra flags needed to export symbols... none
 none
 checking for sin in -lm... no
 checking for dlopen in -ldl... no
 checking for main in -linet... no
 checking for openpty in -lutil... no
 checking for native win32 threads... no
 checking for pthread_create in -lpthread... no
 checking for pthread_create in -lc_r... no
 checking if the '-pthread' switch can be used... no
 checking whether default stack size should be modified... no
 checking for void *... (cached) yes
 checking size of void *... (cached) 8
 checking whether an emulator with smp support should be built... yes;
 enabled by user
 configure: error: cannot build smp enabled emulator since no thread
 library was found
 configure: error: /bin/sh
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
 /erlang-R13B03/erts/configure' failed for erts

 Error: Status 1 encountered during processing.
 {{{

--

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


More information about the macports-tickets mailing list