From 9375f927fc721e85d95bf050442a20de3d84c5a0 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Mon, 18 Jan 2021 18:18:33 +0100 Subject: [PATCH] profiles: disable cxx for net-libs/nghttp2 When building `net-libs/nghttp2` needed by curl 7.74, build fails when checking for prerequisites of boost libs. ``` configure:20402: checking whether the Boost::ASIO library is available configure:20433: x86_64-cros-linux-gnu-g++ -std=c++14 -c -O2 -pipe -mtune=generic -g conftest.cpp >&5 configure:20433: $? = 0 configure:20447: result: yes configure:20540: error: Could not find a version of the library! ``` To avoid such issues, we should disable the `cxx` USE flag for `net-libs/nghttp2`. --- .../coreos-overlay/profiles/coreos/base/package.use | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use index 613b943b00..9963cac443 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use @@ -116,3 +116,7 @@ sys-kernel/coreos-firmware -savedconfig # Make kmod support kernel modules compressed via lzma(xz) sys-apps/kmod lzma + +# net-libs/nghttp2 should be built with -cxx to avoid issues with boost 1.65. +# configure script is not able to check if Boost:ASIO library exists. +net-libs/nghttp2 -cxx