Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idb fails to install #2761

Closed
2 tasks done
The3Null4Player613310 opened this issue May 11, 2020 · 18 comments · Fixed by #4325
Closed
2 tasks done

idb fails to install #2761

The3Null4Player613310 opened this issue May 11, 2020 · 18 comments · Fixed by #4325
Labels
external::upstream-issue For issues that were created to track upstream issues lang::ruby type::bug Valid bug type::tool-deprecated When a tool became useless or can't be used anymore

Comments

@The3Null4Player613310
Copy link

  • I have searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended

Bug description

idb fails to install correctly

Steps to reproduce

  • install over existing copy of arch...
  • pacman -S idb --fails to install

Actual result:
idb fails to install and complains about icui8n not existing.
Expected result:
idb should install without problem.

Info for developers

GNU/Linux distribution: Arch, Black Arch, Arch Strike
Tool version: idb-2.10.3-11

@The3Null4Player613310
Copy link
Author

I am willing to potentially do the work to fix this.
Please notify me if there is anything you'd like me to do.

@aancw
Copy link
Member

aancw commented May 11, 2020

 ▲ ~/ sudo pacman -S idb
resolving dependencies...
looking for conflicting packages...

Packages (1) idb-2.10.3-11

Total Download Size:   0.18 MiB
Total Installed Size:  0.18 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 idb-2.10.3-11-x86_64                                 181.4 KiB  1259 KiB/s 00:00 [##############################################] 100%
(1/1) checking keys in keyring                                                    [##############################################] 100%
(1/1) checking package integrity                                                  [##############################################] 100%
(1/1) loading package files                                                       [##############################################] 100%
(1/1) checking for file conflicts                                                 [##############################################] 100%
(1/1) checking available disk space                                               [##############################################] 100%
:: Processing package changes...
(1/1) installing idb                                                              [##############################################] 100%

@aancw
Copy link
Member

aancw commented May 11, 2020

I'm experience different issue.
image

@ikstream
Copy link
Member

just for documentation i will add the full output i get while trying to install idb
https://pastebin.com/kw7KgyFz

@aancw
Copy link
Member

aancw commented May 11, 2020

We need to include in broken package for idb?

@aancw aancw added the status::investigating Bug in the process of searching what is the root cause. label May 11, 2020
@ikstream
Copy link
Member

As it is broken, it should be added.

@The3Null4Player613310
Copy link
Author

The3Null4Player613310 commented May 11, 2020

Saw this and it gave me an idea to try the command below.
sudo ln -s /usr/lib/libicui18n.so.67.1 /usr/lib/libicui18n
Just out of curiosity what would this do, and is there a better way to do this?
I noticed I had a libicui18n.so file.

I'm installing now. *fingers crossed*

UPDATE:
Unable to find symbols in icui18n

@aancw
Copy link
Member

aancw commented May 12, 2020

@The3Null4Player613310 can you post full log?

@The3Null4Player613310
Copy link
Author

Seems to be a qtbindings issue...

This is definitely a gcc version issue with newer versions of gcc (5+, and maybe even 4.6, though it seems they relaxed some things in later 4.x versions) of gcc not supporting the code generated by Smoke, in particular with creating derived classes with destructors for base classes that have private destructors. I'll see if I can recreate/fix next week. Unfortunately Smoke is no longer maintained, but hopefully this won't be too hard to fix.

more relevent info here.

@The3Null4Player613310
Copy link
Author

@The3Null4Player613310 can you post full log?

Sure @aancw you can find it here.

@aancw
Copy link
Member

aancw commented May 12, 2020

@The3Null4Player613310 so you have fixed icu error? That log is same with me.

@aancw aancw added the external::upstream-issue For issues that were created to track upstream issues label May 12, 2020
@aancw
Copy link
Member

aancw commented May 12, 2020

Upstream issue: dmayer/idb#111

@The3Null4Player613310
Copy link
Author

The3Null4Player613310 commented May 12, 2020

@aancw haven't fixed it yet, going to try an older version of gcc from the aur.

@The3Null4Player613310
Copy link
Author

Actually went with a different approach and cloned the qtbindings repo and used rake and it compiled... going to play around with different versions to see what went wrong.

@The3Null4Player613310
Copy link
Author

The3Null4Player613310 commented May 12, 2020

So the original compiled with no problem and after a bit of searching I found that it seems @shyouhei has already fixed it with this snippet in "qtbindings-x.x.x.x/ext/ruby/qtruby/src/qtruby.h"

// Ruby 2.6 introduced an optimization which breaks QT compilation
// See ruby/ruby@df9a709
// See also ruby/ruby@8699a7a
#undef ALLOCA_N
#define ALLOCA_N(type,n) ((type*)alloca(sizeof(type)*(n)))

The newest version on GitHub works so you can probably just drop it in on line 47 of
.../ruby/2.7.0/gems/qtbindings-4.8.6.5/ext/ruby/qtruby/src/qtruby.h
until someone updates the stuff on rubygems.org

@noraj noraj self-assigned this Oct 3, 2020
@noraj
Copy link
Contributor

noraj commented Oct 3, 2020

upstream (qtbindings dep): ryanmelt/qtbindings#157

qtbindings' author abandoned the project and won't maintain it.

Anyway idb is not maintained since 2017 so seems abandoned too.

@noraj noraj added type::tool-deprecated When a tool became useless or can't be used anymore and removed status::investigating Bug in the process of searching what is the root cause. labels Oct 3, 2020
@khang33k
Copy link

khang33k commented Sep 2, 2021

how to uninstall idb then? The default pacman -Rsn does not remove the ruby packages downloaded during install and the broken ruby built package.

@noraj noraj removed their assignment Nov 25, 2021
@D3vil0p3r D3vil0p3r mentioned this issue Nov 1, 2024
@D3vil0p3r
Copy link
Contributor

Close it once #4325 has been merged

@noraj noraj linked a pull request Nov 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external::upstream-issue For issues that were created to track upstream issues lang::ruby type::bug Valid bug type::tool-deprecated When a tool became useless or can't be used anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants