Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48870 closed defect (invalid)

problem installing gildas: python version mismatch? — at Version 2

Reported by: vdtak@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: py-numpy

Description (last modified by mf2k (Frank Schima))

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

Change History (2)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Port: py-numpy added; gildas py27-numpy removed
Resolution: invalid
Status: newclosed

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers py27-numpy), if any.

Solution is in the output you supplied. Match your py27-numpy variants with your installed atlas variants.

: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.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.