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)

main.log (55.0 KB) - added by edshred2000 (Ed Armstrong) 7 years ago.
Log file for ESMF build on Mac OS X

Download all attachments as: .zip

Change History (11)

comment:1 Changed 7 years ago by kencu (Ken)

esmf seems to download and checksum fine here:

DEBUG: Executing org.macports.fetch (esmf)
--->  esmf_6_3_0rp1_src.tar.gz does not exist in /opt/local/var/macports/distfiles/esmf
--->  Attempting to fetch esmf_6_3_0rp1_src.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/esmf
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   271  100   271    0     0    532      0 --:--:-- --:--:-- --:--:--  2150
100 5957k  100 5957k    0     0  1765k      0  0:00:03  0:00:03 --:--:-- 2125k
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Wed Aug  9 22:25:34 CEST 2017
--->  Verifying checksums for esmf
DEBUG: Executing org.macports.checksum (esmf)
--->  Checksumming esmf_6_3_0rp1_src.tar.gz
DEBUG: Calculated (rmd160) is 3bc0363dcf4e809d287a9bfc26aed9734a592b5d
DEBUG: Correct (rmd160) checksum for esmf_6_3_0rp1_src.tar.gz
DEBUG: Calculated (sha256) is 89d9466fec099f375ec2182efd80af79e2ef6d486cdd51d5e18e9ab77b98dc1f
DEBUG: Correct (sha256) checksum for esmf_6_3_0rp1_src.tar.gz

as does netcdf-fortran

DEBUG: Executing org.macports.fetch (netcdf-fortran)
--->  netcdf-fortran-4.4.4.tar.gz does not exist in /opt/local/var/macports/distfiles/netcdf-fortran
--->  Attempting to fetch netcdf-fortran-4.4.4.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/netcdf-fortran
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   284  100   284    0     0   3096      0 --:--:-- --:--:-- --:--:--  3155
100 1817k  100 1817k    0     0  1224k      0  0:00:01  0:00:01 --:--:-- 1563k
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Wed Aug  9 22:28:59 CEST 2017
--->  Verifying checksums for netcdf-fortran
DEBUG: Executing org.macports.checksum (netcdf-fortran)
--->  Checksumming netcdf-fortran-4.4.4.tar.gz
DEBUG: Calculated (rmd160) is e09445545d8a835e3df78f63a2a0e725616a259f
DEBUG: Correct (rmd160) checksum for netcdf-fortran-4.4.4.tar.gz
DEBUG: Calculated (sha256) is c4f2fc229c03c0b4f633838d9000070e9468a7108bb70e9838e9510aeb0b93a6
DEBUG: Correct (sha256) checksum for netcdf-fortran-4.4.4.tar.gz

perhaps clean and try again? If it still fails, please upload your entire build attempt log so we can see what happens.

Changed 7 years ago by edshred2000 (Ed Armstrong)

Attachment: main.log added

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: newassigned

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 need to do that for some reason. sudo port -v install esmf +gcc5 would do that.

Version 0, edited 7 years ago by kencu (Ken) (next)

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: assignedclosed
Note: See TracTickets for help on using tickets.