Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904162 - games-emulation/mupen64plus-core-2.5.9-r3 - ../.../dbg_memory.c: error: INIT_DISASSEMBLE_INFO undeclared (first use in this functi
Summary: games-emulation/mupen64plus-core-2.5.9-r3 - ../.../dbg_memory.c: error: INIT_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: binutils-2.39
  Show dependency tree
 
Reported: 2023-04-11 09:57 UTC by Toralf Förster
Modified: 2023-07-18 06:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.97 KB, text/plain)
2023-04-11 09:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,247.70 KB, text/plain)
2023-04-11 09:57 UTC, Toralf Förster
Details
environment (environment,61.87 KB, text/plain)
2023-04-11 09:57 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,900 bytes, application/x-bzip)
2023-04-11 09:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.03 KB, application/x-bzip)
2023-04-11 09:57 UTC, Toralf Förster
Details
games-emulation:mupen64plus-core-2.5.9-r3:20230411-095518.log (games-emulation:mupen64plus-core-2.5.9-r3:20230411-095518.log,45.33 KB, text/plain)
2023-04-11 09:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.75 KB, application/x-bzip)
2023-04-11 09:57 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-04-11 09:57:46 UTC
   94 |     INIT_DISASSEMBLE_INFO(dis_info, stderr, process_opcode_out);
      |                                                               ^
In file included from ../../src/debugger/dbg_memory.c:37:
/usr/include/dis-asm.h:485: note: macro "INIT_DISASSEMBLE_INFO" defined here
  485 | #define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC, FPRINTF_STYLED_FUNC)  \
      | 
../../src/debugger/dbg_memory.c:94:5: error: INIT_DISASSEMBLE_INFO undeclared (first use in this function)
   94 |     INIT_DISASSEMBLE_INFO(dis_info, stderr, process_opcode_out);
      |     ^~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-j4-20230408-073504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.1
Python 3.10.11
Available Rust versions:
  [1]   rust-bin-1.68.2 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.6_p10 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
4)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8  system-vm
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit e6619f403ed3311bd6664497a516c70780f38895
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 11 07:16:58 2023 +0000

    2023-04-11 07:16:57 UTC

emerge -qpvO games-emulation/mupen64plus-core
[ebuild  N    ] games-emulation/mupen64plus-core-2.5.9-r3  USE="debugger osd -gles2-only -lirc (-new-dynarec) -opencv" CPU_FLAGS_X86="sse"
Comment 1 Toralf Förster gentoo-dev 2023-04-11 09:57:47 UTC
Created attachment 859859 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-11 09:57:49 UTC
Created attachment 859860 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-04-11 09:57:50 UTC
Created attachment 859861 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-11 09:57:51 UTC
Created attachment 859862 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-11 09:57:52 UTC
Created attachment 859863 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-11 09:57:53 UTC
Created attachment 859864 [details]
games-emulation:mupen64plus-core-2.5.9-r3:20230411-095518.log
Comment 7 Toralf Förster gentoo-dev 2023-04-11 09:57:54 UTC
Created attachment 859865 [details]
temp.tar.bz2
Comment 8 Andrew Udvare 2023-07-17 18:50:08 UTC
This macro is defined by binutils-libs in /usr/include/dis-asm.h. With 2.39 the signature changed to take 4 arguments instead of 3.

https://github.com/gentoo/gentoo/pull/31933
Comment 9 Larry the Git Cow gentoo-dev 2023-07-18 06:03:08 UTC
The bug has been closed via the following commit(s):

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

commit ce2e3812cc5855aa85df4c16bc5cd6b4562f10c3
Author:     Andrew Udvare <audvare@gmail.com>
AuthorDate: 2023-07-17 18:41:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-07-18 06:02:59 +0000

    games-emulation/mupen64plus-core: fix USE=debugger with >=binutils-2.39
    
    Signed-off-by: Andrew Udvare <audvare@gmail.com>
    Closes: https://bugs.gentoo.org/904162
    Closes: https://github.com/gentoo/gentoo/pull/31933
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...e-2.5.9-debugger-fix-binutils-2.39-compat.patch | 53 ++++++++++++++++++++++
 ...-r3.ebuild => mupen64plus-core-2.5.9-r4.ebuild} |  4 +-
 2 files changed, 56 insertions(+), 1 deletion(-)