+0x1b2): undefined reference to `SDL_AddTimer' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:556:(.text+0x1c0): undefined reference to `SDL_WaitEvent' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:557:(.text+0x1d8): undefined reference to `SDL_RemoveTimer' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:663:(.text+0x212): undefined reference to `SDL_WaitEvent' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:573:(.text+0x23c): undefined reference to `SDL_PollEvent' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:581:(.text+0x2f2): undefined reference to `SDL_RemoveTimer' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/inst-framebuffer/lib/libnsfb.a(src_surface_sdl.o): in function `wakeeventtimer': /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:526:(.text+0x362): undefined reference to `SDL_PushEvent' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/inst-framebuffer/lib/libnsfb.a(src_surface_sdl.o): in function `sdlcopy': /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:392:(.text+0x430): undefined reference to `SDL_UpperBlit' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:402:(.text+0x454): undefined reference to `SDL_UpdateRect' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/inst-framebuffer/lib/libnsfb.a(src_surface_sdl.o): in function `sdl_set_geometry': /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:417:(.text+0x4d8): undefined reference to `SDL_SetVideoMode' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:430:(.text+0x504): undefined reference to `SDL_GetError' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:435:(.text+0x52e): undefined reference to `SDL_Quit' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/inst-framebuffer/lib/libnsfb.a(src_surface_sdl.o): in function `set_palette': /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:362:(.text+0x5b2): undefined reference to `SDL_SetColors' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/inst-framebuffer/lib/libnsfb.a(src_surface_sdl.o): in function `sdl_initialise': /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:453:(.text+0x61e): undefined reference to `SDL_Init' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:448:(.text+0x634): undefined reference to `SDL_SetVideoMode' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:466:(.text+0x664): undefined reference to `SDL_ShowCursor' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:477:(.text+0x674): undefined reference to `SDL_EnableKeyRepeat' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:493:(.text+0x6cc): undefined reference to `SDL_GetError' /usr/bin/ld: /builddir/build/BUILD/netsurf-all-3.9/libnsfb/src/surface/sdl.c:506:(.text+0x6f8): undefined reference to `SDL_GetError' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:712: nsfb] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/netsurf-all-3.9/netsurf' make: *** [Makefile:124: /builddir/build/BUILD/netsurf-all-3.9/inst-framebuffer/build-stamp] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.1C2kE5 (%build) Bad exit status from /var/tmp/rpm-tmp.1C2kE5 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status 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/netsurf.spec