[MacPorts] #57686: libetpan @1.9.1: error: duplicate case value 'CURLE_PEER_FAILED_VERIFICATION'

MacPorts noreply at macports.org
Mon Nov 26 23:44:45 UTC 2018


#57686: libetpan @1.9.1: error: duplicate case value
'CURLE_PEER_FAILED_VERIFICATION'
--------------------+----------------------
 Reporter:  kencu   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  libetpan
--------------------+----------------------
 `libetpan` built fairly recently, but no longer builds for me. I presume
 some update to `openssl` had caused it to fail now:
 {{{
 libtool: compile:  /opt/local/bin/clang-mp-3.9 -DHAVE_CONFIG_H -I.
 -I../../.. -I../../../include -I../../../src/data-types -I../../../src
 /low-level/imf -I/opt/local/include -DDEBUG -I/opt/local/include
 -D_REENTRANT -I/opt/local/include -I/opt/local/include -pipe -Os -arch
 x86_64 -W -Wall -c newsfeed_item.c -o newsfeed_item.o >/dev/null 2>&1
 newsfeed.c:538:8: error: duplicate case value
 'CURLE_PEER_FAILED_VERIFICATION'
   case CURLE_SSL_CACERT:
        ^
 /opt/local/include/curl/curl.h:589:26: note: expanded from macro
 'CURLE_SSL_CACERT'
 #define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION
                          ^
 newsfeed.c:533:8: note: previous case defined here
   case CURLE_SSL_PEER_CERTIFICATE:
        ^
 /opt/local/include/curl/curl.h:610:36: note: expanded from macro
 'CURLE_SSL_PEER_CERTIFICATE'
 #define CURLE_SSL_PEER_CERTIFICATE CURLE_PEER_FAILED_VERIFICATION
                                    ^
 1 error generated.
 make[7]: *** [newsfeed.lo] Error 1
 }}}

 we still have the last version on the buildbots, it appears.

-- 
Ticket URL: <https://trac.macports.org/ticket/57686>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list