Package: net-libs/libproxy-0.4.15 * Repository: gentoo * Maintainer: freedesktop-bugs@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux networkmanager perl userland_GNU * FEATURES: ccache network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox --- CMake Warning (dev) at bindings/perl/t/CMakeLists.txt:1 (add_custom_target): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning. warning. The target name "test" is reserved when CTest testing is enabled. It may result in undefined behavior. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-libs/libproxy-0.4.15/work/libproxy-0.4.15_build-abi_x86_64.amd64 >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/libproxy-0.4.15/work/libproxy-0.4.15 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile * Working in BUILD_DIR: "/var/tmp/portage/net-libs/libproxy-0.4.15/work/libproxy-0.4.15_build-abi_x86_64.amd64" ninja -v -j5 -l0 ninja: error: build.ninja:1315: multiple rules generate test [-w dupbuild=err] --- Reproducible: Always
Initial testing didn't catch this since most people would not enable USE=perl on this.
Created attachment 603410 [details, diff] libproxy-0.4.15-perl-test-target-removal.patch Possible workaround
(In reply to Ben Kohler from comment #1) > Initial testing didn't catch this since most people would not enable > USE=perl on this. I can confirm that building with USE=-perl does compile.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc0a50d2bcf7e361d8b9a31f316720ebc751804a commit bc0a50d2bcf7e361d8b9a31f316720ebc751804a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-01-16 19:41:21 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-01-16 19:41:47 +0000 net-libs/libproxy: Drop USE perl No revdeps. Feel free to revert after fixing build system (upstream!). Closes: https://bugs.gentoo.org/705410 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> net-libs/libproxy/libproxy-0.4.15-r1.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)