Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878291 - games-engines/stratagus-3.3.2 - cc1plus: fatal error: .../tolua.cpp: No such file or directory
Summary: games-engines/stratagus-3.3.2 - cc1plus: fatal error: .../tolua.cpp: No such ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-25 17:49 UTC by Toralf Förster
Modified: 2024-02-15 05:57 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.74 KB, text/plain)
2022-10-25 17:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.98 KB, text/plain)
2022-10-25 17:49 UTC, Toralf Förster
Details
environment (environment,111.44 KB, text/plain)
2022-10-25 17:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.88 KB, application/x-bzip)
2022-10-25 17:49 UTC, Toralf Förster
Details
games-engines:stratagus-3.3.2:20221025-062747.log (games-engines:stratagus-3.3.2:20221025-062747.log,243.86 KB, text/plain)
2022-10-25 17:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.85 KB, application/x-bzip)
2022-10-25 17:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,42.44 KB, application/x-bzip)
2022-10-25 17:49 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 2022-10-25 17:49:24 UTC
too long lines were shrinked:

[217/223] /usr/bin/x86_64-pc-linux-gnu-g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/var/tmp/portage/games-engines/stratagus-3.3.2/work/stratagus-3.3.2/src/inc
[218/223] /usr/bin/x86_64-pc-linux-gnu-g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/var/tmp/portage/games-engines/stratagus-3.3.2/work/stratagus-3.3.2/src/inc
FAILED: CMakeFiles/stratagus.dir/tolua.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/var/tmp/portage/games-engines/stratagus-3.3.2/work/stratagus-3.3.2/src/include -I/va
cc1plus: fatal error: /var/tmp/portage/games-engines/stratagus-3.3.2/work/stratagus-3.3.2_build/tolua.cpp: No such file or directory
compilation terminated.
[219/223] /usr/bin/x86_64-pc-linux-gnu-g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/var/tmp/portage/games-engines/stratagus-3.3.2/work/stratagus-3.3.2/src/inc

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20221024-040004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit b1be98245de4b50500460f89a39ff3bc3336ca49
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 25 06:02:04 2022 +0000

    2022-10-25 06:02:04 UTC

emerge -qpvO games-engines/stratagus
[ebuild  N    ] games-engines/stratagus-3.3.2  USE="bzip2 mng theora vorbis -debug -doc" LUA_SINGLE_TARGET="lua5-1"
Comment 1 Toralf Förster gentoo-dev 2022-10-25 17:49:25 UTC
Created attachment 825377 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-25 17:49:26 UTC
Created attachment 825379 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-25 17:49:28 UTC
Created attachment 825381 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-25 17:49:29 UTC
Created attachment 825383 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-25 17:49:32 UTC
Created attachment 825385 [details]
games-engines:stratagus-3.3.2:20221025-062747.log
Comment 6 Toralf Förster gentoo-dev 2022-10-25 17:49:33 UTC
Created attachment 825387 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-25 17:49:35 UTC
Created attachment 825389 [details]
temp.tar.bz2
Comment 8 Jimmy Kloss 2023-02-08 11:43:32 UTC
The missing tolua.cpp is dynamically generated via dev-lua/toluapp, which in turns depends on deprecated features. Emerging dev-lang/lua:5.1 with the 'deprecated' use flag enabled solves this issue.
Comment 9 Matthias Schwarzott gentoo-dev 2024-02-15 05:57:51 UTC
dev-lang/lua-5.1.5-r200 has IUSE="+deprecated"

Nevertheless either dev-lua/toluapp or games-engines/stratagus should get this added:
LUA_REQ_USE="deprecated"