[MacPorts] #71631: pngcrush fails to build on Sequoia 15.1 / Apple Silicon

MacPorts noreply at macports.org
Tue Dec 24 08:06:27 UTC 2024


#71631: pngcrush fails to build on Sequoia 15.1 / Apple Silicon
-----------------------+----------------------
  Reporter:  kpreid    |      Owner:  nerdling
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.10.5
Resolution:            |   Keywords:
      Port:  pngcrush  |
-----------------------+----------------------

Comment (by kencu):

 one possible solution is to use the {{{Makefile-nolib}}}, which uses the
 installed versions of png and zlib.

 Doing that needs a couple of small tweaks to the include paths, and use
 this debian patch:

 https://salsa.debian.org/debian-phototools-
 team/pngcrush/-/blob/master/debian/patches/ignore_PNG_IGNORE_ADLER32.patch?ref_type=heads


 and presto:

 {{{
 % port -v installed pngcrush
 The following ports are currently installed:
   pngcrush @1.8.13_0 (active) requested_variants='' platform='darwin 24'
 archs='arm64' date='2024-12-24T00:02:39-0800'


 % otool -L /opt/local/bin/pngcrush
 /opt/local/bin/pngcrush:
         /opt/local/lib/libpng16.16.dylib (compatibility version 61.0.0,
 current version 61.0.0)
         /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.3.1)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1351.0.0)
 }}}

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


More information about the macports-tickets mailing list