Closed kylekrol closed 4 years ago
Also seeing the following issue when building GNC code with pio test -e native
(venv) ➜ psim git:(master) pio test -e native -v
Collected 6 items
Processing attitude_estimator in native environment
------------------------------------------------------------------------------------------------------------------
Building...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <lin> 0.0.1 (/Users/tanishqaggarwal/Documents/pan/repositories/psim/lib/lin)
Building in release mode
ar rc .pio/build/native/libda8/liblin.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
*** [.pio/build/native/libda8/liblin.a] Error 1
=========================================== [FAILED] Took 1.06 seconds ===========================================
Processing groundpropagator in native environment
------------------------------------------------------------------------------------------------------------------
Building...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <lin> 0.0.1 (/Users/tanishqaggarwal/Documents/pan/repositories/psim/lib/lin)
Building in release mode
ar rc .pio/build/native/libda8/liblin.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
*** [.pio/build/native/libda8/liblin.a] Error 1
=========================================== [FAILED] Took 1.18 seconds ===========================================
Processing kalman_utl in native environment
------------------------------------------------------------------------------------------------------------------
Building...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <lin> 0.0.1 (/Users/tanishqaggarwal/Documents/pan/repositories/psim/lib/lin)
Building in release mode
ar rc .pio/build/native/libda8/liblin.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
*** [.pio/build/native/libda8/liblin.a] Error 1
=========================================== [FAILED] Took 1.14 seconds ===========================================
Processing misc in native environment
------------------------------------------------------------------------------------------------------------------
Building...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <lin> 0.0.1 (/Users/tanishqaggarwal/Documents/pan/repositories/psim/lib/lin)
Building in release mode
ar rc .pio/build/native/libda8/liblin.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
*** [.pio/build/native/libda8/liblin.a] Error 1
=========================================== [FAILED] Took 1.14 seconds ===========================================
Processing orbit in native environment
------------------------------------------------------------------------------------------------------------------
Building...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <lin> 0.0.1 (/Users/tanishqaggarwal/Documents/pan/repositories/psim/lib/lin)
Building in release mode
ar rc .pio/build/native/libda8/liblin.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
*** [.pio/build/native/libda8/liblin.a] Error 1
=========================================== [FAILED] Took 1.12 seconds ===========================================
Processing orbit_controller in native environment
------------------------------------------------------------------------------------------------------------------
Building...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <lin> 0.0.1 (/Users/tanishqaggarwal/Documents/pan/repositories/psim/lib/lin)
Building in release mode
ar rc .pio/build/native/libda8/liblin.a
ar: no archive members specified
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
*** [.pio/build/native/libda8/liblin.a] Error 1
=========================================== [FAILED] Took 1.09 seconds ===========================================
Test Environment Status Duration
------------------ ------------- -------- ------------
attitude_estimator native FAILED 00:00:01.058
attitude_estimator github IGNORED
attitude_estimator teensy35 IGNORED
attitude_estimator teensy35_ci IGNORED
attitude_estimator teensy36 IGNORED
attitude_estimator teensy36_ci IGNORED
groundpropagator native FAILED 00:00:01.181
groundpropagator github IGNORED
groundpropagator teensy35 IGNORED
groundpropagator teensy35_ci IGNORED
groundpropagator teensy36 IGNORED
groundpropagator teensy36_ci IGNORED
kalman_utl native FAILED 00:00:01.136
kalman_utl github IGNORED
kalman_utl teensy35 IGNORED
kalman_utl teensy35_ci IGNORED
kalman_utl teensy36 IGNORED
kalman_utl teensy36_ci IGNORED
misc native FAILED 00:00:01.140
misc github IGNORED
misc teensy35 IGNORED
misc teensy35_ci IGNORED
misc teensy36 IGNORED
misc teensy36_ci IGNORED
orbit native FAILED 00:00:01.119
orbit github IGNORED
orbit teensy35 IGNORED
orbit teensy35_ci IGNORED
orbit teensy36 IGNORED
orbit teensy36_ci IGNORED
orbit_controller native FAILED 00:00:01.086
orbit_controller github IGNORED
orbit_controller teensy35 IGNORED
orbit_controller teensy35_ci IGNORED
orbit_controller teensy36 IGNORED
orbit_controller teensy36_ci IGNORED
===================================== 6 failed, 0 succeeded in 00:00:06.720 =====================================
@tanishqaggarwal I think the above may actually require updates to the library.json file in lin
. @shihaocao I think fixed the psim one recently.
@tanishqaggarwal reported this build issue on MacOS:
Going to update the calls to
get
to keep apple clang happy for the time being.