Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811486 - sys-fs/dislocker-0.7.3 - * ERROR: sys-fs/dislocker-0.7.3::gentoo failed (prepare phase):
Summary: sys-fs/dislocker-0.7.3 - * ERROR: sys-fs/dislocker-0.7.3::gentoo failed (pre...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-09-03 16:12 UTC by Toralf Förster
Modified: 2024-08-15 17:48 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.09 KB, text/plain)
2021-09-03 16:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,354.08 KB, text/plain)
2021-09-03 16:12 UTC, Toralf Förster
Details
environment (environment,90.17 KB, text/plain)
2021-09-03 16:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.20 KB, application/x-bzip)
2021-09-03 16:12 UTC, Toralf Förster
Details
sys-fs:dislocker-0.7.3:20210903-104325.log (sys-fs:dislocker-0.7.3:20210903-104325.log,1.76 KB, text/plain)
2021-09-03 16:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.40 KB, application/x-bzip)
2021-09-03 16:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-09-03 16:12:39 UTC
 * 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"
Comment 1 Toralf Förster gentoo-dev 2021-09-03 16:12:41 UTC
Created attachment 737260 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-03 16:12:43 UTC
Created attachment 737263 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-09-03 16:12:44 UTC
Created attachment 737266 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-09-03 16:12:46 UTC
Created attachment 737269 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-09-03 16:12:47 UTC
Created attachment 737272 [details]
sys-fs:dislocker-0.7.3:20210903-104325.log
Comment 6 Toralf Förster gentoo-dev 2021-09-03 16:12:48 UTC
Created attachment 737275 [details]
temp.tar.bz2
Comment 7 gentoo@netmalice.com 2021-09-10 15:24:16 UTC
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
Comment 8 José María Fernández González 2021-09-14 20:37:11 UTC
(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
Comment 9 Larry the Git Cow gentoo-dev 2024-04-06 19:49:19 UTC
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(-)
Comment 10 Andreas Sturmlechner gentoo-dev 2024-04-06 19:54:58 UTC
Maybe someone should port to EAPI-8 though.
Comment 11 Larry the Git Cow gentoo-dev 2024-08-15 17:48:06 UTC
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(-)