Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674484 - www-apache/passenger with net-misc/curl-7.62 - In file included from src/agent/Watchdog/WatchdogMain.cpp:68: src/agent/Core/SecurityUpdateChecker.h:262:4: error: duplicate case value (CURLE_PEER_FAILED_VERIFICATION)
Summary: www-apache/passenger with net-misc/curl-7.62 - In file included from src/agen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-04 10:12 UTC by Patrick Sung
Modified: 2019-02-26 07:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Sung 2019-01-04 10:12:50 UTC
just updated my gentoo with net-misc/curl to 7.62.0 and rebuilding  passenger (for ruby24 update) failed.

In file included from src/agent/Core/Config.h:45:0,
                 from src/agent/Watchdog/Config.h:32,
                 from src/agent/Watchdog/WatchdogMain.cpp:68:
src/agent/Core/SecurityUpdateChecker.h: In member function ‘void Passenger::SecurityUpdateChecker::logUpdateFailCurl(const Passenger::SecurityUpdateChecker::SessionState&, CURLcode)’:
src/agent/Core/SecurityUpdateChecker.h:262:4: error: duplicate case value
    case CURLE_PEER_FAILED_VERIFICATION:
    ^~~~
src/agent/Core/SecurityUpdateChecker.h:259:4: error: previously used here
    case CURLE_SSL_CACERT:
    ^~~~
rake aborted!


grepping the define from /usr/include/curl/curl.h it's not hard to see the problem:

/usr/include/curl/curl.h:531:  CURLE_PEER_FAILED_VERIFICATION, /* 60 - peer's certificate or fingerprint
/usr/include/curl/curl.h:589:#define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION
/usr/include/curl/curl.h:610:#define CURLE_SSL_PEER_CERTIFICATE CURLE_PEER_FAILED_VERIFICATION
Comment 1 Hans de Graaff gentoo-dev Security 2019-01-09 09:08:53 UTC
Which version of passenger?
Comment 2 Daniel Augustin 2019-01-09 17:14:02 UTC
Same problem.

For me its stable www-apache/passenger-5.3.2
Comment 3 Patrick Sung 2019-01-10 03:04:21 UTC
(In reply to Hans de Graaff from comment #1)
> Which version of passenger?

passenger-5.3.2
Comment 4 Hans de Graaff gentoo-dev Security 2019-02-26 07:00:31 UTC
This should be fixed for all current passenger versions.