Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890212 - games-strategy/ja2-stracciatella-0.20.0 - /.../Handle_UI.h: fatal error: magic_enum.hpp: No such file or directory
Summary: games-strategy/ja2-stracciatella-0.20.0 - /.../Handle_UI.h: fatal error: magi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Misanthropos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-08 10:40 UTC by Toralf Förster
Modified: 2023-01-09 01:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.57 KB, text/plain)
2023-01-08 10:40 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,72.40 KB, application/x-bzip)
2023-01-08 10:40 UTC, Toralf Förster
Details
environment (environment,131.87 KB, text/plain)
2023-01-08 10:40 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,650 bytes, application/x-bzip)
2023-01-08 10:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.41 KB, application/x-bzip)
2023-01-08 10:40 UTC, Toralf Förster
Details
games-strategy:ja2-stracciatella-0.20.0:20230108-062736.log.bz2 (games-strategy:ja2-stracciatella-0.20.0:20230108-062736.log.bz2,13.67 KB, application/x-bzip)
2023-01-08 10:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.87 KB, application/x-bzip)
2023-01-08 10:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,54.68 KB, application/x-bzip)
2023-01-08 10:40 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-01-08 10:40:21 UTC
too long lines were shrinked:

[54/393] /usr/sbin/x86_64-pc-linux-gnu-g++ -DINSTALL_LIB_DIR=\"/usr/lib64\" -DNO_MAGICENUM_LIB -I/var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src -I/var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src/externalized/army -
[55/393] /usr/sbin/x86_64-pc-linux-gnu-g++ -DINSTALL_LIB_DIR=\"/usr/lib64\" -DNO_MAGICENUM_LIB -I/var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src -I/var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src/externalized/army -
FAILED: CMakeFiles/ja2.dir/src/externalized/Soldier.cc.o 
/usr/sbin/x86_64-pc-linux-gnu-g++ -DINSTALL_LIB_DIR=\"/usr/lib64\" -DNO_MAGICENUM_LIB -I/var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src -I/var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src/externalized/army -I/var/tmp
In file included from /var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src/game/Tactical/Interface.h:4,
                 from /var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src/externalized/Soldier.cc:5:
/var/tmp/portage/games-strategy/ja2-stracciatella-0.20.0/work/ja2-stracciatella-0.20.0/src/game/Tactical/Handle_UI.h:10:10: fatal error: magic_enum.hpp: No such file or directory
   10 | #include <magic_enum.hpp>
      |          ^~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-j4-20230103-110036

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
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.6
Python 3.10.9
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.66.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit d7e7885db8ed299cc568bd669e208b7604c1ead5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 8 06:02:22 2023 +0000

    2023-01-08 06:02:22 UTC

emerge -qpvO games-strategy/ja2-stracciatella
[ebuild  N    ] games-strategy/ja2-stracciatella-0.20.0  USE="(-cdinstall) -debug -editor -ru-gold -test" LUA_SINGLE_TARGET="lua5-3"
Comment 1 Toralf Förster gentoo-dev 2023-01-08 10:40:22 UTC
Created attachment 847926 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-08 10:40:23 UTC
Created attachment 847928 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-01-08 10:40:24 UTC
Created attachment 847930 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-01-08 10:40:25 UTC
Created attachment 847932 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-01-08 10:40:27 UTC
Created attachment 847934 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-08 10:40:28 UTC
Created attachment 847936 [details]
games-strategy:ja2-stracciatella-0.20.0:20230108-062736.log.bz2
Comment 7 Toralf Förster gentoo-dev 2023-01-08 10:40:29 UTC
Created attachment 847938 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-01-08 10:40:30 UTC
Created attachment 847940 [details]
temp.tar.bz2
Comment 9 Martin Filo 2023-01-08 18:01:16 UTC
Adding dev-cpp/magic_enum to DEPEND will solve this error.
Comment 10 Misanthropos 2023-01-08 18:45:42 UTC
Should be fixed as soon as this PR goes through: https://github.com/gentoo/gentoo/pull/29009
Comment 11 Misanthropos 2023-01-08 18:46:22 UTC
(In reply to Martin Filo from comment #9)
> Adding dev-cpp/magic_enum to DEPEND will solve this error.

Should be fixed with this PR:
https://github.com/gentoo/gentoo/pull/29009
Comment 12 Larry the Git Cow gentoo-dev 2023-01-09 01:09:17 UTC
The bug has been closed via the following commit(s):

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

commit ab51dd20a5dd1c9e72d9bfba401da1ac66a0a9af
Author:     Richard Fröhning <misanthropos@gmx.de>
AuthorDate: 2023-01-08 09:23:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-09 01:08:13 +0000

    games-strategy/ja2-stracciatella: fix compile error by adding magic-enum dependency
    
    Closes: https://bugs.gentoo.org/890212
    Signed-off-by: Richard Fröhning <misanthropos@gmx.de>
    Closes: https://github.com/gentoo/gentoo/pull/29009
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/ja2-stracciatella/ja2-stracciatella-0.20.0.ebuild | 1 +
 1 file changed, 1 insertion(+)