Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2015 18:29:01 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        freebsd-stable@freebsd.org
Subject:   10.2-RC3: ports USE_PACKAGE_DEPENDS by default?
Message-ID:  <55C8D14D.6060600@omnilan.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAC0120D4AE32C55D52B8E277
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

 Hello,

I found some ugly inconsistency is spreading while compiling
sendmail+tls+sasl2+ldap-8.15.2 in my build environment. It seems like
USE-PACKAGE-DEPENDS is now default!?!

endmail+tls+sasl2+ldap  depends on:
=3D=3D=3D>   sendmail+tls+sasl2+ldap-8.15.2 depends on shared library:
libldap-2.4.so.2 - not found
=3D=3D=3D>   Installing existing package
/mnt/OmniLAN/pkg/corei7/FreeBSD:10:i386/All/openldap-client-2.4.41.txz
Installing openldap-client-2.4.41...
Extracting openldap-client-2.4.41: 100%

It also depends on:
=3D=3D=3D>   sendmail+tls+sasl2+ldap-8.15.2 depends on file:
/usr/local/sbin/saslauthd - not found
=3D=3D=3D>   Installing existing package
/mnt/OmniLAN/pkg/corei7/FreeBSD:10:i386/All/cyrus-sasl-saslauthd-2.1.26_1=
=2Etxz
Installing cyrus-sasl-saslauthd-2.1.26_1...
Extracting cyrus-sasl-saslauthd-2.1.26_1: 100%


Since "cyrus-sasl-saslauthd" also depends on "openldap-client", but was
built some time ago, when openldap-client was 2.4.40_1,
'pkg info -d cyrus-sasl-saslauthd-2.1.26_1' returns
cyrus-sasl-saslauthd-2.1.26_1:
        cyrus-sasl-2.1.26_9
        openldap-client-2.4.40_1

while 'pkg info -d sendmail+tls+sasl2+ldap-8.15.2' returns
sendmail+tls+sasl2+ldap-8.15.2:
        cyrus-sasl-saslauthd-2.1.26_1
        cyrus-sasl-2.1.26_9
        openldap-client-2.4.41

This is nasty, I don't want to manually clean built packages, I want to
be sure that _everything_ will be built if I don't set
USE_PACKAGE_DEPENDS. Otherwise the complete dependency-resolver must be
rewritten, to not only check the first dependency level, but does
recursive checks, which it didn't last time I checked, please see
https://lists.freebsd.org/pipermail/freebsd-pkg/2014-July/000410.html

How can I disable USE_PACKAGE_DEPENDS now?

Thanks,

-Harry


--------------enigAC0120D4AE32C55D52B8E277
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAlXI0U0ACgkQLDqVQ9VXb8gWMQCaA17MkhKAisiv1SCIf4P8RW83
wWUAn1kGdrknnIgKd6cTUoAvIgxohGCG
=ygAL
-----END PGP SIGNATURE-----

--------------enigAC0120D4AE32C55D52B8E277--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C8D14D.6060600>