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

MacPorts noreply at macports.org
Fri Sep 18 10:42:35 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  |
-----------------------+--------------------------------
Description changed by mf2k@…:

Old description:

> Dear Macports team,
>
> Installing gildas gives the following error message. How can I solve or
> circumvent this issue?
>

> prompt% sudo port install gildas
> --->  Computing dependencies for py27-numpy
> --->  Fetching distfiles for py27-numpy
> Error: org.macports.fetch for port py27-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 py27-numpy for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_python_py-numpy/py27-numpy/main.log
> Error: Unable to upgrade port: 1
> Error: Unable to execute port: upgrade py27-numpy failed
>
> prompt% more
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_python_py-numpy/py27-numpy/main.log
> version:1
> :msg:main --->  Computing dependencies for py27-numpy:info:main
> .:debug:main py27-numpy has no conflicts
> :debug:main Searching for dependency: python27
> :debug:main Found Dependency: receipt exists for python27
> :debug:main Searching for dependency: fftw-3
> :debug:main Found Dependency: receipt exists for fftw-3
> :debug:main Searching for dependency: py27-nose
> :debug:main Found Dependency: receipt exists for py27-nose
> :debug:main Searching for dependency: py27-cython
> :debug:main Found Dependency: receipt exists for py27-cython
> :debug:main Searching for dependency: atlas
> :debug:main Found Dependency: receipt exists for atlas
> :msg:main
> :debug:main Executing org.macports.main (py27-numpy)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 502
> :debug:main euid changed to: 502
> :debug:main Skipping completed org.macports.archivefetch (py27-numpy)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:fetch fetch phase started at Tue Sep 15 12:06:27 CEST 2015
> :notice:fetch --->  Fetching distfiles for py27-numpy
> :debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
> :debug:fetch Executing proc-pre-org.macports.fetch-fetch-1
> :debug:fetch atlas is installed with the following variants: +gcc47
> :debug:fetch   required: clang, forbidden:
> :debug:fetch   rejected, because required variant clang is missing
> :error:fetch org.macports.fetch for port py27-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.
> :debug:fetch Error code: NONE
> :debug:fetch Backtrace: 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.
>     while executing
> "proc-pre-org.macports.fetch-fetch-1 org.macports.fetch"
>     ("eval" body line 1)
>     invoked from within
> "eval $pre $targetname"
> :info:fetch Warning: targets not executed for py27-numpy:
> org.macports.install org.macports.fetch org.macports.checksum
> org.macports.extract org.macports.patch org.macports.configure
> org.macports.build org.macports.destroot
> :notice:fetch Please see the log file for port py27-numpy for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_python_py-numpy/py27-numpy/main.log

New description:

 Dear Macports team,

 Installing gildas gives the following error message. How can I solve or
 circumvent this issue?

 {{{
 prompt% sudo port install gildas
 --->  Computing dependencies for py27-numpy
 --->  Fetching distfiles for py27-numpy
 Error: org.macports.fetch for port py27-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 py27-numpy for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-numpy/py27-numpy/main.log
 Error: Unable to upgrade port: 1
 Error: Unable to execute port: upgrade py27-numpy failed

 prompt% more
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-numpy/py27-numpy/main.log
 version:1
 :msg:main --->  Computing dependencies for py27-numpy:info:main
 .:debug:main py27-numpy has no conflicts
 :debug:main Searching for dependency: python27
 :debug:main Found Dependency: receipt exists for python27
 :debug:main Searching for dependency: fftw-3
 :debug:main Found Dependency: receipt exists for fftw-3
 :debug:main Searching for dependency: py27-nose
 :debug:main Found Dependency: receipt exists for py27-nose
 :debug:main Searching for dependency: py27-cython
 :debug:main Found Dependency: receipt exists for py27-cython
 :debug:main Searching for dependency: atlas
 :debug:main Found Dependency: receipt exists for atlas
 :msg:main
 :debug:main Executing org.macports.main (py27-numpy)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 502
 :debug:main euid changed to: 502
 :debug:main Skipping completed org.macports.archivefetch (py27-numpy)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:fetch fetch phase started at Tue Sep 15 12:06:27 CEST 2015
 :notice:fetch --->  Fetching distfiles for py27-numpy
 :debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
 :debug:fetch Executing proc-pre-org.macports.fetch-fetch-1
 :debug:fetch atlas is installed with the following variants: +gcc47
 :debug:fetch   required: clang, forbidden:
 :debug:fetch   rejected, because required variant clang is missing
 :error:fetch org.macports.fetch for port py27-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.
 :debug:fetch Error code: NONE
 :debug:fetch Backtrace: 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.
     while executing
 "proc-pre-org.macports.fetch-fetch-1 org.macports.fetch"
     ("eval" body line 1)
     invoked from within
 "eval $pre $targetname"
 :info:fetch Warning: targets not executed for py27-numpy:
 org.macports.install org.macports.fetch org.macports.checksum
 org.macports.extract org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot
 :notice:fetch Please see the log file for port py27-numpy for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-numpy/py27-numpy/main.log
 }}}

--

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


More information about the macports-tickets mailing list