[ ok ] find: paths must precede expression: `lua' * ERROR: dev-lua/toluapp-1.0.93_p20190513-r100::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_prepare ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20210822-142511 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.54.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-bin-8] *) AdoptOpenJDK 8.302_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 11957c0ff4afce9b61b3f2e71b5cbd053bd8198f Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Sep 3 13:06:27 2021 +0000 2021-09-03 13:06:26 UTC emerge -qpvO dev-lua/toluapp [ebuild N ] dev-lua/toluapp-1.0.93_p20190513-r100 LUA_SINGLE_TARGET="lua5-1"
Created attachment 737230 [details] emerge-info.txt
Created attachment 737233 [details] dev-lua:toluapp-1.0.93_p20190513-r100:20210903-145452.log
Created attachment 737236 [details] emerge-history.txt
Created attachment 737239 [details] environment
Created attachment 737242 [details] etc.portage.tar.bz2
Created attachment 737245 [details] temp.tar.bz2
Looks like missing quotes in cmake.eclass. This fixes it for me. diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 02683634af9f..ee477a468f0a 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -380,7 +380,7 @@ cmake_src_prepare() { local name for name in "${modules_list[@]}" ; do if [[ ${EAPI} == 7 ]]; then - find "${S}" -name ${name}.cmake -exec rm -v {} + || die + find "${S}" -name "${name}.cmake" -exec rm -v {} + || die else find -name "${name}.cmake" -exec rm -v {} + || die fi
The real problem here is ebuild ignores cmake eclassdoc and is setting CMAKE_REMOVE_MODULES_LIST post inherit.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fbf2168638ddcf0b0fca51c7edf2b5a129a274 commit 67fbf2168638ddcf0b0fca51c7edf2b5a129a274 Author: Matthias Schwarzott <zzam@gentoo.org> AuthorDate: 2021-09-28 12:50:25 +0000 Commit: Matthias Schwarzott <zzam@gentoo.org> CommitDate: 2021-09-28 12:52:28 +0000 dev-lua/toluapp: Fix location of CMAKE_REMOVE_MODULES_LIST variable Setting it after "inherit cmake" is wrong and leads to issues. Closes: https://bugs.gentoo.org/811480 Package-Manager: Portage-3.0.24, Repoman-3.0.3 Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> dev-lua/toluapp/toluapp-1.0.93_p20190513-r100.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)