es2.la /bin/sh ../libtool --tag=CC --mode=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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_ticables_2 test_ticables_2.o ../src/libticables2.la 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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_ticables_2 test_ticables_2.o ../src/.libs/libticables2.so -lglib-2.0 -lusb-1.0 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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/torture_ticables torture_ticables.o ../src/.libs/libticables2.so -lglib-2.0 -lusb-1.0 /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_ser' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_vti' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_tie' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_gry' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_tcpc' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_tcps' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_par' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `linux_check_libusb' collect2: error: ld returned 1 exit status /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_ser' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_vti' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_tie' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_gry' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_tcpc' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_tcps' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `cable_par' /usr/bin/ld: ../src/.libs/libticables2.so: undefined reference to `linux_check_libusb' make[2]: *** [Makefile:585: test_ticables_2] Error 1 make[2]: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make[2]: Leaving directory '/builddir/build/BUILD/libticables2-1.3.5/tests' make[2]: *** [Makefile:589: torture_ticables] Error 1 make[1]: *** [Makefile:491: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libticables2-1.3.5' make: *** [Makefile:400: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.amnitV (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.amnitV (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/libticables2.spec