<p>EPEL 6 contains  <code>protobuf-2.3.0</code><br>
EPEL 7 contains <code>protobuf-2.5.0</code><br>
Fedora 29 contains <code>protobuf-3.5.0</code></p>
<p>On <code>CentOS 6</code> we have <code>libphonenum</code> compilation error</p>
<pre><code>[  117s] /usr/include/google/protobuf/repeated_field.h: In function 'i18n::phonenumbers::PhoneNumberUtil::ValidationResult i18n::phonenumbers::<unnamed>::TestNumberLength(const std::string&, const i18n::phonenumbers::PhoneMetadata&, i18n::phonenumbers::PhoneNumberUtil::PhoneNumberType)':
[  117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]' is private
[  117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:334: error: within this context
[  117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]' is private
[  117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:336: error: within this context
[  117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'void google::protobuf::RepeatedField<Element>::operator=(const google::protobuf::RepeatedField<Element>&) [with Element = int]' is private
[  117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:359: error: within this context
</code></pre>
<p>If you can find 'libphonenum' that works on <code>CentOS 6</code> and also can be compiled on <code>Fedora 29</code> then i can add this version to OBS repo.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1867#issuecomment-467794003">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZSD342Kb2xecKYp2OJcPRHaEiNXmks5vRlMPgaJpZM4bP7uB">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36Zf8-wmOetKQsb9UI94d7gMZdgRlpks5vRlMPgaJpZM4bP7uB.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@sergey-safarov in #1867: EPEL 6 contains  `protobuf-2.3.0`\r\nEPEL 7 contains `protobuf-2.5.0`\r\nFedora 29 contains `protobuf-3.5.0`\r\n\r\nOn `CentOS 6` we have `libphonenum` compilation error\r\n```\r\n[  117s] /usr/include/google/protobuf/repeated_field.h: In function 'i18n::phonenumbers::PhoneNumberUtil::ValidationResult i18n::phonenumbers::\u003cunnamed\u003e::TestNumberLength(const std::string\u0026, const i18n::phonenumbers::PhoneMetadata\u0026, i18n::phonenumbers::PhoneNumberUtil::PhoneNumberType)':\r\n[  117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'google::protobuf::RepeatedField\u003cElement\u003e::RepeatedField(const google::protobuf::RepeatedField\u003cElement\u003e\u0026) [with Element = int]' is private\r\n[  117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:334: error: within this context\r\n[  117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'google::protobuf::RepeatedField\u003cElement\u003e::RepeatedField(const google::protobuf::RepeatedField\u003cElement\u003e\u0026) [with Element = int]' is private\r\n[  117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:336: error: within this context\r\n[  117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'void google::protobuf::RepeatedField\u003cElement\u003e::operator=(const google::protobuf::RepeatedField\u003cElement\u003e\u0026) [with Element = int]' is private\r\n[  117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:359: error: within this context\r\n```\r\nIf you can find 'libphonenum' that works on `CentOS 6` and also can be compiled on `Fedora 29` then i can add this version to OBS repo."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1867#issuecomment-467794003"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1867#issuecomment-467794003",
"url": "https://github.com/kamailio/kamailio/issues/1867#issuecomment-467794003",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>