Package Details: r2-iaito-git 1:5.2.2.r2.g54dc54d5-1

Git Clone URL: https://aur.archlinux.org/r2-iaito-git.git (read-only, click to copy)
Package Base: r2-iaito-git
Description: Qt and C++ GUI for radare2 reverse engineering framework (fork of Cutter)
Upstream URL: https://github.com/radareorg/iaito
Licenses: GPL3
Conflicts: radare2-cutter-git
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 7
Popularity: 0.068955
First Submitted: 2021-06-11 11:26 (UTC)
Last Updated: 2021-08-09 14:28 (UTC)

Pinned Comments

bartus commented on 2022-03-14 10:36 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

bartus commented on 2021-06-13 08:18 (UTC)

Env vars to control build type:
  • DISABLE_BUNDLED_RADARE : (0) build will provide it's radare2 (1) build requires system wide radare2 package (default: 0)
Usage case:
  • export DISABLE_BUNDLED_RADARE=1 in terminal before building.
  • makepkg DISABLE_BUNDLED_RADARE=1 pass as extra arg to makepkg.
  • yay --mflags="DISABLE_BUNDLED_RADARE=1 pass as flag to your aur helper.

When build with BUNDLED_RADARE iaiot will conflicts with system wide radare2 package, if you want to use the system wide radare2 package build iaito with DISABLE_BUNDLED_RARARE=1` env var set.

Latest Comments

bartus commented on 2022-03-14 10:36 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

LevitatingRein commented on 2022-03-04 19:37 (UTC) (edited on 2022-03-04 19:41 (UTC) by LevitatingRein)

Line 69, where the documentation gets packaged, fails to run.

Using DISABLE_BUNDLED_RADARE causes this bug:

/home/rein/aur/r2-iaito-git/src/r2-iaito-git/src/core/Iaito.cpp: In member function ‘QList<RAsmPluginDescription> IaitoCore::getRAnalPluginDescriptions()’:
/home/rein/aur/r2-iaito-git/src/r2-iaito-git/src/core/Iaito.cpp:2559:27: error: ‘RAnalPlugin’ {aka ‘struct r_anal_plugin_t’} has no member named ‘cpus’
 2559 |         plugin.cpus = ap->cpus;
      |                           ^~~~

The conflicts of this package should change as well. It should conflict with other versions of iaito not with cutter.

bartus commented on 2021-06-13 08:18 (UTC)

Env vars to control build type:
  • DISABLE_BUNDLED_RADARE : (0) build will provide it's radare2 (1) build requires system wide radare2 package (default: 0)
Usage case:
  • export DISABLE_BUNDLED_RADARE=1 in terminal before building.
  • makepkg DISABLE_BUNDLED_RADARE=1 pass as extra arg to makepkg.
  • yay --mflags="DISABLE_BUNDLED_RADARE=1 pass as flag to your aur helper.

When build with BUNDLED_RADARE iaiot will conflicts with system wide radare2 package, if you want to use the system wide radare2 package build iaito with DISABLE_BUNDLED_RARARE=1` env var set.

bitwave commented on 2020-11-03 18:24 (UTC)

using a bundled radare2 without copying the libs does not work.

for me it helps to have radare2 installed and enable -DCUTTER_USE_ADDITIONAL_RADARE2_PATHS=ON

bartus commented on 2020-06-17 12:53 (UTC)

Missing qt5-tools dependency.

