[Bug 221134] [NEW STAGE-QA STAGE] sslmix: Checks that elfs aren't linked to both base and port SSL libraries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 1 04:51:19 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221134

            Bug ID: 221134
           Summary: [NEW STAGE-QA STAGE] sslmix: Checks that elfs aren't
                    linked to both base and port SSL libraries
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: yuri at rawbw.com
                CC: freebsd-ports-bugs at FreeBSD.org

Created attachment 184880
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184880&action=edit
patch

Reports such errors which often lead to later crashes.

One caveat that I know of is when executable is linked to the shared library by
its absolute path. Such library isn't normally found by ldd in a stage
directory until installed. Maybe somebody can suggest a solution to this. In
case of relative shared library links, and in case of inter-package links it
should work fine.

Testing performed:
* I artificially linked one executable to both SSLs and got this error:
> Error: /usr/local/bin/qtox is linked to /usr/local/lib/libssl.so.9 from security/openssl but it is not declared as a dependency

Open to suggestions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list