[MacPorts] #48870: problem installing gildas: python version mismatch?

MacPorts noreply at macports.org
Mon Sep 21 04:56:00 PDT 2015


#48870: problem installing gildas: python version mismatch?
-----------------------+--------------------------------
  Reporter:  vdtak@…   |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:  invalid   |   Keywords:
      Port:  py-numpy  |
-----------------------+--------------------------------

Comment (by vdtak@…):

 Replying to [comment:2 mf2k@…]:

 Sorry but I do not understand your answer. What exactly do you suggest me
 to do?

 Attached is the output from my attempt to install atlas using MacPorts. As
 with gildas, the problem seems to be a mismatch between Python versions 26
 and 27 ...

 Many thanks for your help,
 Floris van der Tak


 floris% sudo port install atlas
 --->  Computing dependencies for atlas
 --->  Cleaning atlas
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  Found 22 broken file(s), matching files to ports
 Warning: No port py26-gtk found in the index; can't rebuild
 --->  Found 5 broken port(s), determining rebuild order
 --->  Rebuilding in order
      py26-numpy @1.5.1 +atlas+gcc44
      py26-pygtksourceview @2.10.1
      py27-numpy @1.5.1 +atlas+gcc44
      py27-scientific @2.8
      py27-matplotlib @1.0.0 +tkinter
 --->  Computing dependencies for py26-nose
 --->  Fetching archive for py26-nose
 --->  Attempting to fetch py26-nose-1.3.1_1.darwin_13.noarch.tbz2 from
 http://lil.fr.packages.macports.org/py26-nose
 --->  Attempting to fetch py26-nose-1.3.1_1.darwin_13.noarch.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/py26-nose
 --->  Attempting to fetch py26-nose-1.3.1_1.darwin_13.noarch.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/py26-nose
 --->  Fetching distfiles for py26-nose
 --->  Attempting to fetch nose-1.3.1.tar.gz from
 http://pypi.python.org/packages/source/n/nose/
 --->  Verifying checksums for py26-nose
 --->  Extracting py26-nose
 --->  Configuring py26-nose
 --->  Building py26-nose
 --->  Staging py26-nose into destroot
 --->  Installing py26-nose @1.3.1_1
 --->  Cleaning py26-nose
 --->  Computing dependencies for py26-nose
 --->  Deactivating py26-nose @0.11.3_0
 --->  Cleaning py26-nose
 --->  Activating py26-nose @1.3.1_1
 --->  Cleaning py26-nose
 --->  Computing dependencies for py26-cython
 --->  Fetching archive for py26-cython
 --->  Attempting to fetch py26-cython-0.23.1_0.darwin_13.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/py26-cython
 --->  Attempting to fetch py26-cython-0.23.1_0.darwin_13.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/py26-cython
 --->  Attempting to fetch py26-cython-0.23.1_0.darwin_13.x86_64.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/py26-cython
 --->  Fetching distfiles for py26-cython
 --->  Verifying checksums for py26-cython
 --->  Extracting py26-cython
 --->  Configuring py26-cython
 --->  Building py26-cython
 --->  Staging py26-cython into destroot
 --->  Installing py26-cython @0.23.1_0
 --->  Activating py26-cython @0.23.1_0

 To make the Python 2.6 version of Cython the one that is run when you
 execute the
 commands without a version suffix, e.g. 'cython', run:

 port select --set cython cython26

 --->  Cleaning py26-cython
 --->  Computing dependencies for py26-numpy
 --->  Fetching archive for py26-numpy
 --->  Attempting to fetch py26-numpy-1.9.2_2+atlas.darwin_13.x86_64.tbz2
 from http://lil.fr.packages.macports.org/py26-numpy
 --->  Attempting to fetch py26-numpy-1.9.2_2+atlas.darwin_13.x86_64.tbz2
 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/py26-numpy
 --->  Attempting to fetch py26-numpy-1.9.2_2+atlas.darwin_13.x86_64.tbz2
 from http://nue.de.packages.macports.org/macports/packages/py26-numpy
 --->  Fetching distfiles for py26-numpy
 Error: org.macports.fetch for port py26-numpy returned: You have selected
 the clang compiler (either directly or indirectly) and the +atlas variant,
 which does not match the clang compiler. Please ensure that both are
 compiled with the same one.
 Please see the log file for port py26-numpy for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-numpy/py26-numpy/main.log
 Error: Unable to upgrade port: 1
 Error rebuilding py26-numpy
     while executing
 "error "Error rebuilding $portname""
     (procedure "revupgrade_scanandrebuild" line 395)
     invoked from within
 "revupgrade_scanandrebuild broken_port_counts $opts"
     (procedure "macports::revupgrade" line 5)
     invoked from within
 "macports::revupgrade $opts"
     (procedure "action_revupgrade" line 2)
     invoked from within
 "action_revupgrade $action $portlist $opts"
     (procedure "action_target" line 96)
     invoked from within
 "$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 103)
     invoked from within
 "process_cmd $remaining_args"
     invoked from within
 "if { [llength $remaining_args] > 0 } {

     # If there are remaining arguments, process those as a command
     set exit_status [process_cmd $remaining..."
     (file "/opt/local/bin/port" line 5268)

-- 
Ticket URL: <https://trac.macports.org/ticket/48870#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list