i changed my useflags from -berkdb to berkdb, ran revdep-rebuild. it stopped at emerging dev-php/mod_php-4.4.0 with the following: General settings checking whether to include debugging symbols... no checking layout of installed files... PHP checking path to configuration file... /etc/php/apache2-php4 checking directory to be scanned for configuration files... DEFAULT checking whether to enable safe mode by default... no checking for safe mode exec dir... /usr/local/php/bin checking whether to enable PHP's own SIGCHLD handler... no checking whether to enable magic quotes by default... no checking whether to enable runpaths... yes checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable dmalloc... no checking whether to enable IPv6 support... no checking whether to enable versioning... yes Configuring extensions checking for OpenSSL support... yes checking for Kerberos support... no checking for pkg-config... /usr/bin/pkg-config checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... /usr checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... yes checking for BZip2 support... yes checking for BZ2_bzerror in -lbz2... yes checking whether to enable calendar conversion support... yes checking for cpdflib support... no checking for CRACKlib support... no checking whether to enable ctype functions... yes checking for CURL support... no checking for cyrus imap support... no checking for xDBM support... no checking whether to enable DBA... no checking for gdbm_open in -lgdbm... yes checking for GDBM support... yes configure: error: DBA: Could not find necessary header file(s). !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/mod_php-4.4.0/work/php-4.4.0/config.log !!! ERROR: dev-php/mod_php-4.4.0 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Result is not OK, you have following choices: - if emerge failed during build, fix the problems and re-run revdep-rebuild or - use -X or --package-names as first argument (try to rebuild package, not exact ebuild - ignores SLOT!) or - set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask (and remove /root/.revdep-rebuild.5_order to be evaluated again) or - modify the above emerge command and run it manually or - compile or unmerge unsatisfied packages manually, remove temporary files and try again (you can edit package/ebuild list first) Reproducible: Didn't try Steps to Reproduce: tail /var/log/emerge.log 1121942383: === (2 of 4) Cleaning (net-libs/libwww-5.4.0-r3::/usr/portage/net-libs/libwww/libwww-5.4.0-r3.ebuild) 1121942385: === (2 of 4) Compiling/Merging (net-libs/libwww-5.4.0-r3::/usr/portage/net-libs/libwww/libwww-5.4.0-r3.ebuild) 1121943539: === (2 of 4) Post-Build Cleaning (net-libs/libwww-5.4.0-r3::/usr/portage/net-libs/libwww/libwww-5.4.0-r3.ebuild) 1121943542: >>> AUTOCLEAN: net-libs/libwww 1121943543: --- AUTOCLEAN: Nothing unmerged. 1121943543: ::: completed emerge (2 of 4) net-libs/libwww-5.4.0-r3 to / 1121943543: >>> emerge (3 of 4) dev-php/mod_php-4.4.0 to / 1121943543: === (3 of 4) Cleaning (dev-php/mod_php-4.4.0::/usr/portage/dev-php/mod_php/mod_php-4.4.0.ebuild) 1121943550: === (3 of 4) Compiling/Merging (dev-php/mod_php-4.4.0::/usr/portage/dev-php/mod_php/mod_php-4.4.0.ebuild) 1121943678: *** terminating. cat /var/tmp/portage/mod_php-4.4.0/work/php-4.4.0/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1656: checking host system type configure:1756: checking for gcc configure:1869: checking whether the C compiler (gcc -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib) works configure:1885: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:1911: checking whether the C compiler (gcc -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib) is a cross-compiler configure:1916: checking whether we are using GNU C configure:1925: gcc -E conftest.c configure:1944: checking whether gcc accepts -g configure:1977: checking whether gcc and cc understand -c and -o together configure:1992: gcc -c conftest.c -o conftest.o 1>&5 configure:1993: gcc -c conftest.c -o conftest.o 1>&5 configure:1998: cc -c conftest.c 1>&5 configure:2000: cc -c conftest.c -o conftest.o 1>&5 configure:2001: cc -c conftest.c -o conftest.o 1>&5 configure:2028: checking how to run the C preprocessor configure:2049: gcc -E conftest.c >/dev/null 2>conftest.out configure:2109: checking for AIX configure:2136: checking if compiler supports -R configure:2151: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -R /usr/lib -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-R' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld: /usr/lib: No such file: File format not recognized collect2: ld returned 1 exit status configure: failed program was: #line 2144 "configure" #include "confdefs.h" int main() { ; return 0; } configure:2169: checking if compiler supports -Wl,-rpath, configure:2184: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -Wl,-rpath,/usr/lib -lxmlparse -lxmltok 1>&5 configure:2210: checking for re2c configure:2239: checking whether ln -s works configure:2264: checking for gawk configure:2298: checking for bison configure:2332: checking bison version configure:2342: checking for flex configure:2376: checking for yywrap in -lfl configure:2395: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lfl -lxmlparse -lxmltok 1>&5 configure:2419: checking lex output file root configure:2440: checking whether yytext is a pointer configure:2459: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok -lfl 1>&5 configure:2483: checking for working const configure:2537: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:2562: checking flex version configure:2578: checking whether byte ordering is bigendian configure:2604: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure: failed program was: #line 2588 "configure" #include "confdefs.h" int main(void) { short one = 1; char *cp = (char *)&one; if (*cp == 0) { return(0); } else { return(1); } } configure:2671: checking whether to force non-PIC code in shared modules configure:2788: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/ccqlN7Yq.o(.text+0x27): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/mod_php-4.4.0/temp/ccqlN7Yq.o(.text+0x48): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2770 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2808: checking for pthreads_cflags configure:2841: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -kthread -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-kthread' /var/tmp/portage/mod_php-4.4.0/temp/ccHd2SNb.o(.text+0x27): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/mod_php-4.4.0/temp/ccHd2SNb.o(.text+0x48): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2823 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2841: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -pthread -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:2871: checking for pthreads_lib configure:3002: checking for AOLserver support configure:3243: checking for Apache 1.x module support via DSO through APXS configure:3546: checking for Apache 1.x module support configure:4381: checking for mod_charset compatibility option configure:4518: checking for Apache 2.0 filter-module support via DSO through APXS configure:5340: checking for Apache 2.0 handler-module support via DSO through APXS configure:6163: checking for Caudium support configure:6493: checking for CLI build configure:6553: checking for embedded SAPI library support configure:6756: checking for Zeus ISAPI support configure:6986: checking for NSAPI support configure:7327: checking for PHTTPD support configure:7556: checking for Pi3Web support configure:7885: checking for Roxen/Pike support configure:8154: checking for Servlet support configure:8672: checking for thttpd configure:8898: checking for TUX configure:9132: checking for webjames configure:9553: checking for chosen SAPI module configure:10458: checking for missing declarations of reentrant functions configure:10467: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:10492: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:10517: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:10542: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:10567: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:10591: checking for sendmail configure:10632: checking whether system uses EBCDIC configure:10651: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure: failed program was: #line 10643 "configure" #include "confdefs.h" int main(void) { return (unsigned char)'A' != (unsigned char)0xC1; } configure:10724: checking for socket configure:10752: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:10981: checking for htonl configure:11009: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:11238: checking for gethostname configure:11266: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:11495: checking for gethostbyaddr configure:11523: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:11752: checking for yp_get_default_domain configure:11780: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:12010: checking for dlopen configure:12038: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:12268: checking for sin in -lm configure:12287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lm -lxmlparse -lxmltok 1>&5 configure:12280: warning: conflicting types for built-in function `sin' configure:12321: checking for res_search configure:12349: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/cco3sfMQ.o(.text+0xa): In function `main': : undefined reference to `res_search' collect2: ld returned 1 exit status configure: failed program was: #line 12326 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_search(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_res_search) || defined (__stub___res_search) choke me #else res_search(); #endif ; return 0; } configure:12367: checking for __res_search configure:12395: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/ccGbgNBJ.o(.text+0xa): In function `main': : undefined reference to `__res_search' collect2: ld returned 1 exit status configure: failed program was: #line 12372 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __res_search(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___res_search) || defined (__stub_____res_search) choke me #else __res_search(); #endif ; return 0; } configure:12433: checking for res_search in -lresolv configure:12452: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:12527: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lm -lxmlparse -lxmltok -lresolv 1>&5 configure:12857: checking for inet_aton configure:12885: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13253: checking for dn_skipname configure:13281: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/cc0B2p0q.o(.text+0xa): In function `main': : undefined reference to `dn_skipname' collect2: ld returned 1 exit status configure: failed program was: #line 13258 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dn_skipname(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dn_skipname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dn_skipname) || defined (__stub___dn_skipname) choke me #else dn_skipname(); #endif ; return 0; } configure:13299: checking for __dn_skipname configure:13327: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13647: checking for ANSI C header files configure:13660: gcc -E conftest.c >/dev/null 2>conftest.out configure:13727: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13755: checking for dirent.h that defines DIR configure:13768: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:13793: checking for opendir in -ldir configure:13812: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -ldir -lresolv -lm -lxmlparse -lxmltok 1>&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldir collect2: ld returned 1 exit status configure: failed program was: #line 13801 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir(); int main() { opendir() ; return 0; } configure:13878: checking for fclose declaration configure:13887: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:13964: checking for inttypes.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for stdint.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for dirent.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for ApplicationServices/ApplicationServices.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13970:53: ApplicationServices/ApplicationServices.h: No such file or directory configure: failed program was: #line 13969 "configure" #include "confdefs.h" #include <ApplicationServices/ApplicationServices.h> configure:13964: checking for sys/param.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/types.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/time.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for netinet/in.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for alloca.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for arpa/inet.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for arpa/nameser.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for assert.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for crypt.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for fcntl.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for grp.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for ieeefp.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13970:20: ieeefp.h: No such file or directory configure: failed program was: #line 13969 "configure" #include "confdefs.h" #include <ieeefp.h> configure:13964: checking for langinfo.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for limits.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for locale.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for monetary.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for mach-o/dyld.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13970:25: mach-o/dyld.h: No such file or directory configure: failed program was: #line 13969 "configure" #include "confdefs.h" #include <mach-o/dyld.h> configure:13964: checking for netdb.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for pwd.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for resolv.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for signal.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for stdarg.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for stdlib.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for string.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for syslog.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sysexits.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/file.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/mman.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/mount.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/poll.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/resource.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/select.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/socket.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/statfs.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/statvfs.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/vfs.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/sysexits.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13970:26: sys/sysexits.h: No such file or directory configure: failed program was: #line 13969 "configure" #include "confdefs.h" #include <sys/sysexits.h> configure:13964: checking for sys/varargs.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13970:25: sys/varargs.h: No such file or directory configure: failed program was: #line 13969 "configure" #include "confdefs.h" #include <sys/varargs.h> configure:13964: checking for sys/wait.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for unistd.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for unix.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13970:18: unix.h: No such file or directory configure: failed program was: #line 13969 "configure" #include "confdefs.h" #include <unix.h> configure:13964: checking for utime.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/utsname.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for sys/ipc.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:13964: checking for dlfcn.h configure:13974: gcc -E conftest.c >/dev/null 2>conftest.out configure:14003: checking for fopencookie configure:14031: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14062: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14114: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14175: checking for broken getcwd configure:14190: checking for broken libc stdio configure:14251: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: failed program was: #line 14223 "configure" #include "confdefs.h" #include <stdio.h> int main(int argc, char *argv[]) { FILE *fp; long position; char *filename = "/tmp/phpglibccheck"; fp = fopen(filename, "w"); if (fp == NULL) { perror("fopen"); exit(2); } fputs("foobar", fp); fclose(fp); fp = fopen(filename, "a+"); position = ftell(fp); fclose(fp); unlink(filename); if (position == 0) return 1; return 0; } configure:14279: checking whether struct tm is in sys/time.h or time.h configure:14292: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14313: checking for tm_zone in struct tm configure:14326: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14385: checking for tm_gmtoff in struct tm configure:14398: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14421: checking for struct flock configure:14436: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14463: checking for socklen_t configure:14480: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14506: checking size of intmax_t configure:14525: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: In function `main': configure:14520: error: `intmax_t' undeclared (first use in this function) configure:14520: error: (Each undeclared identifier is reported only once configure:14520: error: for each function it appears in.) configure: failed program was: #line 14514 "configure" #include "confdefs.h" #include <stdio.h> int main() { FILE *f=fopen("conftestval", "w"); if (!f) return(1); fprintf(f, "%d\n", sizeof(intmax_t)); return(0); } configure:14545: checking size of size_t configure:14564: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14584: checking size of ssize_t configure:14603: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: In function `main': configure:14598: error: `ssize_t' undeclared (first use in this function) configure:14598: error: (Each undeclared identifier is reported only once configure:14598: error: for each function it appears in.) configure: failed program was: #line 14592 "configure" #include "confdefs.h" #include <stdio.h> int main() { FILE *f=fopen("conftestval", "w"); if (!f) return(1); fprintf(f, "%d\n", sizeof(ssize_t)); return(0); } configure:14623: checking size of ptrdiff_t configure:14642: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: In function `main': configure:14637: error: `ptrdiff_t' undeclared (first use in this function) configure:14637: error: (Each undeclared identifier is reported only once configure:14637: error: for each function it appears in.) configure: failed program was: #line 14631 "configure" #include "confdefs.h" #include <stdio.h> int main() { FILE *f=fopen("conftestval", "w"); if (!f) return(1); fprintf(f, "%d\n", sizeof(ptrdiff_t)); return(0); } configure:14662: checking size of long long configure:14681: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14701: checking size of long long int configure:14720: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14740: checking size of long configure:14759: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14779: checking size of int configure:14798: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14819: checking for st_blksize in struct stat configure:14832: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14854: checking for st_blocks in struct stat configure:14867: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14894: checking for st_rdev in struct stat configure:14907: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:14929: checking for size_t configure:14962: checking for uid_t in sys/types.h configure:14997: checking for struct sockaddr_storage configure:15010: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:15042: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure: In function `main': configure:15038: error: structure has no member named `sa_len' configure: failed program was: #line 15032 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> int main() { static struct sockaddr sa; int n = (int) sa.sa_len; return n ; return 0; } configure:15055: checking for IPv6 support configure:15069: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15087: checking for vprintf configure:15115: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15099: warning: conflicting types for built-in function `vprintf' configure:15259: checking for alphasort configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for asctime_r configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for chroot configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for ctime_r configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for cuserid configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for crypt configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for flock configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for ftok configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for funopen configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/ccQLFFll.o(.text+0xa): In function `main': : undefined reference to `funopen' collect2: ld returned 1 exit status configure: failed program was: #line 15264 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char funopen(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char funopen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_funopen) || defined (__stub___funopen) choke me #else funopen(); #endif ; return 0; } configure:15259: checking for gai_strerror configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for gcvt configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for getlogin configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for getprotobyname configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for getprotobynumber configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for getservbyname configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for getservbyport configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for getrusage configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for gettimeofday configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for gmtime_r configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for isascii configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for link configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for localtime_r configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for lockf configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for lrand48 configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for memcpy configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15271: warning: conflicting types for built-in function `memcpy' configure:15259: checking for memmove configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for mkstemp configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for mmap configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for nl_langinfo configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for perror configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for poll configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for putenv configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for realpath configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for random configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for rand_r configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for regcomp configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for res_search configure:15259: checking for scandir configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for setitimer configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for setlocale configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for localeconv configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for setsockopt configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for setvbuf configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for shutdown configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for sin configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15271: warning: conflicting types for built-in function `sin' configure:15259: checking for snprintf configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15271: warning: conflicting types for built-in function `snprintf' configure:15259: checking for srand48 configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for srandom configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for statfs configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for statvfs configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for std_syslog configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/ccOU2fkh.o(.text+0xa): In function `main': : undefined reference to `std_syslog' collect2: ld returned 1 exit status configure: failed program was: #line 15264 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char std_syslog(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char std_syslog(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_std_syslog) || defined (__stub___std_syslog) choke me #else std_syslog(); #endif ; return 0; } configure:15259: checking for strcasecmp configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for strcoll configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for strdup configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for strerror configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for strftime configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for strstr configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15271: warning: conflicting types for built-in function `strstr' configure:15259: checking for strtok_r configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for symlink configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for tempnam configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/ccWEjyuS.o(.text+0xa): In function `main': : warning: the use of `tempnam' is dangerous, better use `mkstemp' configure:15259: checking for tzset configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for unsetenv configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for usleep configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for utime configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15259: checking for vsnprintf configure:15287: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15271: warning: conflicting types for built-in function `vsnprintf' configure:15313: checking for getaddrinfo configure:15325: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15371: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15403: checking for strlcat configure:15431: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/ccIh3UlZ.o(.text+0xa): In function `main': : undefined reference to `strlcat' collect2: ld returned 1 exit status configure: failed program was: #line 15408 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strlcat(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strlcat(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_strlcat) || defined (__stub___strlcat) choke me #else strlcat(); #endif ; return 0; } configure:15403: checking for strlcpy configure:15431: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/mod_php-4.4.0/temp/cceWJl3u.o(.text+0xa): In function `main': : undefined reference to `strlcpy' collect2: ld returned 1 exit status configure: failed program was: #line 15408 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strlcpy(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strlcpy(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_strlcpy) || defined (__stub___strlcpy) choke me #else strlcpy(); #endif ; return 0; } configure:15403: checking for getopt configure:15431: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15458: checking whether utime accepts a null argument configure:15479: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15505: checking for working alloca.h configure:15538: checking for alloca configure:15571: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15738: checking for declared timezone configure:15759: gcc -c -O2 -march=pentium3 -fomit-frame-pointer conftest.c 1>&5 configure:15785: checking for type of reentrant time-related functions configure:15814: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: In function `main': configure:15806: warning: assignment makes integer from pointer without a cast configure:15807: error: too many arguments to function `asctime_r' configure: failed program was: #line 15796 "configure" #include "confdefs.h" #include <time.h> main() { char buf[27]; struct tm t; time_t old = 0; int r, s; s = gmtime_r(&old, &t); r = (int) asctime_r(&t, buf, 26); if (r == s && s == 0) return (0); return (1); } configure:15844: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: In function `main': configure:15837: error: too many arguments to function `asctime_r' configure: failed program was: #line 15828 "configure" #include "confdefs.h" #include <time.h> main() { struct tm t, *s; time_t old = 0; char buf[27], *p; s = gmtime_r(&old, &t); p = asctime_r(&t, buf, 26); if (p == buf && s == &t) return (0); return (1); } configure:15882: checking for readdir_r configure:15910: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15932: checking for type of readdir_r configure:15968: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:16086: checking whether to include debugging symbols configure:16119: checking layout of installed files configure:16153: checking path to configuration file configure:16189: checking directory to be scanned for configuration files configure:16219: checking whether to enable safe mode by default configure:16254: checking for safe mode exec dir configure:16295: checking whether to enable PHP's own SIGCHLD handler configure:16332: checking whether to enable magic quotes by default configure:16369: checking whether to enable runpaths configure:16394: checking whether to explicitly link against libgcc configure:16473: checking whether to enable short tags by default configure:16510: checking whether to enable dmalloc configure:16598: checking whether to enable IPv6 support configure:16628: checking whether to enable versioning configure:16680: checking for OpenSSL support configure:16726: checking for Kerberos support configure:17343: checking for pkg-config configure:17531: checking for OpenSSL version configure:17671: checking for CRYPTO_free in -lcrypto configure:17690: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:17830: checking for SSL_CTX_set_ssl_version in -lssl configure:17849: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok -lcrypto 1>&5 configure:17975: checking for ZLIB support configure:18021: checking if the location of ZLIB install directory is defined configure:18374: checking for gzgets in -lz configure:18393: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:18531: checking whether to enable bc style precision math functions configure:18825: checking for BZip2 support configure:18969: checking for BZ2_bzerror in -lbz2 configure:18988: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:19383: checking whether to enable calendar conversion support configure:19662: checking for cpdflib support configure:20841: checking for CRACKlib support configure:21265: checking whether to enable ctype functions configure:21540: checking for CURL support configure:22331: checking for cyrus imap support configure:23256: checking for xDBM support configure:23887: checking whether to enable DBA configure:24026: checking for gdbm_open in -lgdbm configure:24045: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -L/usr/lib conftest.c -lgdbm -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:24212: checking for GDBM support emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acpi apache2 apm berkdb bitmap-fonts crypt cups emboss encode foomaticdb fpu gd gdbm gif gpm icq imap imlib jabber jpeg libg++ libwww mad mikmod mime motif mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png python readline sdl spell ssl tcpd truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
after that i ran emerge -C mod_php, and revdep-rebuild again, wich halted exactly the same way at emerging dev-php/php-4.4.0
after emerge -C php and emerge -vND mod_php a new package appeard to be emerged sys-libs/db-1.85-r2, i guess this is becouse of the changed use flag. should i have run emerge -ND world first? These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild NS ] sys-libs/db-1.85-r2 279 kB [ebuild N ] dev-php/mod_php-4.4.0 -X +apache2 +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp +imap -informix -ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +nls -oci8 -odbc +pam +png -postgres -snmp +spell +ssl -tiff -truetype +xml2 -yaz 0 kB [ebuild N ] dev-php/php-4.4.0 -X +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp +imap -informix -ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +png -postgres +readline -snmp +spell +ssl -tiff -truetype +xml2 -yaz 0 kB Total size of downloads: 279 kB
(In reply to comment #2) > after emerge -C php > and emerge -vND mod_php > a new package appeard to be emerged sys-libs/db-1.85-r2, i guess this is becouse > of the changed use flag. > should i have run emerge -ND world first? 'emerge --newuse -uD world' should be user when you change use flags; revdep-rebuild should be used when you upgrade some package and this upgrade breaks other packages - as it's name suggests, it rebuilds reverse dependencies. Closing this bug, as use of an incorrect tool for the given purpose in not Gentoo bug. Reopen if you disagree.
*** Bug 107038 has been marked as a duplicate of this bug. ***