failure to get gcc9 running

Christopher Jones jonesc at hep.phy.cam.ac.uk
Mon Nov 4 18:19:08 UTC 2019


> 
> --->  Computing dependencies for gdbm
> --->  Fetching distfiles for gdbm
> --->  Verifying checksums for gdbm
> --->  Extracting gdbm
> --->  Applying patches to gdbm
> --->  Configuring gdbm
> Error: Failed to configure gdbm, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/gdbm-1.18.1/config.log
> Error: Failed to configure gdbm: configure failure: command execution failed
> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/main.log for details.
> Error: rev-upgrade failed: Error rebuilding gdbm
> Error: Follow https://guide.macports.org/#project.tickets <https://guide.macports.org/#project.tickets> to report a bug.
> --------------------------------------------------------------------------‚Äč
> 
> It all leads me nowhere. Was it a mistake to upgrade to macOS 1014 for this MacBook? It all worked nicely before with the Fortran compiler g95. However, that does not work anymore with the new system, so I had to download gcc9. Gave me this enormous sequence of errors which I do not know how to fix. I will greatly appreciate assistance on this. 

gcc9 works just fine on 10.14 so whatever you did to get into the state above, it is not normal. 

A few comments.

- Did you *really* correctly follow the migration instructions at

https://trac.macports.org/wiki/Migration <https://trac.macports.org/wiki/Migration>

? 

as I am not sure how you could get into such a mess if you had. Did you really remove *all* ports in order to reinstall them ?

- When you get errors like those above, you have to look into the log file that is referenced. e.g.

> Error: Failed to configure gdbm, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/gdbm-1.18.1/config.log

so, what does that log say ?

Honestly, the simplest solution might be to start again, as if you are doing an OS migration. So follow the instructions above, making sure to remove everything.

I would also suggest *not* just blinding reinstalling everything you previously had, so once you get to a point where you have an empty vanilla MacPOrts installation, please just run

> sudo port sync
> sudo port install gcc9

that, should work just fine. Then you can go from there adding what else you want.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191104/48168bea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191104/48168bea/attachment.bin>


More information about the macports-users mailing list