Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add matlab to GitHub Actions CI #1

Closed
wants to merge 9 commits into from
Closed

Conversation

traversaro
Copy link
Owner

No description provided.

@traversaro traversaro closed this Jan 3, 2022
@traversaro traversaro reopened this Jan 3, 2022
@traversaro
Copy link
Owner Author

traversaro commented Jan 4, 2022

The first failing output is (click to expand):

2022-01-03T11:44:17.7296562Z + make -j2 check-matlab-test-suite CFLAGS= CXXFLAGS=
2022-01-03T11:44:17.7573715Z checking matlab test-suite
2022-01-03T11:44:17.7620960Z checking matlab testcase abstract_access (with run test)
2022-01-03T11:44:17.7622027Z checking matlab testcase abstract_inherit
2022-01-03T11:44:18.9094791Z checking matlab testcase abstract_inherit_ok
2022-01-03T11:44:19.9288270Z checking matlab testcase abstract_signature
2022-01-03T11:44:21.0765388Z checking matlab testcase abstract_typedef (with run test)
2022-01-03T11:44:30.3975120Z 
2022-01-03T11:44:30.3977315Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:44:30.3978670Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:44:30.3979786Z 
2022-01-03T11:44:32.9434304Z checking matlab testcase abstract_typedef2 (with run test)
2022-01-03T11:44:34.5575072Z 
2022-01-03T11:44:34.5577132Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:44:34.5578328Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:44:34.5578968Z 
2022-01-03T11:44:36.7569025Z checking matlab testcase abstract_virtual (with run test)
2022-01-03T11:44:46.1574476Z 
2022-01-03T11:44:46.1576510Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:44:46.1577728Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:44:46.1578359Z 
2022-01-03T11:44:48.5501206Z checking matlab testcase access_change
2022-01-03T11:44:49.6848482Z checking matlab testcase add_link
2022-01-03T11:44:49.9621680Z 
2022-01-03T11:44:49.9623525Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:44:49.9625196Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:44:49.9626027Z 
2022-01-03T11:44:51.2705679Z checking matlab testcase aggregate
2022-01-03T11:44:52.0003275Z checking matlab testcase allowexcept
2022-01-03T11:44:52.2648150Z checking matlab testcase allprotected
2022-01-03T11:44:53.0825863Z checking matlab testcase allprotected_not
2022-01-03T11:44:53.7468301Z checking matlab testcase anonymous_bitfield
2022-01-03T11:44:54.2972097Z checking matlab testcase apply_signed_char
2022-01-03T11:44:54.7591571Z checking matlab testcase apply_strings
2022-01-03T11:44:55.8384067Z checking matlab testcase argout
2022-01-03T11:44:56.2022530Z checking matlab testcase array_member (with run test)
2022-01-03T11:44:56.8986112Z checking matlab testcase array_typedef_memberin
2022-01-03T11:44:57.9600242Z checking matlab testcase arrayref
2022-01-03T11:44:59.0434819Z checking matlab testcase arrays_dimensionless
2022-01-03T11:45:00.4551038Z checking matlab testcase arrays_global (with run test)
2022-01-03T11:45:08.0662148Z 
2022-01-03T11:45:08.0664728Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:45:08.0666118Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:45:08.0666863Z 
2022-01-03T11:45:10.4795878Z checking matlab testcase arrays_global_twodim
2022-01-03T11:45:11.7384579Z checking matlab testcase arrays_scope
2022-01-03T11:45:12.7459061Z 
2022-01-03T11:45:12.7461321Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:45:12.7462734Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:45:12.7463469Z 
2022-01-03T11:45:12.8400810Z checking matlab testcase autodoc
2022-01-03T11:45:14.7932788Z checking matlab testcase bloody_hell
2022-01-03T11:45:15.1100041Z checking matlab testcase bools
2022-01-03T11:45:15.8206349Z checking matlab testcase catches
2022-01-03T11:45:16.2195415Z checking matlab testcase cast_operator
2022-01-03T11:45:16.8558958Z checking matlab testcase casts
2022-01-03T11:45:17.2820161Z checking matlab testcase char_binary
2022-01-03T11:45:17.8237097Z checking matlab testcase char_strings
2022-01-03T11:45:18.4014884Z checking matlab testcase chartest
2022-01-03T11:45:18.9422790Z checking matlab testcase class_scope_namespace
2022-01-03T11:45:19.4234039Z checking matlab testcase class_forward
2022-01-03T11:45:20.1072712Z checking matlab testcase class_ignore (with run test)
2022-01-03T11:45:20.4671132Z checking matlab testcase class_scope_weird (with run test)
2022-01-03T11:45:33.0790730Z 
2022-01-03T11:45:33.0792845Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:45:33.0794061Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:45:33.0794701Z 
2022-01-03T11:45:33.6578309Z 
2022-01-03T11:45:33.6580511Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:45:33.6582306Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:45:33.6583346Z 
2022-01-03T11:45:35.6474130Z checking matlab testcase compactdefaultargs (with run test)
2022-01-03T11:45:36.2847247Z checking matlab testcase const_const_2
2022-01-03T11:45:37.2843797Z checking matlab testcase constant_directive
2022-01-03T11:45:38.3507017Z checking matlab testcase constant_pointers
2022-01-03T11:45:40.0058503Z checking matlab testcase constover (with run test)
2022-01-03T11:45:47.0572036Z 
2022-01-03T11:45:47.0574308Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:45:47.0575678Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:45:47.0576741Z 
2022-01-03T11:45:49.6032011Z checking matlab testcase constructor_copy (with run test)
2022-01-03T11:45:52.6709928Z 
2022-01-03T11:45:52.6711966Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:45:52.6713210Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:45:52.6713851Z 
2022-01-03T11:45:54.8791148Z checking matlab testcase constructor_exception
2022-01-03T11:45:55.9717862Z checking matlab testcase constructor_explicit
2022-01-03T11:45:57.2419991Z checking matlab testcase constructor_ignore
2022-01-03T11:45:58.6737761Z checking matlab testcase constructor_rename
2022-01-03T11:46:00.0542842Z checking matlab testcase constructor_value
2022-01-03T11:46:01.3829010Z checking matlab testcase contract (with run test)
2022-01-03T11:46:02.4219200Z 
2022-01-03T11:46:02.4221340Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:46:02.4222547Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:46:02.4223208Z 
2022-01-03T11:46:04.7089380Z checking matlab testcase conversion
2022-01-03T11:46:06.2897617Z checking matlab testcase conversion_namespace
2022-01-03T11:46:07.0194812Z checking matlab testcase conversion_ns_template
2022-01-03T11:46:08.3632058Z checking matlab testcase conversion_operators
2022-01-03T11:46:09.5916228Z checking matlab testcase cplusplus_throw
2022-01-03T11:46:11.0164792Z checking matlab testcase cpp_basic
2022-01-03T11:46:12.4667864Z checking matlab testcase cpp_enum
2022-01-03T11:46:13.0243691Z 
2022-01-03T11:46:13.0246061Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:46:13.0247422Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:46:13.0248140Z 
2022-01-03T11:46:13.6155441Z checking matlab testcase cpp_namespace (with run test)
2022-01-03T11:46:15.3938132Z checking matlab testcase cpp_nodefault
2022-01-03T11:46:16.5031343Z checking matlab testcase cpp_parameters
2022-01-03T11:46:17.8267548Z checking matlab testcase cpp_static
2022-01-03T11:46:19.1141322Z checking matlab testcase cpp_typedef
2022-01-03T11:46:20.4625962Z checking matlab testcase cpp14_binary_integer_literals
2022-01-03T11:46:21.8404373Z checking matlab testcase cpp17_hex_floating_literals
2022-01-03T11:46:23.1458121Z checking matlab testcase cpp17_nested_namespaces
2022-01-03T11:46:24.4943830Z checking matlab testcase cpp17_nspace_nested_namespaces
2022-01-03T11:46:25.0001084Z 
2022-01-03T11:46:25.0003399Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:46:25.0004812Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:46:25.0005558Z 
2022-01-03T11:46:25.8271015Z checking matlab testcase cpp17_u8_char_literals
2022-01-03T11:46:27.0440771Z checking matlab testcase curiously_recurring_template_pattern
2022-01-03T11:46:27.2672772Z checking matlab testcase default_args (with run test)
2022-01-03T11:46:28.1203233Z checking matlab testcase default_arg_expressions
2022-01-03T11:46:29.2612704Z checking matlab testcase default_arg_values
2022-01-03T11:46:30.3449939Z checking matlab testcase default_constructor
2022-01-03T11:46:31.5192387Z checking matlab testcase defvalue_constructor
2022-01-03T11:46:32.6612668Z checking matlab testcase derived_byvalue
2022-01-03T11:46:33.9805816Z checking matlab testcase derived_nested
2022-01-03T11:46:35.3346710Z checking matlab testcase destructor_methodmodifiers
2022-01-03T11:46:36.6018743Z checking matlab testcase destructor_reprotected
2022-01-03T11:46:37.9585810Z checking matlab testcase director_abstract
2022-01-03T11:46:38.7530103Z 
2022-01-03T11:46:38.7532143Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:46:38.7533366Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:46:38.7533941Z 
2022-01-03T11:46:39.9725270Z checking matlab testcase director_alternating
2022-01-03T11:46:41.1439858Z checking matlab testcase director_binary_string
2022-01-03T11:46:41.4447321Z checking matlab testcase director_classes
2022-01-03T11:46:42.5922709Z checking matlab testcase director_classic
2022-01-03T11:46:43.1891749Z checking matlab testcase director_constructor
2022-01-03T11:46:44.1678519Z checking matlab testcase director_comparison_operators
2022-01-03T11:46:44.4717838Z checking matlab testcase director_conversion_operators
2022-01-03T11:46:45.6274371Z checking matlab testcase director_default (with run test)
2022-01-03T11:46:45.8375229Z checking matlab testcase director_detect
2022-01-03T11:46:47.3785125Z checking matlab testcase director_enum
2022-01-03T11:46:49.0393695Z checking matlab testcase director_exception
2022-01-03T11:46:51.1043815Z checking matlab testcase director_exception_catches
2022-01-03T11:46:52.6554016Z checking matlab testcase director_exception_nothrow
2022-01-03T11:46:54.5128237Z checking matlab testcase director_extend
2022-01-03T11:46:55.9078860Z checking matlab testcase director_finalizer
2022-01-03T11:46:56.8724227Z 
2022-01-03T11:46:56.8726351Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:46:56.8727603Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:46:56.8728241Z 
2022-01-03T11:46:57.3442652Z checking matlab testcase director_frob (with run test)
2022-01-03T11:46:57.5445011Z Warning: invalid MATLAB symbol '_eye' (variable)
2022-01-03T11:46:57.5455186Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_eye) _eye;
2022-01-03T11:46:57.5487026Z Warning: invalid MATLAB symbol '_at' (variable)
2022-01-03T11:46:57.5501668Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_at) _at;
2022-01-03T11:46:57.5568745Z Warning: invalid MATLAB symbol '_eye' (variable)
2022-01-03T11:46:57.5579952Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_eye) _eye;
2022-01-03T11:46:57.5604487Z Warning: invalid MATLAB symbol '_at' (variable)
2022-01-03T11:46:57.5611109Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_at) _at;
2022-01-03T11:46:59.0867586Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64)\nmake[1]: *** [Makefile:40: director_default.cpptest] Error 1
2022-01-03T11:46:59.0873007Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64)\nchecking matlab testcase director_ignore
2022-01-03T11:47:00.5744658Z checking matlab testcase director_keywords
2022-01-03T11:47:02.1012636Z checking matlab testcase director_namespace_clash
2022-01-03T11:47:03.6478532Z checking matlab testcase director_nested
2022-01-03T11:47:05.5248912Z checking matlab testcase director_nspace
2022-01-03T11:47:07.2803263Z checking matlab testcase director_nspace_director_name_collision
2022-01-03T11:47:08.7040199Z 
2022-01-03T11:47:08.7042255Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:47:08.7043527Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:47:08.7044105Z 
2022-01-03T11:47:08.8676549Z checking matlab testcase director_overload
2022-01-03T11:47:10.8580281Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64)\nchecking matlab testcase director_overload2
2022-01-03T11:47:11.0044369Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64)\nmake[1]: *** [Makefile:40: director_frob.cpptest] Error 1
2022-01-03T11:47:11.0054074Z checking matlab testcase director_ownership
2022-01-03T11:47:12.1815453Z checking matlab testcase director_pass_by_value
2022-01-03T11:47:12.4633132Z checking matlab testcase director_primitives
2022-01-03T11:47:13.4655219Z checking matlab testcase director_property
2022-01-03T11:47:14.2078365Z checking matlab testcase director_protected
2022-01-03T11:47:15.2060575Z checking matlab testcase director_protected_overloaded
2022-01-03T11:47:15.6904020Z checking matlab testcase director_redefined
2022-01-03T11:47:16.6789858Z checking matlab testcase director_ref
2022-01-03T11:47:16.9690603Z checking matlab testcase director_smartptr
2022-01-03T11:47:18.0692851Z checking matlab testcase director_thread
2022-01-03T11:47:18.3232743Z checking matlab testcase director_using
2022-01-03T11:47:19.4097371Z checking matlab testcase director_void
2022-01-03T11:47:19.8963101Z checking matlab testcase director_wombat
2022-01-03T11:47:20.7185637Z checking matlab testcase disown
2022-01-03T11:47:21.4153259Z checking matlab testcase dynamic_cast
2022-01-03T11:47:21.7005674Z checking matlab testcase empty (with run test)
2022-01-03T11:47:22.4568991Z checking matlab testcase enum_ignore
2022-01-03T11:47:23.5521317Z checking matlab testcase enum_plus
2022-01-03T11:47:24.6841135Z checking matlab testcase enum_rename
2022-01-03T11:47:25.9035466Z checking matlab testcase enum_scope_template
2022-01-03T11:47:27.3113558Z checking matlab testcase enum_template (with run test)
2022-01-03T11:47:32.4881670Z 
2022-01-03T11:47:32.4884312Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:47:32.4885709Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:47:32.4886460Z 
2022-01-03T11:47:34.9190206Z checking matlab testcase enum_thorough
2022-01-03T11:47:38.0124667Z checking matlab testcase enum_var
2022-01-03T11:47:39.2382984Z checking matlab testcase equality
2022-01-03T11:47:39.3096168Z 
2022-01-03T11:47:39.3098221Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:47:39.3099445Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:47:39.3100094Z 
2022-01-03T11:47:40.7397477Z checking matlab testcase evil_diamond
2022-01-03T11:47:41.5742910Z checking matlab testcase evil_diamond_ns
2022-01-03T11:47:41.8191343Z checking matlab testcase evil_diamond_prop
2022-01-03T11:47:41.9096231Z Warning: invalid MATLAB symbol '_foo' (variable)
2022-01-03T11:47:41.9101880Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_foo) _foo;
2022-01-03T11:47:41.9118774Z Warning: invalid MATLAB symbol '_bar' (variable)
2022-01-03T11:47:41.9124801Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_bar) _bar;
2022-01-03T11:47:41.9140547Z Warning: invalid MATLAB symbol '_baz' (variable)
2022-01-03T11:47:41.9145912Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_baz) _baz;
2022-01-03T11:47:41.9161983Z Warning: invalid MATLAB symbol '_spam' (variable)
2022-01-03T11:47:41.9167341Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_spam) _spam;
2022-01-03T11:47:42.5731799Z checking matlab testcase exception_classname
2022-01-03T11:47:42.9254624Z checking matlab testcase exception_order
2022-01-03T11:47:43.5513726Z checking matlab testcase extend
2022-01-03T11:47:44.0182766Z checking matlab testcase extend_constructor_destructor
2022-01-03T11:47:44.6836672Z checking matlab testcase extend_default
2022-01-03T11:47:45.0852764Z checking matlab testcase extend_placement (with run test)
2022-01-03T11:47:46.1772263Z checking matlab testcase extend_special_variables
2022-01-03T11:47:47.1859117Z checking matlab testcase extend_template (with run test)
2022-01-03T11:47:57.7137251Z 
2022-01-03T11:47:57.7139583Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:47:57.7140948Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:47:57.7141678Z 
2022-01-03T11:47:59.9121117Z checking matlab testcase extend_template_method
2022-01-03T11:48:00.1254988Z 
2022-01-03T11:48:00.1258444Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:48:00.1259945Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:48:00.1260666Z 
2022-01-03T11:48:01.5574672Z checking matlab testcase extend_template_ns (with run test)
2022-01-03T11:48:02.2839746Z checking matlab testcase extend_typedef_class
2022-01-03T11:48:03.4396651Z checking matlab testcase extern_c
2022-01-03T11:48:04.5385473Z checking matlab testcase extern_namespace
2022-01-03T11:48:05.7834400Z checking matlab testcase extern_throws
2022-01-03T11:48:07.4142533Z checking matlab testcase expressions
2022-01-03T11:48:08.6421401Z checking matlab testcase features
2022-01-03T11:48:10.1211617Z checking matlab testcase fragments
2022-01-03T11:48:11.4018904Z checking matlab testcase friends
2022-01-03T11:48:12.3022525Z 
2022-01-03T11:48:12.3024713Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:48:12.3026497Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:48:12.3027703Z 
2022-01-03T11:48:12.8186551Z checking matlab testcase friends_template
2022-01-03T11:48:14.2630089Z checking matlab testcase funcptr_cpp
2022-01-03T11:48:14.5318897Z checking matlab testcase functors
2022-01-03T11:48:15.3605355Z checking matlab testcase fvirtual (with run test)
2022-01-03T11:48:15.6752623Z checking matlab testcase global_immutable_vars_cpp
2022-01-03T11:48:16.7011025Z checking matlab testcase global_namespace
2022-01-03T11:48:17.9714771Z checking matlab testcase global_ns_arg (with run test)
2022-01-03T11:48:28.9053094Z 
2022-01-03T11:48:28.9055275Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:48:28.9056666Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:48:28.9057928Z 
2022-01-03T11:48:31.1721657Z checking matlab testcase global_scope_types
2022-01-03T11:48:32.1599742Z checking matlab testcase global_vars
2022-01-03T11:48:32.1982613Z 
2022-01-03T11:48:32.1984706Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:48:32.1985956Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:48:32.1986592Z 
2022-01-03T11:48:33.6352295Z checking matlab testcase grouping (with run test)
2022-01-03T11:48:34.3774427Z checking matlab testcase ignore_parameter
2022-01-03T11:48:35.5281707Z checking matlab testcase import_fragments
2022-01-03T11:48:36.5610439Z checking matlab testcase import_nomodule
2022-01-03T11:48:37.8274965Z checking matlab testcase inherit
2022-01-03T11:48:39.1096722Z checking matlab testcase inherit_member
2022-01-03T11:48:40.7494298Z checking matlab testcase inherit_missing (with run test)
2022-01-03T11:48:44.8045490Z 
2022-01-03T11:48:44.8047830Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:48:44.8049246Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:48:44.8049995Z 
2022-01-03T11:48:47.0971375Z checking matlab testcase inherit_same_name
2022-01-03T11:48:48.6759325Z checking matlab testcase inherit_target_language
2022-01-03T11:48:49.9586161Z checking matlab testcase inherit_void_arg
2022-01-03T11:48:51.2015406Z checking matlab testcase inline_initializer
2022-01-03T11:48:52.5255506Z checking matlab testcase insert_directive
2022-01-03T11:48:53.3682363Z 
2022-01-03T11:48:53.3684472Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:48:53.3685726Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:48:53.3686369Z 
2022-01-03T11:48:53.6839354Z checking matlab testcase keyword_rename
2022-01-03T11:48:55.2154507Z checking matlab testcase kind
2022-01-03T11:48:55.4478562Z checking matlab testcase kwargs_feature
2022-01-03T11:48:56.3342586Z checking matlab testcase langobj
2022-01-03T11:48:56.6826438Z checking matlab testcase li_attribute (with run test)
2022-01-03T11:48:57.3330837Z checking matlab testcase li_attribute_template
2022-01-03T11:48:58.4214092Z checking matlab testcase li_boost_shared_ptr
2022-01-03T11:49:00.4007697Z checking matlab testcase li_boost_shared_ptr_attribute
2022-01-03T11:49:01.6149566Z checking matlab testcase li_boost_shared_ptr_bits
2022-01-03T11:49:04.5015439Z checking matlab testcase li_boost_shared_ptr_director
2022-01-03T11:49:06.1575855Z checking matlab testcase li_boost_shared_ptr_template
2022-01-03T11:49:07.4764064Z checking matlab testcase li_carrays_cpp
2022-01-03T11:49:07.6656331Z 
2022-01-03T11:49:07.6658525Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:49:07.6659901Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:49:07.6660623Z 
2022-01-03T11:49:09.0779822Z checking matlab testcase li_cdata_cpp
2022-01-03T11:49:10.0341880Z checking matlab testcase li_cpointer_cpp
2022-01-03T11:49:10.0833155Z checking matlab testcase li_std_auto_ptr
2022-01-03T11:49:11.0700474Z checking matlab testcase li_stdint
2022-01-03T11:49:11.0975558Z checking matlab testcase li_swigtype_inout
2022-01-03T11:49:12.1891006Z checking matlab testcase li_typemaps
2022-01-03T11:49:12.2891147Z checking matlab testcase li_typemaps_apply
2022-01-03T11:49:13.4980130Z checking matlab testcase li_windows
2022-01-03T11:49:13.7725170Z checking matlab testcase long_long_apply
2022-01-03T11:49:14.6569111Z checking matlab testcase memberin_extend
2022-01-03T11:49:14.9744108Z checking matlab testcase member_funcptr_galore
2022-01-03T11:49:15.8191926Z checking matlab testcase member_pointer
2022-01-03T11:49:16.3343062Z checking matlab testcase member_pointer_const
2022-01-03T11:49:16.9296543Z checking matlab testcase member_template
2022-01-03T11:49:17.5506081Z checking matlab testcase minherit
2022-01-03T11:49:17.9430127Z checking matlab testcase minherit2
2022-01-03T11:49:19.0076503Z checking matlab testcase mixed_types
2022-01-03T11:49:19.2429581Z checking matlab testcase multiple_inheritance
2022-01-03T11:49:20.2575084Z checking matlab testcase multiple_inheritance_abstract
2022-01-03T11:49:20.3187763Z checking matlab testcase multiple_inheritance_interfaces
2022-01-03T11:49:21.5324879Z checking matlab testcase multiple_inheritance_nspace
2022-01-03T11:49:21.6870900Z checking matlab testcase multiple_inheritance_shared_ptr
2022-01-03T11:49:22.8463534Z checking matlab testcase name_cxx
2022-01-03T11:49:23.5400834Z checking matlab testcase name_warnings
2022-01-03T11:49:23.8610076Z checking matlab testcase namespace_chase
2022-01-03T11:49:24.5465046Z checking matlab testcase namespace_class (with run test)
2022-01-03T11:49:24.9458680Z checking matlab testcase namespace_enum
2022-01-03T11:49:26.0012138Z checking matlab testcase namespace_extend
2022-01-03T11:49:27.1188730Z checking matlab testcase namespace_forward_declaration
2022-01-03T11:49:28.2930683Z checking matlab testcase namespace_nested
2022-01-03T11:49:29.4405038Z checking matlab testcase namespace_spaces
2022-01-03T11:49:30.7207762Z checking matlab testcase namespace_template
2022-01-03T11:49:32.2290609Z checking matlab testcase namespace_typedef_class
2022-01-03T11:49:33.7503565Z checking matlab testcase namespace_typemap
2022-01-03T11:49:35.2102696Z checking matlab testcase namespace_union
2022-01-03T11:49:35.7501645Z 
2022-01-03T11:49:35.7503851Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:49:35.7505239Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:49:35.7505958Z 
2022-01-03T11:49:36.3966530Z checking matlab testcase namespace_virtual_method (with run test)
2022-01-03T11:49:38.1387348Z checking matlab testcase nspace
2022-01-03T11:49:39.2627744Z checking matlab testcase nspace_extend
2022-01-03T11:49:40.3775946Z checking matlab testcase native_directive
2022-01-03T11:49:41.5460114Z checking matlab testcase naturalvar (with run test)
2022-01-03T11:49:48.0840702Z 
2022-01-03T11:49:48.0844560Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:49:48.0845905Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:49:48.0846569Z 
2022-01-03T11:49:50.3745748Z checking matlab testcase naturalvar_more
2022-01-03T11:49:52.4564738Z checking matlab testcase naturalvar_onoff
2022-01-03T11:49:53.6934122Z checking matlab testcase nested_class
2022-01-03T11:49:54.0763012Z 
2022-01-03T11:49:54.0765291Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:49:54.0766665Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:49:54.0767372Z 
2022-01-03T11:49:55.2479485Z checking matlab testcase nested_directors
2022-01-03T11:49:56.4267439Z checking matlab testcase nested_comment
2022-01-03T11:49:56.7371265Z checking matlab testcase nested_ignore
2022-01-03T11:49:57.4571756Z checking matlab testcase nested_inheritance_interface
2022-01-03T11:49:57.7921721Z checking matlab testcase nested_in_template
2022-01-03T11:49:58.4624690Z checking matlab testcase nested_scope_flat
2022-01-03T11:49:58.9063786Z checking matlab testcase nested_template_base
2022-01-03T11:49:59.5692167Z checking matlab testcase nested_workaround
2022-01-03T11:49:59.9274188Z checking matlab testcase newobject1
2022-01-03T11:50:00.6379979Z checking matlab testcase newobject3
2022-01-03T11:50:00.9378867Z checking matlab testcase null_pointer
2022-01-03T11:50:01.6919411Z checking matlab testcase operator_overload
2022-01-03T11:50:01.8215160Z Warning: invalid MATLAB symbol '__rsub__' (function)
2022-01-03T11:50:01.8217865Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__rsub__) __rsub__;
2022-01-03T11:50:01.8230447Z Warning: invalid MATLAB symbol '__getitem__' (function)
2022-01-03T11:50:01.8233385Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__getitem__) __getitem__;
2022-01-03T11:50:01.8243520Z Warning: invalid MATLAB symbol '__setitem__' (function)
2022-01-03T11:50:01.8246440Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__setitem__) __setitem__;
2022-01-03T11:50:01.9747121Z checking matlab testcase operator_overload_break
2022-01-03T11:50:02.0699353Z Warning: invalid MATLAB symbol '__rsub__' (function)
2022-01-03T11:50:02.0705024Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__rsub__) __rsub__;
2022-01-03T11:50:03.0076233Z checking matlab testcase operator_pointer_ref
2022-01-03T11:50:03.0886371Z checking matlab testcase operbool
2022-01-03T11:50:03.9843692Z checking matlab testcase ordering
2022-01-03T11:50:04.1624615Z checking matlab testcase overload_arrays
2022-01-03T11:50:04.9616617Z checking matlab testcase overload_bool
2022-01-03T11:50:05.4093647Z checking matlab testcase overload_copy (with run test)
2022-01-03T11:50:06.0112363Z checking matlab testcase overload_method
2022-01-03T11:50:07.0832214Z checking matlab testcase overload_numeric
2022-01-03T11:50:08.3310667Z checking matlab testcase overload_null
2022-01-03T11:50:09.8337873Z checking matlab testcase overload_polymorphic
2022-01-03T11:50:11.2061402Z checking matlab testcase overload_rename
2022-01-03T11:50:12.6212646Z checking matlab testcase overload_return_type
2022-01-03T11:50:14.0560335Z checking matlab testcase overload_simple
2022-01-03T11:50:15.8068643Z checking matlab testcase overload_subtype (with run test)
2022-01-03T11:50:16.2987980Z 
2022-01-03T11:50:16.2990177Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:50:16.2991544Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:50:16.2992269Z 
2022-01-03T11:50:18.7494474Z checking matlab testcase overload_template
2022-01-03T11:50:20.2170282Z checking matlab testcase overload_template_fast (with run test)
2022-01-03T11:50:28.0707048Z 
2022-01-03T11:50:28.0709177Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:50:28.0710323Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:50:28.0710851Z 
2022-01-03T11:50:30.4273673Z checking matlab testcase pointer_reference
2022-01-03T11:50:31.7268912Z checking matlab testcase primitive_ref (with run test)
2022-01-03T11:50:33.0427902Z 
2022-01-03T11:50:33.0430135Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:50:33.0431404Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:50:33.0432092Z 
2022-01-03T11:50:35.6213700Z checking matlab testcase private_assign
2022-01-03T11:50:36.8541148Z checking matlab testcase proxycode
2022-01-03T11:50:38.0392430Z checking matlab testcase protected_rename
2022-01-03T11:50:39.2637239Z checking matlab testcase pure_virtual
2022-01-03T11:50:40.8739109Z checking matlab testcase redefined
2022-01-03T11:50:42.2774710Z checking matlab testcase redefined_not
2022-01-03T11:50:43.2734881Z checking matlab testcase refcount (with run test)
2022-01-03T11:50:43.2970142Z 
2022-01-03T11:50:43.2972173Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:50:43.2973523Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:50:43.2974234Z 
2022-01-03T11:50:45.5300292Z checking matlab testcase reference_global_vars
2022-01-03T11:50:46.9129476Z checking matlab testcase rename1
2022-01-03T11:50:48.1694778Z checking matlab testcase rename2
2022-01-03T11:50:49.5395094Z checking matlab testcase rename3
2022-01-03T11:50:51.0050682Z checking matlab testcase rename4
2022-01-03T11:50:52.8804617Z checking matlab testcase rename_rstrip_encoder
2022-01-03T11:50:54.1790603Z checking matlab testcase rename_scope (with run test)
2022-01-03T11:50:55.0535708Z 
2022-01-03T11:50:55.0537922Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:50:55.0539932Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:50:55.0540938Z 
2022-01-03T11:50:57.4137194Z checking matlab testcase rename_simple
2022-01-03T11:50:58.7191014Z checking matlab testcase rename_strip_encoder
2022-01-03T11:50:59.9026885Z checking matlab testcase rename_pcre_encoder
2022-01-03T11:51:01.3043139Z checking matlab testcase rename_pcre_enum
2022-01-03T11:51:02.6776595Z checking matlab testcase rename_predicates
2022-01-03T11:51:04.0653784Z checking matlab testcase rename_wildcard
2022-01-03T11:51:05.4687106Z checking matlab testcase restrict_cplusplus
2022-01-03T11:51:05.5196210Z 
2022-01-03T11:51:05.5198093Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:51:05.5199210Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:51:05.5199783Z 
2022-01-03T11:51:06.9910551Z checking matlab testcase return_const_value
2022-01-03T11:51:07.0941719Z Warning: invalid MATLAB symbol '_val' (variable)
2022-01-03T11:51:07.0943077Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_val) _val;
2022-01-03T11:51:07.0983113Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:07.0984230Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:07.0991973Z Warning: invalid MATLAB symbol '_val' (variable)
2022-01-03T11:51:07.0992969Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_val) _val;
2022-01-03T11:51:07.8867760Z checking matlab testcase return_value_scope
2022-01-03T11:51:08.0655942Z checking matlab testcase rname
2022-01-03T11:51:08.8767848Z checking matlab testcase samename (with run test)
2022-01-03T11:51:09.2100633Z checking matlab testcase sizet
2022-01-03T11:51:10.3626856Z checking matlab testcase smart_pointer_const
2022-01-03T11:51:10.4666766Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:10.4669841Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:11.4677119Z checking matlab testcase smart_pointer_const2
2022-01-03T11:51:11.5718451Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:11.5719879Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:12.7884767Z checking matlab testcase smart_pointer_const_overload
2022-01-03T11:51:12.9004082Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:12.9005667Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:12.9075401Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:12.9080320Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:14.3299658Z checking matlab testcase smart_pointer_extend
2022-01-03T11:51:14.4633285Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:14.4641561Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:14.4703313Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:14.4710734Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:14.4765404Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:14.4772238Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:14.4824219Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:14.4831880Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:14.4872303Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:14.4879742Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:16.0204422Z checking matlab testcase smart_pointer_ignore
2022-01-03T11:51:16.2041172Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:16.2044580Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:17.4208605Z checking matlab testcase smart_pointer_multi
2022-01-03T11:51:17.6065288Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:17.6078115Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:17.6123819Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:17.6127558Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:17.6175473Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:17.6181336Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:18.9375403Z checking matlab testcase smart_pointer_multi_typedef
2022-01-03T11:51:19.0412218Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:19.0418577Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:19.0445503Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:19.0451567Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:19.0478007Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:19.0484471Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:19.7946128Z 
2022-01-03T11:51:19.7948190Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:51:19.7949397Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:51:19.7950036Z 
2022-01-03T11:51:20.2682051Z checking matlab testcase smart_pointer_namespace
2022-01-03T11:51:20.3617749Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:20.3623679Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:20.3684053Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:20.3689460Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:21.6578874Z checking matlab testcase smart_pointer_namespace2
2022-01-03T11:51:21.7703775Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:21.7705355Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:21.7796288Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:21.7801302Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:22.1230293Z checking matlab testcase smart_pointer_not
2022-01-03T11:51:22.2223318Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:22.2225994Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:22.2237775Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:22.2239173Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:22.2250305Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:22.2255807Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:22.7394902Z checking matlab testcase smart_pointer_overload
2022-01-03T11:51:22.8330671Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:22.8332288Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:23.1901932Z checking matlab testcase smart_pointer_protected
2022-01-03T11:51:23.3036392Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:23.3043216Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:23.7758109Z checking matlab testcase smart_pointer_rename
2022-01-03T11:51:23.8689163Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:23.8694780Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:24.3186975Z checking matlab testcase smart_pointer_simple
2022-01-03T11:51:24.4220879Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:24.4227337Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:24.7727348Z checking matlab testcase smart_pointer_static
2022-01-03T11:51:24.8629494Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:24.8631369Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:25.4341040Z checking matlab testcase smart_pointer_template_const_overload
2022-01-03T11:51:25.5426677Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:25.5432943Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:25.7813787Z checking matlab testcase smart_pointer_template_defaults_overload
2022-01-03T11:51:26.0022909Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:26.0028446Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:26.0462308Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:26.0467851Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:26.5919162Z checking matlab testcase smart_pointer_templatemethods
2022-01-03T11:51:26.6990851Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:26.6997122Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:26.7036531Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:26.7042970Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:26.7093207Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:26.7099268Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:27.5356286Z checking matlab testcase smart_pointer_templatevariables
2022-01-03T11:51:27.6352127Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:27.6357883Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:27.7348196Z checking matlab testcase smart_pointer_typedef
2022-01-03T11:51:27.8274124Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:51:27.8279838Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:51:28.6768781Z checking matlab testcase special_variables
2022-01-03T11:51:28.7489740Z checking matlab testcase special_variable_attributes
2022-01-03T11:51:29.7622127Z checking matlab testcase special_variable_macros
2022-01-03T11:51:30.1939837Z checking matlab testcase static_array_member
2022-01-03T11:51:30.8940906Z checking matlab testcase static_const_member
2022-01-03T11:51:31.1404578Z checking matlab testcase static_const_member_2 (with run test)
2022-01-03T11:51:31.9490050Z checking matlab testcase stl_no_default_constructor
2022-01-03T11:51:33.3490551Z checking matlab testcase string_constants
2022-01-03T11:51:34.8024567Z checking matlab testcase struct_initialization_cpp
2022-01-03T11:51:36.1161994Z checking matlab testcase struct_value
2022-01-03T11:51:37.3786278Z checking matlab testcase swig_exception
2022-01-03T11:51:38.7094638Z checking matlab testcase symbol_clash
2022-01-03T11:51:39.9467494Z checking matlab testcase sym
2022-01-03T11:51:41.2183274Z checking matlab testcase template_arg_replace
2022-01-03T11:51:41.7406378Z 
2022-01-03T11:51:41.7408603Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:51:41.7409966Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:51:41.7410694Z 
2022-01-03T11:51:42.5698783Z checking matlab testcase template_arg_scope
2022-01-03T11:51:43.6281716Z checking matlab testcase template_arg_typename
2022-01-03T11:51:44.2435484Z checking matlab testcase template_array_numeric
2022-01-03T11:51:44.8671709Z checking matlab testcase template_basic
2022-01-03T11:51:45.3049417Z checking matlab testcase template_base_template
2022-01-03T11:51:45.7070986Z checking matlab testcase template_classes
2022-01-03T11:51:46.3315173Z checking matlab testcase template_class_reuse_name
2022-01-03T11:51:46.8313937Z checking matlab testcase template_const_ref
2022-01-03T11:51:47.5258566Z checking matlab testcase template_construct (with run test)
2022-01-03T11:51:47.9077871Z checking matlab testcase template_templated_constructors
2022-01-03T11:51:48.9377087Z checking matlab testcase template_default
2022-01-03T11:51:50.1913846Z checking matlab testcase template_default2
2022-01-03T11:51:51.3692935Z checking matlab testcase template_default_arg (with run test)
2022-01-03T11:51:59.1453244Z 
2022-01-03T11:51:59.1454891Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:51:59.1456004Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:51:59.1456527Z 
2022-01-03T11:52:01.5192814Z checking matlab testcase template_default_arg_overloaded
2022-01-03T11:52:02.9834399Z checking matlab testcase template_default_arg_overloaded_extend
2022-01-03T11:52:04.3598994Z checking matlab testcase template_default_arg_virtual_destructor
2022-01-03T11:52:04.8327702Z 
2022-01-03T11:52:04.8330079Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:52:04.8331547Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:52:04.8332596Z 
2022-01-03T11:52:05.7432357Z checking matlab testcase template_default_cache
2022-01-03T11:52:06.9336015Z checking matlab testcase template_default_class_parms
2022-01-03T11:52:07.1300033Z checking matlab testcase template_default_class_parms_typedef
2022-01-03T11:52:08.0777003Z checking matlab testcase template_default_inherit
2022-01-03T11:52:08.4503623Z checking matlab testcase template_default_qualify
2022-01-03T11:52:09.1775674Z checking matlab testcase template_default_vw
2022-01-03T11:52:09.4434050Z checking matlab testcase template_empty_inherit
2022-01-03T11:52:10.2505979Z checking matlab testcase template_enum
2022-01-03T11:52:11.0911314Z checking matlab testcase template_enum_ns_inherit
2022-01-03T11:52:11.3340540Z checking matlab testcase template_enum_typedef
2022-01-03T11:52:12.1259005Z checking matlab testcase template_explicit
2022-01-03T11:52:12.3347600Z checking matlab testcase template_extend1 (with run test)
2022-01-03T11:52:13.2623924Z checking matlab testcase template_extend2 (with run test)
2022-01-03T11:52:27.4005028Z 
2022-01-03T11:52:27.4007014Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:52:27.4008202Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:52:27.4008848Z 
2022-01-03T11:52:29.0654517Z 
2022-01-03T11:52:29.0656739Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:52:29.0658105Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:52:29.0658854Z 
2022-01-03T11:52:29.7769387Z checking matlab testcase template_extend_overload
2022-01-03T11:52:31.1472556Z checking matlab testcase template_extend_overload_2
2022-01-03T11:52:31.3019590Z checking matlab testcase template_forward
2022-01-03T11:52:32.3054260Z checking matlab testcase template_inherit (with run test)
2022-01-03T11:52:32.3302271Z checking matlab testcase template_inherit_abstract
2022-01-03T11:52:33.4420294Z checking matlab testcase template_int_const
2022-01-03T11:52:34.5102334Z checking matlab testcase template_keyword_in_type
2022-01-03T11:52:35.8353644Z checking matlab testcase template_methods
2022-01-03T11:52:37.0929548Z checking matlab testcase template_namespace_forward_declaration
2022-01-03T11:52:38.5742456Z checking matlab testcase template_using_directive_and_declaration_forward
2022-01-03T11:52:40.3656805Z checking matlab testcase template_using_directive_typedef
2022-01-03T11:52:41.6683981Z checking matlab testcase template_nested
2022-01-03T11:52:42.9940312Z checking matlab testcase template_nested_flat
2022-01-03T11:52:43.2838712Z 
2022-01-03T11:52:43.2840803Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:52:43.2842881Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:52:43.2843909Z 
2022-01-03T11:52:44.6609532Z checking matlab testcase template_nested_typemaps
2022-01-03T11:52:45.7378521Z checking matlab testcase template_ns (with run test)
2022-01-03T11:52:45.8349895Z checking matlab testcase template_ns2
2022-01-03T11:52:46.8263444Z checking matlab testcase template_ns3
2022-01-03T11:52:47.7921598Z checking matlab testcase template_ns4 (with run test)
2022-01-03T11:52:59.3563733Z 
2022-01-03T11:52:59.3565868Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:52:59.3567223Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:52:59.3567993Z 
2022-01-03T11:53:01.7978493Z checking matlab testcase template_ns_enum
2022-01-03T11:53:02.7382798Z 
2022-01-03T11:53:02.7385001Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:53:02.7386351Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:53:02.7387068Z 
2022-01-03T11:53:02.8925232Z checking matlab testcase template_ns_enum2
2022-01-03T11:53:04.3487245Z checking matlab testcase template_ns_inherit
2022-01-03T11:53:04.9799076Z checking matlab testcase template_ns_scope
2022-01-03T11:53:05.3389225Z checking matlab testcase template_parameters_global_scope
2022-01-03T11:53:06.0285535Z checking matlab testcase template_partial_arg
2022-01-03T11:53:06.4935106Z checking matlab testcase template_partial_specialization
2022-01-03T11:53:07.0726870Z checking matlab testcase template_partial_specialization_typedef
2022-01-03T11:53:07.7451396Z checking matlab testcase template_qualifier
2022-01-03T11:53:08.4308962Z checking matlab testcase template_ref_type (with run test)
2022-01-03T11:53:09.3847356Z Warning: invalid MATLAB symbol '_i' (variable)
2022-01-03T11:53:09.3848030Z checking matlab testcase template_rename (with run test)
2022-01-03T11:53:09.3849634Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_i) _i;
2022-01-03T11:53:24.3912416Z 
2022-01-03T11:53:24.3914416Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:53:24.3915782Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:53:24.3916493Z 
2022-01-03T11:53:24.6547728Z 
2022-01-03T11:53:24.6549634Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:53:24.6550820Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:53:24.6551467Z 
2022-01-03T11:53:27.1441903Z checking matlab testcase template_retvalue
2022-01-03T11:53:27.3225994Z checking matlab testcase template_specialization
2022-01-03T11:53:28.1587223Z checking matlab testcase template_specialization_defarg
2022-01-03T11:53:28.3908102Z checking matlab testcase template_specialization_enum
2022-01-03T11:53:29.2677030Z checking matlab testcase template_static (with run test)
2022-01-03T11:53:29.3787832Z checking matlab testcase template_tbase_template (with run test)
2022-01-03T11:53:42.6931376Z 
2022-01-03T11:53:42.6933503Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:53:42.6935303Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:53:42.6935980Z 
2022-01-03T11:53:42.9360305Z 
2022-01-03T11:53:42.9362179Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:53:42.9363322Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:53:42.9363895Z 
2022-01-03T11:53:45.3415239Z checking matlab testcase template_template_parameters
2022-01-03T11:53:45.5787754Z checking matlab testcase template_typedef_class_template
2022-01-03T11:53:46.5015801Z checking matlab testcase template_typedef_cplx3 (with run test)
2022-01-03T11:53:46.6592024Z checking matlab testcase template_typedef_cplx4 (with run test)
2022-01-03T11:53:59.5742022Z 
2022-01-03T11:53:59.5744171Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:53:59.5745392Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:53:59.5746017Z 
2022-01-03T11:54:00.4892534Z 
2022-01-03T11:54:00.4894616Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:54:00.4895809Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:54:00.4896437Z 
2022-01-03T11:54:02.2032351Z checking matlab testcase template_typedef_cplx5
2022-01-03T11:54:02.9084147Z checking matlab testcase template_typedef_funcptr
2022-01-03T11:54:03.2537173Z checking matlab testcase template_typedef_inherit
2022-01-03T11:54:03.9509228Z checking matlab testcase template_typedef_ns
2022-01-03T11:54:04.3551276Z checking matlab testcase template_typedef_ptr
2022-01-03T11:54:05.3949544Z checking matlab testcase template_typedef_rec
2022-01-03T11:54:05.3958251Z checking matlab testcase template_typedef_typedef
2022-01-03T11:54:06.0227201Z checking matlab testcase template_typemaps
2022-01-03T11:54:06.4577171Z checking matlab testcase template_typemaps_typedef
2022-01-03T11:54:07.0472793Z checking matlab testcase template_typemaps_typedef2
2022-01-03T11:54:07.6168901Z checking matlab testcase template_using
2022-01-03T11:54:08.2770897Z checking matlab testcase template_virtual
2022-01-03T11:54:08.6207452Z checking matlab testcase template_whitespace
2022-01-03T11:54:09.3305573Z checking matlab testcase threads
2022-01-03T11:54:09.6349409Z checking matlab testcase threads_exception
2022-01-03T11:54:10.3379132Z checking matlab testcase throw_exception
2022-01-03T11:54:10.7760150Z checking matlab testcase typedef_array_member
2022-01-03T11:54:11.3673741Z checking matlab testcase typedef_class (with run test)
2022-01-03T11:54:11.8814078Z checking matlab testcase typedef_classforward_same_name
2022-01-03T11:54:12.8807323Z checking matlab testcase typedef_funcptr
2022-01-03T11:54:13.8935017Z checking matlab testcase typedef_inherit (with run test)
2022-01-03T11:54:24.6681039Z 
2022-01-03T11:54:24.6683203Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:54:24.6684432Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:54:24.6685095Z 
2022-01-03T11:54:27.1217229Z checking matlab testcase typedef_mptr
2022-01-03T11:54:28.1239940Z checking matlab testcase typedef_reference
2022-01-03T11:54:28.4159024Z 
2022-01-03T11:54:28.4247719Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:54:28.4249237Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:54:28.4250001Z 
2022-01-03T11:54:29.6025296Z checking matlab testcase typedef_scope (with run test)
2022-01-03T11:54:30.7594083Z checking matlab testcase typedef_sizet
2022-01-03T11:54:31.8450113Z checking matlab testcase typedef_struct_cpp
2022-01-03T11:54:33.1296676Z checking matlab testcase typedef_typedef
2022-01-03T11:54:34.3727879Z checking matlab testcase typemap_arrays
2022-01-03T11:54:35.5441989Z checking matlab testcase typemap_array_qualifiers
2022-01-03T11:54:37.1491531Z checking matlab testcase typemap_delete
2022-01-03T11:54:38.5357211Z checking matlab testcase typemap_directorout
2022-01-03T11:54:40.0257188Z checking matlab testcase typemap_documentation
2022-01-03T11:54:40.7898763Z 
2022-01-03T11:54:40.7900836Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:54:40.7902107Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:54:40.7903075Z 
2022-01-03T11:54:41.3180721Z checking matlab testcase typemap_global_scope
2022-01-03T11:54:42.9186801Z checking matlab testcase typemap_manyargs
2022-01-03T11:54:43.2673923Z checking matlab testcase typemap_namespace (with run test)
2022-01-03T11:54:43.9924763Z checking matlab testcase typemap_ns_using (with run test)
2022-01-03T11:54:44.0943544Z Warning: invalid MATLAB symbol '_FooImpl' ()
2022-01-03T11:54:44.0950042Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_FooImpl) _FooImpl;
2022-01-03T11:54:58.4973708Z 
2022-01-03T11:54:58.4975891Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:54:58.4977263Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:54:58.4977968Z 
2022-01-03T11:54:59.9083810Z 
2022-01-03T11:54:59.9085653Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:54:59.9086831Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:54:59.9087499Z 
2022-01-03T11:55:01.0864609Z checking matlab testcase typemap_numinputs
2022-01-03T11:55:01.9804884Z checking matlab testcase typemap_template
2022-01-03T11:55:02.1920553Z checking matlab testcase typemap_template_parm_typedef
2022-01-03T11:55:03.1075347Z checking matlab testcase typemap_template_parms
2022-01-03T11:55:03.3943664Z checking matlab testcase typemap_template_typedef
2022-01-03T11:55:04.2237485Z checking matlab testcase typemap_out_optimal
2022-01-03T11:55:04.4793277Z checking matlab testcase typemap_qualifier_strip
2022-01-03T11:55:05.2792212Z checking matlab testcase typemap_variables
2022-01-03T11:55:05.5313478Z checking matlab testcase typemap_various
2022-01-03T11:55:05.6403413Z Warning: invalid MATLAB symbol '_x2' (function)
2022-01-03T11:55:05.6409576Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_x2) _x2;
2022-01-03T11:55:05.6420195Z Warning: invalid MATLAB symbol '_3' (function)
2022-01-03T11:55:05.6426124Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_3) _3;
2022-01-03T11:55:06.3413132Z checking matlab testcase typename (with run test)
2022-01-03T11:55:06.5843653Z checking matlab testcase types_directive (with run test)
2022-01-03T11:55:22.1780179Z 
2022-01-03T11:55:22.1782492Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:55:22.1783858Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:55:22.1784616Z 
2022-01-03T11:55:22.3299855Z 
2022-01-03T11:55:22.3302042Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:55:22.3303378Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:55:22.3304095Z 
2022-01-03T11:55:25.0018403Z checking matlab testcase unicode_strings
2022-01-03T11:55:25.0387015Z checking matlab testcase union_scope
2022-01-03T11:55:25.9779332Z checking matlab testcase using1 (with run test)
2022-01-03T11:55:26.0679028Z Warning: invalid MATLAB symbol '_FooImpl' ()
2022-01-03T11:55:26.0684993Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_FooImpl) _FooImpl;
2022-01-03T11:55:26.0906529Z checking matlab testcase using2 (with run test)
2022-01-03T11:55:26.1924906Z Warning: invalid MATLAB symbol '_FooImpl' ()
2022-01-03T11:55:26.1931126Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_FooImpl) _FooImpl;
2022-01-03T11:55:39.1395528Z 
2022-01-03T11:55:39.1397789Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:55:39.1399126Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:55:39.1399835Z 
2022-01-03T11:55:39.3980557Z 
2022-01-03T11:55:39.3982636Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:55:39.3983976Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:55:39.3985110Z 
2022-01-03T11:55:41.7072810Z checking matlab testcase using_composition (with run test)
2022-01-03T11:55:41.9847507Z checking matlab testcase using_directive_and_declaration
2022-01-03T11:55:43.1009269Z checking matlab testcase using_directive_and_declaration_forward
2022-01-03T11:55:44.2725886Z checking matlab testcase using_extend (with run test)
2022-01-03T11:55:54.9586693Z 
2022-01-03T11:55:54.9588888Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:55:54.9590029Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:55:54.9590556Z 
2022-01-03T11:55:57.2164254Z checking matlab testcase using_inherit (with run test)
2022-01-03T11:55:58.4986321Z 
2022-01-03T11:55:58.4988625Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:55:58.4989972Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:55:58.5000205Z 
2022-01-03T11:56:00.9208457Z checking matlab testcase using_namespace
2022-01-03T11:56:02.2329128Z checking matlab testcase using_namespace_loop
2022-01-03T11:56:03.3171632Z checking matlab testcase using_pointers
2022-01-03T11:56:04.6513071Z checking matlab testcase using_private (with run test)
2022-01-03T11:56:08.9994624Z 
2022-01-03T11:56:08.9996709Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:56:08.9998461Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:56:08.9999199Z 
2022-01-03T11:56:11.5250075Z checking matlab testcase using_protected (with run test)
2022-01-03T11:56:16.8892189Z 
2022-01-03T11:56:16.8894532Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:56:16.8895889Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:56:16.8896631Z 
2022-01-03T11:56:19.4187969Z checking matlab testcase valuewrapper
2022-01-03T11:56:20.6778071Z checking matlab testcase valuewrapper_base
2022-01-03T11:56:22.0392997Z checking matlab testcase valuewrapper_const
2022-01-03T11:56:23.2251471Z checking matlab testcase valuewrapper_opaque
2022-01-03T11:56:24.0416659Z 
2022-01-03T11:56:24.0418809Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:56:24.0420022Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:56:24.0420663Z 
2022-01-03T11:56:24.8049448Z checking matlab testcase varargs (with run test)
2022-01-03T11:56:26.1811160Z checking matlab testcase varargs_overload
2022-01-03T11:56:27.3447959Z checking matlab testcase variable_replacement
2022-01-03T11:56:28.7095354Z checking matlab testcase virtual_destructor
2022-01-03T11:56:29.7142144Z checking matlab testcase virtual_derivation (with run test)
2022-01-03T11:56:36.8663856Z 
2022-01-03T11:56:36.8665462Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:56:36.8666466Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:56:36.8666926Z 
2022-01-03T11:56:39.3026887Z checking matlab testcase virtual_poly (with run test)
2022-01-03T11:56:42.2401366Z 
2022-01-03T11:56:42.2403536Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:56:42.2404913Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:56:42.2405632Z 
2022-01-03T11:56:44.7575190Z checking matlab testcase virtual_vs_nonvirtual_base
2022-01-03T11:56:46.1621647Z checking matlab testcase voidtest (with run test)
2022-01-03T11:56:51.6676255Z 
2022-01-03T11:56:51.6678030Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:56:51.6679125Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:56:51.6679646Z 
2022-01-03T11:56:54.3889013Z checking matlab testcase wallkw
2022-01-03T11:56:54.6090530Z Warning: invalid MATLAB symbol '_delegate' (function)
2022-01-03T11:56:54.6097410Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_delegate) _delegate;
2022-01-03T11:56:54.6104029Z Warning: invalid MATLAB symbol '_pass' (function)
2022-01-03T11:56:54.6110509Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_pass) _pass;
2022-01-03T11:56:54.6117056Z Warning: invalid MATLAB symbol '_alias' (function)
2022-01-03T11:56:54.6123511Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u_alias) _alias;
2022-01-03T11:56:55.9842775Z checking matlab testcase wrapmacro (with run test)
2022-01-03T11:56:58.7182743Z 
2022-01-03T11:56:58.7184735Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:56:58.7185848Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:56:58.7186418Z 
2022-01-03T11:57:01.3405196Z checking matlab testcase director_string
2022-01-03T11:57:03.5024986Z checking matlab testcase ignore_template_constructor
2022-01-03T11:57:05.6014491Z checking matlab testcase li_std_combinations
2022-01-03T11:57:08.1604775Z 
2022-01-03T11:57:08.1606918Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:57:08.1608276Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:57:08.1608991Z 
2022-01-03T11:57:10.1265785Z checking matlab testcase li_std_containers_overload
2022-01-03T11:57:10.4436429Z checking matlab testcase li_std_deque
2022-01-03T11:57:13.1420942Z checking matlab testcase li_std_except
2022-01-03T11:57:13.3835011Z checking matlab testcase li_std_except_as_class
2022-01-03T11:57:14.2729672Z checking matlab testcase li_std_map
2022-01-03T11:57:14.4567161Z checking matlab testcase li_std_pair
2022-01-03T11:57:15.7551237Z checking matlab testcase li_std_pair_using
2022-01-03T11:57:17.4315920Z checking matlab testcase li_std_string
2022-01-03T11:57:18.4674630Z checking matlab testcase li_std_vector
2022-01-03T11:57:19.2195797Z checking matlab testcase li_std_vector_back_reference
2022-01-03T11:57:20.9496673Z checking matlab testcase li_std_vector_enum
2022-01-03T11:57:23.0081557Z checking matlab testcase li_std_vector_member_var
2022-01-03T11:57:24.6341648Z checking matlab testcase li_std_vector_ptr
2022-01-03T11:57:27.5555789Z checking matlab testcase smart_pointer_inherit
2022-01-03T11:57:27.7041510Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:57:27.7047304Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:57:27.7106145Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:57:27.7111619Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:57:27.7734760Z Warning: invalid MATLAB symbol '__deref__' (function)
2022-01-03T11:57:27.7740431Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__deref__) __deref__;
2022-01-03T11:57:28.2035093Z checking matlab testcase template_typedef_fnc
2022-01-03T11:57:29.4207472Z checking matlab testcase template_type_namespace (with run test)
2022-01-03T11:57:29.9418904Z checking matlab testcase template_opaque (with run test)
2022-01-03T11:57:45.2366530Z 
2022-01-03T11:57:45.2368603Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:57:45.2369846Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:57:45.2370469Z 
2022-01-03T11:57:46.4583841Z 
2022-01-03T11:57:46.4585987Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:57:46.4587456Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:57:46.4588431Z 
2022-01-03T11:57:47.8825204Z checking matlab testcase arrays
2022-01-03T11:57:48.6902023Z checking matlab testcase bom_utf8
2022-01-03T11:57:48.8568609Z checking matlab testcase c_delete
2022-01-03T11:57:49.3895676Z checking matlab testcase c_delete_function
2022-01-03T11:57:49.4908702Z checking matlab testcase char_constant
2022-01-03T11:57:50.0723363Z checking matlab testcase const_const
2022-01-03T11:57:50.1117025Z checking matlab testcase constant_expr
2022-01-03T11:57:50.7341398Z checking matlab testcase default_args_c
2022-01-03T11:57:50.7504906Z checking matlab testcase empty_c
2022-01-03T11:57:51.4151285Z checking matlab testcase enums (with run test)
2022-01-03T11:57:51.4550045Z checking matlab testcase enum_forward
2022-01-03T11:57:52.1408012Z checking matlab testcase enum_macro
2022-01-03T11:57:52.8877576Z checking matlab testcase enum_missing
2022-01-03T11:57:53.7027135Z checking matlab testcase extern_declaration
2022-01-03T11:57:54.6079607Z checking matlab testcase funcptr
2022-01-03T11:57:55.3783476Z checking matlab testcase function_typedef
2022-01-03T11:57:56.4698459Z checking matlab testcase global_functions
2022-01-03T11:57:57.4594217Z checking matlab testcase global_immutable_vars
2022-01-03T11:57:58.4309059Z checking matlab testcase immutable_values
2022-01-03T11:57:59.5601033Z checking matlab testcase inctest (with run test)
2022-01-03T11:58:02.2991272Z 
2022-01-03T11:58:02.2993279Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:58:02.2994620Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:58:02.2995341Z 
2022-01-03T11:58:04.5666395Z checking matlab testcase infinity
2022-01-03T11:58:05.3473524Z checking matlab testcase integers
2022-01-03T11:58:06.2511433Z checking matlab testcase keyword_rename_c
2022-01-03T11:58:07.1282589Z checking matlab testcase lextype
2022-01-03T11:58:08.2499900Z checking matlab testcase li_cdata
2022-01-03T11:58:09.2406224Z checking matlab testcase li_constraints
2022-01-03T11:58:10.1123874Z checking matlab testcase li_cpointer (with run test)
2022-01-03T11:58:11.7677365Z 
2022-01-03T11:58:11.7679480Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:58:11.7680785Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:58:11.7682596Z 
2022-01-03T11:58:14.2780512Z checking matlab testcase li_math
2022-01-03T11:58:15.1031763Z checking matlab testcase long_long
2022-01-03T11:58:16.1283251Z checking matlab testcase memberin_extend_c
2022-01-03T11:58:17.1140638Z checking matlab testcase name
2022-01-03T11:58:18.0289442Z checking matlab testcase nested
2022-01-03T11:58:19.2815516Z checking matlab testcase nested_extend_c
2022-01-03T11:58:20.4490743Z checking matlab testcase nested_structs (with run test)
2022-01-03T11:58:21.9545597Z 
2022-01-03T11:58:21.9547432Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:58:21.9548633Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:58:21.9549270Z 
2022-01-03T11:58:24.5128941Z checking matlab testcase newobject2
2022-01-03T11:58:25.2836879Z checking matlab testcase not_c_keywords
2022-01-03T11:58:26.0362486Z checking matlab testcase overload_extend_c
2022-01-03T11:58:27.1461339Z checking matlab testcase overload_extend2
2022-01-03T11:58:28.0996957Z checking matlab testcase preproc (with run test)
2022-01-03T11:58:28.2011691Z Warning: invalid MATLAB symbol '__GMP_HAVE_CONST' ()
2022-01-03T11:58:28.2017454Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__GMP_HAVE_CONST) __GMP_HAVE_CONST;
2022-01-03T11:58:28.2023157Z Warning: invalid MATLAB symbol '__GMP_HAVE_PROTOTYPES' ()
2022-01-03T11:58:28.2029700Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__GMP_HAVE_PROTOTYPES) __GMP_HAVE_PROTOTYPES;
2022-01-03T11:58:28.2035531Z Warning: invalid MATLAB symbol '__GMP_HAVE_TOKEN_PASTE' ()
2022-01-03T11:58:28.2041509Z   Symbols may not start with '_'.  Maybe try something like this: %rename(u__GMP_HAVE_TOKEN_PASTE) __GMP_HAVE_TOKEN_PASTE;
2022-01-03T11:58:32.3628255Z 
2022-01-03T11:58:32.3630589Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:58:32.3631713Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:58:32.3632289Z 
2022-01-03T11:58:34.6776411Z checking matlab testcase preproc_constants_c
2022-01-03T11:58:35.4917601Z checking matlab testcase preproc_defined
2022-01-03T11:58:36.4972365Z checking matlab testcase preproc_gcc_output
2022-01-03T11:58:37.6183860Z checking matlab testcase preproc_include
2022-01-03T11:58:38.4753569Z checking matlab testcase preproc_line_file
2022-01-03T11:58:39.4250720Z checking matlab testcase register_par
2022-01-03T11:58:40.0510617Z checking matlab testcase ret_by_value (with run test)
2022-01-03T11:58:40.3368964Z 
2022-01-03T11:58:40.3370977Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:58:40.3372314Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:58:40.3373063Z 
2022-01-03T11:58:42.8289828Z checking matlab testcase simple_array
2022-01-03T11:58:43.8050642Z checking matlab testcase sizeof_pointer
2022-01-03T11:58:44.5390251Z checking matlab testcase sneaky1 (with run test)
2022-01-03T11:58:51.6084450Z 
2022-01-03T11:58:51.6086453Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:58:51.6087725Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:58:51.6088371Z 
2022-01-03T11:58:54.3123861Z checking matlab testcase string_simple
2022-01-03T11:58:55.2309249Z checking matlab testcase struct_rename (with run test)
2022-01-03T11:58:57.1319326Z 
2022-01-03T11:58:57.1321644Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:58:57.1323039Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:58:57.1323777Z 
2022-01-03T11:58:59.6929843Z checking matlab testcase struct_initialization
2022-01-03T11:59:00.5740096Z checking matlab testcase typedef_classforward_same_name
2022-01-03T11:59:01.4778565Z checking matlab testcase typedef_struct
2022-01-03T11:59:02.6240072Z checking matlab testcase typemap_subst
2022-01-03T11:59:03.8229307Z checking matlab testcase union_parameter
2022-01-03T11:59:04.8044993Z checking matlab testcase unions (with run test)
2022-01-03T11:59:07.5787177Z 
2022-01-03T11:59:07.5789313Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:59:07.5790708Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:59:07.5791429Z 
2022-01-03T11:59:09.8495616Z checking matlab testcase clientdata_prop
2022-01-03T11:59:12.7317627Z checking matlab testcase import_stl
2022-01-03T11:59:16.7733370Z checking matlab testcase imports (with run test)
2022-01-03T11:59:17.1133574Z 
2022-01-03T11:59:17.1135796Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:59:17.1137192Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:59:17.1137927Z 
2022-01-03T11:59:19.6681993Z checking matlab testcase mod (with run test)
2022-01-03T11:59:31.6333689Z 
2022-01-03T11:59:31.6335818Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:59:31.6337180Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:59:31.6337914Z 
2022-01-03T11:59:34.2438664Z checking matlab testcase multi_import (with run test)
2022-01-03T11:59:34.8875490Z 
2022-01-03T11:59:34.8877650Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:59:34.8879023Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:59:34.8879736Z 
2022-01-03T11:59:37.4045973Z checking matlab testcase packageoption
2022-01-03T11:59:40.9814537Z checking matlab testcase template_typedef_import (with run test)
2022-01-03T11:59:47.7557071Z 
2022-01-03T11:59:47.7559205Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:59:47.7560556Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:59:47.7562391Z 
2022-01-03T11:59:55.8586317Z 
2022-01-03T11:59:55.8588280Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:59:55.8589634Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:59:55.8590378Z 
2022-01-03T11:59:57.7249652Z make[1]: Target 'check' not remade because of errors.
2022-01-03T11:59:57.7255053Z make: *** [Makefile:247: check-matlab-test-suite] Error 1

