On Wed, Dec 1, 2021 at 12:14 AM John Paul Adrian Glaubitz <
glaub...@physik.fu-berlin.de> wrote:

> On 11/30/21 23:30, Connor McLaughlan wrote:
> > Since i am using gcc-10 for this build, i wonder if it is the same
> problem
> > and could be fixed by adding - where applicable:
> >
> > #include <limits>
>
> Yes, that sounds reasonable. Just try it.
>
> > Or is it advised to install a lower gcc for the build? If so, which one?
>
> No, that's too much of a hassle. I would advise against that.
>
> Adrian
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>
>
Hello Adrian,

/toolkit/components/telemetry/ProcessedStack.cpp compiled ok when the
include was added.

Now i am stuck at this new error below.
Unfortunately i can't find something helpful on the internet.

/usr/bin/g++ -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  -fPIC -shared
-Wl,-z,defs -Wl,--gc-sections -Wl,-h,libxul.so -o libxul.so
/<<PKGBUILDDIR>>/build-browser/toolkit/library/libxul_so.list  -lpthread
-Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory
-Wl,--stats -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id
/<<PKGBUILDDIR>>/toolkit/library/StaticXULComponents.ld
-Wl,-rpath-link,/<<PKGBUILDDIR>>/build-browser/dist/bin
-Wl,-rpath-link,/usr/lib   ../../js/src/build/libjs_static.a
sparc64-unknown-linux-gnu/release/libgkrust.a
../../config/external/lgpllibs/liblgpllibs.so
../../widget/gtk/mozgtk/stub/libmozgtk_stub.so
-Wl,--version-script,symverscript  -ldl  -ljsoncpp -lffi
-L/usr/lib/sparc64-linux-gnu -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lz -lm
-Wl,-rpath-link,/usr/lib/sparc64-linux-gnu -lssl3 -lsmime3 -lnss3
-lnssutil3 -lsqlite3 -lfreetype -lfontconfig -lrt -lXrender -levent -lvpx
-lasound -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lpangocairo-1.0
-lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0
-lgio-2.0 -lstartup-notification-1 -lX11-xcb -lxcb-shm -lxcb -lX11 -lXext
-lpangoft2-1.0 -lXt -lgthread-2.0
/usr/bin/ld: warning:
/<<PKGBUILDDIR>>/toolkit/library/StaticXULComponents.ld contains output
sections; did you forget -T?
/usr/bin/ld:
/<<PKGBUILDDIR>>/build-browser/toolkit/library/../../gfx/vr/openvr/vrpathregistry_public.o:
in function
`ParseStringListFromJson(std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >*, Json::Value const&, char const*) [clone
.part.0]':
/<<PKGBUILDDIR>>/gfx/vr/openvr/src/vrpathregistry_public.cpp:160: undefined
reference to `Json::Value::operator!() const'
collect2: error: ld returned 1 exit status
make[5]: *** [/<<PKGBUILDDIR>>/config/rules.mk:681: libxul.so] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/toolkit/library'
make[4]: *** [/<<PKGBUILDDIR>>/config/recurse.mk:74:
toolkit/library/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-12-02T00:05:14Z


Regards,
Connor

Reply via email to