src/core/Cutter.cpp: In member function ‘bool CutterCore::loadFile(QString, long long unsigned int, long long unsigned int, int, int, bool, const QString&)’: src/core/Cutter.cpp:396:69: error: too few arguments to function ‘bool r_bin_file_hash(RBin*, long long unsigned int, const char*, RList**)’ r_bin_file_hash(core_->bin, hashLimit, path.toUtf8().constData()); ^ In file included from /usr/include/libr/r_asm.h:7, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome_20190423-161849 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.3.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * Available Rust versions: [1] rust-bin-1.34.1 * [2] rust-1.34.1 java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.10.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO dev-util/cutter [ebuild N ] dev-util/cutter-1.8.0 USE="-jupyter -webengine" PYTHON_SINGLE_TARGET="python3_6 -python3_7" PYTHON_TARGETS="python3_6 -python3_7"
Created attachment 574300 [details] emerge-info.txt
Created attachment 574302 [details] dev-util:cutter-1.8.0:20190426-200231.log
Created attachment 574304 [details] emerge-history.txt
Created attachment 574306 [details] environment
Created attachment 574308 [details] etc.portage.tbz2
Created attachment 574310 [details] temp.tbz2
Is there not any patch?
At https://www.radare.org/r/down.html there is version 3.5.1. Could we not upgrade?
OK, I saw it was radare2 with the version 3.5.1. But there is the cutter version 1.8.2 at https://github.com/radareorg/cutter/releases.
(In reply to Juergen Rose from comment #9) > OK, I saw it was radare2 with the version 3.5.1. But there is the cutter > version 1.8.2 at https://github.com/radareorg/cutter/releases. Copying cutter-1.8.0.ebuild to cutter-1.8.2.ebuild and files/cutter-1.8.0-python3-config.patch to files/cutter-1.8.2-python3-config.patch I was able to emerge cutter-1.8.2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5924b68507463e79864cce886eb6848bfd8271 commit dc5924b68507463e79864cce886eb6848bfd8271 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2019-05-13 22:59:59 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-07-07 19:16:29 +0000 dev-util/cutter: version bump to 1.8.2 dev-util/radare2-3.4.1 changed API which breakes compilation of cutter (#684446). This breakage fixed in 1.8.1. Update EAPI to 7. Closes: https://bugs.gentoo.org/684446 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11988 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-util/cutter/Manifest | 1 + dev-util/cutter/cutter-1.8.2.ebuild | 59 +++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+)