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

Use pkgfile to resolve library dependencies #32

Open
nponeccop opened this issue Dec 24, 2014 · 1 comment
Open

Use pkgfile to resolve library dependencies #32

nponeccop opened this issue Dec 24, 2014 · 1 comment

Comments

@nponeccop
Copy link

cblrepo pkgbuild puts dependencies it detects as is, which is wrong. There is pkgfile tool that finds which package if any provides a given file.

Calls of pkgfile /usr/lib/lib$1.so will avoid many .pkbuild patches in habs:

  • GLURaw
  • OpenGLRaw
  • Unixutils
  • X11 (3 of 4)
  • digest
  • persistent-sqlite
  • ...
@magthe
Copy link
Contributor

magthe commented Dec 25, 2014

For extra-libraries the processing would probably have to go

<extra-lib> -> call pkgfile lib<extra-lib>.so -> parsing of output

Things to consider

  • On 64-bit machines many libraries are provided by two packages, no package should depend on anything from multilib (I think).
  • packages in base and base-devel should not be included in the dependencies.

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