Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C6D2C9F9A9B for ; Sun, 9 Sep 2007 21:52:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 79128-01 for ; Sun, 9 Sep 2007 21:52:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from www.herakles.homelinux.org (dsl-58-6-192-22.wa.westnet.com.au [58.6.192.22]) by postgresql.org (Postfix) with ESMTP id 9DA4E9F9A68 for ; Sun, 9 Sep 2007 21:52:29 -0300 (ADT) Received: from ns.demo.lan (unknown [172.17.0.142]) by www.herakles.homelinux.org (Postfix) with ESMTP id A9C245F52C3 for ; Mon, 10 Sep 2007 08:52:26 +0800 (WST) Received: from numbat.demo.lan (Numbat.demo.lan [192.168.9.131]) by ns.demo.lan (Postfix) with ESMTP id 19198474162 for ; Mon, 10 Sep 2007 08:52:26 +0800 (WST) Message-ID: <46E49549.8070408@herakles.homelinux.org> Date: Mon, 10 Sep 2007 08:52:25 +0800 From: John Summerfield User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070620 SeaMonkey/1.1.2 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: postgresql HEAD build failure Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/70 X-Sequence-Number: 29283 I have, for some months, been running this daily, but not taking notice of the results: [pgtest@numbat ~]$ cat bin/pg_build #!/bin/bash set -xe cd /home/pgtest/pgsql/pgsql-2007-04-23/ ping -c4 2>/dev/null anoncvs.postgresql.org | grep -q 'bytes from'\ && { make distclean || : cvs -q update ./configure --prefix=${HOME}//postgres --with-pgport=5433 --with -pam --with-openssl \ --enable-depend \ --with-gnu-ld --with-python --with-perl } time make -j3 -s && time make -j3 -s install [pgtest@numbat ~]$ It fails thus: config.status: linking ./src/makefiles/Makefile.linux to src/Makefile.port + make -j3 -s tsearchcmds.c:38:30: error: tsearch/ts_cache.h: No such file or directory tsearchcmds.c:39:31: error: tsearch/ts_public.h: No such file or directory tsearchcmds.c:40:30: error: tsearch/ts_utils.h: No such file or directory tsearchcmds.c: In function ‘getTokenTypes’: tsearchcmds.c:1676: error: ‘TSParserCacheEntry’ undeclared (first use in this function) tsearchcmds.c:1676: error: (Each undeclared identifier is reported only once tsearchcmds.c:1676: error: for each function it appears in.) tsearchcmds.c:1676: error: ‘prs’ undeclared (first use in this function) tsearchcmds.c:1676: warning: implicit declaration of function ‘lookup_ts_parser_cache’ tsearchcmds.c:1677: error: ‘LexDescr’ undeclared (first use in this function) tsearchcmds.c:1677: error: ‘list’ undeclared (first use in this function) tsearchcmds.c:1678: warning: ISO C90 forbids mixed declarations and code tsearchcmds.c:1693: error: expected expression before ‘)’ token tsearchcmds.c: In function ‘serialize_deflist’: tsearchcmds.c:2002: warning: implicit declaration of function ‘CStringGetTextP’ tsearchcmds.c:2002: warning: assignment makes pointer from integer without a cast tsearchcmds.c: In function ‘deserialize_deflist’: tsearchcmds.c:2098: warning: implicit declaration of function ‘TextPGetCString’ tsearchcmds.c:2098: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’ tsearchcmds.c:2209: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’ make[3]: *** [tsearchcmds.o] Error 1 make[2]: *** [commands-recursive] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [all] Error 2 make: *** [all] Error 2 My most recent successful build: -rwxr-xr-x 1 pgtest 1008 39322 Jun 18 07:52 postgres/bin/createdb -rwxr-xr-x 1 pgtest 1008 39233 Jun 18 07:52 postgres/bin/clusterdb This would be about when I switched my desktop to: [pgtest@numbat ~]$ rpm -qif /etc/redhat-release Name : sl-release Relocations: (not relocatable) Version : 5.0 Vendor: Scientific Linux Release : 4 Build Date: Sat 21 Apr 2007 12:37:20 AM WST Install Date: Fri 15 Jun 2007 10:37:03 AM WST Build Host: norob.fnal.gov Group : System Environment/Base Source RPM: sl-release-5.0-4.src.rpm Size : 57652 License: GPL Signature : DSA/SHA1, Sat 21 Apr 2007 12:37:32 AM WST, Key ID da6ad00882fd17b2 Summary : Scientific Linux release file Description : Scientific Linux release files [pgtest@numbat ~]$ SL5 is a clone (like CentOS) of RHEL5. My guess is that this version of gcc implements new rules: [pgtest@numbat ~]$ gcc --version gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [pgtest@numbat ~]$ Please don't reply off-list. Should I report this as a bug? -- Cheers John Summerfield