Opened 7 years ago
Closed 7 years ago
#54587 closed defect (worksforme)
Port ESMF not completing
Reported by: | edshred2000 (Ed Armstrong) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: | esmf |
Description (last modified by mf2k (Frank Schima))
Fails to find some critical fortran gcc libs or dependencies:
earmstro$ sudo port install esmf ---> Computing dependencies for esmf ---> Fetching distfiles for esmf Error: Install netcdf-fortran +gcc6 Error: Failed to fetch esmf: netcdf-fortran +gcc6 not installed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_esmf/esmf/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port esmf failed
Running Mac OS/X 10.11.6
Attachments (1)
Change History (11)
comment:1 Changed 7 years ago by kencu (Ken)
Changed 7 years ago by edshred2000 (Ed Armstrong)
Log file for ESMF build on Mac OS X
comment:2 Changed 7 years ago by edshred2000 (Ed Armstrong)
I did try to clean several times.....before ticket submit
In my log file (attached) my port seems to try to access other locations and not find the proper package:
:info:archivefetch ---> esmf-6_3_0rp1_3+accelerate+gcc6.darwin_15.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch esmf-6_3_0rp1_3+accelerate+gcc6.darwin_15.x86_64.tbz2 from https://packages.macports.org/esmf :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch esmf-6_3_0rp1_3+accelerate+gcc6.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/esmf :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch esmf-6_3_0rp1_3+accelerate+gcc6.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/esmf :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Cc: | edshred2000 removed |
---|---|
Owner: | set to tenomoto |
Status: | new → assigned |
In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers esmf
), if any.
As reporter, you do not need to Cc yourself.
comment:4 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | esmf gcc netcdf-fortran removed |
comment:5 Changed 7 years ago by kencu (Ken)
Thanks. In your log, I see:
708 :debug:fetch netcdf-fortran is installed with the following variants: +gcc5 709 :debug:fetch required: gcc5, forbidden: 710 :debug:fetch accepted 711 :error:fetch Install netcdf-fortran +gcc6 712 :error:fetch Failed to fetch esmf: netcdf-fortran +gcc6 not installed
Is that correct? Do you already have netcdf-fortran installed with +gcc5? (port -v installed netcdf-fortan
will tell you).
If so, it seems to want you to install netcdf-fortran +gcc6
instead. Or just uninstall netcdf-fortran +gcc5
if you have that installed, and let MacPorts install the one it wants.
comment:6 Changed 7 years ago by kencu (Ken)
Or it looks like (port variants esmf
) you could alternatively install esmf with the +gcc5 variant, if you already have netcdf-fortran +gcc5
installed and you need to keep that for some reason. sudo port -v install esmf +gcc5
would do that.
comment:7 Changed 7 years ago by kencu (Ken)
Just to make sure it all works, I just installed both on this old 10.7 machine I have with me:
$ port -v installed esmf netcdf-fortran The following ports are currently installed: esmf @6_3_0rp1_3+accelerate+gcc6 (active) platform='darwin 11' archs='x86_64' date='2017-08-10T10:22:02+0200' netcdf-fortran @4.4.4_0+gcc6 (active) platform='darwin 11' archs='x86_64' date='2017-08-10T10:07:38+0200'
comment:8 Changed 7 years ago by edshred2000 (Ed Armstrong)
Looks like uninstalling netcdf-fortran +gcc5 did the trick. Thanks
Downloads earmstro$ sudo port uninstal esmf netcdf-fortran The following versions of netcdf-fortran are currently installed: 1) netcdf-fortran @4.4.2_0+gcc5 2) netcdf-fortran @4.4.4_0+gcc5 (active) Enter option(s) [1-2/all]: all ---> Uninstalling netcdf-fortran @4.4.2_0+gcc5 ---> Deactivating netcdf-fortran @4.4.4_0+gcc5 ---> Cleaning netcdf-fortran ---> Uninstalling netcdf-fortran @4.4.4_0+gcc5
earmstro$ sudo port install esmf ---> Computing dependencies for esmf The following dependencies will be installed: netcdf-fortran Continue? [Y/n]: y ---> Fetching archive for netcdf-fortran ---> Attempting to fetch netcdf-fortran-4.4.4_0+gcc6.darwin_15.x86_64.tbz2 from https://packages.macports.org/netcdf-fortran ---> Attempting to fetch netcdf-fortran-4.4.4_0+gcc6.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/netcdf-fortran ---> Installing netcdf-fortran @4.4.4_0+gcc6 ---> Activating netcdf-fortran @4.4.4_0+gcc6 ---> Cleaning netcdf-fortran ---> Fetching distfiles for esmf ---> Attempting to fetch esmf_6_3_0rp1_src.tar.gz from https://distfiles.macports.org/esmf ---> Verifying checksums for esmf ---> Extracting esmf ---> Applying patches to esmf ---> Configuring esmf ---> Building esmf ---> Staging esmf into destroot ---> Installing esmf @6_3_0rp1_3+accelerate+gcc6 ---> Activating esmf @6_3_0rp1_3+accelerate+gcc6 ---> Cleaning esmf ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
comment:9 Changed 7 years ago by kencu (Ken)
Excellent. Powers-that-be, this ticket can be closed as "worksforme".
comment:10 Changed 7 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
esmf seems to download and checksum fine here:
as does netcdf-fortran
perhaps clean and try again? If it still fails, please upload your entire build attempt log so we can see what happens.