Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 05:49:36 GMT
From:      Dewayne <dewayne.geraghty@heuristicsystems.com.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182960: security/cyrus-sasl2-saslauthd erroneously asserts wrong openldap version
Message-ID:  <201310140549.r9E5naEm093365@oldred.freebsd.org>
Resent-Message-ID: <201310140550.r9E5o0M6053429@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182960
>Category:       ports
>Synopsis:       security/cyrus-sasl2-saslauthd erroneously asserts wrong openldap version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 05:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dewayne
>Release:        FreeBSD 9.2S
>Organization:
>Environment:
FreeBSD  9.2-STABLE FreeBSD 9.2-STABLE #0: Mon Oct 14 05:52:52 EST 2013     root@:/usr/obj/usr/src/sys/hqdev-amd64-padlock-smp-vga amd64
>Description:
Attempted build of cyrus-sasl-saslauth results in erroneous version assertion.  The site has openldap-sasl-client installed, but the error asserts that openldap-client is installed, it is not.

make -DBATCH clean deinstall package
===>  Cleaning for cyrus-sasl-saslauthd-2.1.26
===>  Deinstalling for security/cyrus-sasl2-saslauthd
===>   cyrus-sasl-saslauthd not installed, skipping
===>  cyrus-sasl-saslauthd-2.1.26 cannot install: OpenLDAP versions mismatch: openldap-client is installed and wanted version is openldap24-client.
*** [package] Error code 1

Please note:
# pkg_info -ox openldap
Information for openldap-sasl-client-2.4.36:

Origin:
net/openldap24-sasl-client

---
Ume - thanks for trying to get this to work in the new environment, ref http://svnweb.freebsd.org/ports/head/security/cyrus-sasl2-saslauthd/Makefile?r1=327769&r2=330241&pathrev=330241  It is appreciated.
>How-To-Repeat:
Update ports as at Mon Oct 14 05:37:28 UTC 2013

cd /usr/ports/security/cyrus-sasl2/
make -DBATCH clean deinstall package

This extract from make.conf may assist:
WRKDIRPREFIX=/var/ports
DISTDIR=/distfiles
TMPDIR=/tmp
PACKAGES=/packages
STAGEDIR=/usr/staging
#STAGEDIR=/
FAVORITE_COMPILER=gcc
DEFAULT_VERSIONS=perl5=5.16 python=2.7 python2=2.7 apache=22
DISABLE_LICENSES=yes
# NO_STAGE=yes
WITH_CCACHE_BUILD=yes
MAKE_JOBS_UNSAFE=yes

>Fix:
Self evident - freeze ports until development has completed, and it works in common use cases (not only pkgng and pouderie); split ports from a known working tree for ports developers to hack; but for this specific issue: test for openldap24-sasl-client as well as openldap24-client; and/or modify the applicable error message.



>Release-Note:
>Audit-Trail:
>Unformatted:



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