<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 23, 2022 at 7:18 PM Scott Theisen <<a href="mailto:scott.the.elm@gmail.com">scott.the.elm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    On 11/23/22 18:37, John Hoyt wrote:<br><blockquote type="cite">
      
      <div dir="ltr">
        
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Wed, Nov 23, 2022 at 6:28
            PM John Hoyt <<a href="mailto:john.hoyt@gmail.com" target="_blank">john.hoyt@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">
              <div class="gmail_quote">
                <div>Hi Scott, thanks for taking a look.  I've worked up
                  a patch file to resolve, but it sounds like getting
                  configure working correctly is a better solution
                  (happy to post the patch file).</div>
                <div> </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  <div>Without the outputs from configure, particularly
                    the log file config.ep, I can't say for certain if
                    those lines are the problem.<br>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div>Configure output: <a href="https://pastebin.com/gG8E1Fbg" target="_blank">https://pastebin.com/gG8E1Fbg</a></div>
                <div>config.ep: <a href="https://pastebin.com/b6Tk5M4Q" target="_blank">https://pastebin.com/b6Tk5M4Q</a></div>
              </div>
            </div>
          </blockquote>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    from config.ep line 5736:<br>
    ```<br>
    <div>dyld[67989]: Library not loaded:
      '@PREFIX@/lib/libhdhomerun.dylib'
    </div>
    <div> Referenced from:
'/private/var/folders/4c/__l40lp140324rnbz1m2jkgh0000gn/T/ffconf.xBPEc1aO/test'</div>
    Reason: tried: '/usr/local/lib/libhdhomerun.dylib' (no such file),
    '/usr/lib/libhdhomerun.dylib' (no such file)<br>
    ```<br>
    <br>
    That looks suspicious to me.  Would that prevent the test from
    executing?<br>
    <br></div></blockquote><div><br></div><div>That was the culprit.  It appears that configure pretty much stopped running at this point.  Uninstalling hdhome seems to have allowed configure to complete successfully. </div><div><br></div><div>Also, a fix for hdhomerun was pushed to macports last night (Thank you Craig!!!!).  It appears that everything now gets through configure cleanly.  Sorry to send you down the weeds of a package management issue.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    The resultant config.h files from our configure and FFmpeg's would
    be useful to compare.<br></div></blockquote><div><br></div><div>mythtv's config.h is here: <a href="https://pastebin.com/xavF0smp">https://pastebin.com/xavF0smp</a></div><div>ffmpeg'sconfig.h  is here:<a href="https://pastebin.com/XprwzBbw"> https://pastebin.com/XprwzBbw</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    I would prefer to fix configure, rather than hack around the error.<br>
    <br>
    Were the HAVE_LRINTF changes necessary?  I don't think they should
    be.<br>
    <br>
    I think a better solution is to remove the referenced configure
    lines and see if that works.  My reasoning is the following:<br>
    <br>
    <ol>
      <li>`git grep -nE "math.h" -- :^*/FFmpeg/** :^platform/**` We use
        <cmath> not <math.h>, except in external/libexiv2.</li>
      <li>We never use lrint() `git grep -nE lrint -- :^*/FFmpeg/**`
        only lrintf().</li>
      <ul>
        <li>Although, we do use round(), `git grep -nE
          "[^A-Za-z]round\(" -- :^*/FFmpeg/** :^*/html/**`.<br>
        </li>
      </ul>
      <li>We are using C++17, these functions are from C99/C++11.<br></li></ol></div></blockquote><div>Happy to try this but also believe this is probably overcome by the hdhomerun fix.</div><div><br></div><div>Thanks again for the help!</div><div>John </div></div></div>