estgraphics.o ../src/libgdiplus.la -lm -lglib-2.0 -lcairo -lfontconfig -lfreetype -lfreetype -ljpeg -L/usr -ltiff -lgif -lpng16 -lz -lexif BUILDSTDERR: libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-anno/usr/bin/ld: ../src/.libs/libgdiplus.so: undefined reference to `GifQuantizeBuffer' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:656: testbits] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: /usr/bin/ld: ../src/.libs/libgdiplus.so: undefined reference to `GifQuantizeBuffer' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:660: testclip] Error 1 BUILDSTDERR: /usr/bin/ld: ../src/.libs/libgdiplus.so: undefined reference to `GifQuantizeBuffer' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:664: testfont] Error 1 BUILDSTDERR: /usr/bin/ld: ../src/.libs/libgdiplus.so: undefined reference to `GifQuantizeBuffer' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:668: testgraphics] Error 1 BUILDSTDERR: make[1]: *** [Makefile:480: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:387: all] Error 2 bin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/testbits testbits.o ../src/.libs/libgdiplus.so -lm -lglib-2.0 -lcairo -lfontconfig -lfreetype -ljpeg -L/usr -ltiff -lgif -lpng16 -lz -lexif -pthread -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/testclip testclip.o ../src/.libs/libgdiplus.so -lm -lglib-2.0 -lcairo -lfontconfig -lfreetype -ljpeg -L/usr -ltiff -lgif -lpng16 -lz -lexif -pthread -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/testfont testfont.o ../src/.libs/libgdiplus.so -lm -lglib-2.0 -lcairo -lfontconfig -lfreetype -ljpeg -L/usr -ltiff -lgif -lpng16 -lz -lexif -pthread -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/testgraphics testgraphics.o ../src/.libs/libgdiplus.so -lm -lglib-2.0 -lcairo -lfontconfig -lfreetype -ljpeg -L/usr -ltiff -lgif -lpng16 -lz -lexif -pthread -Wl,-rpath -Wl,/usr/lib64 make[2]: Leaving directory '/builddir/build/BUILD/libgdiplus-5.6/tests' make[1]: Leaving directory '/builddir/build/BUILD/libgdiplus-5.6' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.lQRQjA (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.lQRQjA (%build) 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 700, 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/libgdiplus.spec