[tor-bugs] #25314 [Applications/Tor Mail]: Build error during Windows (32- and 64-bit builds) of Thunderbird
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Feb 21 02:21:43 UTC 2018
#25314: Build error during Windows (32- and 64-bit builds) of Thunderbird
---------------------------------------+--------------------
Reporter: sukhbir | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Mail | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
---------------------------------------+--------------------
When building Thunderbird for Windows (32- and 64-bit builds), we get the
following error:
{{{
20:38.34 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp: In static
member function 'static nsresult nsMsgSearchOnlineMail::Encode(nsCString&,
nsISupportsArray*, const char16_t*)':
20:38.34 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:122:43: error:
call of overloaded 'NS_IsAscii(char16ptr_t)' is ambiguous
20:38.34 asciiOnly = NS_IsAscii(pchar.get());
20:38.34 ^
20:38.34 In file included from /var/tmp/build/thunderbird-48f960ae7db5
/obj-mingw/dist/include/msgCore.h:15:0,
20:38.35 from /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:5:
20:38.35 /var/tmp/build/thunderbird-48f960ae7db5/obj-
mingw/dist/include/nsCRTGlue.h:101:6: note: candidate: bool
NS_IsAscii(char16_t)
20:38.35 bool NS_IsAscii(char16_t aChar);
20:38.35 ^
20:38.35 /var/tmp/build/thunderbird-48f960ae7db5/obj-
mingw/dist/include/nsCRTGlue.h:102:6: note: candidate: bool
NS_IsAscii(const char16_t*)
20:38.35 bool NS_IsAscii(const char16_t* aString);
20:38.35 ^
20:38.35 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:131:48: error:
operands to ?: have different types 'char16ptr_t' and 'const char16_t*'
20:38.35 char *csname = GetImapCharsetParam(asciiOnly ?
usAsciiCharSet.get() : destCharset);
20:38.35 ^
20:38.35 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:131:48: note:
and each type can be converted to the other
20:38.35 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:136:15: error:
operands to ?: have different types 'char16ptr_t' and 'const char16_t*'
20:38.35 asciiOnly ? usAsciiCharSet.get(): destCharset,
20:38.35 ^
20:38.35 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:136:15: note:
and each type can be converted to the other
20:38.35 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:137:15: error:
operands to ?: have different types 'char16ptr_t' and 'const char16_t*'
20:38.35 asciiOnly ? usAsciiCharSet.get(): destCharset, false);
20:38.35 ^
20:38.35 /var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp:137:15: note:
and each type can be converted to the other
20:38.40
20:38.40 In the directory /var/tmp/build/thunderbird-48f960ae7db5/obj-
mingw/mailnews/base/search/src
20:38.40 The following command failed to execute properly:
20:38.40 /var/tmp/dist/mingw-w64/helpers/x86_64-w64-mingw32-g++
-std=gnu++11 -mwindows -o nsMsgImapSearch.o -c -DNDEBUG=1 -DTRIMMED=1
-DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API
-DIMPL_LIBXUL -I/var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src -I/var/tmp/build/thunderbird-
48f960ae7db5/obj-mingw/mailnews/base/search/src -I/var/tmp/build
/thunderbird-48f960ae7db5/obj-mingw/dist/include -I/var/tmp/build
/thunderbird-48f960ae7db5/obj-mingw/dist/include/nspr -I/var/tmp/build
/thunderbird-48f960ae7db5/obj-mingw/dist/include/nss -DMOZILLA_CLIENT
-include /var/tmp/build/thunderbird-48f960ae7db5/obj-mingw/mozilla-
config.h -MD -MP -MF .deps/nsMsgImapSearch.o.pp -Wall -Wc++11-compat
-Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith
-Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-
invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error
=deprecated-declarations -Wno-error=array-bounds -Wno-format -fno-
lifetime-dse -fno-exceptions -fno-strict-aliasing -mms-bitfields -fno-rtti
-fno-exceptions -fno-math-errno -pipe -g -O -fomit-frame-pointer
/var/tmp/build/thunderbird-
48f960ae7db5/mailnews/base/search/src/nsMsgImapSearch.cpp
20:38.40 /var/tmp/build/thunderbird-
48f960ae7db5/mozilla/config/rules.mk:951: recipe for target
'nsMsgImapSearch.o' failed
20:38.40 make[4]: *** [nsMsgImapSearch.o] Error 1
20:38.40 /var/tmp/build/thunderbird-
48f960ae7db5/mozilla/config/recurse.mk:71: recipe for target
'mailnews/base/search/src/target' failed
20:38.40 make[3]: *** [mailnews/base/search/src/target] Error 2
20:38.40 make[3]: *** Waiting for unfinished jobs....
20:46.65 libmsgbsutl_s.a.desc
20:46.71 /var/tmp/build/thunderbird-
48f960ae7db5/mozilla/config/recurse.mk:32: recipe for target 'compile'
failed
20:46.71 make[2]: *** [compile] Error 2
20:46.71 /var/tmp/build/thunderbird-
48f960ae7db5/mozilla/config/rules.mk:523: recipe for target 'default'
failed
20:46.71 make[1]: *** [default] Error 2
20:46.71 client.mk:397: recipe for target 'build' failed
20:46.71 make: *** [build] Error 2
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25314>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list