git am -s < <(curl -s http://ix.io/2pp2)

bartus commented on 2020-06-03 20:57 (UTC) (edited on 2020-06-04 05:56 (UTC) by bartus)

Please move cmake call to build() as prepare() has no buildenv sourced (relevant makepkg lines) which prevents makepkg.conf to take any effect on the cmake.

patch:

git am < <(curl -s http://ix.io/2odo)

bartus commented on 2020-05-22 22:25 (UTC) (edited on 2020-06-03 20:52 (UTC) by bartus)

Few problems:
  • You are using bundled radare2 PKGBUILD#n33 but radare2-git is listed as depends.
    • If you are going to use bundled radare2 you are missing meson from makedepends (required to build radare2)
  • You are building with graphviz PKGBUILD#n36 but graphviz is missing form depends.

If I may suggest something: http://ix.io/2n2g

JJK commented on 2020-05-21 08:04 (UTC) (edited on 2020-05-21 08:15 (UTC) by JJK)

CMake Error at /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find PySide2 (missing: PYSIDE_LIBRARY PYSIDE_INCLUDE_DIR
  PYSIDE_TYPESYSTEMS) (Required is at least version "5.14")

Adding pyside2 as a dependency fixes this issue

bartus commented on 2020-04-06 18:47 (UTC)

Would be nice to switch radare2 to radare2-git in depends array. Usually cutter-git is not able to build against community/radare2.

maximevince commented on 2019-09-06 13:21 (UTC)

Since today, there is a Ghidra decompiler plugin available. Could you modify the PKGBUILD to build with it?

Like this:

prepare() { cd ${pkgname} git submodule update --init --recursive

mkdir -p build cd build git clone --depth 1 --recurse-submodules https://github.com/radareorg/r2ghidra-dec.git qmake-qt5 ../src/Cutter.pro CUTTER_ENABLE_PYTHON=true CUTTER_ENABLE_PYTHON_BINDINGS=true CUTTER_R2GHIDRA_STATIC=true R2GHIDRA_SOURCE=pwd/r2ghidra-dec }

maximevince commented on 2019-09-05 16:18 (UTC)

Would you mind adding the python bindings by default?

  • qmake-qt5 ../src/Cutter.pro CUTTER_ENABLE_PYTHON=true CUTTER_ENABLE_PYTHON_BINDINGS=true

mcd1992 commented on 2018-10-30 20:48 (UTC) (edited on 2018-10-30 21:03 (UTC) by mcd1992)

@ferion, that seems to be caused by build/CMakeCache.txt being out of date. If you delete your build/ directory and re-run it updates the file. I'll make prepare() remove that file so its remade every time.

Edit: Actually it looks like the cutter devs changed the cmake system to not populate the CMakeCache anymore so this is just a one-time quirk where you'll have to delete the build dir.

ferion commented on 2018-10-27 18:46 (UTC) (edited on 2018-10-27 18:47 (UTC) by ferion)

Seems there's an issue while upgrading to python 3.7.1-1 and you want to open files, so I downgraded to 3.7.0.4

https://pastebin.com/KDX5h7aG

mcd1992 commented on 2018-10-21 07:42 (UTC)

Fixed, thanks.

bitwave commented on 2018-10-20 19:19 (UTC)

install: stat for 'src/Cutter.desktop' is not possible: file or directory not found.

I got this error...

regards, bitwave

timschumi commented on 2018-06-26 20:12 (UTC)

@mcd1992

Would you mind adding python as a build-time dependency? An installed copy of python is required to build in Jupyter support (which is enabled by default here), which may not always be available on minimalized build environments.

Tyilo commented on 2017-12-18 01:14 (UTC)

Is there a reason you use cmake instead of qmake?

According to the project site:

Cutter can be build with two methods: The preferred one is with qmake, but you can also compile it with cmake. Choose the one you want to use.

mcd1992 commented on 2017-12-05 18:31 (UTC)

Thanks, added those changes.

anthraxx commented on 2017-12-05 18:13 (UTC)

Hi, thx for the package. i would have some small suggestions: - please use git+https for the source url so its at least TLS endpoint verified via CA - you can drop binutils and gcc from makedepends, they are in base-devel and this is a prerequirement to build packages - please remove the -j part from make, those configs are supposed to be defined in MAKEFLAGS in makepkg.conf and not be enforced - cmake call should have a -DCMAKE_BUILD_TYPE=Release

cheers

mcd1992 commented on 2017-12-05 14:54 (UTC)

Going to move this package eventually. Never realized there is an already existing cutterpackage that has nothing to do with radare. Also noticed a weird bug with the community radare2 package and the libr shipped with it. If you get compiler issues install radare2-git instead of the community package.