Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2013 11:17:38 GMT
From:      Helmut Ritter <freebsd-ports@charlieroot.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/177707: www/mod_auth_kerb2: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol "gsskrb5_register_acceptor_identity"
Message-ID:  <201304081117.r38BHcrn006999@red.freebsd.org>
Resent-Message-ID: <201304081120.r38BK1Yx062910@freefall.freebsd.org>

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

>Number:         177707
>Category:       misc
>Synopsis:       www/mod_auth_kerb2: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol "gsskrb5_register_acceptor_identity"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 08 11:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Ritter
>Release:        FreeBSD 9.1-RELEASE-p2
>Organization:
>Environment:
>Description:
Installing ap22-mod_auth_kerb-5.4_3 succeeds on vanilla 9.1 but then fails to start:

[helmut@BSDHelmut ~]$ apache.sh -c restart
# Trying to restart 'apache22'...failed, exiting.
httpd: Syntax error on line 16 of /usr/local/etc/apache22/httpd.conf: Syntax error on line 60 of /usr/local/etc/apache22/Includes/modules.conf: Syntax error on line 1 of /usr/local/etc/apache22/Includes/modules.conf.local: Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol "gsskrb5_register_acceptor_identity"
[helmut@BSDHelmut ~]$
>How-To-Repeat:

>Fix:
[helmut@BSDHelmut ~]$ sudo portupgrade -f ap22-mod_auth_kerb-5.4_3
--->  Reinstalling 'ap22-mod_auth_kerb-5.4_3' (www/mod_auth_kerb2)
--->  Building '/usr/ports/www/mod_auth_kerb2'
===>  Cleaning for ap22-mod_auth_kerb-5.4_3
===>  Extracting for ap22-mod_auth_kerb-5.4_3
=> SHA256 Checksum OK for mod_auth_kerb-5.4.tar.gz.
===>  Patching for ap22-mod_auth_kerb-5.4_3
===>  Applying FreeBSD patches for ap22-mod_auth_kerb-5.4_3
===>   ap22-mod_auth_kerb-5.4_3 depends on executable: gsed - found
===>   ap22-mod_auth_kerb-5.4_3 depends on file: /usr/local/sbin/apxs - found
===>   ap22-mod_auth_kerb-5.4_3 depends on executable: gmake - found
===>  Configuring for ap22-mod_auth_kerb-5.4_3
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for main in -lresolv... no
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking gssapi.h usability... yes
checking gssapi.h presence... yes
checking for gssapi.h... yes
checking for krb5_init_context in -lkrb5... yes
checking for krb5_cc_new_unique in -lkrb5... yes
checking whether we are using Heimdal... yes
checking whether the GSSAPI libraries support SPNEGO... yes
checking for apxs... /usr/local/sbin/apxs
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
===>  Building for ap22-mod_auth_kerb-5.4_3
./apxs.sh "-I. -Ispnegokrb5 -I/usr/include   " "-L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt  " "" "/usr/local/sbin/apxs" "-c" "src/mod_auth_kerb.c"
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing   -g -I/usr/local/include -I/usr/local/include/apache22  -I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include/db42 -I. -Ispnegokrb5 -I/usr/include  -c -o src/mod_auth_kerb.lo src/mod_auth_kerb.c && touch src/mod_auth_kerb.slo
In file included from src/mod_auth_kerb.c:91:
/usr/include/gssapi.h:3:2: warning: #warning "this file includes <gssapi.h> which is deprecated, use <gssapi/gssapi.h> instead"
src/mod_auth_kerb.c: In function 'authenticate_user_krb5pwd':
src/mod_auth_kerb.c:1030: warning: passing argument 8 of 'verify_krb5_user' discards qualifiers from pointer target type
src/mod_auth_kerb.c: In function 'kerb_authenticate_user':
src/mod_auth_kerb.c:1029: warning: passing argument 8 of 'verify_krb5_user' discards qualifiers from pointer target type
/usr/local/share/apr/build-1/libtool --silent --mode=link cc -o src/mod_auth_kerb.la -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt  -rpath /usr/local/libexec/apache22 -module -avoid-version    src/mod_auth_kerb.lo
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'ap22-mod_auth_kerb-5.4_3'
[preparing module `auth_kerb' in /usr/local/etc/apache22/httpd.conf]
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 249 packages found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for ap22-mod_auth_kerb-5.4_3
===>   ap22-mod_auth_kerb-5.4_3 depends on file: /usr/local/sbin/apxs - found
===>   Generating temporary packing list
./apxs.sh "-I. -Ispnegokrb5 -I/usr/include   " "-L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt  " "" "/usr/local/sbin/apxs" "-c -i -a" "src/mod_auth_kerb.c"
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing   -g -I/usr/local/include -I/usr/local/include/apache22  -I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include/db42 -I. -Ispnegokrb5 -I/usr/include  -c -o src/mod_auth_kerb.lo src/mod_auth_kerb.c && touch src/mod_auth_kerb.slo
In file included from src/mod_auth_kerb.c:91:
/usr/include/gssapi.h:3:2: warning: #warning "this file includes <gssapi.h> which is deprecated, use <gssapi/gssapi.h> instead"
src/mod_auth_kerb.c: In function 'authenticate_user_krb5pwd':
src/mod_auth_kerb.c:1030: warning: passing argument 8 of 'verify_krb5_user' discards qualifiers from pointer target type
src/mod_auth_kerb.c: In function 'kerb_authenticate_user':
src/mod_auth_kerb.c:1029: warning: passing argument 8 of 'verify_krb5_user' discards qualifiers from pointer target type
/usr/local/share/apr/build-1/libtool --silent --mode=link cc -o src/mod_auth_kerb.la -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt  -rpath /usr/local/libexec/apache22 -module -avoid-version    src/mod_auth_kerb.lo
/usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/share/apr/build-1/libtool' src/mod_auth_kerb.la /usr/local/libexec/apache22
/usr/local/share/apr/build-1/libtool --mode=install cp src/mod_auth_kerb.la /usr/local/libexec/apache22/
libtool: install: cp src/.libs/mod_auth_kerb.so /usr/local/libexec/apache22/mod_auth_kerb.so
libtool: install: cp src/.libs/mod_auth_kerb.lai /usr/local/libexec/apache22/mod_auth_kerb.la
libtool: install: cp src/.libs/mod_auth_kerb.a /usr/local/libexec/apache22/mod_auth_kerb.a
libtool: install: chmod 644 /usr/local/libexec/apache22/mod_auth_kerb.a
libtool: install: ranlib /usr/local/libexec/apache22/mod_auth_kerb.a
chmod 755 /usr/local/libexec/apache22/mod_auth_kerb.so
[activating module `auth_kerb' in /usr/local/etc/apache22/httpd.conf]
===>   Registering installation for ap22-mod_auth_kerb-5.4_3
===>  Cleaning for ap22-mod_auth_kerb-5.4_3
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 250 packages found (-0 +1) . done]
[helmut@BSDHelmut ~]$

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



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