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

Fix issues reported by namcap #2

Open
ErikBjare opened this issue May 31, 2018 · 2 comments
Open

Fix issues reported by namcap #2

ErikBjare opened this issue May 31, 2018 · 2 comments

Comments

@ErikBjare
Copy link
Member

No description provided.

@asukaminato0721
Copy link
Contributor

asukaminato0721 commented Oct 25, 2023

I tried to run it, and get a lot of error.

But some of them is missing qt6's dependencies.

Here is a lazy solution

namcap *.pkg.tar.zst \
  | grep  "E: Dependency (.*?) detected and not included" --only-matching --perl-regexp \
  | cut -d' ' --fields 3

@asukaminato0721
Copy link
Contributor

then ignore those "lacks" and "unused"

namcap *.pkg.tar.zst | grep -v "lacks " | less

those Insecure RUNPATH I have no idea, so I leave them there.

namcap *.pkg.tar.zst \
 | grep -v "lacks " \
 | grep -v -i "unused"  \
 | grep --perl-regexp --only-matching "Referenced library .*? is an uninstalled dependency" \
 | cut --delimiter ' ' --fields=3

returns

'osascript'
'libpcre.so.3'
'libselinux.so.1'
'libtinfo.so.6'
'libffi.so.7'

after using pkgfile -s, libselinux.so.1, osascript is not found, libffi.so.7 is provided by *conda, so I thought them can be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants