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

pkg fails to create packages with shlib entries on non-FreeBSD systems #1578

Open
ftigeot opened this Issue May 25, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@ftigeot

ftigeot commented May 25, 2017

Packages created on non-FreeBSD systems do not contain shlib entries in their +MANIFEST files

Example with archivers/liblz4

  • on FreeBSD, the +MANIFEST file in the package contains a shlibs_provided section: "shlibs_provided":["liblz4.so.1"]
  • on DragonFly, there is no shlibs_provided section at all

ftigeot pushed a commit to ftigeot/pkg that referenced this issue May 25, 2017

François Tigeot
pkg_elf.c: remove bogus check for ELFOSABI_FREEBSD
* This code was preventing shlibs_provided and shlibs_required entries
  from being put in newly created packages on non-FreeBSD systems

* Also remove the no-longer used is_old_freebsd_armheader() function

* This commit should fix issue #1578

ftigeot pushed a commit to ftigeot/pkg that referenced this issue May 26, 2017

François Tigeot
pkg_elf.c: Only FreeBSD uses FreeBSD binaries
* Only compile a check preventing non-FreeBSD binaries from being
  recognized as valid shared libraries on FreeBSD systems

* This code was preventing shlibs_provided and shlibs_required entries
  from being put in newly created packages on non-FreeBSD systems

* This commit should fix issue #1578

bapt added a commit that referenced this issue May 26, 2017

pkg_elf.c: Only FreeBSD uses FreeBSD binaries
* Only compile a check preventing non-FreeBSD binaries from being
  recognized as valid shared libraries on FreeBSD systems

* This code was preventing shlibs_provided and shlibs_required entries
  from being put in newly created packages on non-FreeBSD systems

* This commit should fix issue #1578

bapt added a commit that referenced this issue Jul 31, 2017

pkg_elf.c: Only FreeBSD uses FreeBSD binaries
* Only compile a check preventing non-FreeBSD binaries from being
  recognized as valid shared libraries on FreeBSD systems

* This code was preventing shlibs_provided and shlibs_required entries
  from being put in newly created packages on non-FreeBSD systems

* This commit should fix issue #1578
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment