* Build directory (BUILD_DIR): "/var/tmp/portage/sys-fs/dislocker-0.7.3/work/dislocker-0.7.3_build" find: paths must precede expression: `FindRuby.cmake' * ERROR: sys-fs/dislocker-0.7.3::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_systemd-j4-20210830-193009 ------------------------------------------------------------------- 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 Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 9ed38bceef898cf3622606b95a975eced37da38a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Sep 3 08:36:28 2021 +0000 2021-09-03 08:36:26 UTC emerge -qpvO sys-fs/dislocker [ebuild N ] sys-fs/dislocker-0.7.3 USE="-ruby"
Created attachment 737260 [details] emerge-info.txt
Created attachment 737263 [details] emerge-history.txt
Created attachment 737266 [details] environment
Created attachment 737269 [details] etc.portage.tar.bz2
Created attachment 737272 [details] sys-fs:dislocker-0.7.3:20210903-104325.log
Created attachment 737275 [details] temp.tar.bz2
I was able to correct this on my system by adding quotes around ${name}.cmake on line 383 of /var/db/repos/gentoo/eclass/cmake.eclass The new line reads find "${S}" -name "${name}.cmake" -exec rm -v {} + || die
(In reply to gentoo@netmalice.com from comment #7) > I was able to correct this on my system by adding quotes around > ${name}.cmake on line 383 of /var/db/repos/gentoo/eclass/cmake.eclass > > The new line reads > > find "${S}" -name "${name}.cmake" -exec rm -v {} + || die I confirm this is the right fix, so the bug is in cmake.eclass instead of on sys-apps/dislocker
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=76ad139fa613a3eb2a946c922d8fee43db9e1630 commit 76ad139fa613a3eb2a946c922d8fee43db9e1630 Author: Nic Boet <nic@boet.cc> AuthorDate: 2024-02-01 03:48:21 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-04-06 19:47:59 +0000 cmake.eclass: bug 811486 escape find patterns Modify cmake_src_prepare to qoute escape filenames within the find search patterns This resolves build issues with some EAPI 7 packages, i.e. sys-fs/dislocker via catalyst Bug: https://bugs.gentoo.org/811486 Signed-off-by: Nic Boet <nic@boet.cc> Closes: https://github.com/gentoo/gentoo/pull/35125 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/cmake.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Maybe someone should port to EAPI-8 though.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a395b82ac3d490ea94fea3721fac9b041e3cd0 commit 60a395b82ac3d490ea94fea3721fac9b041e3cd0 Author: Nic Boet <nic@boet.cc> AuthorDate: 2024-02-01 03:48:21 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-08-15 17:46:36 +0000 cmake.eclass: bug 811486 escape find patterns Modify cmake_src_prepare to qoute escape filenames within the find search patterns This resolves build issues with some EAPI 7 packages, i.e. sys-fs/dislocker via catalyst Bug: https://bugs.gentoo.org/811486 Signed-off-by: Nic Boet <nic@boet.cc> Closes: https://github.com/gentoo/gentoo/pull/35125 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> eclass/cmake.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)