Opened 7 years ago
Closed 7 years ago
#54620 closed update (invalid)
Problems upgrading outdated ports/Installing new ports
Reported by: | wnukk14 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | petrrr | |
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 (3)
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by petrrr
Cc: | petrrr added |
---|
comment:3 Changed 7 years ago by petrrr
Resolution: | → invalid |
---|---|
Status: | new → closed |
No reaction from reporter. Closing!
Remember to use WikiFormatting when writing in Trac.
You said you upgraded your software from Yosemite... to a newer OS version, such as Sierra, I presume? If so, did you follow the migration instructions? If not, please do.
The first error explains itself. You must select one of the available Fortran variants when you install pyXX-numpy.
The second error is unfamiliar to me as well. Does it also happen when you upgrade specific individual ports, or only when you try to upgrade all outdated ports?