<div dir="ltr">I'd strip -Werror=missing-field-initializers from the warning flags when trying to build with an old compilers.<div>The " sk = { ... }" variant of that code's been around for some time and F28's compiler is happy.</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 20 Oct 2018 at 10:55, Antony Antony <<a href="mailto:antony@phenome.org">antony@phenome.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">it seems only CentOS 7 CentOS 6 hit this failure. I didn't get a chance to check if it is due changes compile time options.<br>
<br>
/home/build/libreswan/programs/pluto/ikev2_message.c:231:2: error: missing initializer for field 'len' of 'chunk_t' [-Werror=missing-field-initializers]<br>
  };<br>
  ^<br>
In file included from /home/build/libreswan/programs/pluto/ikev2_message.h:19:0,<br>
                 from /home/build/libreswan/programs/pluto/ikev2_message.c:32:<br>
/home/build/libreswan/include/chunk.h:40:9: note: 'len' declared here<br>
  size_t len;<br>
         ^<br>
/home/build/libreswan/programs/pluto/ikev2_message.c: In function 'v2_record_outbound_fragment':<br>
/home/build/libreswan/programs/pluto/ikev2_message.c:852:2: error: missing initializer for field 'len' of 'chunk_t' [-Werror=missing-field-initializers]<br>
  };<br>
  ^<br>
In file included from /home/build/libreswan/programs/pluto/ikev2_message.h:19:0,<br>
                 from /home/build/libreswan/programs/pluto/ikev2_message.c:32:<br>
/home/build/libreswan/include/chunk.h:40:9: note: 'len' declared here<br>
<br>
-antony<br>
<br><br><br>---------- Forwarded message ----------<br>From: Travis CI <<a href="mailto:builds@travis-ci.org" target="_blank">builds@travis-ci.org</a>><br>To: <<a href="mailto:antony@phenome.org" target="_blank">antony@phenome.org</a>><br>Cc: <br>Bcc: <br>Date: Sat, 20 Oct 2018 14:17:28 +0000<br>Subject: Still Failing: antonyantony/libreswan#10497 (travis-centos-7 - 2b91dfe)<br><u></u>

  
    
    
    
    
  
  <div style="min-width:100%;height:100%;margin:0;padding:0">
    <table id="m_-2369429603711832436travis-ci-email-container" align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" style="height:100%;width:100%;padding:10px;font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;line-height:150%;text-align:center;color:#333333;background-color:#f4f5f9;background-image:url('https://s3.amazonaws.com/travis-email-assets/build_background.png');height:100%;width:100%;padding:10px;font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;line-height:150%;text-align:center;color:#333333;background-color:#f4f5f9;background-image:url(https://s3.amazonaws.com/travis-email-assets/build_background.png)">
      <tr>
        <td align="center" valign="top" style="padding-bottom:20px">
          <table id="m_-2369429603711832436email-content-container" border="0" cellpadding="0" cellspacing="0" style="width:500px;padding:32px;background-color:#ffffff;width:500px;padding:32px;background-color:#ffffff">
            
            <tr>
              <td id="m_-2369429603711832436repo-username-section" align="center" valign="top" style="padding-bottom:20px;padding-bottom:20px">
                <a href="https://travis-ci.org/antonyantony/libreswan?utm_medium=notification&utm_source=email" id="m_-2369429603711832436repo-username-link" style="color:#333333;text-decoration:none;border-bottom:1px solid #333333;padding-bottom:4px;color:#333333;border-bottom:1px solid #333333;text-decoration:none;padding-bottom:4px" target="_blank">
                  <p class="m_-2369429603711832436repo-slug" style="margin:0px;font-size:30px;font-weight:600;line-height:36px;padding-left:5px;display:inline;font-size:30px;font-weight:600;line-height:36px;padding-right:5px;padding-left:0px">antonyantony</p>
                  <p id="m_-2369429603711832436repo-slug-divider" style="margin:0px;font-size:30px;font-weight:100;color:#9ea3a8;display:inline;font-size:30px;font-weight:100;color:#9ea3a8">/</p>
                  <p class="m_-2369429603711832436repo-slug" style="margin:0px;font-size:30px;font-weight:600;line-height:36px;padding-left:5px;display:inline;font-size:30px;font-weight:600;line-height:36px;padding-left:5px">libreswan</p>
