[MacPorts] #60696: gdcm @3.0.5: fatal error: 'CharLS/charls.h' file not found

MacPorts noreply at macports.org
Mon Nov 29 17:57:33 UTC 2021


#60696: gdcm @3.0.5: fatal error: 'CharLS/charls.h' file not found
---------------------------+---------------------------------
  Reporter:  ryandesign    |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  gdcm, charls  |
---------------------------+---------------------------------

Comment (by bal-agates):

 In the CharLS GitHub repository I could not find a specific commit that
 changed the directory name from include/CharLS to include/charls.  Too
 many commits to sift through and I am not certain what to look for.
 CharLS tags have the following dates
 {{{
 2.0.0 = 5/18/2016
 2.1.0 = 12/29/2019
 2.2.0 = 1/10/2021
 }}}
 What I have observed in the current project is that all includes within
 the CharLS project (unittest, test, fuzztest and samples directories) are
 lower case of the form
 {{{
 #include <charls/*.h>
 }}}
 from this I would infer that is the defacto standard.

 The gdcm SourceForge project latest version is 3.0.10, several versions
 beyond the MacPorts 3.0.5, but it still contains
 {{{
 ./Utilities/gdcm_charls.h:# include <CharLS/charls.h>
 }}}

 I am attaching a patch file for gdcm_charls.h that changes the case.  If
 someone gets inspired this could be added to the gdcm project and it might
 fix the builtbot problem and any other filesystem that is case sensitive.

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


More information about the macports-tickets mailing list