#48870 closed defect (invalid)
problem installing gildas: python version mismatch?
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 (3)
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Port: | py-numpy added; gildas py27-numpy removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 follow-up: 3 Changed 9 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 9 years ago by vdtak@…
Replying to 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)
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.