@traversaro
Copy link
Owner Author

Clear errors:

2022-01-03T11:46:59.0867586Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64)\nmake[1]: *** [Makefile:40: director_default.cpptest] Error 1
2022-01-03T11:46:59.0873007Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_defaultMEX.mexa64)\nchecking matlab testcase director_ignore
2022-01-03T11:47:00.5744658Z checking matlab testcase director_keywords
2022-01-03T11:47:02.1012636Z checking matlab testcase director_namespace_clash
2022-01-03T11:47:03.6478532Z checking matlab testcase director_nested
2022-01-03T11:47:05.5248912Z checking matlab testcase director_nspace
2022-01-03T11:47:07.2803263Z checking matlab testcase director_nspace_director_name_collision
2022-01-03T11:47:08.7040199Z 
2022-01-03T11:47:08.7042255Z 	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
2022-01-03T11:47:08.7043527Z 	Not for government, commercial or other non-sponsored organizational use.
2022-01-03T11:47:08.7044105Z 
2022-01-03T11:47:08.8676549Z checking matlab testcase director_overload
2022-01-03T11:47:10.8580281Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64)\nchecking matlab testcase director_overload2
2022-01-03T11:47:11.0044369Z ERROR: Invalid MEX-file '/home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64': /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/runner/work/swig/swig/build/build/Examples/test-suite/matlab/director_frobMEX.mexa64)\nmake[1]: *** [Makefile:40: director_frob.cpptest] Error 1
2022-01-03T11:42:40.4964195Z + test -z matlab
2022-01-03T11:42:40.4964618Z + case "$SWIGLANG" in
2022-01-03T11:42:40.4968222Z ++ /home/runner/work/swig/swig/Tools/testflags.py --language matlab --cflags --std= --compiler=gcc
2022-01-03T11:42:40.5297035Z Traceback (most recent call last):
2022-01-03T11:42:40.5297838Z   File "/home/runner/work/swig/swig/Tools/testflags.py", line 87, in <module>
2022-01-03T11:42:40.5298744Z     print(get_flags(args.language, args.std, args.compiler))
2022-01-03T11:42:40.5299624Z   File "/home/runner/work/swig/swig/Tools/testflags.py", line 34, in get_cflags
2022-01-03T11:42:40.5300839Z     raise RuntimeError("{} is not a supported language".format(language))
2022-01-03T11:42:40.5301706Z RuntimeError: matlab is not a supported language
2022-01-03T11:42:40.5315969Z + cflags=
2022-01-03T11:42:40.5319840Z ++ /home/runner/work/swig/swig/Tools/testflags.py --language matlab --cxxflags --std= --compiler=gcc
2022-01-03T11:42:40.5451797Z Traceback (most recent call last):
2022-01-03T11:42:40.5452499Z   File "/home/runner/work/swig/swig/Tools/testflags.py", line 87, in <module>
2022-01-03T11:42:40.5453284Z     print(get_flags(args.language, args.std, args.compiler))
2022-01-03T11:42:40.5454075Z   File "/home/runner/work/swig/swig/Tools/testflags.py", line 65, in get_cxxflags
2022-01-03T11:42:40.5454879Z     raise RuntimeError("{} is not a supported language".format(language))
2022-01-03T11:42:40.5455608Z RuntimeError: matlab is not a supported language
2022-01-03T11:42:40.5470626Z + cxxflags=
2022-01-03T11:42:40.5471619Z + make check-matlab-version
2022-01-03T11:42:40.5747136Z showing matlab version
2022-01-03T11:42:52.8950467Z 
2022-01-03T11:42:52.8958015Z 9.11.0.1809720 (R2021b) Update 1

