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

Build fails on debian-10 #313

Closed
MaoZiming opened this issue May 18, 2024 · 2 comments
Closed

Build fails on debian-10 #313

MaoZiming opened this issue May 18, 2024 · 2 comments

Comments

@MaoZiming
Copy link

Describe the bug
Build fails with

In member function ‘virtual void folly::AsyncSocket::writeChain(folly::AsyncWriter::WriteCallback*, std::unique_ptr<folly::IOBuf>&&, folly::WriteFlags)’:
/home/CacheLib/cachelib/external/folly/folly/io/async/AsyncSocket.cpp:1733:15: error: ‘BOOST_PP_IF’ was not declared in this scope
     iovec vec[BOOST_PP_IF(FOLLY_HAVE_VLA_01, count, kSmallIoVecSize)];
               ^~~~~~~~~~~
/home/CacheLib/cachelib/external/folly/folly/io/async/AsyncSocket.cpp:1733:15: note: suggested alternative: ‘BOOST_PP_IIF’
     iovec vec[BOOST_PP_IF(FOLLY_HAVE_VLA_01, count, kSmallIoVecSize)];
               ^~~~~~~~~~~
               BOOST_PP_IIF
/home/CacheLib/cachelib/external/folly/folly/io/async/AsyncSocket.cpp:1736:30: error: ‘vec’ was not declared in this scope
     writeChainImpl(callback, vec, count, std::move(buf), flags);

To Reproduce
Steps to reproduce the behavior:
./contrib/build.sh -d -j -v

@therealgymmy
Copy link
Contributor

therealgymmy commented May 20, 2024

yeah this is a known issue. You can try a platform such as centos 9.0 for now.

We need to debug further. Our OSS builds have been very fragile in the last month or so. Multiple dependencies broke one after another. Details in #310

@therealgymmy
Copy link
Contributor

should be fixed by now

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

No branches or pull requests

2 participants