<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p> I have run into this issue when I had artifacts left over from
      previous builds in my repo. Try to executing the following (after
      ensuring you save any changes you might have made) : <br>
    </p>
    <p><br>
    </p>
    <p>git clean -xfd</p>
    <p><br>
    </p>
    <p>Then run ./otp_build autoconf again</p>
    <p><br>
    </p>
    <p>--</p>
    <p>Bryan</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2/15/19 1:11 AM, by wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:12FCF2C6-688E-4001-A95C-34E5DECECC00@meetlost.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hello list,
      <div class=""><br class="">
      </div>
      <div class="">I decide to build Erlang from source via Official
        GitHub repo. [ on macOS 10.12.6 ]</div>
      <div class=""><br class="">
      </div>
      <div class="">I check out the tag OTP-21.2.5 into local branch,
        and try to build it from script below:</div>
      <div class="">==== File ====</div>
      <div class="">
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">#!/bin/sh</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);
          min-height: 13px;" class=""><span
            style="font-variant-ligatures: no-common-ligatures" class=""></span><br
            class="">
        </div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">LANG=C ./otp_build autoconf</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">./configure
            --prefix=/Users/by/local/pkgs/erlang/erlang21.2.5 \</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">                     </span>--with-ssl=/usr/local/Cellar/openssl/1.0.2q</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">#make install</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">#make install-docs</span></div>
      </div>
      <div class="">==== File ====</div>
      <div class=""><br class="">
      </div>
      <div class="">The build failed with below error (if more detailed
        error is needed, I can provide later):</div>
      <div class="">=== Error Log ====</div>
      <div class="">
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Entering application
            stdlib</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Leaving application stdlib</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Entering application sasl</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Leaving application sasl</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Entering application
            kernel</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Leaving application kernel</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Entering application
            compiler</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: Nothing to be done
            for `opt'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Leaving application
            compiler</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">=== Entering application tools</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""> MAKE<span class="Apple-tab-span" style="white-space:pre">        </span>opt</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[4]: Nothing to be done
            for `all'.</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class=""> ERLC<span class="Apple-tab-span" style="white-space:pre">        </span>../ebin/xref_parser.beam</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">compile: warnings being
            treated as errors</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">/Users/by/projects/otp/bootstrap/lib/parsetools/include/yeccpre.hrl:60:
            erlang:get_stacktrace/0: deprecated; use the new try/catch
            syntax for retrieving the stack backtrace</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[3]: ***
            [../ebin/xref_parser.beam] Error 1</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[2]: *** [opt] Error 2</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make[1]: *** [opt] Error 2</span></div>
        <div style="margin: 0px; font-size: 11px; line-height: normal;
          font-family: Menlo; background-color: rgb(255, 255, 255);"
          class=""><span style="font-variant-ligatures:
            no-common-ligatures" class="">make: *** [libs] Error 2</span></div>
      </div>
      <div class="">=== Error Log ====</div>
      <div class=""><br class="">
      </div>
      <div class="">But when I build from <span style="font-family:
          Menlo; font-size: 11px; background-color: rgb(255, 255, 255);"
          class="">otp_src_21.0.tar.gz, with the same script, it just
          works.</span></div>
      <div class=""><span style="font-family: Menlo; font-size: 11px;
          background-color: rgb(255, 255, 255);" class=""><br class="">
        </span></div>
      <div class=""><span style="font-family: Menlo; font-size: 11px;
          background-color: rgb(255, 255, 255);" class="">Can anyone
          help me on this?</span></div>
      <div class=""><span style="font-family: Menlo; font-size: 11px;
          background-color: rgb(255, 255, 255);" class=""><br class="">
        </span></div>
      <div class=""><span style="font-family: Menlo; font-size: 11px;
          background-color: rgb(255, 255, 255);" class="">Best Regards,</span></div>
      <div class=""><font class="" face="Menlo"><span style="font-size:
            11px; background-color: rgb(255, 255, 255);" class="">Yao
            Bao</span></font></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
  </body>
</html>