Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 920824 Details for
Bug 951364
dev-lang/swig-4.3.0 fails go tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 147.06 KB, created by
tka
on 2025-03-15 10:14:39 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
tka
Created:
2025-03-15 10:14:39 UTC
Size:
147.06 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-lang/swig-4.3.0:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: scheme@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux pcre test >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking swig-4.3.0.tar.gz to /var/tmp/portage/dev-lang/swig-4.3.0/work >>>> Source unpacked in /var/tmp/portage/dev-lang/swig-4.3.0/work >>>> Preparing source in /var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0 ... > * econf: updating swig-4.3.0/Tools/config/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating swig-4.3.0/Tools/config/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/swig-4.3.0 --htmldir=/usr/share/doc/swig-4.3.0/html --libdir=/usr/lib64 PKGCONFIG=x86_64-pc-linux-gnu-pkg-config --without-maximum-compile-warnings --disable-ccache --with-pcre >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether the compiler supports GNU C++... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking maximum warning verbosity option... no >checking CFLAGS to compile SWIG executable... -march=native -mtune=native -O2 -pipe >checking CXXFLAGS to compile SWIG executable... -march=native -mtune=native -O2 -pipe >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking whether to enable PCRE2 support... yes >checking whether to use local PCRE2... no >checking for a sed that does not truncate output... /bin/sed >checking for pcre2-config... /usr/bin/pcre2-config >checking whether to enable ccache-swig... no > >Checking packages required for SWIG developers. >Note : None of the following packages are required for users to compile and install SWIG from the distributed tarball > >checking for bison... bison > >Checking for installed target languages and other information in order to compile and run >the examples and test-suite invoked by 'make check'. >Note : None of the following packages are required for users to compile and install SWIG from the distributed tarball > >checking for boostlib >= (102000)... yes >checking SO... .so >checking LDSHARED... $(CC) -shared >checking CXXSHARED... $(CC) -shared >checking TRYLINKINGWITHCXX... CXXSHARED= $(CXX) -shared >checking CCSHARED... -fPIC >checking RPATH... -Xlinker -rpath $(exec_prefix)/lib -Xlinker -rpath . >checking LINKFORSHARED... -Xlinker -export-dynamic >checking CFLAGS to use for testing (PLATCFLAGS)... >checking whether to attempt to enable C++11 and later C++ standards testing... yes >checking whether x86_64-pc-linux-gnu-g++ supports C++20 features with -std=c++20... yes >checking whether C++11 to C++20 testing is enabled... yes >checking CXXFLAGS to use for testing (PLATCXXFLAGS)... -std=c++20 >checking if compiler supports pre-compiled headers... yes >checking for dlopen in -ldl... yes >checking for shl_load in -ldld... no >checking for main in -lieee... no >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking for android... no >checking for adb... no >checking for ant... ant >checking for ndk-build... no >checking for mono-csc... no >checking for gmcs... no >checking for mcs... no >checking for cscc... no >checking for dmd... no >checking for ldmd2... no >checking for ldc2... no >checking for gdmd... no >checking for go... go >checking whether go version is too old... no >checking for gccgo... no >checking for guile-config... /usr/bin/guile-config >checking for guile executable... /usr/bin/guile-3.0 >checking for guile version... 3.0 >checking for guile version >= 1.8... yes >checking for guile compile flags... -I/usr/include/guile/3.0 >checking for guile link flags... -lguile-3.0 -latomic_ops -lgc -lpthread -ldl >checking for java JDK... found (in /etc/java-config-2/current-system-vm) >checking if java version is 9 or greater... yes >checking for java include file jni.h... -I"/etc/java-config-2/current-system-vm/include" >checking for java include file jni_md.h... -I"/etc/java-config-2/current-system-vm/include/linux" >checking for node... node >checking for node-gyp... no >checking for npm... no >checking for JavaScriptCore/Webkit... not found >checking for V8 Javascript v8.h... not found >checking for lua5.4... /usr/bin/lua5.4 >checking Lua version... Lua 5.4.x >checking whether Lua dynamic loading is enabled... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for lua.h... no >checking for lua.h in other locations... /usr/include/lua5.4/lua.h >checking for library containing lua_close... -llua5.4 >checking for mzscheme... no >checking for mzc... no >checking for ocamlc... no >checking for camlp4... no >checking for ocamldlgen... no >checking for ocamlfind... no >checking for ocamlmktop... no >checking for octave-cli... no >checking for perl... perl >checking for Perl5 header files... /usr/lib64/perl5/5.40/x86_64-linux/CORE >checking for Perl5 library... perl >checking for Perl5 ccflags... -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 >checking for Perl5 ccdlflags... -Wl,-E >checking for Perl5 cccdlflags... -fPIC >checking for Perl5 ldflags... -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu >checking for Perl5 Test::More module... found >checking for php8.3... no >checking for php8.2... no >checking for php8.1... no >checking for php8.0... no >checking for php... no >checking for python... python >checking for python major version number... 3 >checking for Python 2.x os.name... posix >checking for Python 2.x path separator... / >checking for python3... python3 >checking for python3-config... python3-config >checking for python3 major version number... 3 >checking for Python 3.x os.name... posix >checking for Python 3.x path separator... / >checking for Python 3.x prefix... /usr >checking for Python 3.x exec-prefix... /usr >checking for Python 3.x version... python3.12 >checking for Python 3.x lib dir... lib >checking for Python 3.x header files... -I/usr/include/python3.12 -I/usr/include/python3.12 >checking for Python 3.x library directory... /usr/lib >checking for Python 3.x library... -lpython3.12 >checking for pycodestyle... pycodestyle >checking pycodestyle version... 2.12.1 >checking for abi3audit... no >checking for R... no >checking for ruby... no >checking for Ruby header files... could not figure out how to run ruby >checking for scilab... no >checking for Tcl configuration... found /usr/lib64/tclConfig.sh >checking for Tcl header files... checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >/usr/include >checking for Tcl library... -ltcl8.6 >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating Examples/Makefile >config.status: creating Examples/test-suite/errors/Makefile >config.status: creating Examples/test-suite/c/Makefile >config.status: creating Examples/test-suite/csharp/Makefile >config.status: creating Examples/test-suite/d/Makefile >config.status: creating Examples/test-suite/go/Makefile >config.status: creating Examples/test-suite/guile/Makefile >config.status: creating Examples/test-suite/java/Makefile >config.status: creating Examples/test-suite/javascript/Makefile >config.status: creating Examples/test-suite/lua/Makefile >config.status: creating Examples/test-suite/mzscheme/Makefile >config.status: creating Examples/test-suite/ocaml/Makefile >config.status: creating Examples/test-suite/octave/Makefile >config.status: creating Examples/test-suite/perl5/Makefile >config.status: creating Examples/test-suite/php/Makefile >config.status: creating Examples/test-suite/python/Makefile >config.status: creating Examples/test-suite/r/Makefile >config.status: creating Examples/test-suite/ruby/Makefile >config.status: creating Examples/test-suite/scilab/Makefile >config.status: creating Examples/test-suite/tcl/Makefile >config.status: creating Source/Makefile >config.status: creating Tools/javascript/Makefile >config.status: creating preinst-swig >config.status: creating CCache/ccache_swig_config.h >config.status: creating Source/Include/swigconfig.h >config.status: executing depfiles commands >config.status: executing Examples commands > >The SWIG test-suite and examples are configured for the following languages: >c go guile java lua perl5 python tcl > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0 ... >make -j1 FLAGS=-k RUNPIPE= >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Source' >make all-am >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Source' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o CParse/cscanner.o CParse/cscanner.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o CParse/parser.o CParse/parser.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o CParse/templ.o CParse/templ.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o CParse/util.o CParse/util.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/base.o DOH/base.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/file.o DOH/file.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/fio.o DOH/fio.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/hash.o DOH/hash.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/list.o DOH/list.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/memory.o DOH/memory.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/string.o DOH/string.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o DOH/void.o DOH/void.c >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Doxygen/csharpdoc.o Doxygen/csharpdoc.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Doxygen/doxyentity.o Doxygen/doxyentity.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Doxygen/doxyparser.o Doxygen/doxyparser.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Doxygen/doxytranslator.o Doxygen/doxytranslator.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Doxygen/javadoc.o Doxygen/javadoc.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Doxygen/pydoc.o Doxygen/pydoc.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/allocate.o Modules/allocate.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/contract.o Modules/contract.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/c.o Modules/c.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/csharp.o Modules/csharp.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/d.o Modules/d.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/directors.o Modules/directors.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/emit.o Modules/emit.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/go.o Modules/go.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/guile.o Modules/guile.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/interface.o Modules/interface.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/java.o Modules/java.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/javascript.o Modules/javascript.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/lang.o Modules/lang.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/lua.o Modules/lua.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/main.o Modules/main.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/mzscheme.o Modules/mzscheme.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/nested.o Modules/nested.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/ocaml.o Modules/ocaml.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/octave.o Modules/octave.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/overload.o Modules/overload.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/perl5.o Modules/perl5.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/php.o Modules/php.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/python.o Modules/python.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/r.o Modules/r.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/ruby.o Modules/ruby.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/scilab.o Modules/scilab.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/swigmain.o Modules/swigmain.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/tcl8.o Modules/tcl8.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/typepass.o Modules/typepass.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/utils.o Modules/utils.cxx >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Modules/xml.o Modules/xml.cxx >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Preprocessor/cpp.o Preprocessor/cpp.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Preprocessor/expr.o Preprocessor/expr.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/cwrap.o Swig/cwrap.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/deprecate.o Swig/deprecate.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/error.o Swig/error.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/extend.o Swig/extend.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/fragment.o Swig/fragment.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/getopt.o Swig/getopt.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/include.o Swig/include.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/misc.o Swig/misc.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/naming.o Swig/naming.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/parms.o Swig/parms.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/scanner.o Swig/scanner.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/stype.o Swig/stype.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/symbol.o Swig/symbol.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/tree.o Swig/tree.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/typemap.o Swig/typemap.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/typeobj.o Swig/typeobj.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/typesys.o Swig/typesys.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../Source/Include -I../Source/CParse -I../Source/Include -I../Source/DOH -I../Source/CParse -I../Source/Doxygen -I../Source/Preprocessor -I../Source/Swig -I../Source/Modules -march=native -mtune=native -O2 -pipe -c -o Swig/wrapfunc.o Swig/wrapfunc.c >x86_64-pc-linux-gnu-g++ -march=native -mtune=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -o eswig CParse/cscanner.o CParse/parser.o CParse/templ.o CParse/util.o DOH/base.o DOH/file.o DOH/fio.o DOH/hash.o DOH/list.o DOH/memory.o DOH/string.o DOH/void.o Doxygen/csharpdoc.o Doxygen/doxyentity.o Doxygen/doxyparser.o Doxygen/doxytranslator.o Doxygen/javadoc.o Doxygen/pydoc.o Modules/allocate.o Modules/contract.o Modules/c.o Modules/csharp.o Modules/d.o Modules/directors.o Modules/emit.o Modules/go.o Modules/guile.o Modules/interface.o Modules/java.o Modules/javascript.o Modules/lang.o Modules/lua.o Modules/main.o Modules/mzscheme.o Modules/nested.o Modules/ocaml.o Modules/octave.o Modules/overload.o Modules/perl5.o Modules/php.o Modules/python.o Modules/r.o Modules/ruby.o Modules/scilab.o Modules/swigmain.o Modules/tcl8.o Modules/typepass.o Modules/utils.o Modules/xml.o Preprocessor/cpp.o Preprocessor/expr.o Swig/cwrap.o Swig/deprecate.o Swig/error.o Swig/extend.o Swig/fragment.o Swig/getopt.o Swig/include.o Swig/misc.o Swig/naming.o Swig/parms.o Swig/scanner.o Swig/stype.o Swig/symbol.o Swig/tree.o Swig/typemap.o Swig/typeobj.o Swig/typesys.o Swig/wrapfunc.o -ldl -lpcre2-8 >cp -f ../Source/eswig ../swig >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Source' >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Source' >test -z "" || make -C CCache >>>> Source compiled. >>>> Test phase: dev-lang/swig-4.3.0 >make -j1 check skip-java=true FLAGS=-k RUNPIPE= 'CFLAGS=-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections' 'CXXFLAGS=-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu' >test -x ./swig >./swig -version > >SWIG Version 4.3.0 > >Compiled with x86_64-pc-linux-gnu-g++ [x86_64-pc-linux-gnu] > >Configured options: +pcre > >Please see https://www.swig.org for reporting bugs and further information >./swig -help >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > > >Note: 'swig -<lang> -help' displays options for a specific target language. > >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > >C Options (available with -c) > -namespace ns - use prefix based on the provided namespace > -nocxx - do not generate C++ wrappers > -noexcept - do not generate exception handling code > > > >Note: 'swig -<lang> -help' displays options for a specific target language. > >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > >Go Options (available with -go) > -cgo - Generate cgo input files > -no-cgo - Do not generate cgo input files > -gccgo - Generate code for gccgo rather than gc > -go-pkgpath <p> - Like gccgo -fgo-pkgpath option > -go-prefix <p> - Like gccgo -fgo-prefix option > -import-prefix <p> - Prefix to add to %import directives > -intgosize <s> - Set size of Go int type--32 or 64 bits > -package <name> - Set name of the Go package to <name> > -use-shlib - Force use of a shared library > -soname <name> - Set shared library holding C/C++ code to <name> > > > >Note: 'swig -<lang> -help' displays options for a specific target language. > >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > >Guile Options (available with -guile) > -emitsetters - Emit procedures-with-setters for variables > and structure slots. > -emitslotaccessors - Emit accessor methods for all GOOPS slots > -exportprimitive - Add the (export ...) code from scmstub into the > GOOPS file. > -goopsprefix <prefix> - Prepend <prefix> to all goops identifiers > -Linkage <lstyle> - Use linkage protocol <lstyle> (default `simple') > Use `module' for native Guile module linking > (requires Guile >= 1.5.0). Use `passive' for > passive linking (no C-level module-handling code), > or `hobbit' for hobbit modules. > -onlysetters - Don't emit traditional getter and setter > procedures for structure slots, > only emit procedures-with-setters. > -package <name> - Set the path of the module to <name> > (default NULL) > -prefix <name> - Use <name> as prefix [default "gswig_"] > -procdoc <file> - Output procedure documentation to <file> > -procdocformat <format> - Output procedure documentation in <format>; > one of `guile-1.4', `plain', `texinfo' > -proxy - Export GOOPS class definitions > -primsuffix <suffix> - Name appended to primitive module when exporting > GOOPS classes. (default = "primitive") > -scmstub - Output Scheme file with module declaration and > exports; only with `passive' and `simple' linkage > -useclassprefix - Prepend the class name to all goops identifiers > >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > >Lua Options (available with -lua) > -elua - Generates LTR compatible wrappers for smaller devices running elua > -eluac - LTR compatible wrappers in "crass compress" mode for elua > -elua-emulate - Emulates behaviour of eLua. Useful only for testing. > Incompatible with -elua/-eluac options. > -nomoduleglobal - Do not register the module name as a global variable > but return the module table from calls to require. > -no-old-metatable-bindings > - Disable support for old-style bindings name generation, some > old-style members scheme etc. > -squash-bases - Squashes symbols from all inheritance tree of a given class > into itself. Emulates pre-SWIG3.0 inheritance. Insignificantly > speeds things up, but increases memory consumption. > > >Note: 'swig -<lang> -help' displays options for a specific target language. > >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > >Perl 5 Options (available with -perl5) > -compat - Compatibility mode > -const - Wrap constants as constants and not variables (implies -proxy) > -nopm - Do not generate the .pm file > -noproxy - Don't create proxy classes > -proxy - Create proxy classes (enabled by default) > -static - Omit code related to dynamic loading > > >Note: 'swig -<lang> -help' displays options for a specific target language. > >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > >Python Options (available with -python) > -builtin - Create Python built-in types rather than proxy classes, for better performance > -castmode - Enable the casting mode, which allows implicit cast between types in Python > -debug-doxygen-parser - Display doxygen parser module debugging information > -debug-doxygen-translator - Display doxygen translator module debugging information > -dirvtable - Generate a pseudo virtual table for directors for faster dispatch > -doxygen - Convert C++ doxygen comments to pydoc comments in proxy classes > -extranative - Return extra native wrappers for C++ std containers wherever possible > -fastproxy - Use fast proxy mechanism for member methods > -flatstaticmethod - Generate additional flattened Python methods for C++ static methods > -globals <name> - Set <name> used to access C global variable (default: 'cvar') > -interface <mod>- Set low-level C/C++ module name to <mod> (default: module name prefixed by '_') > -keyword - Use keyword arguments > -nofastunpack - Use traditional UnpackTuple method to parse the argument functions > -noh - Don't generate the output header file > -noproxy - Don't generate proxy classes > -nortti - Disable the use of the native C++ RTTI with directors > -nothreads - Disable thread support for the entire interface > -olddefs - Keep the old method definitions when using -fastproxy > -relativeimport - Use relative Python imports > -threads - Add thread support for all the interface > -O - Enable the following optimization options: > -fastdispatch -fastproxy -fvirtual > > >Note: 'swig -<lang> -help' displays options for a specific target language. > >Supported Target Language Options > -csharp - Generate C# wrappers > -d - Generate D wrappers > -go - Generate Go wrappers > -guile - Generate Guile wrappers > -java - Generate Java wrappers > -javascript - Generate Javascript wrappers > -lua - Generate Lua wrappers > -octave - Generate Octave wrappers > -perl5 - Generate Perl 5 wrappers > -php7 - Generate PHP 8 or later wrappers > -python - Generate Python wrappers > -r - Generate R (aka GNU S) wrappers > -ruby - Generate Ruby wrappers > -scilab - Generate Scilab wrappers > -tcl8 - Generate Tcl 8 wrappers > -xml - Generate XML wrappers > >Experimental Target Language Options > -c - Generate C wrappers > -ocaml - Generate OCaml wrappers > >Deprecated Target Language Options > -mzscheme - Generate MzScheme/Racket wrappers > >General Options > -addextern - Add extra extern declarations > -c++ - Enable C++ processing > -co <file> - Check <file> out of the SWIG library > -copyctor - Automatically generate copy constructors wherever possible > -cpperraswarn - Treat the preprocessor #error statement as #warning (default) > -cppext <ext> - Change file extension of generated C++ files to <ext> > (default is cxx) > -copyright - Display copyright notices > -debug-classes - Display information about the classes found in the interface > -debug-module <n>- Display module parse tree at stages 1-4, <n> is a csv list of stages > -debug-symtabs - Display symbol tables information > -debug-symbols - Display target language symbols in the symbol tables > -debug-csymbols - Display C symbols in the symbol tables > -debug-lsymbols - Display target language layer symbols > -debug-quiet - Display less parse tree node debug info when using other -debug options > -debug-tags - Display information about the tags found in the interface > -debug-template - Display information for debugging templates > -debug-top <n> - Display entire parse tree at stages 1-4, <n> is a csv list of stages > -debug-typedef - Display information about the types and typedefs in the interface > -debug-typemap - Display typemap debugging information > -debug-tmsearch - Display typemap search debugging information > -debug-tmused - Display typemaps used debugging information > -directors - Turn on director mode for all the classes, mainly for testing > -dirprot - Turn on wrapping of protected members for director classes (default) > -D<symbol>[=<value>] - Define symbol <symbol> (for conditional compilation) > -E - Preprocess only, does not generate wrapper code > -external-runtime [file] - Export the SWIG runtime stack > -fakeversion <v>- Make SWIG fake the program version number to <v> > -fcompact - Compile in compact mode > -features <list>- Set global features, where <list> is a comma separated list of > features, eg -features directors,autodoc=1 > If no explicit value is given to the feature, a default of 1 is used > -fastdispatch - Enable fast dispatch mode to produce faster overload dispatcher code > -Fmicrosoft - Display error/warning messages in Microsoft format > -Fstandard - Display error/warning messages in commonly used format > -fvirtual - Compile in virtual elimination mode > -help - Display help > -I- - Don't search the current directory > -I<dir> - Look for SWIG files in directory <dir> > -ignoremissing - Ignore missing include files > -importall - Follow all #include statements as imports > -includeall - Follow all #include statements > -l<ifile> - Include SWIG library file <ifile> > -macroerrors - Report errors inside macros > -M - List all dependencies > -MD - Is equivalent to `-M -MF <file>', except `-E' is not implied > -MF <file> - Generate dependencies into <file> and continue generating wrappers > -MM - List dependencies, but omit files in SWIG library > -MMD - Like `-MD', but omit files in SWIG library > -module <name> - Set module name to <name> > -MP - Generate phony targets for all dependencies > -MT <target> - Set the target of the rule emitted by dependency generation > -nocontract - Turn off contract checking > -nocpperraswarn - Do not treat the preprocessor #error statement as #warning > -nodefaultctor - Do not generate implicit default constructors > -nodefaultdtor - Do not generate implicit default destructors > -nodirprot - Do not wrap director protected members > -noexcept - Do not wrap exception specifiers > -nofastdispatch - Disable fast dispatch mode (default) > -nopreprocess - Skip the preprocessor step > -notemplatereduce - Disable reduction of the typedefs in templates > -O - Enable the optimization options: > -fastdispatch -fvirtual > -o <outfile> - Set name of C/C++ output file to <outfile> > -oh <headfile> - Set name of C++ output header file for directors to <headfile> > -outcurrentdir - Set default output dir to current dir instead of input file's path > -outdir <dir> - Set language specific files output directory to <dir> > -pcreversion - Display PCRE2 version information > -small - Compile in virtual elimination and compact mode > -std=<standard> - Set the C or C++ language <standard> for inputs > -swiglib - Report location of SWIG library and exit > -templatereduce - Reduce all the typedefs in templates > -U<symbol> - Undefine symbol <symbol> > -v - Run in verbose mode > -version - Display SWIG version number > -Wall - Remove all warning suppression, also implies -Wextra > -Wallkw - Enable keyword warnings for all the supported languages > -Werror - Treat warnings as errors > -Wextra - Adds the following additional warnings: 309,403,405,512,321,322 > -w<list> - Suppress/add warning messages, eg -w401,+321 - see Warnings.html > -xmlout <file> - Write XML version of the parse tree to <file> after normal processing > >Options can also be defined using the SWIG_FEATURES environment variable, for example: > > $ SWIG_FEATURES="-Wall" > $ export SWIG_FEATURES > $ swig -python interface.i > >is equivalent to: > > $ swig -Wall -python interface.i > >Arguments may also be passed in a file, separated by whitespace. For example: > > $ echo "-Wall -python interface.i" > args.txt > $ swig @args.txt > >Tcl 8 Options (available with -tcl8) > -itcl - Enable ITcl support > -nosafe - Leave out SafeInit module function. > -prefix <name> - Set a prefix <name> to be prepended to all names > -namespace - Build module into a Tcl 8 namespace > -pkgversion - Set package version > > >Note: 'swig -<lang> -help' displays options for a specific target language. > >test -z "" || make -C CCache check >skipping android version >skipping csharp version >skipping d version >showing go version >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >go version >go version go1.24.1 linux/amd64 >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >showing guile version >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >/usr/bin/guile-3.0 --version | head -n 1 >guile (GNU Guile) 3.0.10 >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >skipping java version >skipping javascript version >showing lua version >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >/usr/bin/lua5.4 -v | head -n 1 >Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >skipping mzscheme version >skipping ocaml version >skipping octave version >showing perl5 version >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >perl -v | grep "This is" >This is perl 5, version 40, subversion 1 (v5.40.1) built for x86_64-linux >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >skipping php version >showing python version >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >python3 -V >Python 3.12.9 >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >skipping r version >skipping ruby version >skipping scilab version >showing tcl version >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >echo 'puts $tcl_version;exit 0' | tclsh >8.6 >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >skipping android check >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0' >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/c/simple >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/simple' >make -f ../../Makefile SRCDIR='' SRCS='example.c' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' c >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/simple' >env SWIG_LIB=../../../Lib ../../../swig -c -o example_wrap.c example.i >SWIG:1: Warning 524: Experimental target language. Target language C specified by -c is an experimental language. See the 'Target Languages' section in the Introduction chapter of the SWIG documentation. >x86_64-pc-linux-gnu-gcc -c -fPIC -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example_wrap.c example.c >[01m[Kcc1:[m[K [01;35m[Kwarning: [m[Kcommand-line option '[01m[K-std=c++20[m[K' is valid for C++/ObjC++ but not for C >[01m[Kcc1:[m[K [01;35m[Kwarning: [m[Kcommand-line option '[01m[K-std=c++20[m[K' is valid for C++/ObjC++ but not for C >x86_64-pc-linux-gnu-gcc -shared -pthread -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example.o example_wrap.o -o libexample.so >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/simple' >make -f ../../Makefile SRCDIR='' \ >TARGET='example' INTERFACE='example.i' RUNME_EXT=c c_run >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/simple' >x86_64-pc-linux-gnu-gcc -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections -o runme_c -I. -I.. runme.c -L. -lexample >[01m[Kcc1:[m[K [01;35m[Kwarning: [m[Kcommand-line option '[01m[K-std=c++20[m[K' is valid for C++/ObjC++ but not for C >env LD_LIBRARY_PATH=$PWD ./runme_c >The gcd of 42 and 105 is 21 >Foo = 3.000000 >Foo = 3.141593 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/simple' >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/simple' >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/c/class >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >make -f ../../Makefile SRCDIR='' CXXSRCS='example.cxx' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' c_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >env SWIG_LIB=../../../Lib ../../../swig -c++ -c -o example_wrap.cxx example.i >SWIG:1: Warning 524: Experimental target language. Target language C specified by -c is an experimental language. See the 'Target Languages' section in the Introduction chapter of the SWIG documentation. >x86_64-pc-linux-gnu-g++ -c -fPIC -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example_wrap.cxx example.cxx >x86_64-pc-linux-gnu-g++ -shared -pthread -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example.o example_wrap.o -o libexample.so >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >make -f ../../Makefile SRCDIR='' \ >TARGET='example' INTERFACE='example.i' RUNME_EXT=c c_run >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >x86_64-pc-linux-gnu-gcc -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections -o runme_c -I. -I.. runme.c -L. -lexample >[01m[Kcc1:[m[K [01;35m[Kwarning: [m[Kcommand-line option '[01m[K-std=c++20[m[K' is valid for C++/ObjC++ but not for C >env LD_LIBRARY_PATH=$PWD ./runme_c >Creating some objects from C: > Created circle > Created square > >A total of 2 shapes were created > >Here is their current positions: > Circle = (20.000000 30.000000) > Square = (-10.000000 5.000000) > >Here are some properties of the shapes: > Circle > area = 314.159265 > perimeter = 62.831853 > Square > area = 100.000000 > perimeter = 40.000000 > >Guess I'll clean up now >0 shapes remain >Goodbye from C >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >make -f ../../Makefile SRCDIR='' \ >TARGET='example' INTERFACE='example.i' RUNME_EXT=cxx c_run >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >x86_64-pc-linux-gnu-g++ -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections -o runme_cxx -I. -I.. runme.cxx -L. -lexample >env LD_LIBRARY_PATH=$PWD ./runme_cxx >Creating some objects from C++: > Created circle > Created square > >A total of 2 shapes were created > >Here is their current positions: > Circle = (20 30) > Square = (-10 5) > >Here are some properties of the shapes: > Circle > area = 314.159 > perimeter = 62.8319 > Square > area = 100 > perimeter = 40 > >Guess I'll clean up now >0 shapes remain >Goodbye from C++ >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/class' >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/c/std_vector >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/std_vector' >make -f ../../Makefile SRCDIR='' CXXSRCS='example.cxx' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' c_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/std_vector' >env SWIG_LIB=../../../Lib ../../../swig -c++ -c -o example_wrap.cxx example.i >SWIG:1: Warning 524: Experimental target language. Target language C specified by -c is an experimental language. See the 'Target Languages' section in the Introduction chapter of the SWIG documentation. >x86_64-pc-linux-gnu-g++ -c -fPIC -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example_wrap.cxx example.cxx >x86_64-pc-linux-gnu-g++ -shared -pthread -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example.o example_wrap.o -o libexample.so >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/std_vector' >make -f ../../Makefile SRCDIR='' \ >TARGET='example' INTERFACE='example.i' RUNME_EXT=c c_run >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/std_vector' >x86_64-pc-linux-gnu-gcc -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections -o runme_c -I. -I.. runme.c -L. -lexample >[01m[Kcc1:[m[K [01;35m[Kwarning: [m[Kcommand-line option '[01m[K-std=c++20[m[K' is valid for C++/ObjC++ but not for C >env LD_LIBRARY_PATH=$PWD ./runme_c >Vector of ints: >size=0 >capacity=0 > >size=10 >capacity=16 > >0,1,4,9,16,25,36,49,64,81 > >size=0 >capacity=100 > >Vector of objects: >hello 0 >hello 1 >hello 2 >hello 3 >hello 4 >hello 5 >hello 6 >hello 7 >hello 8 >hello 9 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/std_vector' >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/std_vector' >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/c/exception >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >make -f ../../Makefile SRCDIR='' CXXSRCS='example.cxx' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' c_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >env SWIG_LIB=../../../Lib ../../../swig -c++ -c -o example_wrap.cxx example.i >SWIG:1: Warning 524: Experimental target language. Target language C specified by -c is an experimental language. See the 'Target Languages' section in the Introduction chapter of the SWIG documentation. >x86_64-pc-linux-gnu-g++ -c -fPIC -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example_wrap.cxx example.cxx >x86_64-pc-linux-gnu-g++ -shared -pthread -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections example.o example_wrap.o -o libexample.so >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >make -f ../../Makefile SRCDIR='' \ >TARGET='example' INTERFACE='example.i' RUNME_EXT=c c_run >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >x86_64-pc-linux-gnu-gcc -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections -o runme_c -I. -I.. runme.c -L. -lexample >[01m[Kcc1:[m[K [01;35m[Kwarning: [m[Kcommand-line option '[01m[K-std=c++20[m[K' is valid for C++/ObjC++ but not for C >env LD_LIBRARY_PATH=$PWD ./runme_c >Unknown exception: exception of type A * (-1) >Int exception: exception of type int & (-1) >String exception: I died. (-3) >Custom exception: Hosed (-3) >Success for i=0 >For i=1 exception: exception of type int (-1) >For i=2 exception: Bleah! (-3) >For i=3 exception: No-go-diggy-die (-3) >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >make -f ../../Makefile SRCDIR='' \ >TARGET='example' INTERFACE='example.i' RUNME_EXT=cxx c_run >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >x86_64-pc-linux-gnu-g++ -I. -march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections -o runme_cxx -I. -I.. runme.cxx -L. -lexample >env LD_LIBRARY_PATH=$PWD ./runme_cxx >Unknown exception: exception of type A * (-1) >Int exception: exception of type int & (-1) >String exception: I died. (-3) >Custom exception: Hosed (-3) >Success for i=0 >For i=1 exception: exception of type int (-1) >For i=2 exception: Bleah! (-3) >For i=3 exception: No-go-diggy-die (-3) >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/c/exception' >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0' >skipping csharp check >skipping d check >make[1]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0' >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/callback >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/callback' >if [ -n '' ]; then \ > cp /gocallback.go .; \ >fi >make -f ../../Makefile SRCDIR='' CXXSRCS='callback.cxx' GOSRCS='example.go gocallback.go' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/callback' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "callback.cxx"; then \ > cp callback.cxx gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go gocallback.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/callback' >make[2]: *** [Makefile:16: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/callback' >make[1]: *** [Makefile:234: callback.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/class >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/class' >make -f ../../Makefile SRCDIR='' CXXSRCS='class.cxx' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/class' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "class.cxx"; then \ > cp class.cxx gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/class' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/class' >make[1]: *** [Makefile:234: class.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/constants >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/constants' >make -f ../../Makefile SRCDIR='' CXXSRCS='' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/constants' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.c example.i >rm -rf gopath//src/example/* >cp example_wrap.c gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example/ && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:453: go] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/constants' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/constants' >make[1]: *** [Makefile:234: constants.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/director >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/director' >if [ -n '' ]; then \ > cp /director.go .; \ >fi >make -f ../../Makefile SRCDIR='' CXXSRCS='' GOSRCS='example.go director.go' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/director' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go director.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/director' >make[2]: *** [Makefile:16: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/director' >make[1]: *** [Makefile:234: director.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/enum >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/enum' >make -f ../../Makefile SRCDIR='' CXXSRCS='enum.cxx' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/enum' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "enum.cxx"; then \ > cp enum.cxx gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/enum' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/enum' >make[1]: *** [Makefile:234: enum.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/extend >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/extend' >if [ -n '' ]; then \ > cp /ceo.go .; \ >fi >make -f ../../Makefile SRCDIR='' CXXSRCS='extend.cxx' GOSRCS='example.go ceo.go' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/extend' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "extend.cxx"; then \ > cp extend.cxx gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go ceo.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/extend' >make[2]: *** [Makefile:16: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/extend' >make[1]: *** [Makefile:234: extend.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/funcptr >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/funcptr' >make -f ../../Makefile SRCDIR='' SRCS='funcptr.c' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/funcptr' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.c example.i >rm -rf gopath//src/example/* >cp example_wrap.c gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "funcptr.c"; then \ > cp funcptr.c gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example/ && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:453: go] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/funcptr' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/funcptr' >make[1]: *** [Makefile:234: funcptr.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/multimap >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/multimap' >make -f ../../Makefile SRCDIR='' SRCS='multimap.c' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/multimap' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.c example.i >rm -rf gopath//src/example/* >cp example_wrap.c gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "multimap.c"; then \ > cp multimap.c gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example/ && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:453: go] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/multimap' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/multimap' >make[1]: *** [Makefile:234: multimap.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/pointer >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/pointer' >make -f ../../Makefile SRCDIR='' SRCS='pointer.c' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/pointer' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.c example.i >rm -rf gopath//src/example/* >cp example_wrap.c gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "pointer.c"; then \ > cp pointer.c gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example/ && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:453: go] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/pointer' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/pointer' >make[1]: *** [Makefile:234: pointer.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/reference >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/reference' >make -f ../../Makefile SRCDIR='' CXXSRCS='reference.cxx' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/reference' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "reference.cxx"; then \ > cp reference.cxx gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/reference' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/reference' >make[1]: *** [Makefile:234: reference.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/simple >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/simple' >make -f ../../Makefile SRCDIR='' SRCS='simple.c' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >TARGET='example' INTERFACE='example.i' go >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/simple' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.c example.i >rm -rf gopath//src/example/* >cp example_wrap.c gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "simple.c"; then \ > cp simple.c gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example/ && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:453: go] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/simple' >make[2]: *** [Makefile:12: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/simple' >make[1]: *** [Makefile:234: simple.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/template >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/template' >make -f ../../Makefile SRCDIR='' CXXSRCS='' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/template' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/template' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/template' >make[1]: *** [Makefile:234: template.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/variables >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/variables' >make -f ../../Makefile SRCDIR='' SRCS='variables.c' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/variables' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.c example.i >rm -rf gopath//src/example/* >cp example_wrap.c gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n "variables.c"; then \ > cp variables.c gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example/ && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:453: go] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/variables' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/variables' >make[1]: *** [Makefile:234: variables.actionexample] Error 2 >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >make[2]: 'Makefile' is up to date. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples' >checking Examples/go/goin >make[2]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/goin' >make -f ../../Makefile SRCDIR='' CXXSRCS='' \ >SWIG_LIB_DIR='../../../Lib' SWIGEXE='../../../swig' \ >SWIGOPT='' TARGET='example' INTERFACE='example.i' go_cpp >make[3]: Entering directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/goin' >echo "module swigtests" > gopath//src/example/go.mod >echo "" >> gopath//src/example/go.mod >echo "go 1.12" >> gopath//src/example/go.mod >mv -f gopath//src/example/go.mod gopath//src/go.mod >env SWIG_LIB=../../../Lib ../../../swig -go -c++ -import-prefix swigtests `if false ; then echo -gccgo; fi` -o example_wrap.cxx example.i >rm -rf gopath//src/example/* >cp example_wrap.cxx gopath//src/example/ >if test -f example_wrap.h; then \ > cp example_wrap.h gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >if test -n ""; then \ > cp gopath//src/example/; \ >fi >cp example.go gopath//src/example/ >if test -f runme.go; then \ > cp runme.go gopath//src/runme/; \ >fi >GOPATH=`pwd`/gopath/; \ >export GOPATH; \ >CGO_CPPFLAGS="-I. -I `cd && pwd` -I `pwd`"; \ >export CGO_CPPFLAGS; \ >CGO_CFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CFLAGS; \ >CGO_CXXFLAGS="-march=native -mtune=native -O2 -pipe -std=c++20 -ffunction-sections -fdata-sections"; \ >export CGO_CXXFLAGS; \ >CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -lm"; \ >export CGO_LDFLAGS; \ >(cd gopath//src/example && go build `if false; then echo -compiler=gccgo; fi` -o example.a); \ >stat=$?; \ >if test $stat != 0; then \ > exit $stat; \ >fi; \ >if false; then \ > cp gopath//src/example/example.a gopath//src/example/example.gox; \ >fi; \ >if test -f runme.go; then \ > mkdir gopath//src/swigtests 2>/dev/null || true; \ > mkdir gopath//src/swigtests/example 2>/dev/null || true; \ > cp gopath//src/example/* gopath//src/swigtests/example/; \ > (cd gopath//src/runme && go build `if false; then echo -compiler=gccgo; fi` -o runme runme.go); \ > stat=$?; \ > if test $stat != 0; then \ > exit $stat; \ > fi; \ > cp gopath//src/runme/runme runme; \ >fi ># runtime/cgo >cc1: error: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C [-Werror] >cc1: all warnings being treated as errors >make[3]: *** [../../Makefile:508: go_cpp] Error 1 >make[3]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/goin' >make[2]: *** [Makefile:13: build] Error 2 >make[2]: Target 'check' not remade because of errors. >make[2]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0/Examples/go/goin' >make[1]: *** [Makefile:234: goin.actionexample] Error 2 >make[1]: Leaving directory '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0' >make: *** [Makefile:219: check-go-examples] Error 2 > [31;01m*[0m ERROR: dev-lang/swig-4.3.0::gentoo failed (test phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-lang/swig-4.3.0::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-lang/swig-4.3.0::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-lang/swig-4.3.0/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/swig-4.3.0/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0' > [31;01m*[0m S: '/var/tmp/portage/dev-lang/swig-4.3.0/work/swig-4.3.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 951364
: 920824 |
920825