^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Services/Image.vala:84.9-84.70: warning: unhandled error `GLib.Error' BUILDSTDERR: var file_info = file.query_info ("*", FileQueryInfoFlags.NONE); BUILDSTDERR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Services/Image.vala:115.13-115.82: warning: unhandled error `GLib.FileError' BUILDSTDERR: GLib.FileUtils.get_contents (file.get_path (), out data_raw, out size); BUILDSTDERR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Plugins/PageLink.vala:57.20-65.14: warning: unhandled error `GLib.RegexError' BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Plugins/PageLink.vala:27.17-27.60: warning: unhandled error `GLib.RegexError' BUILDSTDERR: regex = new Regex ("]{1,})>"); BUILDSTDERR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Widgets/Viewer.vala:72.13-72.23: warning: `null' incompatible with return type `Gtk.Widget' BUILDSTDERR: return null; BUILDSTDERR: ^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Widgets/Viewer.vala:79.41-79.91: warning: Access to possible `null'. Perform a check or use an unsafe cast. BUILDSTDERR: launch_browser ((decision as WebKit.ResponsePolicyDecision).request.get_uri ()); BUILDSTDERR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Services/WordWrapper.vala:33.50-33.98: warning: unhandled error `GLib.RegexError' BUILDSTDERR: WordWrapper.starting_whitespaces_regex = new Regex ("^(\\s)+", RegexCompileFlags.EXTENDED); BUILDSTDERR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Services/WordWrapper.vala:34.48-34.96: warning: unhandled error `GLib.RegexError' BUILDSTDERR: WordWrapper.ending_whitespaces_regex = new Regex ("(\\s)+$", RegexCompileFlags.EXTENDED); BUILDSTDERR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/GranitePatches/SourceList.vala:1516.62-1516.91: warning: `Granite.StyleClass.SOURCE_LIST' has been deprecated since 0.4.2. Use Granite.STYLE_CLASS_SOURCE_LIST BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Widgets/Headerbar.vala:54.9-54.49: warning: Access to possible `null'. Perform a check or use an unsafe cast. BUILDSTDERR: (entry as Gtk.SearchEntry).search_changed.connect(() => { BUILDSTDERR: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDSTDERR: /builddir/build/BUILD/Notes-up-2.0.2/src/Widgets/Editor.vala:311.9-311.31: warning: `Gtk.Widget.override_font' has been deprecated since 3.16 BUILDSTDERR: make[2]: *** [CMakeFiles/com.github.philip-scott.notes-up.dir/build.make:128: src/Main.c] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:161: CMakeFiles/com.github.philip-scott.notes-up.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:153: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.6ZA6t2 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.6ZA6t2 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/notes-up.spec