[cups.general] Failing HTTP tests.
David Broadfoot
david at cross-lfs.org
Sun Jun 22 15:27:26 PDT 2008
For the last while, I have been trying to figure out why I get
"httpAddrGetList(): FAIL"
bigd at BIGD-BLUE /opt/sources/cups $ ./configure
checking for gawk... gawk
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for htmldoc... no
checking for ld... /usr/bin/ld
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sed... /bin/sed
checking for install-sh script... using /opt/sources/cups/install-sh -c
checking for library containing crypt... -lcrypt
checking for library containing getspent... none required
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for random... yes
checking for mrand48... yes
checking for lrand48... yes
checking for mkstemp... yes
checking for mkstemps... no
checking for geteuid... yes
checking for vsyslog... yes
checking for sigaction... yes
checking for waitpid... yes
checking for wait3... yes
checking for tm_gmtoff member in tm structure... yes
checking for removefile... no
checking for library containing acl_init... no
checking for pkg-config... /usr/bin/pkg-config
checking for DBUS... yes
checking for dbus_message_iter_init_append in -ldbus-1... yes
checking if GCC supports -fstack-protector... yes
checking if GCC supports -pie... yes
checking whether to build image filters... yes
checking for library containing pow... -lm
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for stdlib.h... (cached) yes
checking for library containing socket... none required
checking for library containing gethostbyaddr... none required
checking for library containing getifaddrs... none required
checking for library containing hstrerror... none required
checking for library containing rresvport_af... none required
checking for library containing getaddrinfo... none required
checking for library containing getnameinfo... none required
checking for struct sockaddr.sa_len... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for AppleTalk/at_proto.h... no
checking for poll... yes
checking for epoll_create... yes
checking for kqueue... no
checking slp.h usability... no
checking slp.h presence... no
checking for slp.h... no
checking for krb5-config... no
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
checking for libgnutls-config... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
Using SSLLIBS="-lssl -lcrypto"
Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT"
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... no
checking for pam_set_item in -lpam... no
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for long long int... yes
checking for strtoll... yes
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no
checking for launch_msg... no
checking launch.h usability... no
checking launch.h presence... no
checking for launch.h... no
checking whether to use network default printers... yes
checking for default print user... lp
checking for default print group... lp
checking for default system groups... "sys root"
checking whether to enable raw printing... no
checking for pdftops... no
checking for gs... /usr/bin/gs
checking whether to build pdftops filter... yes
checking for java... /opt/jdk/jdk/bin/java
checking for perl... /usr/bin/perl
checking for php... no
checking for python... /usr/bin/python
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating packaging/cups.list
config.status: creating init/cups.sh
config.status: creating init/cups-lpd
config.status: creating cups-config
config.status: creating conf/cupsd.conf
config.status: creating conf/mime.convs
config.status: creating conf/pam.std
config.status: creating conf/snmp.conf
config.status: creating doc/index.html
config.status: creating doc/help/ref-cupsd-conf.html
config.status: creating doc/help/standard.html
config.status: creating init/org.cups.cups-lpd.plist
config.status: creating man/client.conf.man
config.status: creating man/cups-deviced.man
config.status: creating man/cups-driverd.man
config.status: creating man/cups-lpd.man
config.status: creating man/cupsaddsmb.man
config.status: creating man/cupsd.man
config.status: creating man/cupsd.conf.man
config.status: creating man/drv.man
config.status: creating man/lpoptions.man
config.status: creating templates/header.tmpl
config.status: creating config.h
bigd at BIGD-BLUE /opt/sources/cups $ make
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE
-DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE
-D_REENTRANT
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE
-DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE
-D_REENTRANT
Using DSOFLAGS=-L../cups -Wl,-soname,all -shared -Wshadow -Wunused
-Wall -Wno-format-y2k -fPIC -Os -g
-fstack-protector
Using LDFLAGS=-L../cups -L../filter -pie -fPIE -Wshadow -Wunused -Wall
-Wno-format-y2k -fPIC -Os -g
-fstack-protector
Using LIBS=-lcups -lssl -lcrypto -lpthread -lm
-lcrypt
Making all in
cups...
Compiling
adminutil.c...
Compiling
array.c...
Compiling
attr.c...
Compiling
auth.c...
Compiling
backchannel.c...
Compiling
backend.c...
Compiling
custom.c...
Compiling
debug.c...
Compiling
dest.c...
Compiling
dir.c...
Compiling
emit.c...
Compiling
encode.c...
Compiling
file.c...
Compiling
getdevices.c...
Compiling
getifaddrs.c...
Compiling
getputfile.c...
Compiling
globals.c...
Compiling
http.c...
Compiling
http-addr.c...
Compiling
http-addrlist.c...
Compiling
http-support.c...
Compiling
ipp.c...
Compiling
ipp-support.c...
Compiling
langprintf.c...
Compiling
language.c...
Compiling
localize.c...
Compiling
mark.c...
Compiling
md5.c...
Compiling
md5passwd.c...
Compiling
notify.c...
Compiling
options.c...
Compiling
page.c...
Compiling
ppd.c...
Compiling
request.c...
Compiling
sidechannel.c...
Compiling
snmp.c...
Compiling
snprintf.c...
Compiling
string.c...
Compiling
tempfile.c...
Compiling
transcode.c...
Compiling
usersys.c...
Compiling
util.c...
Linking
libcups.so.2...
Archiving
libcups.a...
a -
adminutil.o
a -
array.o
a -
attr.o
a -
auth.o
a -
backchannel.o
a -
backend.o
a -
custom.o
a -
debug.o
a -
dest.o
a -
dir.o
a -
emit.o
a -
encode.o
a -
file.o
a -
getdevices.o
a -
getifaddrs.o
a -
getputfile.o
a -
globals.o
a -
http.o
a -
http-addr.o
a -
http-addrlist.o
a -
http-support.o
a -
ipp.o
a -
ipp-support.o
a -
langprintf.o
a -
language.o
a -
localize.o
a -
mark.o
a -
md5.o
a -
md5passwd.o
a -
notify.o
a -
options.o
a -
page.o
a -
ppd.o
a -
request.o
a -
sidechannel.o
a -
snmp.o
a -
snprintf.o
a -
string.o
a -
tempfile.o
a -
transcode.o
a -
usersys.o
a -
util.o
Compiling
testarray.c...
Linking
testarray...
Running array API
tests...
cupsArrayNew:
PASS
cupsArrayUserData:
PASS
cupsArrayAdd:
PASS
cupsArrayCount:
PASS
cupsArrayFirst:
PASS
cupsArrayNext:
PASS
cupsArrayLast:
PASS
cupsArrayPrev:
PASS
cupsArrayFind:
PASS
cupsArrayCurrent:
PASS
cupsArrayDup:
PASS
cupsArrayRemove:
PASS
cupsArrayClear:
PASS
Load unique words: 20421 words in 0.296 seconds (69045 words/sec),
PASS
Delete While Iterating:
PASS
cupsArraySave:
PASS
cupsArrayRestore:
PASS
ALL TESTS PASSED!
Compiling testfile.c...
Linking testfile...
Running file API tests...
cupsFileOpen(write): PASS
cupsFileCompression(): PASS
cupsFilePuts(): PASS
cupsFilePrintf(): PASS
cupsFilePutChar(): PASS
cupsFileWrite(): PASS
cupsFilePuts("partial line"): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(read): PASS
cupsFileGets(): PASS
cupsFileCompression(): PASS
cupsFileGetConf(): PASS
cupsFileGetChar(): PASS
cupsFileRead(): PASS
cupsFileGetChar(partial line): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(write compressed): PASS
cupsFileCompression(): PASS
cupsFilePuts(): PASS
cupsFilePrintf(): PASS
cupsFilePutChar(): PASS
cupsFileWrite(): PASS
cupsFilePuts("partial line"): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(read): PASS
cupsFileGets(): PASS
cupsFileCompression(): PASS
cupsFileGetConf(): PASS
cupsFileGetChar(): PASS
cupsFileRead(): PASS
cupsFileGetChar(partial line): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(append 0): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 0): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpen(append 1): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 1): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpen(append 2): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 2): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpen(append 3): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 3): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpenFd(fd, "r"): PASS
cupsFileClose(no read): PASS
cupsFileOpen("../data/euc-jp.txt", "r"): PASS
cupsFileGets: PASS
cupsFileRewind: PASS
cupsFileGets: PASS
cupsFileFind: PASS (/bin/cat)
ALL TESTS PASSED!
Compiling testhttp.c...
Linking testhttp...
Running HTTP API tests...
httpGetDateString()/httpGetDateTime(): PASS
httpDecode64_2()/httpEncode64_2(): PASS
httpGetHostname(): PASS (BIGD-BLUE)
httpAddrGetList(): FAIL
httpSeparateURI(): PASS (34 URIs tested)
httpAssembleURI(): PASS (13 URIs tested)
1 TESTS FAILED!
make[1]: *** [testhttp] Error 1
make: *** [all] Error 1
bigd at BIGD-BLUE /opt/sources/cups $
This is what I have done to this point, with no avail...
-Used the compiled test program on another comp with an older running
kernel, all tests pass...
-build an older kernel, same thing. (I am using a 2.6.26-rc3 kernel and
headers. I built a 2.6.25 kernel, same thing. I got some linux friends
to test it on theirs with a 2.6.25 kernel, it works for them...)
I have poked around the code, but I got lost. I think it could be a
kernel config problem, but I could not see any thing about that.
Could it also be a non kernel package causing the problem??
Dave
More information about the cups
mailing list