[MacPorts] #62644: mediainfolib @21.03: error: unknown type name 'sha1_ctx'

MacPorts noreply at macports.org
Wed Apr 7 02:34:28 UTC 2021


#62644: mediainfolib @21.03: error: unknown type name 'sha1_ctx'
---------------------------+------------------------
  Reporter:  cooljeanius   |      Owner:  ctreleaven
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  mediainfolib  |
---------------------------+------------------------

Comment (by cooljeanius):

 Replying to [comment:2 ctreleaven]:
 > Interesting.  Upstream make binaries available and they have a universal
 x86_64/arm64 build for macOS 11.  I presume they must be building that on
 an M1 Mac?
 >
 > Also, the previous version built OK on Big Sur x86_64.
 >
 > Could you try building in trace mode to see if something is overriding
 their include?

 Trace mode reports the following files as hidden after configuring:
 {{{
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/bin/ar
   /opt/local/bin/gawk
   /opt/local/bin/ggrep
   /opt/local/bin/gmkdir
   /opt/local/bin/gsed
   /opt/local/bin/lipo
   /opt/local/bin/mawk
   /opt/local/bin/nawk
   /opt/local/bin/nm
   /opt/local/bin/nmedit
   /opt/local/bin/otool
   /opt/local/bin/ranlib
   /opt/local/bin/strip
   /private/var/select/sh
 }}}
 So, basically, cctools, coreutils, and the various awks. No headers
 mentioned, though. After running the build phase, it succeeds, and reports
 headers hidden at this step:
 {{{
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/include/md5.h
   /opt/local/include/sha1.h
   /opt/local/include/sha2.h
   /private/var/select/sh
 }}}
 Running `port provides` on each of them says they come from libmd:
 {{{
 $ port provides /opt/local/include/md5.h
 /opt/local/include/md5.h is provided by: libmd
 $ port provides /opt/local/include/sha1.h
 /opt/local/include/sha1.h is provided by: libmd
 $ port provides /opt/local/include/sha2.h
 /opt/local/include/sha2.h is provided by: libmd
 }}}
 So, I guess a `conflicts_build` for libmd is needed?

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


More information about the macports-tickets mailing list