[MacPorts] #58270: netcdf @4.6.3 +dap +mpich +netcdf4 +universal: nc-config differs and cannot be merged

MacPorts noreply at macports.org
Fri Mar 29 18:49:38 UTC 2019


#58270: netcdf @4.6.3 +dap +mpich +netcdf4 +universal: nc-config differs and cannot
be merged
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  tenomoto
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  netcdf
------------------------+----------------------
 netcdf doesn't build with the universal variant:

 {{{
 --->  Computing dependencies for netcdf
 --->  Fetching archive for netcdf
 --->  Attempting to fetch
 netcdf-4.6.3_0+dap+mpich+netcdf4+universal.darwin_17.i386-x86_64.tbz2 from
 https://packages.macports.org/netcdf
 --->  Attempting to fetch
 netcdf-4.6.3_0+dap+mpich+netcdf4+universal.darwin_17.i386-x86_64.tbz2 from
 http://packages.internal.macports.net/:tbz2     http://packages-
 private.internal.macports.net/netcdf
 --->  Attempting to fetch
 netcdf-4.6.3_0+dap+mpich+netcdf4+universal.darwin_17.i386-x86_64.tbz2 from
 http://packages.internal.macports.net/netcdf
 --->  Fetching distfiles for netcdf
 --->  Attempting to fetch netcdf-c-4.6.3.tar.gz from
 https://distfiles.macports.org/netcdf
 --->  Verifying checksums for netcdf
 --->  Extracting netcdf
 --->  Applying patches to netcdf
 --->  Configuring netcdf
 --->  Building netcdf
 --->  Staging netcdf into destroot
 Error: Failed to destroot netcdf: nc-config differs in
 /opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-
 ryandesign-fork_science_netcdf/netcdf/work/destroot-i386//opt/local/bin
 and /opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-
 ryandesign-fork_science_netcdf/netcdf/work/destroot-x86_64//opt/local/bin
 and cannot be merged
 Error: See /opt/local/var/macports/logs/_Users_rschmidt_macports_macports-
 ports-ryandesign-fork_science_netcdf/netcdf/main.log for details.
 }}}

 The difference between the two nc-config files is:

 {{{
 $ diff -u build-i386/tmp/nc-config build-x86_64/tmp/nc-config
 --- build-i386/tmp/nc-config    2019-03-29 13:43:48.000000000 -0500
 +++ build-x86_64/tmp/nc-config  2019-03-29 13:43:00.000000000 -0500
 @@ -78,7 +78,7 @@
      has_szlib="yes"
  fi

 -has_cdf5="OFF"
 +has_cdf5="AUTO"
  if [ -z "$has_cdf5" -o "$has_cdf5" = "OFF" -o "$has_cdf5" = "FALSE" ];
 then
      has_cdf5="no"
  else
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58270>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list