>
>
> Hello Adrian,
>
> update on the current progress:
>
> rustc_1.30.0, rustc_1.31.0 and rustc_1.32.0 are crashing on my machine
> during configure or later during rust building.
> rustc_1.33.0 and rustc_1.35.0 seem to work, so when went with
> rustc_1.35.0, since rustc_1.33.0 has the same constraints with missing_docs
> in place.
> llvm stayed at 11 for now.
>
> As stated above i removed #![deny(missing_docs)] from
> servo/components/style/lib.rs and servo/components/style_traits/lib.rs
> The rust part compiled without errors it seems (unsure if a second rust
> part is coming later in the build).
>
> Now after 14 hours of compile time the errors below will appear.
> Have to search if there is a known solution.
>
> However this is now getting somewhat tedious as it seems that i can not
> just apply a change and test it by continuing the build.
> sbuild will always start the building from scratch.
>
> Is there a way around restarting the whole build?
>
> Regards,
> Connor
>
>
>
For the last error, i applied a quick and dirty fix i found here - for
compiling problems with nss 3.66:
https://bugs.archlinux.org/task/71113
Now i have gotten the following error thrown:
/usr/bin/g++ -o ProcessedStack.o -c
-I/<>/build-browser/dist/stl_wrappers
-I/<>/build-browser/dist/system_wrappers -include
/<>/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1
-DOS_LINUX=1 '-DMOZ_APP_VERSION="62.0.3"' -DSTATIC_EXPORTABLE_JS_API
-DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-I/<>/toolkit/components/telemetry
-I/<>/build-browser/toolkit/components/telemetry
-I/<>/build-browser/ipc/ipdl/_ipdlheaders
-I/<>/ipc/chromium/src -I/<>/ipc/glue
-I/<>/xpcom/build -I/<>/xpcom/threads
-I/<>/build-browser/dist/include -I/usr/include/nspr
-I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include
/<>/build-browser/mozilla-config.h -Wdate-time
-D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall
-Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith
-Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings
-Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond
-Wimplicit-fallthrough -Wno-error=maybe-uninitialized
-Wno-error=deprecated-declarations -Wno-error=array-bounds
-Wno-error=free-nonheap-object -Wno-error=multistatement-macros
-Wno-error=class-memaccess -Wformat -Wformat-overflow=2
-fno-sized-deallocation -fstack-protector-strong -Wformat
-Werror=format-security -fno-schedule-insns2 -fno-lifetime-dse
-fno-delete-null-pointer-checks -fpermissive -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno
-pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer
-Wno-error=shadow -MD -MP -MF .deps/ProcessedStack.o.pp
/<>/toolkit/components/telemetry/ProcessedStack.cpp
/<>/toolkit/components/telemetry/ProcessedStack.cpp: In
function ‘mozilla::Telemetry::ProcessedStack
mozilla::Telemetry::GetStackAndModules(const std::vector&)’:
/<>/toolkit/components/telemetry/ProcessedStack.cpp:92:30:
error: ‘numeric_limits’ is not a member of ‘std’
92 | std::numeric_limits::max()};
| ^~
/<>/toolkit/components/telemetry/ProcessedStack.cpp:92:53:
error: expected primary-expression before ‘>’ token
92 | std::numeric_limits::max()};
| ^
/<>/toolkit/components/telemetry/ProcessedStack.cpp:92:56:
error: ‘::max’ has not been declared; did you mean ‘std::max’?
92 | std::numeric_limits::max()};
|^~~
|std::max
In file included from /usr/include/c++/11/algorithm:62,
from
/<>/build-browser/dist/system_wrappers/algorithm:3,
from
/<>/build-browser/dist/stl_wrappers/algorithm:44,
from
/<>/build-browser/dist/include/mozilla/Span.h:31,
from
/<>/build-browser/dist/include/nsTSubstring.h:16,
from
/<>/build-browser/dist/include/nsAString.h:22,
from
/<>/build-browser/dist/include/nsString.h:14,
from
/<>/toolkit/components/telemetry/ProcessedStack.h:11,
from
/<>/toolkit/components/telemetry/ProcessedStack.cpp:7:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
make[5]: *** [/<>/config/rules.mk:1033: ProcessedStack.o]
Error 1
make[5]: Leaving directory
'/<>/build-browser/toolkit/components/telemetry'
make[4]: *** [/<>/config/recurse.mk:74:
toolkit/components/telemetry/target] Error 2
make[4]: Leaving directory '/<>/build-browser'
make[3]: *** [/<>/config/recurse.mk:34: compile] Error 2
make[3]: Leaving directory '/<>/build-browser'
make[2]: *** [/<>/config/rules.mk:418: default] Error 2
make[2]: Leaving d