<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 29 March 2018 at 09:43, Aki Tuomi <span dir="ltr"><<a href="mailto:aki.tuomi@dovecot.fi" target="_blank">aki.tuomi@dovecot.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF"><div><div class="gmail-h5">
    <p><br>
    </p>
    <br>
    <div class="gmail-m_-1540873160942082989moz-cite-prefix">On 28.03.2018 22:14, Odhiambo
      Washington wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 27 March 2018 at 20:06, <span dir="ltr"><<a href="mailto:aki.tuomi@dovecot.fi" target="_blank">aki.tuomi@dovecot.fi</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
              <br>
              We are releasing v2.3.1, which mostly consists of bug
              fixes for 2.3.0, and few improvements. This is also
              available via <a href="https://repo.dovecot.org" rel="noreferrer" target="_blank">https://repo.dovecot.org</a>
              if you want packages. libsodium support didn't get into
              this build, due to build environment issues, but 2.3.2
              will contain it.<br>
              <br>
              * Submission server support improvements and bug fixes<br>
                - Lots of bug fixes to submission server<br>
              * API CHANGE: array_idx_modifiable will no longer allocate
              space<br>
               - Particularly affects how you should check
              MODULE_CONTEXT result, or use REQUIRE_MODULE_CONTEXT.<br>
              <br>
              + mail_attachment_detection_opti<wbr>ons setting controls
              when<br>
                $HasAttachment and $HasNoAttachment keywords are set for
              mails.<br>
              + imap: Support fetching body snippets using FETCH
              (SNIPPET) or<br>
                (SNIPPET (LAZY=FUZZY))<br>
              + fs-compress: Automatically detect whether input is
              compressed or not.<br>
                Prefix the compression algorithm with "maybe-" to enable
              the<br>
                detection, for example: "compress:maybe-gz:6:..."<br>
              + Added settings to change dovecot.index* files'
              optimization behavior.<br>
                See <a href="https://wiki2.dovecot.org/IndexFiles#Settings" rel="noreferrer" target="_blank">https://wiki2.dovecot.org/Inde<wbr>xFiles#Settings</a><br>
              + Auth cache can now utilize auth workers to do password
              hash<br>
                verification by setting auth_cache_verify_password_wit<wbr>h_worker=yes.<br>
              + Added charset_alias plugin. See<br>
                <a href="https://wiki2.dovecot.org/Plugins/CharsetAlias" rel="noreferrer" target="_blank">https://wiki2.dovecot.org/Plug<wbr>ins/CharsetAlias</a><br>
              + imap_logout_format and pop3_logout_format settings now
              support all of the generic variables (e.g. %{rip},
              %{session}, etc.)<br>
              <br>
              --<br>
              Aki Tuomi<br>
              Dovecot oy</blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Making all in lib-charset</div>
            <div>/bin/sh ../../libtool  --tag=CC    --mode=link cc 
              -std=gnu99 -g -O2 -fstack-protector-strong
              -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W
              -Wmissing-prototypes -Wmissing-declarations
              -Wpointer-arith -Wchar-subscripts -Wformat=2
              -Wbad-function-cast -Wno-duplicate-decl-specifier
              -Wstrict-aliasing=2 -I/usr/local/include   -no-undefined
              -Wl,--as-needed -o test-charset test-charset.o <a href="http://libcharset.la" target="_blank">libcharset.la</a>
              ../lib-test/<a href="http://libtest.la" target="_blank">libtest.la</a>  ../lib/<a href="http://liblib.la" target="_blank">liblib.la</a></div>
            <div>libtool: link: cc -std=gnu99 -g -O2
              -fstack-protector-strong -U_FORTIFY_SOURCE
              -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes
              -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
              -Wformat=2 -Wbad-function-cast
              -Wno-duplicate-decl-specifier -Wstrict-aliasing=2
              -I/usr/local/include -Wl,--as-needed -o test-charset
              test-charset.o  ./.libs/libcharset.a
              ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a</div>
            <div>./.libs/libcharset.a(charset-<wbr>iconv.o): In function
              `iconv_charset_to_utf8_begin':</div>
            <div>/home/wash/Tools/Dovecot/2.3/<wbr>dovecot-2.3.1/src/lib-charset/<wbr>charset-iconv.c:29:
              undefined reference to `libiconv_open'</div>
            <div>./.libs/libcharset.a(charset-<wbr>iconv.o): In function
              `iconv_charset_to_utf8_end':</div>
            <div>/home/wash/Tools/Dovecot/2.3/<wbr>dovecot-2.3.1/src/lib-charset/<wbr>charset-iconv.c:44:
              undefined reference to `libiconv_close'</div>
            <div>./.libs/libcharset.a(charset-<wbr>iconv.o): In function
              `iconv_charset_to_utf8_reset':</div>
            <div>/home/wash/Tools/Dovecot/2.3/<wbr>dovecot-2.3.1/src/lib-charset/<wbr>charset-iconv.c:51:
              undefined reference to `libiconv'</div>
            <div>./.libs/libcharset.a(charset-<wbr>iconv.o): In function
              `charset_to_utf8_try':</div>
            <div>/home/wash/Tools/Dovecot/2.3/<wbr>dovecot-2.3.1/src/lib-charset/<wbr>charset-iconv.c:74:
              undefined reference to `libiconv'</div>
            <div>cc: error: linker command failed with exit code 1 (use
              -v to see invocation)</div>
            <div>*** Error code 1</div>
            <div><br>
            </div>
            <div>Stop.</div>
            <div>make[3]: stopped in
              /usr/home/wash/Tools/Dovecot/<wbr>2.3/dovecot-2.3.1/src/lib-<wbr>charset</div>
            <div>*** Error code 1</div>
            <div><br>
            </div>
            <div>Stop.</div>
            <div>make[2]: stopped in
              /usr/home/wash/Tools/Dovecot/<wbr>2.3/dovecot-2.3.1/src</div>
            <div>*** Error code 1</div>
            <div><br>
            </div>
            <div>Stop.</div>
            <div>make[1]: stopped in
              /usr/home/wash/Tools/Dovecot/<wbr>2.3/dovecot-2.3.1</div>
            <div>*** Error code 1</div>
            <div><br>
            </div>
            <div>Stop.</div>
            <div>make: stopped in
              /usr/home/wash/Tools/Dovecot/<wbr>2.3/dovecot-2.3.1</div>
            <div><br>
            </div>
            <div><a class="gmail-m_-1540873160942082989moz-txt-link-abbreviated" href="mailto:root@waridi:/usr/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1" target="_blank">root@waridi:/usr/home/wash/<wbr>Tools/Dovecot/2.3/dovecot-2.3.<wbr>1</a>
              # uname -mrs</div>
            <div><b>FreeBSD 11.1-STABLE amd64</b> </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="gmail-m_-1540873160942082989gmail_signature">
            <div dir="ltr">
              <div>Best regards,<br>
                Odhiambo WASHINGTON,<br>
                Nairobi,KE<br>
                +254 7 3200 0004/+254 7 2274 3223<br>
                "<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">"</span></div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div></div>
    Can you try the attached patch?<span class="gmail-HOEnZb"><font color="#888888"><br>
    <br>
    Aki<br>
  </font></span></div>

