Skip to content

Build fail of util/Utils.h #135

@guodong

Description

@guodong

Issue Description

  • tag or commit hash on which this occured
    15f1cef

  • OS version: <e.g. ubuntu-16.04>
    ubuntu-2004

Minimal test code / Steps to reproduce the issue

Build openr by build/build_openr.sh

What's the actual result?

/home/vagrant/openr/openr/tests/utils/Utils.h:122:14: error: ‘Task’ in namespace ‘folly::coro’ does not name a template type
  122 | folly::coro::Task<void> co_validateNodeKey(
      |              ^~~~
/home/vagrant/openr/openr/tests/utils/Utils.h:130:14: error: ‘Task’ in namespace ‘folly::coro’ does not name a template type
  130 | folly::coro::Task<void> co_waitForConvergence(
      |              ^~~~
[93/150] Building CXX object CMakeFiles/openrlib.dir/openr/ctrl-server/OpenrCtrlHandler.cpp.o
ninja: build stopped: subcommand failed.
Command '['/opt/facebook/cmake-lV-JXVDUReICVkOgVITpaIg5qFbZoy6F3HTQk_VSkeg/bin/cmake', '--build', '/usr/local/src/build/openr', '--target', 'install', '--config', 'Release', '-j', '2']' returned non-zero exit status 1.
!! Failed
[ERROR]: Failed to build openr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions