Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806390 - =net-p2p/ktorrent-21.04.3 fails to build with <cmake-3.20
Summary: =net-p2p/ktorrent-21.04.3 fails to build with <cmake-3.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://invent.kde.org/network/ktorre...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-04 13:37 UTC by Azamat H. Hackimov
Modified: 2021-08-04 14:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (net-p2p:ktorrent-21.04.3:20210804-133441.log,12.31 KB, text/x-log)
2021-08-04 13:37 UTC, Azamat H. Hackimov
Details
emerge --info (emerge.info,6.70 KB, text/plain)
2021-08-04 13:38 UTC, Azamat H. Hackimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Azamat H. Hackimov 2021-08-04 13:37:56 UTC
Created attachment 730134 [details]
build.log

>>> Emerging (1 of 1) net-p2p/ktorrent-21.04.3::gentoo
 * ktorrent-21.04.3.tar.xz BLAKE2B SHA512 size ;-) ...                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking ktorrent-21.04.3.tar.xz to /var/tmp/portage/net-p2p/ktorrent-21.04.3/work
>>> Source unpacked in /var/tmp/portage/net-p2p/ktorrent-21.04.3/work
>>> Preparing source in /var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3 ...
 * Applying ktorrent-21.04.3-fix-tests.patch ...
patching file CMakeLists.txt
Hunk #1 succeeded at 16 with fuzz 2 (offset -1 lines).
patching file plugins/ipfilter/tests/CMakeLists.txt                                                                            [ ok ]
 * Working in BUILD_DIR: "/var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3 ...
 * Working in BUILD_DIR: "/var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3_build"
cmake -C /var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=ON -DCMAKE_DISABLE_FIND_PACKAGE_KF5DocTools=no -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help -DENABLE_BWSCHEDULER_PLUGIN=yes -DENABLE_DOWNLOADORDER_PLUGIN=yes -DENABLE_INFOWIDGET_PLUGIN=yes -DWITH_SYSTEM_GEOIP=yes -DENABLE_IPFILTER_PLUGIN=yes -DENABLE_SCRIPTING_PLUGIN=yes -DENABLE_LOGVIEWER_PLUGIN=yes -DENABLE_MAGNETGENERATOR_PLUGIN=yes -DENABLE_MEDIAPLAYER_PLUGIN=yes -DCMAKE_DISABLE_FIND_PACKAGE_KF5Syndication=ON -DENABLE_SCANFOLDER_PLUGIN=yes -DENABLE_SHUTDOWN_PLUGIN=yes -DENABLE_STATS_PLUGIN=yes -DENABLE_UPNP_PLUGIN=yes -DENABLE_SEARCH_PLUGIN=yes -DENABLE_ZEROCONF_PLUGIN=yes -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3_build/gentoo_toolchain.cmake  /var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3
loading initial cache file /var/tmp/portage/net-p2p/ktorrent-21.04.3/work/ktorrent-21.04.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:19 (cmake_policy):
  Policy "CMP0115" is not known to this version of CMake.


CMake's policy CMP0115 first appears in cmake-3.20, I have installed stable cmake-3.18.
Comment 1 Azamat H. Hackimov 2021-08-04 13:38:43 UTC
Created attachment 730136 [details]
emerge --info
Comment 2 John Plesmid 2021-08-04 13:57:09 UTC
I am also getting this same error
Comment 3 Andreas Sturmlechner gentoo-dev 2021-08-04 14:53:46 UTC
Upstream MR was not sanitised before merge...
Comment 4 Larry the Git Cow gentoo-dev 2021-08-04 14:56:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce4db60d003a96cf7d9319f2016a593953d8f22

commit 2ce4db60d003a96cf7d9319f2016a593953d8f22
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-08-04 14:55:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-08-04 14:56:07 +0000

    net-p2p/ktorrent: Fix upstream patch
    
    Upstream commit c8701e6a9ff52c04c364e8f5dd8f32f44bfeaa93
    
    Closes: https://bugs.gentoo.org/806390
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)