@traversaro
Copy link
Owner Author

The Invalid MEX-file error was solved by forcing the test to use the system libstdc++ instead of the MATLAB one with 6d4462c, while the RuntimeError: matlab is not a supported language error was added by adding matlab to the cases of the testflags.py script in f17a5f8 .

@traversaro
Copy link
Owner Author

traversaro commented Jan 4, 2022

while the RuntimeError: matlab is not a supported language error was added by adding matlab to the cases of the testflags.py script in f17a5f8 .

Adding -Werror to the flags create a lot of errors of this kind:

/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c: In function ‘SWIG_Error’:
/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c:751:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
  751 |   va_list arg;
      |   ^~~~~~~
/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c: In function ‘SWIG_Matlab_NewPointer’:
/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c:846:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
  846 |   SwigPtr *obj=(SwigPtr *)malloc(sizeof(SwigPtr));
      |   ^~~~~~~

So for now we can remove -Werror.

@traversaro
Copy link
Owner Author

Now the clean step fails with:

2022-01-04T15:22:48.7527630Z distcleaning Tools
2022-01-04T15:22:48.7801526Z file missed by maintainer-clean: ./Examples/matlab/reference/SwigRef.m
2022-01-04T15:22:48.7803157Z file missed by maintainer-clean: ./Examples/matlab/reference/SwigGet.m
2022-01-04T15:22:48.7804466Z file missed by maintainer-clean: ./Examples/matlab/reference/SwigMem.m
2022-01-04T15:22:48.7809583Z make: *** [Makefile:407: check-maintainer-clean] Error 1
2022-01-04T15:22:48.7824561Z file missed by maintainer-clean: ./Examples/matlab/contract/SwigRef.m
2022-01-04T15:22:48.7827993Z file missed by maintainer-clean: ./Examples/matlab/contract/SwigGet.m
2022-01-04T15:22:48.7829474Z file missed by maintainer-clean: ./Examples/matlab/contract/SwigMem.m
2022-01-04T15:22:48.7830694Z file missed by maintainer-clean: ./Examples/matlab/funcptr/SwigRef.m
2022-01-04T15:22:48.7831858Z file missed by maintainer-clean: ./Examples/matlab/funcptr/SwigGet.m
2022-01-04T15:22:48.7832856Z file missed by maintainer-clean: ./Examples/matlab/funcptr/SwigMem.m
2022-01-04T15:22:48.7833831Z file missed by maintainer-clean: ./Examples/matlab/simple/SwigRef.m
2022-01-04T15:22:48.7834818Z file missed by maintainer-clean: ./Examples/matlab/simple/SwigGet.m
2022-01-04T15:22:48.7835809Z file missed by maintainer-clean: ./Examples/matlab/simple/SwigMem.m
2022-01-04T15:22:48.7836826Z file missed by maintainer-clean: ./Examples/matlab/constants/SwigRef.m
2022-01-04T15:22:48.7838012Z file missed by maintainer-clean: ./Examples/matlab/constants/SwigGet.m
2022-01-04T15:22:48.7839225Z file missed by maintainer-clean: ./Examples/matlab/constants/SwigMem.m
2022-01-04T15:22:48.7840441Z file missed by maintainer-clean: ./Examples/matlab/funcptr2/SwigRef.m
2022-01-04T15:22:48.7841492Z file missed by maintainer-clean: ./Examples/matlab/funcptr2/SwigGet.m
2022-01-04T15:22:48.7842520Z file missed by maintainer-clean: ./Examples/matlab/funcptr2/SwigMem.m
2022-01-04T15:22:48.7843540Z file missed by maintainer-clean: ./Examples/matlab/class/SwigRef.m
2022-01-04T15:22:48.7844545Z file missed by maintainer-clean: ./Examples/matlab/class/SwigGet.m
2022-01-04T15:22:48.7845534Z file missed by maintainer-clean: ./Examples/matlab/class/SwigMem.m
2022-01-04T15:22:48.7846722Z file missed by maintainer-clean: ./Examples/matlab/template/SwigRef.m
2022-01-04T15:22:48.7847950Z file missed by maintainer-clean: ./Examples/matlab/template/SwigGet.m
2022-01-04T15:22:48.7849234Z file missed by maintainer-clean: ./Examples/matlab/template/SwigMem.m
2022-01-04T15:22:48.7850598Z file missed by maintainer-clean: ./Examples/matlab/enum/SwigRef.m
2022-01-04T15:22:48.7851897Z file missed by maintainer-clean: ./Examples/matlab/enum/SwigGet.m
2022-01-04T15:22:48.7854022Z file missed by maintainer-clean: ./Examples/matlab/enum/SwigMem.m
2022-01-04T15:22:48.7855326Z file missed by maintainer-clean: ./Examples/test-suite/matlab/SwigRef.m
2022-01-04T15:22:48.7856566Z file missed by maintainer-clean: ./Examples/test-suite/matlab/SwigStorage.m
2022-01-04T15:22:48.7858502Z file missed by maintainer-clean: ./Examples/test-suite/matlab/SwigGet.m
2022-01-04T15:22:48.7860188Z file missed by maintainer-clean: ./Examples/test-suite/matlab/SwigMem.m
2022-01-04T15:22:48.7869580Z ##[error]Process completed with exit code 2.

