Skip to content
This repository was archived by the owner on Oct 25, 2021. It is now read-only.
This repository was archived by the owner on Oct 25, 2021. It is now read-only.

Build error when upgrading from curl 7.61.1 -> 7.62.0 #310

@obadz

Description

@obadz

Build error:

make[2]: Entering directory '/build/source/zlibrary/core/src/unix/curl'
Compiling ZLCurlNetworkManager.o ...ZLCurlNetworkManager.cpp: In member function 'virtual std::__cxx11::string ZLCurlNetworkManager::perform(const Vector&) const':
ZLCurlNetworkManager.cpp:288:5: error: duplicate case value
     case CURLE_SSL_CACERT:
     ^~~~
ZLCurlNetworkManager.cpp:282:5: note: previously used here
     case CURLE_PEER_FAILED_VERIFICATION:
     ^~~~
make[2]: *** [/build/source/zlibrary/core/../../makefiles/subdir.mk:15: ZLCurlNetworkManager.o] Error 1
make[2]: Leaving directory '/build/source/zlibrary/core/src/unix/curl'
make[1]: *** [Makefile:41: .objects] Error 1
make[1]: Leaving directory '/build/source/zlibrary/core'
make: *** [Makefile:9: all] Error 1
builder for '/nix/store/68wwfvvga47pzjfwx2awzi49w5qbf8z6-fbreader-qt4-0.99.6.drv' failed with exit code 2

Relevant curl commit: curl/curl@3f3b26d

Mentioned in:

NixOS/nixpkgs#49514 (comment)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913382

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions