too long lines were shrinked: [48/233] /usr/bin/x86_64-pc-linux-gnu-g++ -DDEFAULT_PLUGIN_PATH=\"/usr/lib64/edb\" -DEDB_IS_32_BIT=false -DEDB_IS_64_BIT=true -DEDB_X86_64 -DGIT_BRANCH=Unknown -DHAVE_DOUBLE_CONVERSION -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XMLPATTERNS_LIB -DQT_X FAILED: src/CMakeFiles/edb.dir/capstone-edb/Instruction.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DDEFAULT_PLUGIN_PATH=\"/usr/lib64/edb\" -DEDB_IS_32_BIT=false -DEDB_IS_64_BIT=true -DEDB_X86_64 -DGIT_BRANCH=Unknown -DHAVE_DOUBLE_CONVERSION -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -D /var/tmp/portage/dev-util/edb-debugger-1.3.0/work/edb-debugger/src/capstone-edb/Instruction.cpp: In function bool CapstoneEDB::is_SIMD_PD(const Operand&)’: /var/tmp/portage/dev-util/edb-debugger-1.3.0/work/edb-debugger/src/capstone-edb/Instruction.cpp:882:14: error: X86_INS_VCVTPD2DQX’ was not declared in this scope; did you mean X86_INS_VCVTPD2DQ’? 882 | case X86_INS_VCVTPD2DQX: // FIXME: what's this? | ^~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-j4-20220504-020004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-12.1.0 * clang/llvm (if any): clang version 14.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.3 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.60.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 * [2] php8.0 [3] php8.1 HEAD of ::gentoo commit 5ebc7ebdea9efefe2e17460514dc51a76b18d1c9 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed May 11 04:18:22 2022 +0000 2022-05-11 04:18:22 UTC emerge -qpvO dev-util/edb-debugger [ebuild R ] dev-util/edb-debugger-1.3.0 USE="-graphviz"
Created attachment 778094 [details] emerge-info.txt
Created attachment 778097 [details] dev-util:edb-debugger-1.3.0:20220511-060109.log
Created attachment 778100 [details] emerge-history.txt.bz2
Created attachment 778103 [details] environment
Created attachment 778106 [details] etc.portage.tar.bz2
Created attachment 778109 [details] logs.tar.bz2
Created attachment 778112 [details] temp.tar.bz2
Created attachment 800377 [details, diff] edb-debugger-1.3.0-drop-unsupported-instructions.patch This seems to be caused by >=dev-libs/capstone-5.0* no longer defining X86_INS_VCVTPD2DQX and X86_INS_VCVTPD2PSX in /usr/include/capstone/x86.h. Instead, the non-suffixed versions are still left in the header file. They also happen to be in the same case group in the switch statement in the now failing code. Attached is a simple patch to get it building again.
(In reply to Melker Narikka from comment #8) > Created attachment 800377 [details, diff] [details, diff] > edb-debugger-1.3.0-drop-unsupported-instructions.patch > > This seems to be caused by >=dev-libs/capstone-5.0* no longer defining > X86_INS_VCVTPD2DQX and X86_INS_VCVTPD2PSX in /usr/include/capstone/x86.h. > Instead, the non-suffixed versions are still left in the header file. They > also > happen to be in the same case group in the switch statement in the now > failing > code. Attached is a simple patch to get it building again. Yeah, it got dropped in https://github.com/capstone-engine/capstone/commit/dd91f03fef5102492352756e2adb5972dd79a70f but there's no explanation in the commit message. I see some other capstone consumers like triton had to just drop the use too (used a macro based on capstone version): https://github.com/JonathanSalwan/Triton/pull/1118. Given all that, it seems harmless to just apply the patch here but slightly modified, which I'll do now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b044751f25eeeeabe1e9c636b2c071855cbf1dad commit b044751f25eeeeabe1e9c636b2c071855cbf1dad Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-13 16:55:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-13 16:56:04 +0000 dev-util/edb-debugger: fix build with Capstone 5 .. and add missing double-conversion slot dep Closes: https://bugs.gentoo.org/843755 Signed-off-by: Sam James <sam@gentoo.org> dev-util/edb-debugger/edb-debugger-1.3.0.ebuild | 3 ++- .../files/edb-debugger-1.3.0-capstone-5.patch | 29 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a7e6368a18ce304f1dfa8a5862f577bd8927cf commit 64a7e6368a18ce304f1dfa8a5862f577bd8927cf Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-13 17:01:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-13 17:02:42 +0000 dev-util/edb-debugger: sync live Bug: https://bugs.gentoo.org/843755 Signed-off-by: Sam James <sam@gentoo.org> ...r-1.3.0.ebuild => edb-debugger-1.3.0-r1.ebuild} | 13 ++++-- dev-util/edb-debugger/edb-debugger-9999.ebuild | 47 +++++++++++----------- dev-util/edb-debugger/metadata.xml | 3 -- 3 files changed, 34 insertions(+), 29 deletions(-)