[kde-freebsd] [Bug 205915] x11/kde4-runtime: LIB_DEPENDS on ssh never gets pulled in due to bad specification

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 5 07:51:13 UTC 2016


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

            Bug ID: 205915
           Summary: x11/kde4-runtime: LIB_DEPENDS on ssh never gets pulled
                    in due to bad specification
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: marino at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

On DragonFly, but the same must be happening to FreeBSD:

In x11/kde4-runtime makefile:

LIB_DEPENDS=   libssh.so:${PORTSDIR}/security/libssh
# Explicitly depend on libssh to avoid interference with ssh.4 from
20      # compat7x.
21      BUILD_DEPENDS=  ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh


The way pkg(8) works is that it will not pull in a library if it finds on the
system.  The libssh.so specification MATCHES /usr/lib/libssh.so so this is
NEVER imported.  See pkg with verbose on:

========================< phase : package         >========================
===>  Building package for kde-runtime-4.14.3
actual-package-depends: dependency on /usr/lib/libssh.so not registered (normal
if it belongs to base)
file sizes/checksums  [1820]: .......... done
packing files         [1820]: .......... done
packing directories      [0]: . done
===========================================================================

The impact is that it fails a sanity check every time because it expects libssh
to be part of the package but it's not there.

Recommendation: Explicitly set LIB_DEPENDS by package version to force it to be
be used instead of base version.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list