[MacPorts] #61784: pv is broken in Apple Silicon

MacPorts noreply at macports.org
Tue Dec 8 19:58:46 UTC 2020


#61784: pv is broken in Apple Silicon
-------------------------------------+--------------------
 Reporter:  hpux735                  |      Owner:  (none)
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.6.4
 Keywords:  bigsur, arm64, upstream  |       Port:  pv
-------------------------------------+--------------------
 There is a build failure in CI (and my local machine) for pv related to
 stat64's deprecation.  I was able to fix it locally, and it's fairly
 straight-forward, though it's hackish.  The root of the problem is that
 autoconf is able to determine that the stat64 function exists, and
 therefore thinks that the structure exists, and doesn't include a set of
 defines that make it OK.  I was able to edit config.h to clear the
 HAVE_STAT64 flag and the program compiled.  I have a message out to the pv
 author.  I'm not quite competent in autotools, and I'm not sure what the
 right way to fix it is, but it appears that the Portfile already has a
 patch to deal with stat64, so maybe that could be extended without
 changing upstream?


 {{{
 % diff fixed/config.h broken/config.h
 21a22
 > #define HAVE_STAT64 1
 }}}

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


More information about the macports-tickets mailing list