Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915515 - games-simulation/corsix-th-0.67 - FAILED: .../doc_corsixth_lua
Summary: games-simulation/corsix-th-0.67 - FAILED: .../doc_corsixth_lua
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-10 07:23 UTC by Toralf Förster
Modified: 2023-10-16 22:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.31 KB, text/plain)
2023-10-10 07:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.76 KB, text/plain)
2023-10-10 07:23 UTC, Toralf Förster
Details
environment (environment,114.73 KB, text/plain)
2023-10-10 07:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-10-10 07:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.76 KB, application/x-xz)
2023-10-10 07:23 UTC, Toralf Förster
Details
games-simulation:corsix-th-0.67:20231010-013739.log (games-simulation:corsix-th-0.67:20231010-013739.log,38.06 KB, text/plain)
2023-10-10 07:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.11 KB, application/x-xz)
2023-10-10 07:23 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 2023-10-10 07:23:39 UTC
too long lines were shrinked:

[34/35] : && /usr/bin/cmake -E rm -f CorsixTH/libCorsixTH_lib.a && /usr/bin/x86_64-pc-linux-gnu-ar qc CorsixTH/libCorsixTH_lib.a  CorsixTH/CMakeFiles/CorsixTH_lib.dir/Src/random.c.o CorsixTH/CMakeFiles/CorsixTH_lib.dir/Src/bootstrap.cpp.o CorsixTH/CMakeFiles/CorsixTH_lib.dir/Src/iso_fs.cpp.o CorsixT
[35/35] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 CorsixTH/CMakeFiles/CorsixTH.dir/Src/main.cpp.o CorsixTH/CMakeFiles/CorsixTH.dir/SrcUnshared/main.cpp.o -o CorsixTH/corsix-th  CorsixTH/libCors
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67_build"
ninja -v -j5 -l0 doc
[1/4] cd /var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67_build/doc && /usr/bin/lua5.3 /var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67/LDocGen/main.lua && /usr/bin/cmake -E copy /var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67/LDocGen/output/
FAILED: CMakeFiles/doc_corsixth_lua /var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67_build/CMakeFiles/doc_corsixth_lua 
cd /var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67_build/doc && /usr/bin/lua5.3 /var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67/LDocGen/main.lua && /usr/bin/cmake -E copy /var/tmp/portage/games-simulation/corsix-th-0.67/work/CorsixTH-0.67/LDocGen/output/corner
/usr/bin/lua5.3: ...ation/corsix-th-0.67/work/CorsixTH-0.67/LDocGen/main.lua:32: module 'lfs' not found:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd_merged_usr-20231008-033505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.2
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.8.1_p1 [openjdk-17]
2)	OpenJDK 8.382_p05 [openjdk-8]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 9cf2a3cdd31eadf646c32676037cc5268e462063
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 9 23:46:53 2023 +0000

    Merge updates from master

emerge -qpvO games-simulation/corsix-th
[ebuild  N    ] games-simulation/corsix-th-0.67  USE="doc sound videos -midi -tools -truetype" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4"
Comment 1 Toralf Förster gentoo-dev 2023-10-10 07:23:40 UTC
Created attachment 872465 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-10 07:23:41 UTC
Created attachment 872466 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-10-10 07:23:42 UTC
Created attachment 872467 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-10-10 07:23:43 UTC
Created attachment 872468 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-10-10 07:23:44 UTC
Created attachment 872469 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-10-10 07:23:45 UTC
Created attachment 872470 [details]
games-simulation:corsix-th-0.67:20231010-013739.log
Comment 7 Toralf Förster gentoo-dev 2023-10-10 07:23:46 UTC
Created attachment 872471 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-10-16 22:51:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3560710d8e3b50c746a1a87ae057882dd77da6d

commit d3560710d8e3b50c746a1a87ae057882dd77da6d
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-10-16 22:44:44 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-10-16 22:44:44 +0000

    games-simulation/corsix-th: Fix USE=doc with better Lua handling
    
    We need to restrict to the requested Lua version and ensure the necessary
    modules are installed for that version.
    
    Closes: https://bugs.gentoo.org/915515
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-simulation/corsix-th/corsix-th-0.67.ebuild   | 16 +++++++--------
 .../files/corsix-th-0.66-cmake_lua_detection.patch | 13 ------------
 .../files/corsix-th-0.67-cmake_lua_detection.patch | 24 ++++++++++++++++++++++
 3 files changed, 32 insertions(+), 21 deletions(-)