Bug 211146 - [PATCH] baselibs stage-qa test only looks for elfs in a fixed set of locations, and misses other elfs
Summary: [PATCH] baselibs stage-qa test only looks for elfs in a fixed set of location...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-07-15 17:34 UTC by Yuri Victorovich
Modified: 2016-09-08 14:14 UTC (History)
1 user (show)

See Also:


Attachments
patch (1.04 KB, patch)
2016-07-15 17:34 UTC, Yuri Victorovich
no flags Details | Diff
patch (1.02 KB, patch)
2016-07-15 23:15 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2016-07-15 17:34:38 UTC
Created attachment 172560 [details]
patch

For example, net-p2p/bitmessage optionally installs the shared library into the pythin-specific directory. This shared library requires OpenSSL, and triggers baselibs message that USES=ssl isn't needed when in fact it is needed.

What does this patch do:
* Splits out the elf-finding part of proxydeps check into a separate function
* Reuses this function in baselibs too.
Comment 1 Yuri Victorovich freebsd_committer 2016-07-15 23:15:08 UTC
Created attachment 172568 [details]
patch
Comment 2 commit-hook freebsd_committer 2016-09-08 14:14:04 UTC
A commit references this bug:

Author: mat
Date: Thu Sep  8 14:12:59 UTC 2016
New revision: 421555
URL: https://svnweb.freebsd.org/changeset/ports/421555

Log:
  Provide a standard way to look up for executables and shared libraries.

  PR:		211146
  Submitted by:	yuri rawbw com
  Sponsored by:	Absolight

Changes:
  head/Mk/Scripts/qa.sh