Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 722368

Summary: media-libs/game-music-emu-0.6.2 : CMake Error at CMakeLists.txt:72 (if):
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl, plevine457, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
CMakeOutput.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-libs:game-music-emu-0.6.2:20200511-000650.log
temp.tbz2
game-music-emu-0.6.2-gcc10.patch

Description Toralf Förster gentoo-dev 2020-05-11 07:25:25 UTC
-- Performing Test __LIBGME_TEST_VISIBILITY
-- Performing Test __LIBGME_TEST_VISIBILITY - Success
CMake Error at CMakeLists.txt:72 (if):
  if given arguments:

    ( VERSION_GREATER 4.1 ) OR ( VERSION_EQUAL 4.1 )

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200502-161438

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.0
  [2]   rust-1.43.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun 10 May 2020 10:42:05 PM UTC

emerge -qpvO media-libs/game-music-emu
[ebuild  N    ] media-libs/game-music-emu-0.6.2  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-05-11 07:25:36 UTC
Created attachment 637908 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-11 07:25:44 UTC
Created attachment 637910 [details]
CMakeOutput.log
Comment 3 Toralf Förster gentoo-dev 2020-05-11 07:25:54 UTC
Created attachment 637912 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-11 07:26:04 UTC
Created attachment 637914 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-11 07:26:12 UTC
Created attachment 637916 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-11 07:26:22 UTC
Created attachment 637918 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-11 07:26:28 UTC
Created attachment 637920 [details]
media-libs:game-music-emu-0.6.2:20200511-000650.log
Comment 8 Toralf Förster gentoo-dev 2020-05-11 07:26:37 UTC
Created attachment 637922 [details]
temp.tbz2
Comment 9 Peter Levine 2020-05-25 23:24:57 UTC
Created attachment 641800 [details, diff]
game-music-emu-0.6.2-gcc10.patch

Fixes parsing of GCC version string.
Comment 10 Peter Levine 2020-05-25 23:44:50 UTC
Also, appears to be fixed upstream with added clang support: https://bitbucket.org/mpyne/game-music-emu/commits/15c12f1dca47ea9551e20c3b9b58b0ec1f37d938

It would be easier to just version bump to 0.6.3.
Comment 11 Larry the Git Cow gentoo-dev 2020-08-18 17:24:45 UTC
The bug has been closed via the following commit(s):

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

commit 9f84486da0432822225c3830d0436b124599d9a9
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2020-08-18 17:24:30 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2020-08-18 17:24:30 +0000

    media-libs/game-music-emu-0.6.2: Add patch for gcc-10 (bug #722368)
    
    Closes: https://bugs.gentoo.org/722368
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 .../game-music-emu/files/game-music-emu-0.6.2-gcc10.patch     | 11 +++++++++++
 media-libs/game-music-emu/game-music-emu-0.6.2.ebuild         |  4 ++++
 2 files changed, 15 insertions(+)