-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix deb package build #4591
Fix deb package build #4591
Conversation
--install-folder bld/rippled-reporting \ | ||
--build missing \ | ||
--build boost \ | ||
--build sqlite3 \ | ||
--build libuv \ | ||
--settings build_type=Release \ | ||
--settings compiler.cppstd=17 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't build non-reporting mode without C++20, and we can't build reporting mode with C++20? Is that right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be the case. IIRC, there was an issue building Cassandra.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's the issue I'm having:
C++20 changes std::memory_order from an
enum
to anenum class
. Datastax supplies a C++ driver for Cassandra, a dependency of reporting mode. it defines anenum MemoryOrder
whose values are copied fromstd::memory_order
, but using values from anenum class
is not allowed, causing a compile error: https://godbolt.org/z/dG943nvT7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
b1e5fc3
to
3f91982
Compare
rename debug packages ddeb --> deb for Artifactory bug
3f91982
to
fba6e08
Compare
The debug packages were named with the extension ".ddeb", but due to a bug in Artifactory, they need to have the ".deb" extension. Debug symbol packages with ".ddeb" extensions are not indexed, and thus are not visible in apt clients. * Fix the issue by renaming the debug packages in the build script. * Use GCC-11 and update GCC Conan profile. * This software requires GCC 11 and C++20. However, reporting mode is built with C++17. This is a quick band-aid to fix the build. Later, it will be better to remove this package-building code. For context, a Debian (deb) package contains bundled software and resources necessary for installing and managing software on a Debian-based system, including Ubuntu and derivatives.
The debug packages were named with the extension ".ddeb", but due to a bug in Artifactory, they need to have the ".deb" extension. Debug symbol packages with ".ddeb" extensions are not indexed, and thus are not visible in apt clients. * Fix the issue by renaming the debug packages in the build script. * Use GCC-11 and update GCC Conan profile. * This software requires GCC 11 and C++20. However, reporting mode is built with C++17. This is a quick band-aid to fix the build. Later, it will be better to remove this package-building code. For context, a Debian (deb) package contains bundled software and resources necessary for installing and managing software on a Debian-based system, including Ubuntu and derivatives.
The debug packages were named with the extension ".ddeb", but due to a bug in Artifactory, they need to have the ".deb" extension. Debug symbol packages with ".ddeb" extensions are not indexed, and thus are not visible in apt clients. * Fix the issue by renaming the debug packages in the build script. * Use GCC-11 and update GCC Conan profile. * This software requires GCC 11 and C++20. However, reporting mode is built with C++17. This is a quick band-aid to fix the build. Later, it will be better to remove this package-building code. For context, a Debian (deb) package contains bundled software and resources necessary for installing and managing software on a Debian-based system, including Ubuntu and derivatives.
High Level Overview of Change
Use GCC-11 and update GCC Conan profile
Context of Change
This is a quick band aid to get this build fixed.
A goal of Q3 is to remove all this package building code.
Also renames debug packages
ddeb
-->deb
to account for an Artifactory bug where the debug symbol packages with.ddeb
extensions are not indexed and thus aren't visible in apt clients.Type of Change