Discussion:
[MacPorts] #57686: libetpan @1.9.1: error: duplicate case value 'CURLE_PEER_FAILED_VERIFICATION'
MacPorts
2018-11-26 23:44:45 UTC
Permalink
#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
MacPorts
2018-11-26 23:44:58 UTC
Permalink
#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:
Resolution: | Keywords:
Port: libetpan |
-----------------------+--------------------
Changes (by kencu):

* Attachment "main.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/57686>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-26 23:45:48 UTC
Permalink
#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:
Resolution: | Keywords:
Port: libetpan |
-----------------------+--------------------
Post by MacPorts
`libetpan` built fairly recently, but no longer builds for me. I presume
{{{
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'
^
/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
^
/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.
New description:

`libetpan` built fairly recently, but no longer builds for me. I presume
some update to `curl` 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 current version on the buildbots, it appears, presumably
built against some previous curl.

--
--
Ticket URL: <https://trac.macports.org/ticket/57686#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-27 02:11:05 UTC
Permalink
#57686: libetpan @1.9.1: error: duplicate case value
'CURLE_PEER_FAILED_VERIFICATION'
-----------------------+----------------------
Reporter: kencu | Owner: pmetzger
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libetpan |
-----------------------+----------------------
Changes (by jmroot):

* owner: (none) => pmetzger
* status: new => assigned


Comment:

Remember to assign to the maintainer.
--
Ticket URL: <https://trac.macports.org/ticket/57686#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...