</a>              </td>
            </tr>
            
            <tr>
              <td id="m_-2369429603711832436branch-name-section" align="center" valign="top" style="padding-bottom:35px">
                <p id="m_-2369429603711832436branch-name" style="margin:0px;font-size:28px;font-weight:300;margin:0px;font-size:28px;font-weight:300">
                  <img alt="branch icon" src="https://s3.amazonaws.com/travis-email-assets/branch.png" style="width:16px;height:auto;padding-right:8px;vertical-align:bottom;width:16px;height:auto;padding-right:8px;vertical-align:bottom"><a href="https://github.com/antonyantony/libreswan/tree/travis-centos-7" id="m_-2369429603711832436branch-name-link" style="color:#333333;line-height:36px;text-decoration:none;border-bottom:1px solid #333333;text-decoration:none;border-bottom:1px solid #333333;padding-bottom:2px;line-height:36px" target="_blank">travis-centos-7</a>
                </p>
              </td>
            </tr>
            
            <tr>
              <td align="center" valign="top" style="padding-bottom:20px">
                <table cellpadding="0" cellspacing="0" class="m_-2369429603711832436build-status-border m_-2369429603711832436build-status-border-failure" style="border-radius:3px;border:1px solid #db4545;width:100%">
                  <tr class="m_-2369429603711832436build-status-background-failure" style="background:rgba(219,69,69,0.1)">
                    <td id="m_-2369429603711832436status-icon-section" align="center" valign="top" class="m_-2369429603711832436build-status-border-bottom-failure" style="border-bottom:1px solid #db4545;padding:15px 15px">
                    <div style="float:left">
                      <div style="display:inline"><img alt="build has failed" src="https://s3.amazonaws.com/travis-email-assets/status-failed.png" style="display:inline;vertical-align:sub;width:17px;height:17px;padding-right:8px"></div><div style="display:inline"><a href="https://travis-ci.org/antonyantony/libreswan/builds/444087187?utm_medium=notification&utm_source=email" class="m_-2369429603711832436failure" id="m_-2369429603711832436status-section-message" style="color:#db4545;font-size:16px;font-weight:600" target="_blank">Build #10497 is still failing</a></div>
                    </div>
                      <div style="display:inline;float:left"><img alt="arrow to build time" id="m_-2369429603711832436arrow" src="https://s3.amazonaws.com/travis-email-assets/failure-arrow.png" style="width:7px;height:auto;vertical-align:text-bottom;padding:0px 8px"></div>
                    <div style="float:right">
                      <span><img alt="clock icon" id="m_-2369429603711832436build-time-clock-icon" src="https://s3.amazonaws.com/travis-email-assets/time.png" style="width:15px;height:17px;padding-right:8px;vertical-align:sub"></span><span style="font-size:14px">1 min and 40 secs</span>
                    </div>
                    </td>
                  </tr>
                  <tr>
                    <td id="m_-2369429603711832436user-avatar-changeset-section" align="center" valign="top" style="padding-bottom:32px;padding:20px 15px 35px 15px">
                      <div id="m_-2369429603711832436user-avatar-changeset-left" style="float:left;float:left">
                        <p style="margin:0px;display:inline;font-size:14px;font-weight:700;color:#333333">
                          <img alt="Antony Antony avatar" src="https://secure.gravatar.com/avatar/24fc1eed8f55fc41a01c6c7e509c9e72" style="width:22px;height:auto;border-radius:10px;vertical-align:middle;margin-right:8px">Antony Antony
                        </p>
                      </div>
                      <div id="m_-2369429603711832436user-avatar-changeset-right" style="float:right;float:right">
                        <a href="https://github.com/antonyantony/libreswan/compare/292eded26292...2b91dfeacaef" id="m_-2369429603711832436changeset-link" style="font-size:14px;font-weight:600;color:#0068ff;font-size:14px;color:#0068ff;font-weight:600" target="_blank">2b91dfe CHANGESET →</a>
                      </div>
                    </td>
                  </tr>
                  <tr>
                    <td id="m_-2369429603711832436commit-message-section" align="center" valign="top" style="min-height:104px;padding:0px 20px 20px 20px;min-height:104px;padding:0px 15px 20px 15px">
                      <p id="m_-2369429603711832436commit-message" style="margin:0px;font-family:cousine,monospace;font-size:14px;line-height:22px;font-family:cousine,monospace;font-size:14px;text-align:left;line-height:22px">Merge branch 'master' of <a href="https://github.com/libreswan/libreswan" target="_blank">https://github.com/libreswan/libreswan</a></p>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </td>
      </tr>
      
      
      <tr>
        <td id="m_-2369429603711832436update-section" align="center" valign="top" style="padding-bottom:20px;padding-bottom:20px">
          <table id="m_-2369429603711832436update-container" border="0" cellpadding="0" cellspacing="0" style="width:500px;padding:32px 32px 42px 32px;background-color:#ffffff;width:500px;padding:32px 32px 42px 32px;background-color:#ffffff">
            <tr>
              <td align="center" valign="top">
                <p id="m_-2369429603711832436update-header" style="margin:0px;font-size:24px;line-height:31px;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #0068ff;border-bottom:2px solid #0068ff;padding-bottom:10px;font-size:24px;line-height:31px;margin-bottom:20px">Want to know about upcoming build environment updates?</p>
                <p id="m_-2369429603711832436update-message" style="margin:0px;font-size:16px;font-weight:300;line-height:26px;margin-bottom:32px;font-size:16px;line-height:26px;font-weight:300;margin-bottom:32px">Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you!</p>
                <a href="http://eepurl.com/9OCsP" id="m_-2369429603711832436sign-up-button" style="font-size:14px;font-weight:600;color:#ffffff;text-decoration:none;background-color:#0068ff;padding:12px 20px;border-radius:3px;font-size:14px;font-weight:600;color:#ffffff;background-color:#0068ff;text-decoration:none;padding:12px 20px;border-radius:3px" target="_blank">SIGN UP HERE</a>
              </td>
            </tr>
          </table>
        </td>
      </tr>
      
      <tr>
        <td align="center" valign="top" style="padding-bottom:20px">
          <table id="m_-2369429603711832436documentation-container" border="0" cellpadding="0" cellspacing="0" style="width:500px;padding:25px;background-color:rgba(222,239,255,0.3);border:1px solid #66a4ff;border-radius:3px;width:500px;padding:25px;background-color:rgba(222,239,255,0.3);border:1px solid #66a4ff;border-radius:3px">
            <tr>
              <td id="m_-2369429603711832436documentation-section" align="center" valign="top">
                <div>
                  <img alt="book icon" id="m_-2369429603711832436documentation-icon" src="https://s3.amazonaws.com/travis-email-assets/documentation.png" style="display:inline;vertical-align:bottom;padding-right:5px;display:inline;vertical-align:bottom;padding-right:5px">
                  <p id="m_-2369429603711832436documentation-text" style="margin:0px;display:inline;font-size:26px;font-weight:300;color:#0068ff;font-size:26px;font-weight:300;color:#0068ff;display:inline">
                    <a href="https://docs.travis-ci.com/" id="m_-2369429603711832436documentation-link" style="color:#0068ff" target="_blank">Documentation</a> about Travis CI
                  </p>
                </div>
              </td>
            </tr>
          </table>
        </td>
      </tr>
      
      <tr>
        <td align="center" valign="top">
          <table id="m_-2369429603711832436travis-ci-email-footer-container" border="0" cellpadding="20" cellspacing="0" style="width:500px;width:500px">
            <tr>
              <td id="m_-2369429603711832436questions-section" align="center" valign="top" style="font-weight:300;color:#0068ff;color:#0068ff;font-weight:300">
                <span>Have any questions?</span>
                <span>
                  <a href="mailto:support@travis-ci.com" style="color:#0068ff" target="_blank">We're here to help.</a>
                </span>
              </td>
            </tr>
            <tr>
              <td id="m_-2369429603711832436email-footer-section" align="center" valign="top" style="font-size:10px;line-height:200%;text-align:center;color:#9ea3a8;padding-top:0px">
                <span>
                    <a href="https://travis-ci.org/account/preferences/unsubscribe?repository=14813931&utm_medium=notification&utm_source=email" style="color:#9ea3a8" target="_blank">Unsubscribe</a> from build emails from the antonyantony/libreswan repository.
                </span>
              </td>
            </tr>
            <tr>
              <td id="m_-2369429603711832436email-footer-section" align="center" valign="top" style="font-size:10px;line-height:200%;text-align:center;color:#9ea3a8;padding-top:0px">
                <span>
                  To unsubscribe from <strong>all</strong> build emails, please update your <a href="https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email" style="color:#9ea3a8" target="_blank">settings</a>.
                </span>
              </td>
            </tr>
            <tr>
              <td id="m_-2369429603711832436travis-ci-footer-logo-section" style="text-align:center;text-align:center">
                <a href="https://travis-ci.com" target="_blank"><img alt="black and white travis ci logo" src="https://s3.amazonaws.com/travis-email-assets/TravisCI-Logo-BW.png"></a>
              </td>
            </tr>
            <tr>
              <td id="m_-2369429603711832436email-footer-section" style="font-size:10px;line-height:200%;text-align:center;color:#9ea3a8;padding-top:0px;color:#9ea3a8;font-size:10px;line-height:200%;text-align:center;color:#9ea3a8;padding-top:0px">
                <p style="margin:0px;margin:0px">Travis CI GmbH, Rigaer Str. 8, 10427 Berlin, Germany | GF: Konstantin Haase, Fritz Thielemann |
                  <span>Contact: <a href="mailto:contact@travis-ci.com" style="color:#9ea3a8;color:#9ea3a8" target="_blank">contact@travis-ci.com</a> | Amtsgericht Charlottenburg, Berlin, HRB 140133 B | Umsatzsteuer-ID gemäß §27 a Umsatzsteuergesetz: DE282002648</span>
                </p>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    
  </div>



_______________________________________________<br>
Swan-dev mailing list<br>
<a href="mailto:Swan-dev@lists.libreswan.org" target="_blank">Swan-dev@lists.libreswan.org</a><br>
<a href="https://lists.libreswan.org/mailman/listinfo/swan-dev" rel="noreferrer" target="_blank">https://lists.libreswan.org/mailman/listinfo/swan-dev</a><br>
</blockquote></div>