[MacPorts] #69442: libheif fails to build for non-portable paths

MacPorts noreply at macports.org
Sun Mar 3 19:40:02 UTC 2024


#69442: libheif fails to build for non-portable paths
----------------------+---------------------
 Reporter:  rmottola  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  libheif
----------------------+---------------------
 On 10.5 64bit with clang 11 I get this issue:

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.17.6/libheif/plugins/decoder_aom.cc:28:10:
 error: non-portable path to file '<AOM/aom_decoder.h>'; specified path
 differs in case from file name on disk [-Werror,-Wnonportable-include-
 path]
 #include <aom/aom_decoder.h>
          ^~~~~~~~~~~~~~~~~~~
          <AOM/aom_decoder.h>
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.17.6/libheif/plugins/decoder_aom.cc:28:
 /opt/local/include/aom/aom_decoder.h:33:10: error: non-portable path to
 file '"AOM/aom_codec.h"'; specified path differs in case from file name on
 disk [-Werror,-Wnonportable-include-path]
 #include "aom/aom_codec.h"
          ^~~~~~~~~~~~~~~~~
          "AOM/aom_codec.h"
 }}}

 It doesn't look system related, but really a case mismatch. I wonder why
 it doesn't happen elsewhere?

 To be honest I can't even find where "AOM/aom_codec.h" is used, by
 grepping I find only the non-cap version.

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


More information about the macports-tickets mailing list