@KrisThielemans
Copy link

Adding -Werror to the flags create a lot of errors of this kind:

/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c: In function ‘SWIG_Error’:
/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c:751:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
  751 |   va_list arg;
      |   ^~~~~~~
/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c: In function ‘SWIG_Matlab_NewPointer’:
/home/runner/work/swig/swig/build/build/Examples/matlab/contract/example_wrap.c:846:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
  846 |   SwigPtr *obj=(SwigPtr *)malloc(sizeof(SwigPtr));
      |   ^~~~~~~

So for now we can remove -Werror.

@wsfulton, do we need to go through this? Using C99 or C11 would presumably get rid of these errors.

@wsfulton
Copy link

wsfulton commented Jan 5, 2022

I'm afraid so, SWIG is extremely conservative in the code that it generates, see http://swig.org/Doc4.0/Introduction.html#Introduction_nn13. You see those warnings because we test for ISO C90 compliance. Good news is they are usually very easy to fix.

@wsfulton
Copy link

wsfulton commented Jan 5, 2022

May I ask how uses: matlab-actions/setup-matlab@v1 works? For mainline SWIG testing, we use traditional apt commands to install packages and I'm afraid I'm not familiar with this approach for dependencies. Using apt to install is easy to follow and replicate locally. What I really would like to know is how this can be replicated locally so that local development and testing can be undertaken. Also, isn't there a license required for MATLAB and how does that work?

