-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] Build error after switching from release/12.7 to master with LittleFS enabled #15148
Comments
maybe this is related to my change. #14956 a question: have you stared from a clean tree? |
Our tests seems fine on building LittleFS. Please try to build using
|
Yes, I started from clean tree. |
Eren. I am facing issue when I try follow your steps, When I try enable ESPRESSIF_SPIFLASH_LITTLEFS the manuconfig crash, see below:
|
Did you add options to defconfig or did you do it manually? |
Hello @eren-terzioglu , I did distclean, I am in master branch. |
For now, you can add options into defconfig. It should work |
@acassis What do you think about menuconfig crash? It is a bug also, should I create @eren-terzioglu You need build 2 times to get issue, did you do it ? |
I will have a look it. |
It didn't crash on my system but choice option disappeared, probably it disables choice menu. It should be fine if you use enter key. Worst case scenario you can change file system preference under |
@FelipeMdeO just do a test using kconfig-frontend instead of kconfig lib. I think kconfiglib is more restrictive, if it find some inconsistencies in the Kconfig file it will fail. So after confirming it works with kconfig-frontend we need to discover what changed in the Kconfig that raised this issue on kconfiglib |
It looks like an environment issue. Try a fresh nuttx/apps clone and see if it works. Maybe some pending symlinks for a different project? |
i couldn't reproduce the error. i used "make -j8" instead of "make -j".
macOS 15.2, x86-64 |
Can you, please, enable littlefs after ./tools/configure.sh esp32c6-devkitc:nsh and execute other steps again? |
ok. |
Note that $(CONFIG_FS_LITTLEFS_VERSION).tar.gz is expanded to eg. "v2.5.1".tar.gz. The extra quotes break make's file existence checks. Fixes: apache#15148 The regression was caused by apache#14903
|
Note that $(CONFIG_FS_LITTLEFS_VERSION).tar.gz is expanded to eg. "v2.5.1".tar.gz. The extra quotes break make's file existence checks. Fixes: apache#15148 The regression was caused by apache#14903
Description / Steps to reproduce the issue
Description:
Hello everyone,
After switching from the release/12.7 branch to master, I am encountering a build error when LittleFS is enabled in the filesystem. This issue does not occur when using the release/12.7 branch.
Steps to Reproduce:
./tools/configure.sh esp32c6-devkitc:nsh
Enable LittleFS in the filesystem.
Build the project:
Expected Behavior:
The build should complete successfully.
Actual Behavior:
The following error occurs during the build process:
felipe-moura@felipe-moura:~/nuttxspace/nuttx$ make -j
Create version.h
Downloading: littlefs/v2.5.1.tar.gz LN: platform/board to /home/felipe-moura/nuttxspace/nuttx-apps/platform/dummy
Register: nsh
Register: sh
Register: hello
Register: ostest
Register: getprime
Register: dumpstack
error: patch failed: fs/littlefs/littlefs/lfs_util.h:28
error: fs/littlefs/littlefs/lfs_util.h: patch does not apply
make[1]: *** [littlefs/Make.defs:65: .littlefsunpack] Error 1
make: *** [tools/Unix.mk:457: fs/.context] Error 2
Additional Information:
defconfig:
Please let me know if additional details or logs are needed. Thank you!
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Ubuntu 24.0
NuttX Version
master
Issue Architecture
[Arch: all]
Issue Area
[Area: File System]
Verification
The text was updated successfully, but these errors were encountered: