Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721106 - dev-util/cutter-1.10.1 : src/.../Cutter.cpp: error: r_anal_fcn_count_edges was not declared in this scope
Summary: dev-util/cutter-1.10.1 : src/.../Cutter.cpp: error: r_anal_fcn_count_edges wa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: otakuto.gentoo
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-05-05 15:59 UTC by Toralf Förster
Modified: 2020-07-01 06:39 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.57 KB, text/plain)
2020-05-05 15:59 UTC, Toralf Förster
Details
dev-util:cutter-1.10.1:20200505-150815.log (dev-util:cutter-1.10.1:20200505-150815.log,8.50 KB, text/plain)
2020-05-05 15:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,273.36 KB, text/plain)
2020-05-05 15:59 UTC, Toralf Förster
Details
environment (environment,98.76 KB, text/plain)
2020-05-05 15:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,41.57 KB, application/x-bzip)
2020-05-05 15:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.98 KB, application/x-bzip)
2020-05-05 15:59 UTC, Toralf Förster
Details
cutter-1.10.1-radare2-4.4.0.patch (cutter-1.10.1-radare2-4.4.0.patch,659 bytes, patch)
2020-05-07 18:53 UTC, John Helmert III
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-05 15:59:42 UTC
src/core/Cutter.cpp: In member function QList<FunctionDescription> CutterCore::getAllFunctions():
src/core/Cutter.cpp:2426:26: error: r_anal_fcn_count_edges was not declared in this scope; did you mean r_anal_function_count_edges?
 2426 |         function.edges = r_anal_fcn_count_edges(fcn, nullptr);
      |                          ^~~~~~~~~~~~~~~~~~~~~~
      |                          r_anal_function_count_edges

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200426-201443

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.3.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.6
  [2]   python3.8
  [3]   python3.7
  [4]   python2.7 (fallback)
  [5]   pypy3 (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	Tue 05 May 2020 01:40:57 PM UTC

emerge -qpvO dev-util/cutter
[ebuild  N    ] dev-util/cutter-1.10.1  PYTHON_SINGLE_TARGET="python3_6 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-05-05 15:59:45 UTC
Created attachment 636240 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-05 15:59:48 UTC
Created attachment 636242 [details]
dev-util:cutter-1.10.1:20200505-150815.log
Comment 3 Toralf Förster gentoo-dev 2020-05-05 15:59:51 UTC
Created attachment 636244 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-05 15:59:54 UTC
Created attachment 636246 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-05 15:59:57 UTC
Created attachment 636248 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-05 15:59:59 UTC
Created attachment 636250 [details]
temp.tbz2
Comment 7 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-05-07 18:53:02 UTC
This is an issue between cutter-1.10.1 and radare2-4.4.0. The latter changed a function name from r_anal_fcn_count_edges to r_anal_function_count_edges. Patch attached to fix, it's just a simple sed on the relevant file.
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-05-07 18:53:50 UTC
Created attachment 636774 [details, diff]
cutter-1.10.1-radare2-4.4.0.patch
Comment 9 Larry the Git Cow gentoo-dev 2020-07-01 06:39:01 UTC
The bug has been closed via the following commit(s):

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

commit 78b879409523e5095c8d5f0dc50c27054531c73a
Author:     Gergely Nagy <ngg@ngg.hu>
AuthorDate: 2020-05-17 14:08:31 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-07-01 06:38:30 +0000

    dev-util/cutter: Bump to 1.10.3
    
    Closes: https://bugs.gentoo.org/721106
    Signed-off-by: Gergely Nagy <ngg@ngg.hu>
    Closes: https://github.com/gentoo/gentoo/pull/15850
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-util/cutter/Manifest                           |  1 +
 dev-util/cutter/cutter-1.10.3.ebuild               | 56 ++++++++++++++++++++++
 .../files/cutter-1.10.3-python3-config.patch       | 36 ++++++++++++++
 dev-util/cutter/files/cutter-1.10.3-qt-5.15.patch  | 36 ++++++++++++++
 4 files changed, 129 insertions(+)