Xinyuan-LilyGO / lilygo-micropython

Micropython for LILYGO boards
GNU General Public License v3.0
88 stars 28 forks source link

Build failure for T-display-S3 #23

Closed Drew40B closed 1 year ago

Drew40B commented 1 year ago

Hello, I followed the directions for the T3-Display -S3 and got the below error. I am running Ubuntu 22.04 with python 3.8.2.

Commands

$ cp config_T-DisplayS3 config
$ make

Output

git config --global --add safe.directory /media/drew/DATA1/git/github/lilygo-micropython/tmp/dl/micropython/lib/wiznet5k
fatal: Failed to recurse into submodule path 'lib/asf4'
fatal: Failed to recurse into submodule path 'lib/axtls'
fatal: Failed to recurse into submodule path 'lib/berkeley-db-1.xx'
fatal: Failed to recurse into submodule path 'lib/btstack'
fatal: Failed to recurse into submodule path 'lib/cyw43-driver'
fatal: Failed to recurse into submodule path 'lib/fsp'
fatal: Failed to recurse into submodule path 'lib/libffi'
fatal: Failed to recurse into submodule path 'lib/libhydrogen'
fatal: Failed to recurse into submodule path 'lib/lwip'
fatal: Failed to recurse into submodule path 'lib/mbedtls'
fatal: Failed to recurse into submodule path 'lib/micropython-lib'
fatal: Failed to recurse into submodule path 'lib/mynewt-nimble'
fatal: Failed to recurse into submodule path 'lib/nrfx'
fatal: Failed to recurse into submodule path 'lib/nxp_driver'
fatal: Failed to recurse into submodule path 'lib/pico-sdk'
fatal: Failed to recurse into submodule path 'lib/stm32lib'
fatal: Failed to recurse into submodule path 'lib/tinyusb'
fatal: Failed to recurse into submodule path 'lib/wiznet5k'
unpack micropython-v1.19.tar.gz
tar: /media/drew/DATA1/git/github/lilygo-micropython/dl/micropython-v1.19.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
touch: cannot touch '/media/drew/DATA1/git/github/lilygo-micropython/build_dir/esp32s3/micropython/prereq': No such file or directory
make: *** [Makefile:42: micropython] Error 1
`
lbuque commented 1 year ago

Try the following:

$ rm -rf build_dir
$ cp config_T-DisplayS3 config
$ make > build.log 2>&1
Drew40B commented 1 year ago

Still failed. build.log

Drew40B commented 1 year ago

Thought: Is it not possible for someone to build and actually publish the result to https://www.micropython.org/download/?

lbuque commented 1 year ago

Still failed.

It should be a disk permission problem that caused the micropython source code download to fail. You can try to mount the disk to the $HOME directory and give you the permissions of the current user.

Thought: Is it not possible for someone to build and actually publish the result to https://www.micropython.org/download/?

You can get the latest firmware here.

Drew40B commented 1 year ago

I tried a different tact I used this docker image mgos/esp32-build:4.4.1-r7, shelled into the container and ran the associated instructions. I got further but still failed. Attached is a copy of the latest log.

Can you please just build the firmware and make it publicly available somewhere?

build.log

lbuque commented 1 year ago

@Drew40B

Can you please just build the firmware and make it publicly available somewhere?

You can get the latest firmware here.

Drew40B commented 1 year ago

@lbuque That link you posted only takes me to the build process. It does not take me to the final build destination

lbuque commented 1 year ago

@Drew40B image