[MacPorts] #67635: tiff @4.5.1: opportunistic use of libdeflate (was: Tiff upgrade fails to install)

MacPorts noreply at macports.org
Thu Jun 15 21:19:30 UTC 2023


#67635: tiff @4.5.1: opportunistic use of libdeflate
----------------------+------------------------
  Reporter:  dershow  |      Owner:  ryandesign
      Type:  defect   |     Status:  accepted
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  tiff     |
----------------------+------------------------
Changes (by ryandesign):

 * owner:  (none) => ryandesign
 * status:  new => accepted


Comment:

 Ok great, one of them mentions libdeflate, the other doesn't:

 {{{
 #!diff
 --- libtiff-4.2.pc      2023-06-15 16:11:42.000000000 -0500
 +++ libtiff-4.pc        2023-06-15 16:11:40.000000000 -0500
 @@ -7,6 +7,6 @@
  Description:  Tag Image File Format (TIFF) library.
  Version: 4.5.1
  Libs: -L${libdir} -ltiff
 -Libs.private: -lzstd -llzma -lLerc -ljpeg -lz
 +Libs.private: -lzstd -llzma -lLerc -ljpeg -ldeflate -lz
  Cflags: -I${includedir}
 -Requires.private: libzstd liblzma libjpeg zlib
 +Requires.private: libzstd liblzma libjpeg libdeflate zlib
 }}}

 Looks like optional support for libdeflate was added to the tiff software
 in 4.2.0 and I didn't notice.

 I need to either add the libdeflate dependency to the tiff port, or else
 make sure the tiff port doesn't use libdeflate even if it is installed.

 You probably have the libdeflate port installed without the universal
 variant. One workaround you can use is to deactivate libdeflate before
 building tiff:

 {{{
 sudo port -f deactivate libdeflate
 sudo port clean tiff
 }}}

 After building tiff, you can reactivate libdeflate if desired.

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


More information about the macports-tickets mailing list