Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708240 - dev-util/cutter-1.9.0 : src/.../Cutter.cpp:158:28: error: cannot convert RCore* {aka r_core_t* } to RCoreTaskScheduler* {aka r_core_tasks_t* }
Summary: dev-util/cutter-1.9.0 : src/.../Cutter.cpp:158:28: error: cannot convert RCor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-04 17:11 UTC by Toralf Förster
Modified: 2020-07-25 06:09 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.08 KB, text/plain)
2020-02-04 17:11 UTC, Toralf Förster
Details
dev-util:cutter-1.9.0:20200204-152607.log (dev-util:cutter-1.9.0:20200204-152607.log,9.57 KB, text/plain)
2020-02-04 17:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,100.77 KB, text/plain)
2020-02-04 17:11 UTC, Toralf Förster
Details
environment (environment,98.62 KB, text/plain)
2020-02-04 17:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.41 KB, application/x-bzip)
2020-02-04 17:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.00 KB, application/x-bzip)
2020-02-04 17:11 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 2020-02-04 17:11:30 UTC
src/core/Cutter.cpp: In member function ‘void CutterCore::initialize()’:
src/core/Cutter.cpp:158:28: error: cannot convert ‘RCore*’ {aka ‘r_core_t*’} to ‘RCoreTaskScheduler*’ {aka ‘r_core_tasks_t*’}
  158 |     r_core_task_sync_begin(core_);
      |                            ^~~~~
      |                            |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200202-055736

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 04 Feb 2020 14:28:51 +0000

emerge -qpvO dev-util/cutter
[ebuild  N    ] dev-util/cutter-1.9.0  USE="-jupyter -webengine" PYTHON_SINGLE_TARGET="python3_6 -python3_7" PYTHON_TARGETS="python3_6 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-02-04 17:11:33 UTC
Created attachment 611636 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-04 17:11:36 UTC
Created attachment 611638 [details]
dev-util:cutter-1.9.0:20200204-152607.log
Comment 3 Toralf Förster gentoo-dev 2020-02-04 17:11:39 UTC
Created attachment 611640 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-04 17:11:42 UTC
Created attachment 611642 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-04 17:11:44 UTC
Created attachment 611644 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-04 17:11:47 UTC
Created attachment 611646 [details]
temp.tbz2
Comment 7 Blake Leverett 2020-02-09 19:49:42 UTC
I also get this same error when compiling cutter, either 1.8.0 or 1.9.0.
Comment 8 Andrew Udvare 2020-02-15 07:29:57 UTC
Cutter would work with Radare 4.0.0 but really, Cutter ebuild should be updated. The current version is 1.10.1 and supports Radare 4.2.1.

https://github.com/radareorg/cutter/releases/tag/v1.10.1

Also it would be nice if we can get r2ghidra with the update.

https://github.com/radareorg/cutter/pull/2007
Comment 9 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-07-25 06:09:53 UTC
This should be fixed with newest versions of cutter and radare2.

(In reply to Andrew Udvare from comment #8)
> Cutter would work with Radare 4.0.0 but really, Cutter ebuild should be
> updated. The current version is 1.10.1 and supports Radare 4.2.1.
> 
> https://github.com/radareorg/cutter/releases/tag/v1.10.1
> 
> Also it would be nice if we can get r2ghidra with the update.
> 
> https://github.com/radareorg/cutter/pull/2007

I don't use Ghidra and it isn't in ::gentoo so I'm not familiar with what may need to be done to get it to work with cutter. If more needs to be done please open a new bug and it can be discussed there.