Re: [Cppcms-users] Make Failed on Mac OS X Lion (Version 10.7.4)
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-07-05 07:13:25
|
http_timeouts_test_write was fixed two month ago in trunk - it is a bug in unit test. Nothing to worry about. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Isaiah Oloyede <isa...@gm...> >To: Artyom Beilis <art...@ya...>; cpp...@li... >Sent: Wednesday, July 4, 2012 11:41 PM >Subject: Re: [Cppcms-users] Make Failed on Mac OS X Lion (Version 10.7.4) > > >Thank you very much. It worked. I did this in predefined_formatters.h > > case fmt_spell: > ap.reset(new icu::RuleBasedNumberFormat(icu::URBNF_SPELLOUT,locale_,err)); > break; > case fmt_ord: > ap.reset(new icu::RuleBasedNumberFormat(icu::URBNF_ORDINAL,locale_,err)); > break; > >I have created a ticket for it to remind you to apply the patch. > >However, I was running the tests and I got one failed test. > > >99% tests passed, 1 tests failed out of 96 > >Total Test time (real) = 260.37 sec > >The following tests FAILED: > 26 - http_timeouts_test_write (Failed) >Errors while running CTest >make: *** [test] Error 8 > >I read your comments elsewhere ( http://www.digipedia.pl/usenet/thread/14911/1257/ ) that it is nothing to worry about. Have you been able to find out why it fails? > > > >On Wed, Jul 4, 2012 at 2:41 PM, Artyom Beilis <art...@ya...> wrote: > >This is something that was fixed in Boost.Trunk - hadn't merged it yet to CppCMS, this >>was caused by latest changes in icu-4.9 where using namespace icu was removed globally. >> >> >> >>You can fix it by chaging URBNF_SPELLOUT to icu::URBNF_SPELLOUT and >>URBNF_ORDINAL to icu::URBNF_ORDINAL or by just adding "using namespace icu" to this function >> >> >>Can you please fill the ticket so I'll remember to merge the fix? >> >> >>Thanks, >> >>Artyom Beilis >>-------------- >>CppCMS - C++ Web Framework: http://cppcms.com/ >>CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> >> >>>________________________________ >>> From: Isaiah Oloyede <isa...@gm...> >>>To: cpp...@li... >>>Sent: Wednesday, July 4, 2012 9:54 PM >>>Subject: [Cppcms-users] Make Failed on Mac OS X Lion (Version 10.7.4) >>> >>> >>> >>>Building cppcms failed on my MacBook Pro. >>>I have no idea what I am doing wrongly. I think I have all the requirements installed. >>> >>> * GCC version 4.8.0 20120704 (experimental) (GCC) >>> * Cmake Version is 2.8-7 >>> * Zlib library >>> * PCRE library. >>> * Python Version 2.7 >>> * ICU Library >>> * gcryptI would appreciate any guidance on what I need to do differently. Thank you very much. >>> >>>This is the build log. >>> >>> >>>Isaiah-Oloyedes-MacBook-Pro:build isaiaholoyede$ cmake -DCMAKE_INCLUDE_PATH=/opt/local/include -DCMAKE_LIBRARY_PATH=/opt/local/lib -DCMAKE_INSTALL_PREFIX=/opt/local .. >>>>-- The C compiler identification is GNU >>>>-- The CXX compiler identification is GNU >>>>-- Checking whether C compiler has -isysroot >>>>-- Checking whether C compiler has -isysroot - yes >>>>-- Checking whether C compiler supports OSX deployment target flag >>>>-- Checking whether C compiler supports OSX deployment target flag - yes >>>>-- Check for working C compiler: /opt/local/bin/gcc >>>>-- Check for working C compiler: /opt/local/bin/gcc -- works >>>>-- Detecting C compiler ABI info >>>>-- Detecting C compiler ABI info - done >>>>-- Checking whether CXX compiler has -isysroot >>>>-- Checking whether CXX compiler has -isysroot - yes >>>>-- Checking whether CXX compiler supports OSX deployment target flag >>>>-- Checking whether CXX compiler supports OSX deployment target flag - yes >>>>-- Check for working CXX compiler: /opt/local/bin/c++ >>>>-- Check for working CXX compiler: /opt/local/bin/c++ -- works >>>>-- Detecting CXX compiler ABI info >>>>-- Detecting CXX compiler ABI info - done >>>>CMake Warning at /Applications/CMake 2.8-7.app/Contents/share/cmake-2.8/Modules/CPack.cmake:236 (MESSAGE): >>>> CPack.cmake has already been included!! >>>>Call Stack (most recent call first): >>>> booster/CMakeLists.txt:14 (include) >>>> >>>> >>>>-- Looking for ICU libraries >>>>-- ICU Found, building booster locale >>>>-- Performing Test LIBC_ICONV >>>>-- Performing Test LIBC_ICONV - Failed >>>>-- Performing Test GCC_IS_GCC4 >>>>-- Performing Test GCC_IS_GCC4 - Success >>>>-- Looking for dlopen >>>>-- Looking for dlopen - found >>>>-- Looking for socket >>>>-- Looking for socket - found >>>>-- Looking for gethostbyname >>>>-- Looking for gethostbyname - found >>>>-- Performing Test BOOSTER_HAS_GCC_SYNC >>>>-- Performing Test BOOSTER_HAS_GCC_SYNC - Success >>>>-- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD >>>>-- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed >>>>-- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD >>>>-- Performing Test BOOSTER_HAVE_GCC_EXT_EXCHANGE_AND_ADD - Success >>>>-- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC >>>>-- Performing Test BOOSTER_HAVE_FREEBSD_ATOMIC - Failed >>>>-- Performing Test BOOSTER_HAVE_EXECINFO >>>>-- Performing Test BOOSTER_HAVE_EXECINFO - Success >>>>-- Performing Test BOOSTER_HAVE_UNWIND_BACKTRACE >>>>-- Performing Test BOOSTER_HAVE_UNWIND_BACKTRACE - Success >>>>-- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC >>>>-- Performing Test BOOSTER_HAVE_SOLARIS_ATOMIC - Failed >>>>-- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC >>>>-- Performing Test BOOSTER_HAVE_MAC_OS_X_ATOMIC - Success >>>>-- Performing Test BOOSTER_HAVE_STDINT_H >>>>-- Performing Test BOOSTER_HAVE_STDINT_H - Success >>>>-- Performing Test BOOSTER_HAVE_INTTYPES_H >>>>-- Performing Test BOOSTER_HAVE_INTTYPES_H - Success >>>>-- Performing Test BOOSTER_AIO_HAVE_PF_INET6 >>>>-- Performing Test BOOSTER_AIO_HAVE_PF_INET6 - Success >>>>-- Performing Test CPPCMS_HAVE_STDINT_H >>>>-- Performing Test CPPCMS_HAVE_STDINT_H - Success >>>>-- Performing Test CPPCMS_HAVE_INTTYPES_H >>>>-- Performing Test CPPCMS_HAVE_INTTYPES_H - Success >>>>-- Looking for atoll >>>>-- Looking for atoll - found >>>>-- Looking for _atoi64 >>>>-- Looking for _atoi64 - not found >>>>-- Looking for snprintf >>>>-- Looking for snprintf - found >>>>-- Looking for stat >>>>-- Looking for stat - found >>>>-- Looking for _stat >>>>-- Looking for _stat - not found >>>>-- Performing Test CPPCMS_HAVE_STD_WSTRING >>>>-- Performing Test CPPCMS_HAVE_STD_WSTRING - Success >>>>-- Performing Test CPPCMS_HAVE_BSD_TM >>>>-- Performing Test CPPCMS_HAVE_BSD_TM - Success >>>>-- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING >>>>-- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed >>>>-- Performing Test CPPCMS_HAVE_CPP_0X_AUTO >>>>-- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed >>>>-- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE >>>>-- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed >>>>-- Performing Test CPPCMS_HAVE_GCC_TYPEOF >>>>-- Performing Test CPPCMS_HAVE_GCC_TYPEOF - Success >>>>-- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF >>>>-- Performing Test CPPCMS_HAVE_UNDERSCORE_TYPEOF - Success >>>>-- Looking for dlopen >>>>-- Looking for dlopen - found >>>>-- Looking for socket >>>>-- Looking for socket - found >>>>-- Looking for gethostbyname >>>>-- Looking for gethostbyname - found >>>>-- Looking for canonicalize_file_name >>>>-- Looking for canonicalize_file_name - not found >>>>-- Configuring done >>>>-- Generating done >>>>-- Build files have been written to: /Users/isaiaholoyede/Downloads/cppcms/build >>>>Isaiah-Oloyedes-MacBook-Pro:build isaiaholoyede$ make >>>>Scanning dependencies of target booster >>>>[ 0%] Building CXX object booster/CMakeFiles/booster.dir/lib/ptime/src/posix_time.cpp.o >>>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/ptime/src/ctime.cpp.o >>>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/regex/src/pcre_regex.cpp.o >>>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/system/src/posix_error.cpp.o >>>>[ 2%] Building CXX object booster/CMakeFiles/booster.dir/lib/system/src/windows_error.cpp.o >>>>[ 2%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/aio_category.cpp.o >>>>[ 2%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/deadline_timer.cpp.o >>>>[ 3%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/endpoint.cpp.o >>>>[ 3%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/io_service.cpp.o >>>>[ 3%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/reactor.cpp.o >>>>[ 4%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/select_iterrupter.cpp.o >>>>[ 4%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/basic_io_device.cpp.o >>>>[ 4%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/basic_socket.cpp.o >>>>[ 5%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/acceptor.cpp.o >>>>[ 5%] Building CXX object booster/CMakeFiles/booster.dir/lib/aio/src/stream_socket.cpp.o >>>>[ 5%] Building CXX object booster/CMakeFiles/booster.dir/lib/smart_ptr/src/sp_counted_base.cpp.o >>>>[ 6%] Building CXX object booster/CMakeFiles/booster.dir/lib/smart_ptr/src/atomic_counter.cpp.o >>>>[ 6%] Building CXX object booster/CMakeFiles/booster.dir/lib/shared_object/src/shared_object.cpp.o >>>>[ 6%] Building CXX object booster/CMakeFiles/booster.dir/lib/log/src/log.cpp.o >>>>[ 6%] Building CXX object booster/CMakeFiles/booster.dir/lib/iostreams/src/streambuf.cpp.o >>>>[ 7%] Building CXX object booster/CMakeFiles/booster.dir/lib/nowide/src/convert.cpp.o >>>>[ 7%] Building CXX object booster/CMakeFiles/booster.dir/lib/backtrace/src/backtrace.cpp.o >>>>[ 7%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/encoding/codepage.cpp.o >>>>[ 8%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/date_time.cpp.o >>>>[ 8%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/format.cpp.o >>>>[ 8%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/formatting.cpp.o >>>>[ 9%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/generator.cpp.o >>>>[ 9%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/ids.cpp.o >>>>In file included from /Users/isaiaholoyede/Downloads/cppcms/booster/./booster/locale/boundary.h:13:0, >>>> from /Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/shared/ids.cpp:9: >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/./booster/locale/boundary/segment.h: In function ‘int booster::locale::boundary::details::compare_text(LeftIterator, LeftIterator, RightIterator, RightIterator)’: >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/./booster/locale/boundary/segment.h:30:35: warning: typedef ‘right_iterator’ locally defined but not used [-Wunused-local-typedefs] >>>> typedef RightIterator right_iterator; >>>> ^ >>>>[ 9%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/localization_backend.cpp.o >>>>[ 10%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/message.cpp.o >>>>[ 10%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/shared/mo_lambda.cpp.o >>>>[ 10%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/util/codecvt_converter.cpp.o >>>>[ 11%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/util/default_locale.cpp.o >>>>[ 11%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/util/info.cpp.o >>>>[ 11%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/util/locale_data.cpp.o >>>>[ 12%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/boundary.cpp.o >>>>In file included from /Users/isaiaholoyede/Downloads/cppcms/booster/./booster/locale/boundary.h:13:0, >>>> from /Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/boundary.cpp:9: >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/./booster/locale/boundary/segment.h: In function ‘int booster::locale::boundary::details::compare_text(LeftIterator, LeftIterator, RightIterator, RightIterator)’: >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/./booster/locale/boundary/segment.h:30:35: warning: typedef ‘right_iterator’ locally defined but not used [-Wunused-local-typedefs] >>>> typedef RightIterator right_iterator; >>>> ^ >>>>[ 12%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/codecvt.cpp.o >>>>[ 12%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/collator.cpp.o >>>>[ 12%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/conversion.cpp.o >>>>[ 13%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/date_time.cpp.o >>>>[ 13%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>>>In file included from /Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/formatter.cpp:25:0: >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/predefined_formatters.h: In member function ‘icu_49::NumberFormat* booster::locale::impl_icu::icu_formatters_cache::number_format(booster::locale::impl_icu::icu_formatters_cache::fmt_type) const’: >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/predefined_formatters.h:127:61: error: ‘URBNF_SPELLOUT’ was not declared in this scope >>>> ap.reset(new icu::RuleBasedNumberFormat(URBNF_SPELLOUT,locale_,err)); >>>> ^ >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/predefined_formatters.h:127:61: note: suggested alternative: >>>>In file included from /Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/formatter.cpp:16:0: >>>>/usr/local/include/unicode/rbnf.h:49:5: note: ‘URBNF_SPELLOUT’ >>>> URBNF_SPELLOUT, >>>> ^ >>>>In file included from /Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/formatter.cpp:25:0: >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/predefined_formatters.h:130:61: error: ‘URBNF_ORDINAL’ was not declared in this scope >>>> ap.reset(new icu::RuleBasedNumberFormat(URBNF_ORDINAL,locale_,err)); >>>> ^ >>>>/Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/predefined_formatters.h:130:61: note: suggested alternative: >>>>In file included from /Users/isaiaholoyede/Downloads/cppcms/booster/lib/locale/src/icu/formatter.cpp:16:0: >>>>/usr/local/include/unicode/rbnf.h:50:5: note: ‘URBNF_ORDINAL’ >>>> URBNF_ORDINAL, >>>> ^ >>>>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>>>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>>>make: *** [all] Error 2 >>>> >>> >>>-- >>>Oloyede, Isaiah O >>>KC2SVH >>>"Gratitude is the currency of future demands." - Isaiah Oloyede >>> >>>------------------------------------------------------------------------------ >>>Live Security Virtual Conference >>>Exclusive live event will cover all the ways today's security and >>>threat landscape has changed and how IT managers can respond. Discussions >>>will include endpoint security, mobile security and the latest in malware >>>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>_______________________________________________ >>>Cppcms-users mailing list >>>Cpp...@li... >>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >>> >>------------------------------------------------------------------------------ >>Live Security Virtual Conference >>Exclusive live event will cover all the ways today's security and >>threat landscape has changed and how IT managers can respond. Discussions >>will include endpoint security, mobile security and the latest in malware >>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>_______________________________________________ >>Cppcms-users mailing list >>Cpp...@li... >>https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > >-- >Oloyede, Isaiah O >KC2SVH >"Gratitude is the currency of future demands." - Isaiah Oloyede > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |