------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-libressl_abi32+64-20200516-121558 -------------------------------------------------------------------
Created attachment 641178 [details] etc.portage.tbz2
Created attachment 641180 [details] net-p2p:transmission-3.00:20200523-161902.log
> * One or more CMake variables were not used by the project: > * CMAKE_CXX_FLAGS > * CMAKE_C_FLAGS I think this some flaw in cmake.eclass. The user's CFLAGS/CXXFLAGS appear in the build log, so I'm not sure why it is complaining.
Oh, I see. The build system calls cmake for a couple of subprojects, and passes CMAKE_CXX_FLAGS as an argument. > [104/302] cd /x/portage/net-p2p/transmission-3.00/work/transmission-3.00_build/third-party/utp/src/utp-build && /usr/bin/cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE:PATH=/x/portage/net-p2p/transmission-3.00/work/transmission-3.00_build/gentoo_toolchain.cmake -DCMAKE_USER_MAKE_RULES_OVERRIDE=/x/portage/net-p2p/transmission-3.00/work/transmission-3.00_build/gentoo_rules.cmake "-DCMAKE_C_FLAGS:STRING=-O2 -pipe -march=amdfam10" "-DCMAKE_CXX_FLAGS:STRING=-O2 -pipe -march=amdfam10" -DCMAKE_BUILD_TYPE:STRING=Gentoo -DCMAKE_INSTALL_PREFIX:PATH=/x/portage/net-p2p/transmission-3.00/work/transmission-3.00_build/third-party/utp -GNinja /x/portage/net-p2p/transmission-3.00/work/transmission-3.00_build/third-party/utp/src/utp && /usr/bin/cmake -E touch /x/portage/net-p2p/transmission-3.00/work/transmission-3.00_build/third-party/utp/src/utp-stamp/utp-configure I'm not sure how to deal with that.
I'm just going to call this CANTFIX.
I checked and these messages are produced by the unmodified upstream cmake of transmission, nothing to do with us. What an awful mess.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2c3883f3500dc67e6d7e9c789d815abc9d622a commit 2c2c3883f3500dc67e6d7e9c789d815abc9d622a Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-05-24 02:30:02 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-05-24 02:33:18 +0000 net-p2p/transmission: disable cmake warning for subprojects Closes: https://bugs.gentoo.org/724792 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../files/cmake-unused-command-line.patch | 21 +++++++++++++++++++++ net-p2p/transmission/transmission-3.00.ebuild | 4 ++++ 2 files changed, 25 insertions(+)