Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cppserver: add version 1.0.4.1 #22886

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

toge
Copy link
Contributor

@toge toge commented Feb 25, 2024

Specify library name and version: cppserver/1.0.4.1

cppserver < 1.0.2.0 uses fmtlib < 9.0 features.
Since cppcommon < 1.0.3.0 requires fmt/8.1.1, this PR makes cppserver < 1.0.2.0 require cppcommon 1.0.2.0.


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@toge toge marked this pull request as draft February 25, 2024 11:25
@toge toge marked this pull request as ready for review February 26, 2024 17:46
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 5 (c2392b77a5a068a4e2ad68933d9ffd5a58c53254):

  • cppserver/1.0.4.1:
    All packages built successfully! (All logs)

  • cppserver/1.0.2.0:
    All packages built successfully! (All logs)

  • cppserver/1.0.0.0:
    All packages built successfully! (All logs)

  • cppserver/1.0.1.0:
    All packages built successfully! (All logs)


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 5 (c2392b77a5a068a4e2ad68933d9ffd5a58c53254):

  • cppserver/1.0.1.0:
    CI failed to create some packages (All logs)

    Logs for packageID 03479222c907fced29fa3e5aa28e7655df6c720d:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=True
    
    [...]
    [ 55%] Building CXX object CMakeFiles/cppserver.dir/source/server/http/http_response.cpp.o
    [ 58%] Building CXX object CMakeFiles/cppserver.dir/source/server/http/http_server.cpp.o
    [ 62%] Building CXX object CMakeFiles/cppserver.dir/source/server/http/http_session.cpp.o
    [ 65%] Building CXX object CMakeFiles/cppserver.dir/source/server/http/https_client.cpp.o
    [ 68%] Building CXX object CMakeFiles/cppserver.dir/source/server/http/https_server.cpp.o
    [ 72%] Building CXX object CMakeFiles/cppserver.dir/source/server/http/https_session.cpp.o
    /Users/jenkins/w/prod-v2/bsr/99181/bbccf/p/b/cppse36e1236317db5/b/src/source/server/http/http_server.cpp:23:55: warning: 'operator""_format' is deprecated [-Wdeprecated-declarations]
            header.SetHeader("Cache-Control", "max-age={}"_format(timespan.seconds()));
                                                          ^
    /Users/jenkins/w/prod-v2/bsr/99181/bbccf/p/fmtbaa0846e40858/p/include/fmt/format.h:3043:1: note: 'operator""_format' has been explicitly marked deprecated here
    FMT_DEPRECATED constexpr auto operator"" _format(const char* s, size_t n)
    ^
    /Users/jenkins/w/prod-v2/bsr/99181/bbccf/p/fmtbaa0846e40858/p/include/fmt/core.h:224:30: note: expanded from macro 'FMT_DEPRECATED'
    #    define FMT_DEPRECATED [[deprecated]]
                                 ^
    [ 75%] Building CXX object CMakeFiles/cppserver.dir/source/server/ws/ws.cpp.o
    [ 79%] Building CXX object CMakeFiles/cppserver.dir/source/server/ws/ws_client.cpp.o
    1 warning generated.
    [ 82%] Building CXX object CMakeFiles/cppserver.dir/source/server/ws/ws_server.cpp.o
    [ 86%] Building CXX object CMakeFiles/cppserver.dir/source/server/ws/ws_session.cpp.o
    /Users/jenkins/w/prod-v2/bsr/99181/bbccf/p/b/cppse36e1236317db5/b/src/source/server/http/https_server.cpp:23:55: warning: 'operator""_format' is deprecated [-Wdeprecated-declarations]
            header.SetHeader("Cache-Control", "max-age={}"_format(timespan.seconds()));
                                                          ^
    /Users/jenkins/w/prod-v2/bsr/99181/bbccf/p/fmtbaa0846e40858/p/include/fmt/format.h:3043:1: note: 'operator""_format' has been explicitly marked deprecated here
    FMT_DEPRECATED constexpr auto operator"" _format(const char* s, size_t n)
    ^
    /Users/jenkins/w/prod-v2/bsr/99181/bbccf/p/fmtbaa0846e40858/p/include/fmt/core.h:224:30: note: expanded from macro 'FMT_DEPRECATED'
    #    define FMT_DEPRECATED [[deprecated]]
                                 ^
    [ 89%] Building CXX object CMakeFiles/cppserver.dir/source/server/ws/wss_client.cpp.o
    1 warning generated.
    [ 93%] Building CXX object CMakeFiles/cppserver.dir/source/server/ws/wss_server.cpp.o
    [ 96%] Building CXX object CMakeFiles/cppserver.dir/source/server/ws/wss_session.cpp.o
    [100%] Linking CXX shared library libcppserver.dylib
    Undefined symbols for architecture x86_64:
      "fmt::v8::vformat(fmt::v8::basic_string_view<char>, fmt::v8::basic_format_args<fmt::v8::basic_format_context<fmt::v8::appender, char>>)", referenced from:
          std::__1::__function::__func<CppServer::HTTP::HTTPServer::AddStaticContent(CppCommon::Path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&)::$_0, std::__1::allocator<CppServer::HTTP::HTTPServer::AddStaticContent(CppCommon::Path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&)::$_0>, bool (CppCommon::FileCache&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&)>::operator()(CppCommon::FileCache&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&) in http_server.cpp.o
          std::__1::__function::__func<CppServer::HTTP::HTTPSServer::AddStaticContent(CppCommon::Path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&)::$_0, std::__1::allocator<CppServer::HTTP::HTTPSServer::AddStaticContent(CppCommon::Path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&)::$_0>, bool (CppCommon::FileCache&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&)>::operator()(CppCommon::FileCache&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, CppCommon::Timespan const&) in https_server.cpp.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [libcppserver.dylib] Error 1
    make[1]: *** [CMakeFiles/cppserver.dir/all] Error 2
    make: *** [all] Error 2
    
    cppserver/1.0.1.0: ERROR: 
    Package '03479222c907fced29fa3e5aa28e7655df6c720d' build failed
    cppserver/1.0.1.0: WARN: Build folder /Users/jenkins/w/prod-v2/bsr/99181/bbccf/p/b/cppse36e1236317db5/b/build/Release
    ERROR: cppserver/1.0.1.0: Error in build() method, line 96
    	cmake.build()
    	ConanException: Error 2 while executing
    
  • cppserver/1.0.4.1:
    Didn't run or was cancelled before finishing

  • cppserver/1.0.0.0:
    Didn't run or was cancelled before finishing

  • cppserver/1.0.2.0:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants