[MacPorts] #54620: Problems upgrading outdated ports/Installing new ports

MacPorts noreply at macports.org
Wed Aug 16 14:57:13 UTC 2017


#54620: Problems upgrading outdated ports/Installing new ports
---------------------+-----------------
 Reporter:  wnukk14  |      Owner:
     Type:  update   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:
---------------------+-----------------
 Hey Everyone,

 So I have the dreaded mac ports update bug. I have recently updated my
 software (From Yosemite...) on my 2014 macbook pro, and yesterday I did a
 port self update, but when I tried port upgrade outdated, I ran into two
 main issues (which may or may not be related).

 The first has to do with py34-numpy, which is preventing me from
 installing any new ports. Every time I try to install a port (almost any
 port) I get this runaround:

 sudo port install autoconf
 Password:
 --->  Computing dependencies for autoconf
 --->  Cleaning autoconf
 --->  Scanning binaries for linking errors
 --->  Found 48 broken files, matching files to ports
 --->  Found 2 broken ports, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt:
  py34-h5py @2.5.0
  py34-isce @2.0.0+gcc48
 Continue? [Y/n]: y
 --->  Computing dependencies for py34-numpy
 --->  Fetching distfiles for py34-numpy
 Error: Failed to fetch py34-numpy: must set at least one Fortran variant
 (e.g. +gfortran, +gccX, +g95)
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-numpy/py34-numpy/main.log for
 details.
 Error: rev-upgrade failed: Error rebuilding py34-h5py

 and the log file doesn't really have any additional information... I've
 never seen the Fortran variant issue before, and I think I have almost
 every fortran variant installed, so I'm not sure how to address the issue.

 The second issue occurs whenever I try to upgrade an outdated port. I get
 an error message:

 sudo port upgrade outdated
 Error: process_cmd failed: can't use empty string as operand of "-"

 Which I have never seen before and also have no idea how to address.

 I've tried cleaning and several other options, but I can't find a way
 around these issues. Any ideas for something I could try? Let me know if
 you need any additional information. Thanks for you time.

 -Kendall

--
Ticket URL: <https://trac.macports.org/ticket/54620>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list