| Anonymous | Login | Signup for a new account | 2013-06-19 08:54 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||
| 0000881 | Sphinx | general | public | 2011-07-20 15:14 | 2011-08-18 18:09 | ||
| Reporter | capucinus | ||||||
| Assigned To | Tomat | ||||||
| Priority | normal | Severity | block | Reproducibility | always | ||
| Status | closed | Resolution | fixed | ||||
| Platform | Intel | OS | MacOS X | OS Version | 10.6.7 | ||
| Product Version | 2.0.2-dev | ||||||
| Target Version | 2.0.2-dev | Fixed in Version | 2.0.2-dev | ||||
| Summary | 0000881: Cannot build sphinx on MacOS X (v.2.0.2-dev; missing pthread_mutex_timedlock) | ||||||
| Description | Making all in src /bin/sh svnxrev.sh .. svnxrev: build tag r2894 unchanged make all-am g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinx.o -MD -MP -MF .deps/sphinx.Tpo -c -o sphinx.o sphinx.cpp In file included from sphinx.h:40, from sphinx.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinx.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinx.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinx.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition sphinx.cpp: In destructor ‘virtual CSphQueryResult::~CSphQueryResult()’: sphinx.cpp:6059: warning: deleting ‘void*’ is undefined sphinx.cpp: In member function ‘virtual int CSphIndex_VLN::DebugCheck(FILE*)’: sphinx.cpp:15013: warning: format ‘%lli’ expects type ‘long long int’, but argument 5 has type ‘int’ sphinx.cpp:15013: warning: format ‘%lli’ expects type ‘long long int’, but argument 6 has type ‘int’ sphinx.cpp:15035: warning: format ‘%lli’ expects type ‘long long int’, but argument 5 has type ‘int’ sphinx.cpp:15035: warning: format ‘%lli’ expects type ‘long long int’, but argument 6 has type ‘int’ sphinx.cpp:15533: warning: format ‘%u’ expects type ‘unsigned int’, but argument 8 has type ‘uint64_t’ sphinx.cpp:15533: warning: format ‘%u’ expects type ‘unsigned int’, but argument 10 has type ‘uint64_t’ mv -f .deps/sphinx.Tpo .deps/sphinx.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxexcerpt.o -MD -MP -MF .deps/sphinxexcerpt.Tpo -c -o sphinxexcerpt.o sphinxexcerpt.cpp In file included from sphinx.h:40, from sphinxexcerpt.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxexcerpt.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxexcerpt.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxexcerpt.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition sphinxexcerpt.cpp: In member function ‘void ExcerptGen_c::TokenizeDocument(char*, int, CSphDict*, ISphTokenizer*, bool, const ExcerptQuery_t&, const CSphIndexSettings&)’: sphinxexcerpt.cpp:811: warning: comparison between signed and unsigned integer expressions sphinxexcerpt.cpp: In function ‘void TokenizeDocument(TokenFunctorTraits_c&, const CSphHTMLStripper*)’: sphinxexcerpt.cpp:2460: warning: comparison between signed and unsigned integer expressions sphinxexcerpt.cpp:2574: warning: comparison between signed and unsigned integer expressions sphinxexcerpt.cpp:2583: warning: comparison between signed and unsigned integer expressions sphinxexcerpt.cpp: In constructor ‘SnippetZoneChecker_c::SnippetZoneChecker_c(const CSphVector<long long unsigned int, CSphVectorPolicy<long long unsigned int> >&, const SmallStringHash_T<int>&, const CSphVector<CSphString, CSphVectorPolicy<CSphString> >&)’: sphinxexcerpt.cpp:1812: warning: ‘tRefZone.DocQueryZonePair_t::m_iQuery’ is used uninitialized in this function mv -f .deps/sphinxexcerpt.Tpo .deps/sphinxexcerpt.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxquery.o -MD -MP -MF .deps/sphinxquery.Tpo -c -o sphinxquery.o sphinxquery.cpp In file included from sphinx.h:40, from sphinxquery.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxquery.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxquery.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxquery.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition mv -f .deps/sphinxquery.Tpo .deps/sphinxquery.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxsoundex.o -MD -MP -MF .deps/sphinxsoundex.Tpo -c -o sphinxsoundex.o sphinxsoundex.cpp In file included from sphinx.h:40, from sphinxsoundex.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxsoundex.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxsoundex.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxsoundex.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition mv -f .deps/sphinxsoundex.Tpo .deps/sphinxsoundex.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxmetaphone.o -MD -MP -MF .deps/sphinxmetaphone.Tpo -c -o sphinxmetaphone.o sphinxmetaphone.cpp In file included from sphinx.h:40, from sphinxmetaphone.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxmetaphone.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxmetaphone.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxmetaphone.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition mv -f .deps/sphinxmetaphone.Tpo .deps/sphinxmetaphone.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemen.o -MD -MP -MF .deps/sphinxstemen.Tpo -c -o sphinxstemen.o sphinxstemen.cpp In file included from sphinx.h:40, from sphinxstemen.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstemen.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxstemen.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstemen.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition mv -f .deps/sphinxstemen.Tpo .deps/sphinxstemen.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemru.o -MD -MP -MF .deps/sphinxstemru.Tpo -c -o sphinxstemru.o sphinxstemru.cpp In file included from sphinx.h:40, from sphinxstemru.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstemru.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxstemru.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstemru.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition mv -f .deps/sphinxstemru.Tpo .deps/sphinxstemru.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstemcz.o -MD -MP -MF .deps/sphinxstemcz.Tpo -c -o sphinxstemcz.o sphinxstemcz.cpp In file included from sphinx.h:40, from sphinxstemcz.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstemcz.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxstemcz.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstemcz.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition mv -f .deps/sphinxstemcz.Tpo .deps/sphinxstemcz.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxutils.o -MD -MP -MF .deps/sphinxutils.Tpo -c -o sphinxutils.o sphinxutils.cpp In file included from sphinx.h:40, from sphinxutils.cpp:19: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxutils.cpp:19: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxutils.cpp:19: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxutils.cpp:19: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition mv -f .deps/sphinxutils.Tpo .deps/sphinxutils.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cpp mv -f .deps/md5.Tpo .deps/md5.Po g++ -DHAVE_CONFIG_H -I. -I../config -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/opt/local/include/mysql5/mysql -pipe -fPIC -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -I/opt/local/include -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinxstd.o -MD -MP -MF .deps/sphinxstd.Tpo -c -o sphinxstd.o sphinxstd.cpp In file included from sphinx.h:40, from sphinxstd.cpp:16: sphinxstd.h:157:1: warning: "UINT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstd.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:138:1: warning: this is the location of the previous definition In file included from sphinx.h:40, from sphinxstd.cpp:16: sphinxstd.h:158:1: warning: "INT64_MAX" redefined In file included from sphinxstd.h:49, from sphinx.h:40, from sphinxstd.cpp:16: /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:122:1: warning: this is the location of the previous definition sphinxstd.cpp: In member function ‘bool CSphProcessSharedMutex::TimedLock(int) const’: sphinxstd.cpp:784: error: ‘pthread_mutex_timedlock’ was not declared in this scope make[2]: *** [sphinxstd.o] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 | ||||||
| Steps To Reproduce | configure make | ||||||
| Tags | No tags attached. | ||||||
| Attached Files | |||||||
Notes |
|
|
(0001749) Tomat (manager) 2011-07-20 15:37 |
Could you provide the gcc and libc versions? |
|
(0001750) capucinus (reporter) 2011-07-20 15:56 |
$ gcc -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) It seems that MacOS doesn't implement pthread_mutex_timedlock call: http://lists.apple.com/archives/Unix-porting/2008/Jan/msg00013.html [^] |
|
(0001751) stevenou (reporter) 2011-07-23 08:17 |
I'm also getting this error... Even worse is the fact 2.0.1b doesn't work on OS X either. What is the alternative for us on OS X before this gets fixed? |
|
(0001752) pdvor (reporter) 2011-07-23 20:49 edited on: 2011-07-23 20:51 |
Same problem here. OS X 10.7 Lion |
|
(0001753) Tomat (manager) 2011-07-24 08:39 |
This bug is confirmed and fix is planned. However you could use r2887 or use trunk version with reversed changes from r2888. |
|
(0001774) mhuggins (reporter) 2011-07-28 15:04 |
Having the same problem on OS X 10.6.8. Any indication about when this might be fixed? Thanks! |
|
(0001792) olivier (reporter) 2011-08-09 10:41 |
Same here with 10.6.8, please provide a snapshot or a new beta, thanks ! |
|
(0001806) Tomat (manager) 2011-08-11 21:21 |
fixed at r2913 |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-07-20 15:14 | capucinus | New Issue | |
| 2011-07-20 15:37 | Tomat | Note Added: 0001749 | |
| 2011-07-20 15:56 | capucinus | Note Added: 0001750 | |
| 2011-07-23 08:17 | stevenou | Note Added: 0001751 | |
| 2011-07-23 20:49 | pdvor | Note Added: 0001752 | |
| 2011-07-23 20:51 | pdvor | Note Edited: 0001752 | View Revisions |
| 2011-07-23 21:17 | pdvor | Issue Monitored: pdvor | |
| 2011-07-24 08:36 | Tomat | Assigned To | => Tomat |
| 2011-07-24 08:36 | Tomat | Status | new => confirmed |
| 2011-07-24 08:36 | Tomat | Target Version | => 2.0.2-dev |
| 2011-07-24 08:39 | Tomat | Note Added: 0001753 | |
| 2011-07-28 15:04 | mhuggins | Note Added: 0001774 | |
| 2011-08-09 10:41 | olivier | Note Added: 0001792 | |
| 2011-08-11 19:18 | shodan | Relationship added | has duplicate 0000898 |
| 2011-08-11 19:19 | shodan | Summary | Cannot build sphinx on MacOS X => Cannot build sphinx on MacOS X (v.2.0.2-dev; missing pthread_mutex_timedlock) |
| 2011-08-11 21:21 | Tomat | Note Added: 0001806 | |
| 2011-08-11 21:21 | Tomat | Status | confirmed => resolved |
| 2011-08-11 21:21 | Tomat | Fixed in Version | => 2.0.2-dev |
| 2011-08-11 21:21 | Tomat | Resolution | open => fixed |
| 2011-08-18 18:09 | Tomat | Status | resolved => closed |
| Copyright © 2000 - 2010 MantisBT Group |




