Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688230 - games-engines/stratagus-2.4.1 : /.../ai_plan.cpp:346:13: error: unable to find string literal operator operator _C_ with const char [43] , long unsigned int arguments
Summary: games-engines/stratagus-2.4.1 : /.../ai_plan.cpp:346:13: error: unable to fin...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-17 18:11 UTC by Toralf Förster
Modified: 2020-12-17 08:33 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.78 KB, text/plain)
2019-06-17 18:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,227.06 KB, text/plain)
2019-06-17 18:11 UTC, Toralf Förster
Details
environment (environment,111.14 KB, text/plain)
2019-06-17 18:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.58 KB, application/x-bzip)
2019-06-17 18:11 UTC, Toralf Förster
Details
games-engines:stratagus-2.4.1:20190616-224939.log (games-engines:stratagus-2.4.1:20190616-224939.log,63.50 KB, text/plain)
2019-06-17 18:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.68 KB, application/x-bzip)
2019-06-17 18:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.09 KB, application/x-bzip)
2019-06-17 18: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 2019-06-17 18:11:35 UTC
In file included from /var/tmp/portage/games-engines/stratagus-2.4.1/work/stratagus-2.4.1/src/ai/ai_plan.cpp:36:
/var/tmp/portage/games-engines/stratagus-2.4.1/work/stratagus-2.4.1/src/ai/ai_plan.cpp: In member function ‘int AiForce::PlanAttack()’:
/var/tmp/portage/games-engines/stratagus-2.4.1/work/stratagus-2.4.1/src/ai/ai_plan.cpp:346:13: error: unable to find string literal operator ‘operator""_C_’ with ‘const char [43]’, ‘long unsigned int’ arguments
  346 |  DebugPrint("%d: Planning for force #%lu of player #%d\n"_C_ player.Index
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/games-engines/stratagus-2.4.1/work/stratagus-2.4.1/src/include/stratagus.h:126:62: note: in definition of macro ‘DebugPrint’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-gnome_20190610-124654

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.35.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO games-engines/stratagus
[ebuild  N    ] games-engines/stratagus-2.4.1  USE="bzip2 mng vorbis -debug -doc -fluidsynth -mikmod -theora"
Comment 1 Toralf Förster gentoo-dev 2019-06-17 18:11:37 UTC
Created attachment 579978 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-17 18:11:40 UTC
Created attachment 579980 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-06-17 18:11:43 UTC
Created attachment 579982 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-06-17 18:11:46 UTC
Created attachment 579984 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-06-17 18:11:49 UTC
Created attachment 579986 [details]
games-engines:stratagus-2.4.1:20190616-224939.log
Comment 6 Toralf Förster gentoo-dev 2019-06-17 18:11:51 UTC
Created attachment 579988 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-06-17 18:11:54 UTC
Created attachment 579990 [details]
temp.tbz2
Comment 8 Zsolt Tóth 2020-07-21 13:03:19 UTC
The problem still persists to this day.
Comment 9 Nigel Stepp 2020-12-17 08:33:22 UTC
This appears to be fixed in upstream since 2017: https://github.com/Wargus/stratagus/pull/206/commits