efault) -cppcast - Enable C++ casting operators (default) -debug - Output debug -dll - Name of the DLL (without the .dll or .so suffix). Default is the module name. -gc - Aggressive garbage collection -memoryprof - Add memory profile -namespace - Output NAMESPACE file -no-init-code - Turn off the generation of the R_init_ code (registration information still generated) -package - Package name for the PACKAGE argument of the R .Call() invocations. Default is the module name. Note: 'swig - -help' displays options for a specific target language. test -z "1" || (cd CCache && make check) make[1]: Entering directory '/builddir/build/BUILD/swig-3.0.12/CCache' SWIG_LIB='.././../Lib' PATH=../..:$PATH SWIG='swig' CC='gcc' NOSOFTLINKSTEST='' ./test.sh starting testsuite base starting swig testsuite base starting testsuite link starting swig testsuite link starting testsuite hardlink starting swig testsuite hardlink starting testsuite cpp2 starting swig testsuite cpp2 starting testsuite nlevels4 starting testsuite nlevels1 test done - OK make[1]: Leaving directory '/builddir/build/BUILD/swig-3.0.12/CCache' showing tcl version 8.6 showing perl5 version This is perl 5, version 26, subversion 2 (v5.26.2) built for riscv64-linux-thread-multi skipping python version showing java version BUILDSTDERR: openjdk version "1.8.0_144" BUILDSTDERR: OpenJDK Runtime Environment (build 1.8.0_144-b01) BUILDSTDERR: OpenJDK 64-Bit Zero VM (build 25.144-b01, interpreted mode) BUILDSTDERR: javac 1.8.0_144 skipping javascript version skipping android version skipping guile version skipping mzscheme version showing ruby version ruby 2.5.1p57 (2018-03-29 revision 63029) [riscv64-linux] skipping ocaml version showing octave version BUILDSTDERR: terminate called after throwing an instance of 'std::bad_alloc' BUILDSTDERR: what(): std::bad_alloc skipping php version skipping php5 version skipping pike version skipping chicken version skipping csharp version skipping modula3 version showing lua version Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio skipping allegrocl version skipping clisp version skipping uffi version skipping cffi version showing r version R version 3.5.0 (2018-04-23) -- "Joy in Playing" skipping scilab version skipping go version skipping d version checking Examples/tcl/class BUILDSTDERR: virtual memory exhausted: Cannot allocate memory BUILDSTDERR: make[3]: *** [../../Makefile:197: tcl_cpp] Error 1 BUILDSTDERR: make[2]: *** [Makefile:13: build] Error 2 BUILDSTDERR: make[2]: Target 'check' not remade because of errors. BUILDSTDERR: make[1]: *** [Makefile:257: class.actionexample] Error 2 checking Examples/tcl/constants checking Examples/tcl/contract checking Examples/tcl/enum checking Examples/tcl/funcptr checking Examples/tcl/import skipping Examples/tcl/java check (gcj test) checking Examples/tcl/multimap checking Examples/tcl/operator checking Examples/tcl/pointer checking Examples/tcl/reference checking Examples/tcl/simple checking Examples/tcl/std_vector checking Examples/tcl/value checking Examples/tcl/variables BUILDSTDERR: make: *** [Makefile:242: check-tcl-examples] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.dIOzvg (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.dIOzvg (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/swig.spec