DarkFlippers / unleashed-firmware

Flipper Zero Unleashed Firmware
https://flipperunleashed.com
GNU General Public License v3.0
17.15k stars 1.43k forks source link

lib/toolbox/tar/tar_archive.c:3:10: fatal error: microtar.h: No such file or directory #720

Closed o7-machinehum closed 7 months ago

o7-machinehum commented 7 months ago

Describe the bug.

machinehum@walkers-macbook-pro unleashed-firmware % ./fbt 

scons: warning: App manifest not found at path /Users/machinehum/projects/unleashed-firmware/applications/main/subghz_remote/application.fam
File "/Users/machinehum/projects/unleashed-firmware/site_scons/site_tools/fbt_apps.py", line 33, in LoadApplicationManifests
    SDKCHK  firmware/targets/f7/api_symbols.csv
API version 1.0 is up to date
    CC  lib/toolbox/tar/tar_archive.c
    CC  lib/ST25RFAL002/source/rfal_st25xv.c
    CC  lib/ST25RFAL002/source/rfal_t1t.c
    CC  lib/ST25RFAL002/source/rfal_t2t.c
    CC  lib/ST25RFAL002/source/rfal_t4t.c
    CC  lib/ST25RFAL002/platform.c
    CC  lib/ST25RFAL002/timer.c
lib/toolbox/tar/tar_archive.c:3:10: fatal error: microtar.h: No such file or directory
    3 | #include <microtar.h>
      |          ^~~~~~~~~~~~
compilation terminated.
    CC  lib/libusb_stm32/src/usbd_core.c
    CC  lib/libusb_stm32/src/usbd_stm32wb55_devfs.c
    CC  lib/drivers/bq25896.c
    CC  lib/drivers/bq27220.c
scons: *** [build/f7-firmware-D/toolbox/tar/tar_archive.o] Error 1
********** ERRORS **********
Failed building build/f7-firmware-D/toolbox/tar/tar_archive.o: Error 1

Reproduction

Please see build commands above

Target

Issueing the normal build command

Logs

No response

Anything else?

No response

o7-machinehum commented 7 months ago

Of course there's no way to obviously "clean" the build because the makefile has been replaced with fbt