Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 2016 07:51:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205915] x11/kde4-runtime: LIB_DEPENDS on ssh never gets pulled in due to bad specification
Message-ID:  <bug-205915-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205915

            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@FreeBSD.org
          Reporter: marino@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

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

In x11/kde4-runtime makefile:

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


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

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205915-13>