Ticket #691: Xapian_errors.txt

File Xapian_errors.txt, 15.7 KB (added by ictzara, 9 years ago)

Error log (make ) and an extract from /var/log/httpd/error_log

Line 
1[root@zara-mon xapian-bindings-1.2.21]# ./configure --with-php
2checking for a BSD-compatible install... /usr/bin/install -c
3checking whether build environment is sane... yes
4checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
5checking for gawk... gawk
6checking whether make sets $(MAKE)... yes
7checking how to create a ustar tar archive... gnutar
8checking build system type... x86_64-unknown-linux-gnu
9checking host system type... x86_64-unknown-linux-gnu
10checking how to print strings... printf
11checking for style of include used by make... GNU
12checking for gcc... gcc
13checking whether the C compiler works... yes
14checking for C compiler default output file name... a.out
15checking for suffix of executables...
16checking whether we are cross compiling... no
17checking for suffix of object files... o
18checking whether we are using the GNU C compiler... yes
19checking whether gcc accepts -g... yes
20checking for gcc option to accept ISO C89... none needed
21checking dependency style of gcc... gcc3
22checking for a sed that does not truncate output... /usr/bin/sed
23checking for grep that handles long lines and -e... /usr/bin/grep
24checking for egrep... /usr/bin/grep -E
25checking for fgrep... /usr/bin/grep -F
26checking for ld used by gcc... /usr/bin/ld
27checking if the linker (/usr/bin/ld) is GNU ld... yes
28checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
29checking the name lister (/usr/bin/nm -B) interface... BSD nm
30checking whether ln -s works... yes
31checking the maximum length of command line arguments... 1572864
32checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
33checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
34checking for /usr/bin/ld option to reload object files... -r
35checking for objdump... objdump
36checking how to recognize dependent libraries... pass_all
37checking for dlltool... no
38checking how to associate runtime and link libraries... printf %s\n
39checking for ar... ar
40checking for archiver @FILE support... @
41checking for strip... strip
42checking for ranlib... ranlib
43checking command to parse /usr/bin/nm -B output from gcc object... ok
44checking for sysroot... no
45checking for a working dd... /usr/bin/dd
46checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
47checking for mt... no
48checking if : is a manifest tool... no
49checking how to run the C preprocessor... gcc -E
50checking for ANSI C header files... yes
51checking for sys/types.h... yes
52checking for sys/stat.h... yes
53checking for stdlib.h... yes
54checking for string.h... yes
55checking for memory.h... yes
56checking for strings.h... yes
57checking for inttypes.h... yes
58checking for stdint.h... yes
59checking for unistd.h... yes
60checking for dlfcn.h... yes
61checking for objdir... .libs
62checking if gcc supports -fno-rtti -fno-exceptions... no
63checking for gcc option to produce PIC... -fPIC -DPIC
64checking if gcc PIC flag -fPIC -DPIC works... yes
65checking if gcc static flag -static works... yes
66checking if gcc supports -c -o file.o... yes
67checking if gcc supports -c -o file.o... (cached) yes
68checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
69checking whether -lc should be explicitly linked in... no
70checking dynamic linker characteristics... GNU/Linux ld.so
71checking how to hardcode library paths into programs... immediate
72checking whether stripping libraries is possible... yes
73checking if libtool supports shared libraries... yes
74checking whether to build shared libraries... yes
75checking whether to build static libraries... no
76checking for g++... g++
77checking whether we are using the GNU C++ compiler... yes
78checking whether g++ accepts -g... yes
79checking dependency style of g++... gcc3
80checking how to run the C++ preprocessor... g++ -E
81checking for ld used by g++... /usr/bin/ld -m elf_x86_64
82checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
83checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
84checking for g++ option to produce PIC... -fPIC -DPIC
85checking if g++ PIC flag -fPIC -DPIC works... yes
86checking if g++ static flag -static works... no
87checking if g++ supports -c -o file.o... yes
88checking if g++ supports -c -o file.o... (cached) yes
89checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
90checking dynamic linker characteristics... (cached) GNU/Linux ld.so
91checking how to hardcode library paths into programs... immediate
92checking for xapian-config... /usr/local/bin/xapian-config
93checking /usr/local/bin/xapian-config works... yes
94checking whether to enable maintainer-specific portions of Makefiles... no
95checking for php-config... /usr/bin/php-config
96checking /usr/bin/php-config version... 5.4.16
97checking for PHP extension directory... /usr/lib64/php/modules
98checking for zend.h... yes
99checking for /usr/bin/php5... no
100checking for /usr/bin/php... /usr/bin/php
101checking for PHP path separator... :
102checking whether to use -fvisibility=hidden... yes
103configure: creating ./config.status
104config.status: creating Makefile
105config.status: creating xapian-version.h
106config.status: creating python/Makefile
107config.status: creating python/version.i
108config.status: creating php/Makefile
109config.status: creating java/Makefile
110config.status: creating java/native/Makefile
111config.status: creating java/org/xapian/Makefile
112config.status: creating java/org/xapian/errors/Makefile
113config.status: creating java/org/xapian/examples/Makefile
114config.status: creating java-swig/Makefile
115config.status: creating tcl8/Makefile
116config.status: creating tcl8/pkgIndex.tcl
117config.status: creating csharp/Makefile
118config.status: creating csharp/AssemblyInfo.cs
119config.status: creating ruby/Makefile
120config.status: creating perl/Makefile
121config.status: creating perl/util.i
122config.status: creating lua/Makefile
123config.status: creating xapian-bindings.spec
124config.status: creating config.h
125config.status: config.h is unchanged
126config.status: executing depfiles commands
127config.status: executing libtool commands
128
129*** Building bindings for languages: php
130
131[root@zara-mon xapian-bindings-1.2.21]# make
132make all-recursive
133make[1]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21'
134Making all in php
135make[2]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
136make all-am
137make[3]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
138/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -DSWIG_ZEND_ERROR_NORETURN=zend_error -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c -o xapian_wrap.lo `test -f 'php5/xapian_wrap.cc' || echo './'`php5/xapian_wrap.cc
139libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -DSWIG_ZEND_ERROR_NORETURN=zend_error -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c php5/xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o
140php5/xapian_wrap.cc: In member function ‘virtual Xapian::doccount SwigDirector_PostingSource::get_termfreq_min() const’:
141php5/xapian_wrap.cc:1970:1: warning: control reaches end of non-void function [-Wreturn-type]
142 }
143 ^
144php5/xapian_wrap.cc: In member function ‘virtual Xapian::doccount SwigDirector_PostingSource::get_termfreq_est() const’:
145php5/xapian_wrap.cc:1996:1: warning: control reaches end of non-void function [-Wreturn-type]
146 }
147 ^
148php5/xapian_wrap.cc: In member function ‘virtual Xapian::doccount SwigDirector_PostingSource::get_termfreq_max() const’:
149php5/xapian_wrap.cc:2022:1: warning: control reaches end of non-void function [-Wreturn-type]
150 }
151 ^
152php5/xapian_wrap.cc: In member function ‘virtual Xapian::weight SwigDirector_PostingSource::get_weight() const’:
153php5/xapian_wrap.cc:2048:1: warning: control reaches end of non-void function [-Wreturn-type]
154 }
155 ^
156php5/xapian_wrap.cc: In member function ‘virtual Xapian::docid SwigDirector_PostingSource::get_docid() const’:
157php5/xapian_wrap.cc:2074:1: warning: control reaches end of non-void function [-Wreturn-type]
158 }
159 ^
160php5/xapian_wrap.cc: In member function ‘virtual bool SwigDirector_PostingSource::check(Xapian::docid, Xapian::weight)’:
161php5/xapian_wrap.cc:2163:1: warning: control reaches end of non-void function [-Wreturn-type]
162 }
163 ^
164php5/xapian_wrap.cc: In member function ‘virtual bool SwigDirector_PostingSource::at_end() const’:
165php5/xapian_wrap.cc:2189:1: warning: control reaches end of non-void function [-Wreturn-type]
166 }
167 ^
168php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_PostingSource::name() const’:
169php5/xapian_wrap.cc:2221:1: warning: control reaches end of non-void function [-Wreturn-type]
170 }
171 ^
172php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_PostingSource::get_description() const’:
173php5/xapian_wrap.cc:2285:1: warning: control reaches end of non-void function [-Wreturn-type]
174 }
175 ^
176php5/xapian_wrap.cc: In member function ‘virtual bool SwigDirector_MatchDecider::operator()(const Xapian::Document&) const’:
177php5/xapian_wrap.cc:2322:1: warning: control reaches end of non-void function [-Wreturn-type]
178 }
179 ^
180php5/xapian_wrap.cc: In member function ‘virtual bool SwigDirector_ExpandDecider::operator()(const string&) const’:
181php5/xapian_wrap.cc:2362:1: warning: control reaches end of non-void function [-Wreturn-type]
182 }
183 ^
184php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_MatchSpy::name() const’:
185php5/xapian_wrap.cc:2435:1: warning: control reaches end of non-void function [-Wreturn-type]
186 }
187 ^
188php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_MatchSpy::get_description() const’:
189php5/xapian_wrap.cc:2507:1: warning: control reaches end of non-void function [-Wreturn-type]
190 }
191 ^
192php5/xapian_wrap.cc: In member function ‘virtual bool SwigDirector_Stopper::operator()(const string&) const’:
193php5/xapian_wrap.cc:2544:1: warning: control reaches end of non-void function [-Wreturn-type]
194 }
195 ^
196php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_Stopper::get_description() const’:
197php5/xapian_wrap.cc:2571:1: warning: control reaches end of non-void function [-Wreturn-type]
198 }
199 ^
200php5/xapian_wrap.cc: In member function ‘virtual Xapian::valueno SwigDirector_ValueRangeProcessor::operator()(std::string&, std::string&)’:
201php5/xapian_wrap.cc:2616:1: warning: control reaches end of non-void function [-Wreturn-type]
202 }
203 ^
204php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_StemImplementation::operator()(const string&)’:
205php5/xapian_wrap.cc:2654:1: warning: control reaches end of non-void function [-Wreturn-type]
206 }
207 ^
208php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_StemImplementation::get_description() const’:
209php5/xapian_wrap.cc:2678:1: warning: control reaches end of non-void function [-Wreturn-type]
210 }
211 ^
212php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_KeyMaker::operator()(const Xapian::Document&) const’:
213php5/xapian_wrap.cc:2713:1: warning: control reaches end of non-void function [-Wreturn-type]
214 }
215 ^
216php5/xapian_wrap.cc: In member function ‘virtual std::string SwigDirector_Compactor::resolve_duplicate_metadata(const string&, size_t, const string*)’:
217php5/xapian_wrap.cc:2796:1: warning: control reaches end of non-void function [-Wreturn-type]
218 }
219 ^
220mv -f .deps/xapian_wrap.Tpo .deps/xapian_wrap.Plo
221/bin/sh ../libtool --tag=CXX --mode=link g++ -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -DSWIG_ZEND_ERROR_NORETURN=zend_error -g -O2 -avoid-version -module -o xapian.la -rpath /usr/lib64/php/modules xapian_wrap.lo -L/usr/local/lib -lxapian -lstdc++
222libtool: link: rm -fr .libs/xapian.la .libs/xapian.lai .libs/xapian.so
223libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.2/crtbeginS.o .libs/xapian_wrap.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxapian.so -lz -luuid -L/usr/lib/gcc/x86_64-redhat-linux/4.8.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.2/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/crtn.o -g -O2 -Wl,-soname -Wl,xapian.so -o .libs/xapian.so
224libtool: link: ( cd ".libs" && rm -f "xapian.la" && ln -s "../xapian.la" "xapian.la" )
225make[3]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
226make[2]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21/php'
227make[2]: Entering directory `/root/harry/xapian/xapian-bindings-1.2.21'
228make[2]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21'
229make[1]: Leaving directory `/root/harry/xapian/xapian-bindings-1.2.21'
230[root@zara-mon xapian-bindings-1.2.21]#
231
232
233[root@zara-mon xapian-bindings-1.2.21]# uname -a
234Linux zara-mon 3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Sep 22 19:06:58 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
235[root@zara-mon xapian-bindings-1.2.21]#
236
237## DURING EXECUTION of the durpal website, I got these errors:
238(While searching for the string "FACTUUR" in the pdf documents)
239
240[root@zara-mon xapian-bindings-1.2.21]# tail /var/log/httpd/error_log
241[Fri Oct 09 10:12:03.046832 2015] [:error] [pid 19906] [client 13.41.46.31:1256] PHP Fatal error: No matching function for overloaded
242'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
243[Fri Oct 09 10:12:03.240609 2015] [:error] [pid 19906] [client 13.41.46.31:1256] PHP Fatal error: No matching function for overloaded
244'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
245[Fri Oct 09 11:31:09.668329 2015] [:error] [pid 19911] [client 13.41.46.31:1456] PHP Fatal error: No matching function for overloaded
246'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
247[Fri Oct 09 11:31:09.901593 2015] [:error] [pid 19911] [client 13.41.46.31:1456] PHP Fatal error: No matching function for overloaded
248'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
249[Fri Oct 09 11:45:28.383409 2015] [:error] [pid 19895] [client 13.41.46.31:1470] PHP Fatal error: No matching function for overloaded
250 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
251[Fri Oct 09 11:45:29.509825 2015] [:error] [pid 19895] [client 13.41.46.31:1470] PHP Fatal error: No matching function for overloaded
252'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=search/xapian/FACTUUR
253[root@zara-mon xapian-bindings-1.2.21]# tail /var/log/httpd/error_log
254
255
256## When I try to create an index in drupal, I got this error:
257
258[Fri Oct 09 12:11:25.574069 2015] [:error] [pid 19899] [client 13.41.46.31:1545] PHP Fatal error: No matching function for overloaded
259 'QueryParser_parse_query' in /usr/local/share/php5/xapian.php on line 2930, referer: http://13.41.46.181/dms/?q=admin/config/search/search_api