>
>
> 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/<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers
-I/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers -include
/<<PKGBUILDDIR>>/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/<<PKGBUILDDIR>>/toolkit/components/telemetry
-I/<<PKGBUILDDIR>>/build-browser/toolkit/components/telemetry
-I/<<PKGBUILDDIR>>/build-browser/ipc/ipdl/_ipdlheaders
-I/<<PKGBUILDDIR>>/ipc/chromium/src -I/<<PKGBUILDDIR>>/ipc/glue
-I/<<PKGBUILDDIR>>/xpcom/build -I/<<PKGBUILDDIR>>/xpcom/threads
-I/<<PKGBUILDDIR>>/build-browser/dist/include -I/usr/include/nspr
-I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include
/<<PKGBUILDDIR>>/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
/<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp
/<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp: In
function ‘mozilla::Telemetry::ProcessedStack
mozilla::Telemetry::GetStackAndModules(const std::vector<long unsigned
int>&)’:
/<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:92:30:
error: ‘numeric_limits’ is not a member of ‘std’
   92 |                         std::numeric_limits<uint16_t>::max()};
      |                              ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:92:53:
error: expected primary-expression before ‘>’ token
   92 |                         std::numeric_limits<uint16_t>::max()};
      |                                                     ^
/<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.cpp:92:56:
error: ‘::max’ has not been declared; did you mean ‘std::max’?
   92 |                         std::numeric_limits<uint16_t>::max()};
      |                                                        ^~~
      |                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/algorithm:3,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers/algorithm:44,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/mozilla/Span.h:31,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsTSubstring.h:16,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsAString.h:22,
                 from
/<<PKGBUILDDIR>>/build-browser/dist/include/nsString.h:14,
                 from
/<<PKGBUILDDIR>>/toolkit/components/telemetry/ProcessedStack.h:11,
                 from
/<<PKGBUILDDIR>>/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]: *** [/<<PKGBUILDDIR>>/config/rules.mk:1033: ProcessedStack.o]
Error 1
make[5]: Leaving directory
'/<<PKGBUILDDIR>>/build-browser/toolkit/components/telemetry'
make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74:
toolkit/components/telemetry/target] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
make[3]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:34: compile] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
make[2]: *** [/<<PKGBUILDDIR>>/config/rules.mk:418: default] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-browser'
dh_auto_build: error: cd build-browser && make -j1
LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code
2
make[1]: *** [debian/rules:216: stamps/build-browser] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:321: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2021-11-30T22:05:06Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup
   |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary
   |
+------------------------------------------------------------------------------+

Build Architecture: sparc64
Build Type: any
Build-Space: 8376604
Build-Time: 69453
Distribution: sid
Fail-Stage: build
Host Architecture: sparc64
Install-Time: 538
Job: /work/firefox-build/firefox_62.0.3-1.1.dsc
Machine Architecture: sparc64
Package: firefox
Package-Time: 73150
Source-Version: 62.0.3-1.1
Space: 8376604
Status: attempted
Version: 62.0.3-1.1
--------------------------------------------------------------------------------
Finished at 2021-11-30T22:05:06Z
Build needed 20:19:10, 8376604k disk space
E: Build failure (dpkg-buildpackage died)

Regards,
Connor

Reply via email to