Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684446 - dev-util/cutter-1.8.0 : src/.../Cutter.cpp:396:69: error: too few arguments to function bool r_bin_file_hash(RBin*, long long unsigned int, const char*, RList**)
Summary: dev-util/cutter-1.8.0 : src/.../Cutter.cpp:396:69: error: too few arguments t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: otakuto.gentoo
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-04-26 21:14 UTC by Toralf Förster
Modified: 2019-07-07 19:17 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.98 KB, text/plain)
2019-04-26 21:14 UTC, Toralf Förster
Details
dev-util:cutter-1.8.0:20190426-200231.log (dev-util:cutter-1.8.0:20190426-200231.log,10.96 KB, text/plain)
2019-04-26 21:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,137.61 KB, text/plain)
2019-04-26 21:14 UTC, Toralf Förster
Details
environment (environment,130.38 KB, text/plain)
2019-04-26 21:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.87 KB, application/x-bzip)
2019-04-26 21:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.17 KB, application/x-bzip)
2019-04-26 21:14 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-04-26 21:14:23 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2019-04-26 21:14:26 UTC
Created attachment 574300 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-26 21:14:29 UTC
Created attachment 574302 [details]
dev-util:cutter-1.8.0:20190426-200231.log
Comment 3 Toralf Förster gentoo-dev 2019-04-26 21:14:32 UTC
Created attachment 574304 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-04-26 21:14:35 UTC
Created attachment 574306 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-04-26 21:14:37 UTC
Created attachment 574308 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-26 21:14:40 UTC
Created attachment 574310 [details]
temp.tbz2
Comment 7 Juergen Rose 2019-06-02 17:23:57 UTC
Is there not any patch?
Comment 8 Juergen Rose 2019-06-05 12:43:24 UTC
At https://www.radare.org/r/down.html there is version 3.5.1. Could we not upgrade?
Comment 9 Juergen Rose 2019-06-08 02:05:39 UTC
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.
Comment 10 Juergen Rose 2019-06-13 09:23:52 UTC
(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.
Comment 11 Larry the Git Cow gentoo-dev 2019-07-07 19:17:05 UTC
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(+)