Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733324 - dev-util/cutter-1.10.3 : src/.../Cutter.cpp: error: invalid conversion from const char* to char* [-fpermissive]
Summary: dev-util/cutter-1.10.3 : src/.../Cutter.cpp: error: invalid conversion from c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-07-20 13:23 UTC by Toralf Förster
Modified: 2020-07-25 05:30 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.66 KB, text/plain)
2020-07-20 13:23 UTC, Toralf Förster
Details
dev-util:cutter-1.10.3:20200719-212748.log (dev-util:cutter-1.10.3:20200719-212748.log,14.64 KB, text/plain)
2020-07-20 13:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,293.62 KB, text/plain)
2020-07-20 13:23 UTC, Toralf Förster
Details
environment (environment,99.45 KB, text/plain)
2020-07-20 13:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.07 KB, application/x-bzip)
2020-07-20 13:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.12 KB, application/x-bzip)
2020-07-20 13:23 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-07-20 13:23:22 UTC
      |                 ^~~~~
src/core/Cutter.cpp: In member function ‘QString CutterCore::getCommentAt(RVA)’:
src/core/Cutter.cpp:796:46: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
  796 |     return fromOwnedCharPtr(r_meta_get_string(core->anal, R_META_TYPE_COMMENT, addr));
      |                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20200708-161646

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.1.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.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.44.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.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	Sun Jul 19 09:05:22 PM UTC 2020

emerge -qpvO dev-util/cutter
[ebuild  N    ] dev-util/cutter-1.10.3  PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2020-07-20 13:23:25 UTC
Created attachment 649976 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-20 13:23:28 UTC
Created attachment 649978 [details]
dev-util:cutter-1.10.3:20200719-212748.log
Comment 3 Toralf Förster gentoo-dev 2020-07-20 13:23:30 UTC
Created attachment 649980 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-20 13:23:33 UTC
Created attachment 649982 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-20 13:23:36 UTC
Created attachment 649984 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-20 13:23:39 UTC
Created attachment 649986 [details]
temp.tbz2
Comment 7 Kobboi 2020-07-21 09:56:44 UTC
Also, dev-util/cutter seems to want to be recompiled when radare2 changes. With radare2 already at 4.5.0, my existing cutter-1.10.3 warned me in the GUI ("The version used to compile Cutter (4.4.0) does not match the binary version of radare2 (4.5.0). This could result in unexpected behaviour") and subsequently segfaults. A subslot thingy might be appropriate here.
Comment 8 Joonas Niilola gentoo-dev 2020-07-21 12:41:07 UTC
What's the fix here? Browsing upstream issues and commits I don't see anything related without digging deeper.

I'm thinking of last-riting to get someone show some proper love for this package.
Comment 9 Larry the Git Cow gentoo-dev 2020-07-24 08:28:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fd4ceb6d5472ea8172839e946184311bcae61ba

commit 2fd4ceb6d5472ea8172839e946184311bcae61ba
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-07-24 08:27:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-07-24 08:28:15 +0000

    package.mask: last-rite dev-util/cutter
    
    Bug: https://bugs.gentoo.org/733324
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2020-07-25 05:30:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d10176b3cf21b2598cd48089be01420eb684e69

commit 0d10176b3cf21b2598cd48089be01420eb684e69
Author:     John Helmert III <jchelmert3@posteo.net>
AuthorDate: 2020-07-24 21:41:21 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-07-25 05:28:28 +0000

    dev-util/cutter: Add version 1.11.0
    
    This drops a patch that is added in 1.11.0.
    
    Closes: https://bugs.gentoo.org/733324
    Closes: https://bugs.gentoo.org/733806
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Signed-off-by: John Helmert III <jchelmert3@posteo.net>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-util/cutter/Manifest             |  1 +
 dev-util/cutter/cutter-1.11.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)