</blockquote></div><div class="gmail_extra"><br></div>I have applied the patch using -p1. It did not all apply cleanly. Unless I missed something obvious. The failure is still there..</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">libtool: link: cc -std=gnu99 -g -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -I/usr/local/include -Wl,--as-needed -o test-charset test-charset.o  ./.libs/libcharset.a ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a</div><div class="gmail_extra">./.libs/libcharset.a(charset-iconv.o): In function `iconv_charset_to_utf8_begin':</div><div class="gmail_extra">/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1/src/lib-charset/charset-iconv.c:29: undefined reference to `libiconv_open'</div><div class="gmail_extra">./.libs/libcharset.a(charset-iconv.o): In function `iconv_charset_to_utf8_end':</div><div class="gmail_extra">/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1/src/lib-charset/charset-iconv.c:44: undefined reference to `libiconv_close'</div><div class="gmail_extra">./.libs/libcharset.a(charset-iconv.o): In function `iconv_charset_to_utf8_reset':</div><div class="gmail_extra">/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1/src/lib-charset/charset-iconv.c:51: undefined reference to `libiconv'</div><div class="gmail_extra">./.libs/libcharset.a(charset-iconv.o): In function `charset_to_utf8_try':</div><div class="gmail_extra">/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1/src/lib-charset/charset-iconv.c:74: undefined reference to `libiconv'</div><div class="gmail_extra">cc: error: linker command failed with exit code 1 (use -v to see invocation)</div><div class="gmail_extra">gmake[3]: *** [Makefile:540: test-charset] Error 1</div><div class="gmail_extra">gmake[3]: Leaving directory '/usr/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1/src/lib-charset'</div><div class="gmail_extra">gmake[2]: *** [Makefile:550: all-recursive] Error 1</div><div class="gmail_extra">gmake[2]: Leaving directory '/usr/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1/src'</div><div class="gmail_extra">gmake[1]: *** [Makefile:668: all-recursive] Error 1</div><div class="gmail_extra">gmake[1]: Leaving directory '/usr/home/wash/Tools/Dovecot/2.3/dovecot-2.3.1'</div><div class="gmail_extra">gmake: *** [Makefile:511: all] Error 2</div><div class="gmail_extra"><br></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">"</span></div></div></div>
</div></div>