[Dovecot] RC11 Build Failure on FreeBSD 6.1
I just ran into a build failure on Dovecot 1.0RC11 on FreeBSD 6.1. Identical command sequence for the build worked fine for RC10. uname -a:
FreeBSD thor.krellis.org 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0: Fri Sep 1 01:47:32 EDT 2006 root@jail7.jvds.com:/usr/obj/usr/src/sys/JAIL7 i386
Configured with a straight ./configure, no options, no problems reported during configure, but make failed with:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mountpoint.o -MD -MP -MF ".deps/mountpoint.Tpo" -c -o mountpoint.o mountpoint.c; then mv -f ".deps/mountpoint.Tpo" ".deps/mountpoint.Po"; else rm -f ".deps/mountpoint.Tpo"; exit 1; fi mountpoint.c:11:30: #if with no expression mountpoint.c:40: warning: unused parameter 'path' mountpoint.c:40: warning: unused parameter 'pool' *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11/src/lib. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11/src. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11.
Full output of everything I did after untarring (I apologize in advance for any bad wrapping, I can attach as text/plain if necessary for diagnosis):
[tim@thor ~/build/dovecot-1.0.rc11]$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 checking for library containing strerror... none required checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E 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 inline... inline checking build system type... i386-unknown-freebsd6.1 checking host system type... i386-unknown-freebsd6.1 checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... f77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f77 accepts -g... yes checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... freebsd6.1 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd6.1 ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for f77 option to produce PIC... -fPIC checking if f77 PIC flag -fPIC works... yes checking if f77 static flag -static works... yes checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd6.1 ld.so checking how to hardcode library paths into programs... immediate checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... /usr/local/bin/bash: ./config.rpath: No such file or directory done checking for iconv... no, consider installing GNU libiconv checking for strings.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/sysmacros.h usability... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking sys/quota.h usability... no checking sys/quota.h presence... no checking for sys/quota.h... no checking sys/fs/ufs_quota.h usability... no checking sys/fs/ufs_quota.h presence... no checking for sys/fs/ufs_quota.h... no checking ufs/ufs/quota.h usability... yes checking ufs/ufs/quota.h presence... yes checking for ufs/ufs/quota.h... yes checking jfs/quota.h usability... no checking jfs/quota.h presence... no checking for jfs/quota.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking sys/event.h usability... yes checking sys/event.h presence... yes checking for sys/event.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking linux/dqblk_xfs.h usability... no checking linux/dqblk_xfs.h presence... no checking for linux/dqblk_xfs.h... no checking xfs/xqm.h usability... no checking xfs/xqm.h presence... no checking for xfs/xqm.h... no checking sasl.h usability... no checking sasl.h presence... no checking for sasl.h... no checking sasl/sasl.h usability... no checking sasl/sasl.h presence... no checking for sasl/sasl.h... no checking for socket... yes checking for inet_addr... yes checking for fdatasync... no checking for fdatasync in -lrt... no checking for fcntl... yes checking for flock... yes checking for lockf... yes checking for inet_aton... yes checking for sigaction... yes checking for getpagesize... yes checking for madvise... yes checking for strcasecmp... yes checking for stricmp... no checking for vsnprintf... yes checking for vsyslog... yes checking for writev... yes checking for pread... yes checking for setrlimit... yes checking for setproctitle... yes checking for seteuid... yes checking for setreuid... yes checking for setegid... yes checking for setresgid... yes checking for strtoull... yes checking for strtouq... yes checking for setpriority... yes checking for quotactl... yes checking for getmntent... no checking for kqueue... yes checking for kevent... yes checking for getrusage... yes checking for poll... yes checking if we can use inotify... "no" checking if we can use dnotify... "no" checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for void *... yes checking size of void *... 4 checking for long long... yes checking size of long long... 8 checking for _Bool... yes checking for uoff_t... no checking type of off_t... long long checking whether size_t is signed... no checking type of size_t... unsigned int checking for stdint.h... (cached) yes checking for uintmax_t... yes checking for uint_fast32_t... yes checking for socklen_t... yes checking for /dev/urandom... yes checking for tm_gmtoff... yes checking how large time_t values gmtime() accepts... 32 checking for struct iovec... yes checking Linux compatible mremap()... no checking whether shared mmaps get updated by write()s... yes checking whether fd passing works... yes checking for sendfile in -lsendfile... no checking Linux compatible sendfile()... no checking FreeBSD compatible sendfile()... yes checking if we should use _XPG6 macro for crypt()... yes checking if statvfs.f_mntfromname exists... no checking if statfs.f_mntfromname exists... yes checking if struct dqblk.dqb_curblocks exists... yes checking if struct dqblk.dqb_curspace exists... no checking if struct Q_QUOTACTL ioctl exists... no checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... no checking whether va_lists can be copied by value... yes checking for SSL_read in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking for getspnam... no checking for pam_start in -lpam... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking for pam_setcred in -lpam... yes checking for auth_userokay... no checking for vpopmail configuration at ~vpopmail/etc/lib_deps... not found checking for crypt in -lcrypt... yes checking for dlopen... yes checking whether byte ordering is bigendian... no checking for IPv6... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib-sql/Makefile config.status: creating src/lib-auth/Makefile config.status: creating src/lib-charset/Makefile config.status: creating src/lib-dict/Makefile config.status: creating src/lib-imap/Makefile config.status: creating src/lib-index/Makefile config.status: creating src/lib-mail/Makefile config.status: creating src/lib-ntlm/Makefile config.status: creating src/lib-settings/Makefile config.status: creating src/lib-storage/Makefile config.status: creating src/lib-storage/index/Makefile config.status: creating src/lib-storage/index/maildir/Makefile config.status: creating src/lib-storage/index/mbox/Makefile config.status: creating src/lib-storage/index/dbox/Makefile config.status: creating src/lib-storage/subscription-file/Makefile config.status: creating src/lib-storage/register/Makefile config.status: creating src/auth/Makefile config.status: creating src/deliver/Makefile config.status: creating src/dict/Makefile config.status: creating src/imap/Makefile config.status: creating src/imap-login/Makefile config.status: creating src/login-common/Makefile config.status: creating src/master/Makefile config.status: creating src/pop3/Makefile config.status: creating src/pop3-login/Makefile config.status: creating src/util/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/acl/Makefile config.status: creating src/plugins/convert/Makefile config.status: creating src/plugins/quota/Makefile config.status: creating src/plugins/imap-quota/Makefile config.status: creating src/plugins/trash/Makefile config.status: creating src/plugins/zlib/Makefile config.status: creating stamp.h config.status: creating dovecot-config.in config.status: creating config.h config.status: executing depfiles commands
Install prefix ...................... : /usr/local File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : none Building with SSL support ........... : yes (OpenSSL) Building with IPv6 support .......... : yes Building with pop3 server ........... : yes Building with mail delivery agent .. : yes Building with GSSAPI support ........ : no Building with user database modules . : static prefetch passwd passwd-file checkpassword (modules) Building with password lookup modules : passwd passwd-file pam checkpassword (modules) Building with SQL drivers ............: [tim@thor ~/build/dovecot-1.0.rc11]$ make make all-recursive Making all in src Making all in lib if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT bsearch-insert-pos.o -MD -MP -MF ".deps/bsearch-insert-pos.Tpo" -c -o bsearch-insert-pos.o bsearch-insert-pos.c; then mv -f ".deps/bsearch-insert-pos.Tpo" ".deps/bsearch-insert-pos.Po"; else rm -f ".deps/bsearch-insert-pos.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT buffer.o -MD -MP -MF ".deps/buffer.Tpo" -c -o buffer.o buffer.c; then mv -f ".deps/buffer.Tpo" ".deps/buffer.Po"; else rm -f ".deps/buffer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT close-keep-errno.o -MD -MP -MF ".deps/close-keep-errno.Tpo" -c -o close-keep-errno.o close-keep-errno.c; then mv -f ".deps/close-keep-errno.Tpo" ".deps/close-keep-errno.Po"; else rm -f ".deps/close-keep-errno.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT compat.o -MD -MP -MF ".deps/compat.Tpo" -c -o compat.o compat.c; then mv -f ".deps/compat.Tpo" ".deps/compat.Po"; else rm -f ".deps/compat.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT data-stack.o -MD -MP -MF ".deps/data-stack.Tpo" -c -o data-stack.o data-stack.c; then mv -f ".deps/data-stack.Tpo" ".deps/data-stack.Po"; else rm -f ".deps/data-stack.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT env-util.o -MD -MP -MF ".deps/env-util.Tpo" -c -o env-util.o env-util.c; then mv -f ".deps/env-util.Tpo" ".deps/env-util.Po"; else rm -f ".deps/env-util.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT failures.o -MD -MP -MF ".deps/failures.Tpo" -c -o failures.o failures.c; then mv -f ".deps/failures.Tpo" ".deps/failures.Po"; else rm -f ".deps/failures.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT fd-close-on-exec.o -MD -MP -MF ".deps/fd-close-on-exec.Tpo" -c -o fd-close-on-exec.o fd-close-on-exec.c; then mv -f ".deps/fd-close-on-exec.Tpo" ".deps/fd-close-on-exec.Po"; else rm -f ".deps/fd-close-on-exec.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT fd-set-nonblock.o -MD -MP -MF ".deps/fd-set-nonblock.Tpo" -c -o fd-set-nonblock.o fd-set-nonblock.c; then mv -f ".deps/fd-set-nonblock.Tpo" ".deps/fd-set-nonblock.Po"; else rm -f ".deps/fd-set-nonblock.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT fdpass.o -MD -MP -MF ".deps/fdpass.Tpo" -c -o fdpass.o fdpass.c; then mv -f ".deps/fdpass.Tpo" ".deps/fdpass.Po"; else rm -f ".deps/fdpass.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT file-cache.o -MD -MP -MF ".deps/file-cache.Tpo" -c -o file-cache.o file-cache.c; then mv -f ".deps/file-cache.Tpo" ".deps/file-cache.Po"; else rm -f ".deps/file-cache.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT file-copy.o -MD -MP -MF ".deps/file-copy.Tpo" -c -o file-copy.o file-copy.c; then mv -f ".deps/file-copy.Tpo" ".deps/file-copy.Po"; else rm -f ".deps/file-copy.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT file-dotlock.o -MD -MP -MF ".deps/file-dotlock.Tpo" -c -o file-dotlock.o file-dotlock.c; then mv -f ".deps/file-dotlock.Tpo" ".deps/file-dotlock.Po"; else rm -f ".deps/file-dotlock.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT file-lock.o -MD -MP -MF ".deps/file-lock.Tpo" -c -o file-lock.o file-lock.c; then mv -f ".deps/file-lock.Tpo" ".deps/file-lock.Po"; else rm -f ".deps/file-lock.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT file-set-size.o -MD -MP -MF ".deps/file-set-size.Tpo" -c -o file-set-size.o file-set-size.c; then mv -f ".deps/file-set-size.Tpo" ".deps/file-set-size.Po"; else rm -f ".deps/file-set-size.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT hash.o -MD -MP -MF ".deps/hash.Tpo" -c -o hash.o hash.c; then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT hex-binary.o -MD -MP -MF ".deps/hex-binary.Tpo" -c -o hex-binary.o hex-binary.c; then mv -f ".deps/hex-binary.Tpo" ".deps/hex-binary.Po"; else rm -f ".deps/hex-binary.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT hex-dec.o -MD -MP -MF ".deps/hex-dec.Tpo" -c -o hex-dec.o hex-dec.c; then mv -f ".deps/hex-dec.Tpo" ".deps/hex-dec.Po"; else rm -f ".deps/hex-dec.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT hmac-md5.o -MD -MP -MF ".deps/hmac-md5.Tpo" -c -o hmac-md5.o hmac-md5.c; then mv -f ".deps/hmac-md5.Tpo" ".deps/hmac-md5.Po"; else rm -f ".deps/hmac-md5.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT home-expand.o -MD -MP -MF ".deps/home-expand.Tpo" -c -o home-expand.o home-expand.c; then mv -f ".deps/home-expand.Tpo" ".deps/home-expand.Po"; else rm -f ".deps/home-expand.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT hostpid.o -MD -MP -MF ".deps/hostpid.Tpo" -c -o hostpid.o hostpid.c; then mv -f ".deps/hostpid.Tpo" ".deps/hostpid.Po"; else rm -f ".deps/hostpid.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT imem.o -MD -MP -MF ".deps/imem.Tpo" -c -o imem.o imem.c; then mv -f ".deps/imem.Tpo" ".deps/imem.Po"; else rm -f ".deps/imem.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT iostream.o -MD -MP -MF ".deps/iostream.Tpo" -c -o iostream.o iostream.c; then mv -f ".deps/iostream.Tpo" ".deps/iostream.Po"; else rm -f ".deps/iostream.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT istream.o -MD -MP -MF ".deps/istream.Tpo" -c -o istream.o istream.c; then mv -f ".deps/istream.Tpo" ".deps/istream.Po"; else rm -f ".deps/istream.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT istream-data.o -MD -MP -MF ".deps/istream-data.Tpo" -c -o istream-data.o istream-data.c; then mv -f ".deps/istream-data.Tpo" ".deps/istream-data.Po"; else rm -f ".deps/istream-data.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT istream-file.o -MD -MP -MF ".deps/istream-file.Tpo" -c -o istream-file.o istream-file.c; then mv -f ".deps/istream-file.Tpo" ".deps/istream-file.Po"; else rm -f ".deps/istream-file.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT istream-limit.o -MD -MP -MF ".deps/istream-limit.Tpo" -c -o istream-limit.o istream-limit.c; then mv -f ".deps/istream-limit.Tpo" ".deps/istream-limit.Po"; else rm -f ".deps/istream-limit.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT istream-mmap.o -MD -MP -MF ".deps/istream-mmap.Tpo" -c -o istream-mmap.o istream-mmap.c; then mv -f ".deps/istream-mmap.Tpo" ".deps/istream-mmap.Po"; else rm -f ".deps/istream-mmap.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT istream-seekable.o -MD -MP -MF ".deps/istream-seekable.Tpo" -c -o istream-seekable.o istream-seekable.c; then mv -f ".deps/istream-seekable.Tpo" ".deps/istream-seekable.Po"; else rm -f ".deps/istream-seekable.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop.o -MD -MP -MF ".deps/ioloop.Tpo" -c -o ioloop.o ioloop.c; then mv -f ".deps/ioloop.Tpo" ".deps/ioloop.Po"; else rm -f ".deps/ioloop.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-iolist.o -MD -MP -MF ".deps/ioloop-iolist.Tpo" -c -o ioloop-iolist.o ioloop-iolist.c; then mv -f ".deps/ioloop-iolist.Tpo" ".deps/ioloop-iolist.Po"; else rm -f ".deps/ioloop-iolist.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-notify-none.o -MD -MP -MF ".deps/ioloop-notify-none.Tpo" -c -o ioloop-notify-none.o ioloop-notify-none.c; then mv -f ".deps/ioloop-notify-none.Tpo" ".deps/ioloop-notify-none.Po"; else rm -f ".deps/ioloop-notify-none.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-notify-dn.o -MD -MP -MF ".deps/ioloop-notify-dn.Tpo" -c -o ioloop-notify-dn.o ioloop-notify-dn.c; then mv -f ".deps/ioloop-notify-dn.Tpo" ".deps/ioloop-notify-dn.Po"; else rm -f ".deps/ioloop-notify-dn.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-notify-inotify.o -MD -MP -MF ".deps/ioloop-notify-inotify.Tpo" -c -o ioloop-notify-inotify.o ioloop-notify-inotify.c; then mv -f ".deps/ioloop-notify-inotify.Tpo" ".deps/ioloop-notify-inotify.Po"; else rm -f ".deps/ioloop-notify-inotify.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-notify-kqueue.o -MD -MP -MF ".deps/ioloop-notify-kqueue.Tpo" -c -o ioloop-notify-kqueue.o ioloop-notify-kqueue.c; then mv -f ".deps/ioloop-notify-kqueue.Tpo" ".deps/ioloop-notify-kqueue.Po"; else rm -f ".deps/ioloop-notify-kqueue.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-poll.o -MD -MP -MF ".deps/ioloop-poll.Tpo" -c -o ioloop-poll.o ioloop-poll.c; then mv -f ".deps/ioloop-poll.Tpo" ".deps/ioloop-poll.Po"; else rm -f ".deps/ioloop-poll.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-select.o -MD -MP -MF ".deps/ioloop-select.Tpo" -c -o ioloop-select.o ioloop-select.c; then mv -f ".deps/ioloop-select.Tpo" ".deps/ioloop-select.Po"; else rm -f ".deps/ioloop-select.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-epoll.o -MD -MP -MF ".deps/ioloop-epoll.Tpo" -c -o ioloop-epoll.o ioloop-epoll.c; then mv -f ".deps/ioloop-epoll.Tpo" ".deps/ioloop-epoll.Po"; else rm -f ".deps/ioloop-epoll.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT ioloop-kqueue.o -MD -MP -MF ".deps/ioloop-kqueue.Tpo" -c -o ioloop-kqueue.o ioloop-kqueue.c; then mv -f ".deps/ioloop-kqueue.Tpo" ".deps/ioloop-kqueue.Po"; else rm -f ".deps/ioloop-kqueue.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT lib.o -MD -MP -MF ".deps/lib.Tpo" -c -o lib.o lib.c; then mv -f ".deps/lib.Tpo" ".deps/lib.Po"; else rm -f ".deps/lib.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT lib-signals.o -MD -MP -MF ".deps/lib-signals.Tpo" -c -o lib-signals.o lib-signals.c; then mv -f ".deps/lib-signals.Tpo" ".deps/lib-signals.Po"; else rm -f ".deps/lib-signals.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT md4.o -MD -MP -MF ".deps/md4.Tpo" -c -o md4.o md4.c; then mv -f ".deps/md4.Tpo" ".deps/md4.Po"; else rm -f ".deps/md4.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mempool.o -MD -MP -MF ".deps/mempool.Tpo" -c -o mempool.o mempool.c; then mv -f ".deps/mempool.Tpo" ".deps/mempool.Po"; else rm -f ".deps/mempool.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mempool-alloconly.o -MD -MP -MF ".deps/mempool-alloconly.Tpo" -c -o mempool-alloconly.o mempool-alloconly.c; then mv -f ".deps/mempool-alloconly.Tpo" ".deps/mempool-alloconly.Po"; else rm -f ".deps/mempool-alloconly.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mempool-datastack.o -MD -MP -MF ".deps/mempool-datastack.Tpo" -c -o mempool-datastack.o mempool-datastack.c; then mv -f ".deps/mempool-datastack.Tpo" ".deps/mempool-datastack.Po"; else rm -f ".deps/mempool-datastack.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mempool-system.o -MD -MP -MF ".deps/mempool-system.Tpo" -c -o mempool-system.o mempool-system.c; then mv -f ".deps/mempool-system.Tpo" ".deps/mempool-system.Po"; else rm -f ".deps/mempool-system.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mempool-unsafe-datastack.o -MD -MP -MF ".deps/mempool-unsafe-datastack.Tpo" -c -o mempool-unsafe-datastack.o mempool-unsafe-datastack.c; then mv -f ".deps/mempool-unsafe-datastack.Tpo" ".deps/mempool-unsafe-datastack.Po"; else rm -f ".deps/mempool-unsafe-datastack.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mkdir-parents.o -MD -MP -MF ".deps/mkdir-parents.Tpo" -c -o mkdir-parents.o mkdir-parents.c; then mv -f ".deps/mkdir-parents.Tpo" ".deps/mkdir-parents.Po"; else rm -f ".deps/mkdir-parents.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mmap-anon.o -MD -MP -MF ".deps/mmap-anon.Tpo" -c -o mmap-anon.o mmap-anon.c; then mv -f ".deps/mmap-anon.Tpo" ".deps/mmap-anon.Po"; else rm -f ".deps/mmap-anon.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mmap-util.o -MD -MP -MF ".deps/mmap-util.Tpo" -c -o mmap-util.o mmap-util.c; then mv -f ".deps/mmap-util.Tpo" ".deps/mmap-util.Po"; else rm -f ".deps/mmap-util.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT module-dir.o -MD -MP -MF ".deps/module-dir.Tpo" -c -o module-dir.o module-dir.c; then mv -f ".deps/module-dir.Tpo" ".deps/module-dir.Po"; else rm -f ".deps/module-dir.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mountpoint.o -MD -MP -MF ".deps/mountpoint.Tpo" -c -o mountpoint.o mountpoint.c; then mv -f ".deps/mountpoint.Tpo" ".deps/mountpoint.Po"; else rm -f ".deps/mountpoint.Tpo"; exit 1; fi mountpoint.c:11:30: #if with no expression mountpoint.c:40: warning: unused parameter 'path' mountpoint.c:40: warning: unused parameter 'pool' *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11/src/lib. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11/src. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11.
I don't /think/ I did anything or changed anything from rc10 to rc11 that would cause this. Any assistance would be greatly appreciated.
Regards, Tim Wilde
On Sat, Nov 04, 2006 at 04:15:07PM -0800, Tim Wilde wrote:
I just ran into a build failure on Dovecot 1.0RC11 on FreeBSD 6.1. Identical command sequence for the build worked fine for RC10. uname -a:
FreeBSD thor.krellis.org 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0: Fri Sep 1 01:47:32 EDT 2006 root@jail7.jvds.com:/usr/obj/usr/src/sys/JAIL7 i386
Configured with a straight ./configure, no options, no problems reported during configure, but make failed with:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mountpoint.o -MD -MP -MF ".deps/mountpoint.Tpo" -c -o mountpoint.o mountpoint.c; then mv -f ".deps/mountpoint.Tpo" ".deps/mountpoint.Po"; else rm -f ".deps/mountpoint.Tpo"; exit 1; fi mountpoint.c:11:30: #if with no expression mountpoint.c:40: warning: unused parameter 'path' mountpoint.c:40: warning: unused parameter 'pool' *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11/src/lib. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11/src. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11. *** Error code 1
Stop in /usr/home/tim/build/dovecot-1.0.rc11.
Full output of everything I did after untarring (I apologize in advance for any bad wrapping, I can attach as text/plain if necessary for diagnosis):
I saw the same thing with OpenBSD -current.
Here is the fix..
--- src/lib/mountpoint.c.orig Sat Nov 4 23:43:29 2006
+++ src/lib/mountpoint.c Sat Nov 4 23:43:42 2006
@@ -8,7 +8,7 @@
#ifdef HAVE_STATVFS_MNTFROMNAME
# include
On Sat, Nov 04, 2006 at 11:57:37PM -0500, Brad wrote:
On Sat, Nov 04, 2006 at 04:15:07PM -0800, Tim Wilde wrote:
I just ran into a build failure on Dovecot 1.0RC11 on FreeBSD 6.1.
I saw the same thing with OpenBSD -current.
Strange, it compiled just fine for me on NetBSD 3.1.
Geert
participants (3)
-
Brad
-
Geert Hendrickx
-
Tim Wilde