@traversaro
Copy link
Owner Author

traversaro commented Jan 5, 2022

May I ask how uses: matlab-actions/setup-matlab@v1 works? For mainline SWIG testing, we use traditional apt commands to install packages and I'm afraid I'm not familiar with this approach for dependencies. Using apt to install is easy to follow and replicate locally. What I really would like to know is how this can be replicated locally so that local development and testing can be undertaken. Also, isn't there a license required for MATLAB and how does that work?

Yes, MATLAB requires a license and is not available in apt, that is the reason why the custom action is required. In particolar, that action is provided by MathWorks itself, see https://github.com/matlab-actions/overview and https://github.com/matlab-actions/setup-matlab/ . To replicate what the action does locally, one needs to install MATLAB by having a license and downloading it via https://mathworks.com/downloads/ .

@traversaro
Copy link
Owner Author

traversaro commented Jan 5, 2022

May I ask how uses: matlab-actions/setup-matlab@v1 works?

Regarding how the action itself works, it basically executes two bash scripts (see https://github.com/matlab-actions/setup-matlab/blob/83047ffdd748c0c61de6db84c850b1389be4e1bb/src/install.ts and https://github.com/matlab-actions/setup-matlab/blob/bf7246a478e817e6aceef7a2519d5ef7db6faaa6/src/properties.json#L2):

We could try to replicate this logic without the action, but the risk is just that we make it more likely to break something if the action change.

@KrisThielemans
Copy link

We could try to replicate this logic without the action, but the risk is just that we make it more like to break something if the action change.

I strongly vote against that. Presumably the MATLAB action contains info on licensing etc, which is bound to only work on GHA.

If people want to use MATLAB, they will need to install it according to MathWorks instructions. This is not our task.

@KrisThielemans
Copy link

I'm afraid so, SWIG is extremely conservative in the code that it generates, see http://swig.org/Doc4.0/Introduction.html#Introduction_nn13. You see those warnings because we test for ISO C90 compliance. Good news is they are usually very easy to fix.

I've created jaeandersson#105. I suggest that we leave Werror out of this PR for now

@KrisThielemans
Copy link

created jaeandersson#106 for the clean test

@wsfulton
Copy link

wsfulton commented Jan 6, 2022

Thanks for the info @traversaro. It's quite a good setup as those SWIG developers who do not have a MATLAB license, can always ssh into a machine running the Github Action, using debugging-with-tmate for example, to debug if absolutely necessary. This should address any maintenance issues by SWIG developers who do not have a MATLAB license, but of course, the MATLAB module will be largely maintained by those that do have a local working MATLAB installation.

- name: Do not use MATLAB's stdc++ to avoid incompatibilities with other libraries
if: contains(matrix.SWIGLANG, 'matlab')
run:
echo 'LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6' >> $GITHUB_ENV

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this required for the SWIG tests? If so, I wonder if we shouldn't compile the test-suite only with MATLAB supported versions of the compiler which should remove this requirement (although that might be hard to do)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late reply. In theory MATLAB after R2020b support 20.04, but the test do not pass in Ubuntu 20.04 if I remove this workaround (perhaps some GitHub Actions specific modifications?). However, by setting the os to ubuntu-18.04 I can get all the test to pass without any workaround.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. I guess this is because gcc in 18.04 is older than in 20.04, and is therefore supported by MATLAB. I'm happy with this change (it's not our business to fix MATLAB...)

@KrisThielemans
Copy link

great. we're failing due to jaeandersson#106. I have no time to look into that at the moment, but suggest to merge (i.e. presumably create this PR on top of https://github.com/KrisThielemans/swig/tree/matlab-update)

@traversaro traversaro closed this Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants