Opened 7 years ago

Last modified 6 years ago

#54620 closed update

Problems upgrading outdated ports/Installing new ports — at Initial Version

Reported by: wnukk14 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.