Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 12:31:57 GMT
From:      Kyryll A Mirnenko <mirya@zoc.com.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125400: devel/apr APR_UTIL_WITH_LDAP=yes building is broken
Message-ID:  <200807081231.m68CVv4c056195@www.freebsd.org>
Resent-Message-ID: <200807081240.m68Ce1D4051956@freefall.freebsd.org>

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

>Number:         125400
>Category:       ports
>Synopsis:       devel/apr APR_UTIL_WITH_LDAP=yes building is broken
>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:   Tue Jul 08 12:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Kyryll A Mirnenko
>Release:        RELENG_7_0
>Organization:
>Environment:
FreeBSD miryanote 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #68: Thu Jun 19 14:22:15 EEST 2008     mirya@miryanote:/usr/src/sys/i386/compile/MY-LITE  i386
>Description:
Having openldap-sasl-client-2.3.42 installed 

devel/apr APR_UTIL_WITH_LDAP=yes (after 1.3.2 upgrade)

fails to build:

/bin/sh /usr/ports/devel/apr/work/apr-1.3.2/libtool --silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H    -I/usr/ports/devel/apr/work/apr-util-1.3.2/include -I/usr/ports/devel/apr/work/apr-util-1.3.2/include/private -I/usr/local/include  -I/usr/ports/devel/apr/work/apr-1.3.2/include  -I/usr/local/include -I/usr/local/include/db46  -o ldap/apr_ldap_rebind.lo -c ldap/apr_ldap_rebind.c && touch ldap/apr_ldap_rebind.lo
ldap/apr_ldap_rebind.c: In function 'apr_ldap_rebind_set_callback':
ldap/apr_ldap_rebind.c:305: warning: passing argument 2 of 'ldap_set_rebind_proc' from incompatible pointer type
ldap/apr_ldap_rebind.c:305: error: too few arguments to function 'ldap_set_rebind_proc'
gmake[1]: *** [ldap/apr_ldap_rebind.lo] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 1
gmake[1]: &#1047;&#1072;&#1083;&#1080;&#1096;&#1072;&#1102; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; "/usr/ports/devel/apr/work/apr-util-1.3.2"
gmake: *** [all-recursive] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 1
*** Error code 2

>How-To-Repeat:
cd /usr/ports/devel/apr
make APR_UTIL_WITH_LDAP=yes
..
..
/bin/sh /usr/ports/devel/apr/work/apr-1.3.2/libtool --silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H    -I/usr/ports/devel/apr/work/apr-util-1.3.2/include -I/usr/ports/devel/apr/work/apr-util-1.3.2/include/private -I/usr/local/include  -I/usr/ports/devel/apr/work/apr-1.3.2/include  -I/usr/local/include -I/usr/local/include/db46  -o ldap/apr_ldap_rebind.lo -c ldap/apr_ldap_rebind.c && touch ldap/apr_ldap_rebind.lo
ldap/apr_ldap_rebind.c: In function 'apr_ldap_rebind_set_callback':
ldap/apr_ldap_rebind.c:305: warning: passing argument 2 of 'ldap_set_rebind_proc' from incompatible pointer type
ldap/apr_ldap_rebind.c:305: error: too few arguments to function 'ldap_set_rebind_proc'
gmake[1]: *** [ldap/apr_ldap_rebind.lo] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 1
gmake[1]: &#1047;&#1072;&#1083;&#1080;&#1096;&#1072;&#1102; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; "/usr/ports/devel/apr/work/apr-util-1.3.2"
gmake: *** [all-recursive] &#1055;&#1086;&#1084;&#1080;&#1083;&#1082;&#1072; 1
*** Error code 2

>Fix:
devel/apr without LDAP support builds fine

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



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