For the past several releases, the build always fails on Fedora 30 and Fedora rawhide (rolling release, which gets frozen and becomes the next release). The application builds just fine on Fedora 29 and below, so it's not a code problem.
I think this is a compiler or defaults/config problem, and I could use the forum's help to figure out what exactly is going on.
For reference:
Fedora 29 i386 successful build log
Fedora 30 i386 failed build log
The part that fails, consistently, on Fedora 30 (and gcc9) is
Code: Select all
77:46.73 In file included from /builddir/build/BUILD/UXP-PM28.4.1_Release/js/xpconnect/src/XPCThrower.cpp:9,
77:46.73 from /builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/js/xpconnect/src/Unified_cpp_js_xpconnect_src1.cpp:2:
77:46.73 /builddir/build/BUILD/UXP-PM28.4.1_Release/js/xpconnect/src/xpcprivate.h:2931:8: note: 'struct xpc::GlobalProperties' declared here
77:46.73 2931 | struct GlobalProperties {
77:46.73 | ^~~~~~~~~~~~~~~~
77:55.57 In file included from /builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/js/xpconnect/src/Unified_cpp_js_xpconnect_src1.cpp:38:
77:55.57 /builddir/build/BUILD/UXP-PM28.4.1_Release/js/xpconnect/src/XPCWrappedNative.cpp: In member function 'char* XPCWrappedNative::ToString(XPCWrappedNativeTearOff*) const':
77:55.57 /builddir/build/BUILD/UXP-PM28.4.1_Release/js/xpconnect/src/XPCWrappedNative.cpp:2221:41: error: '%s' directive argument is null [-Werror=format-overflow=]
77:55.57 2221 | name = JS_sprintf_append(name, fmt,
77:55.57 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
77:55.58 2222 | array[i]->GetNameString());
77:55.58 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
77:58.38 cc1plus: some warnings being treated as errors
77:58.80
77:58.80 In the directory /builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/js/xpconnect/src
77:58.80 The following command failed to execute properly:
77:58.81 /usr/bin/g++ -std=gnu++11 -o Unified_cpp_js_xpconnect_src1.o -c -I/builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/dist/stl_wrappers -I/builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/dist/system_wrappers -include /builddir/build/BUILD/UXP-PM28.4.1_Release/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builddir/build/BUILD/UXP-PM28.4.1_Release/js/xpconnect/src -I/builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/js/xpconnect/src -I/builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/ipc/ipdl/_ipdlheaders -I/builddir/build/BUILD/UXP-PM28.4.1_Release/ipc/chromium/src -I/builddir/build/BUILD/UXP-PM28.4.1_Release/ipc/glue -I/builddir/build/BUILD/UXP-PM28.4.1_Release/js/xpconnect/loader -I/builddir/build/BUILD/UXP-PM28.4.1_Release/js/xpconnect/wrappers -I/builddir/build/BUILD/UXP-PM28.4.1_Release/caps -I/builddir/build/BUILD/UXP-PM28.4.1_Release/dom/base -I/builddir/build/BUILD/UXP-PM28.4.1_Release/dom/html -I/builddir/build/BUILD/UXP-PM28.4.1_Release/dom/svg -I/builddir/build/BUILD/UXP-PM28.4.1_Release/dom/workers -I/builddir/build/BUILD/UXP-PM28.4.1_Release/layout/base -I/builddir/build/BUILD/UXP-PM28.4.1_Release/layout/style -I/builddir/build/BUILD/UXP-PM28.4.1_Release/xpcom/reflect/xptinfo -I/builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/dist/include -I/builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/dist/include/nspr -I/builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/mozilla-config.h -MD -MP -MF .deps/Unified_cpp_js_xpconnect_src1.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 -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=multistatement-macros -flifetime-dse=1 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -msse2 -mfpmath=sse -pthread -pipe -g -O2 -fomit-frame-pointer -Wno-shadow -Werror=format /builddir/build/BUILD/UXP-PM28.4.1_Release/pmbuild/js/xpconnect/src/Unified_cpp_js_xpconnect_src1.cpp
77:58.81 gmake[5]: *** [/builddir/build/BUILD/UXP-PM28.4.1_Release/config/rules.mk:895: Unified_cpp_js_xpconnect_src1.o] Error 1
77:58.81 gmake[4]: *** [/builddir/build/BUILD/UXP-PM28.4.1_Release/config/recurse.mk:71: js/xpconnect/src/target] Error 2
77:58.81 gmake[4]: *** Waiting for unfinished jobs....
78:14.82 libdom_media_gmp.a.desc
78:14.97 gmake[3]: *** [/builddir/build/BUILD/UXP-PM28.4.1_Release/config/recurse.mk:33: compile] Error 2
78:14.97 gmake[2]: *** [/builddir/build/BUILD/UXP-PM28.4.1_Release/config/rules.mk:503: default] Error 2
78:14.97 gmake[1]: *** [/builddir/build/BUILD/UXP-PM28.4.1_Release/client.mk:414: realbuild] Error 2
78:14.98 gmake: *** [client.mk:170: build] Error 2
78:15.01 356 compiler warnings present.
error: Bad exit status from /var/tmp/rpm-tmp.vWgZn4 (%build)