build failure: dist/include/mozilla/TypeTraits.h:392:8: error: partial specialization ‘struct mozilla::IsConst<T>’ does not specialize any template arguments;
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
People
(Reporter: ishikawa, Unassigned)
Details
Full error message is:
In file included from /NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/Assertions.h:418,
from /NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/ArrayUtils.h:14,
from /NEW-SSD/NREF-COMM-CENTRAL/mozilla/mfbt/tests/TestAlgorithm.cpp:8:
/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/TypeTraits.h: At global scope:
/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/TypeTraits.h:392:8: error: partial specialization ‘struct mozilla::IsConst<T>’ does not specialize any template arguments; to define the primary template, remove the template argument list
392 | struct IsConst<const T> : TrueType {};
| ^~~~~~~~~~~~~~~~
/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/TypeTraits.h:389:8: note: primary template here
389 | struct IsConst : FalseType {};
| ^~~~~~~
So this is NOT TB-specific issue, I suppose.
This is the compiler line that invoked the compilation of the said source file:
/usr/bin/ccache /usr/bin/g++-9 -std=gnu++17 -o TestAlgorithm.o -c -I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/system_wrappers -include /NEW-SSD/NREF-COMM-CENTRAL/mozilla/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DDEBUG=1 -DIMPL_MFBT -I/NEW-SSD/NREF-COMM-CENTRAL/mozilla/mfbt/tests -I/NEW-SSD/moz-obj-dir/objdir-tb3/mfbt/tests -I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include -I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/testing -I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/nspr -I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /NEW-SSD/moz-obj-dir/objdir-tb3/mozilla-config.h -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-error=multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-overflow=2 -fno-sized-deallocation -fno-aligned-new -fno-builtin-strlen -Wl,--gdb-index -Dfdatasync=fdatasync -DDEBUG_4GB_CHECK -DUSEHELGRIND=1 -DUSEVALGRIND=1 -DDEBUG -g -gsplit-dwarf -Werror=sign-compare -Werror=unused-result -Werror=unused-variable -Werror=format -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -g -Og -fvar-tracking -gdwarf-4 -fvar-tracking-assignments -freorder-blocks -fno-omit-frame-pointer -funwind-tables -Wno-error=shadow -MD -MP -MF .deps/TestAlgorithm.o.pp -fdiagnostics-color /NEW-SSD/NREF-COMM-CENTRAL/mozilla/mfbt/tests/TestAlgorithm.cpp
I have not touched the local source tree for about a week and just updated it this morning, and the error happened on top the other error I reported in
bug 1603982
https://bugzilla.mozilla.org/show_bug.cgi?id=1603982
I used the patch in bug 1602816 to overcome the config issue (INCLUDED file missing, etc.).
https://bugzilla.mozilla.org/show_bug.cgi?id=1602816
However, now I got the above error. It looks that the pending Christmas and other holidays, this may not be sorted out in a short time :-(
Comment 1•4 years ago
|
||
This could be a dupe of bug 1603649 as this is the other bustage we have actually. Back-out of the two patches in M-C let me build successfully.
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #1)
This could be a dupe of bug 1603649 as this is the other bustage we have actually. Back-out of the two patches in M-C let me build successfully.
Can you kindly let mek know which two M-C patches you removed?
Or are they visible on treeherder job(s)?
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
Trunk is back in operation, and no compile issue. Please update to m-c and c-c tip.
Reporter | ||
Comment 5•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #4)
Trunk is back in operation, and no compile issue. Please update to m-c and c-c tip.
Thank you. I did update to m-c and c-c tip and the build succeeded.
Description
•