Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811480 - dev-lua/toluapp-1.0.93_p20190513-r100 - * ERROR: dev-lua/toluapp-1.0.93_p20190513-r100::gentoo failed (prepare phase):
Summary: dev-lua/toluapp-1.0.93_p20190513-r100 - * ERROR: dev-lua/toluapp-1.0.93_p201...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://qa-reports.gentoo.org/output/...
Whiteboard: MisplacedEclassVar
Keywords: QAcanfix
Depends on:
Blocks:
 
Reported: 2021-09-03 16:11 UTC by Toralf Förster
Modified: 2021-09-28 12:52 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.94 KB, text/plain)
2021-09-03 16:11 UTC, Toralf Förster
Details
dev-lua:toluapp-1.0.93_p20190513-r100:20210903-145452.log (dev-lua:toluapp-1.0.93_p20190513-r100:20210903-145452.log,2.31 KB, text/plain)
2021-09-03 16:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,708.73 KB, text/plain)
2021-09-03 16:11 UTC, Toralf Förster
Details
environment (environment,105.59 KB, text/plain)
2021-09-03 16:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.58 KB, application/x-bzip)
2021-09-03 16:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,141.10 KB, application/x-bzip)
2021-09-03 16:11 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:11:26 UTC
 [ 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"
Comment 1 Toralf Förster gentoo-dev 2021-09-03 16:11:27 UTC
Created attachment 737230 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-03 16:11:28 UTC
Created attachment 737233 [details]
dev-lua:toluapp-1.0.93_p20190513-r100:20210903-145452.log
Comment 3 Toralf Förster gentoo-dev 2021-09-03 16:11:30 UTC
Created attachment 737236 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-03 16:11:32 UTC
Created attachment 737239 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-03 16:11:34 UTC
Created attachment 737242 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-03 16:11:35 UTC
Created attachment 737245 [details]
temp.tar.bz2
Comment 7 Andy Getz 2021-09-14 07:11:19 UTC
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
Comment 8 Andreas Sturmlechner gentoo-dev 2021-09-28 10:09:53 UTC
The real problem here is ebuild ignores cmake eclassdoc and is setting CMAKE_REMOVE_MODULES_LIST post inherit.
Comment 9 Larry the Git Cow gentoo-dev 2021-09-28 12:52:39 UTC
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(-)