[MacPorts] #67043: hdf5 does not build with +universal

MacPorts noreply at macports.org
Sun Mar 5 15:31:01 UTC 2023


#67043: hdf5 does not build with +universal
--------------------------+--------------------
  Reporter:  markghayden  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:
      Port:  hdf5         |
--------------------------+--------------------
Description changed by kencu:

Old description:

> HDF5 library won't build with +universal.  The issue appears to be in
> "merging" the h5cc executables, which are bash scripts and differ in one
> line.  Not sure what would be a good fix for this.  See relevant portion
> of the log file below.
>

> :info:destroot --->  Patching 2-h5cc: s:  +: :g
> :debug:destroot Executing reinplace: /usr/bin/sed -E {s:  +: :g}
> </tmp/muniversal.4K8wcAj6/2-h5cc >@file14
> :debug:destroot system: /usr/bin/cmp -s "/tmp/muniversal.4K8wcAj6/1-h5cc"
> "/tmp/muniversal.4K8wcAj6/2-h5cc"
> :info:destroot Command failed: /usr/bin/cmp -s
> "/tmp/muniversal.4K8wcAj6/1-h5cc" "/tmp/muniversal.4K8wcAj6/2-h5cc"
> :info:destroot Exit code: 1
> :error:destroot Failed to destroot hdf5: h5cc differs in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
> /destroot-arm64//opt/local/bin and
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
> /destroot-ppc-intel//opt/local/bin and cannot be merged
> :debug:destroot Error code: NONE
> :debug:destroot Backtrace: h5cc differs in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
> /destroot-arm64//opt/local/bin and
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
> /destroot-ppc-intel//opt/local/bin and cannot be merged
> :debug:destroot     while executing
> :debug:destroot "$procedure $targetname"
> :error:destroot See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/main.log
> for details.

New description:

 HDF5 library won't build with +universal.  The issue appears to be in
 "merging" the h5cc executables, which are bash scripts and differ in one
 line.  Not sure what would be a good fix for this.  See relevant portion
 of the log file below.

 {{{
 :info:destroot --->  Patching 2-h5cc: s:  +: :g
 :debug:destroot Executing reinplace: /usr/bin/sed -E {s:  +: :g}
 </tmp/muniversal.4K8wcAj6/2-h5cc >@file14
 :debug:destroot system: /usr/bin/cmp -s "/tmp/muniversal.4K8wcAj6/1-h5cc"
 "/tmp/muniversal.4K8wcAj6/2-h5cc"
 :info:destroot Command failed: /usr/bin/cmp -s
 "/tmp/muniversal.4K8wcAj6/1-h5cc" "/tmp/muniversal.4K8wcAj6/2-h5cc"
 :info:destroot Exit code: 1
 :error:destroot Failed to destroot hdf5: h5cc differs in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
 /destroot-arm64//opt/local/bin and
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
 /destroot-ppc-intel//opt/local/bin and cannot be merged
 :debug:destroot Error code: NONE
 :debug:destroot Backtrace: h5cc differs in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
 /destroot-arm64//opt/local/bin and
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work
 /destroot-ppc-intel//opt/local/bin and cannot be merged
 :debug:destroot     while executing
 :debug:destroot "$procedure $targetname"
 :error:destroot See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/main.log
 for details.
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/67043#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list