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

infinitime/infinitime-build:latest fails to build #1868

Closed
1 task done
JosuGZ opened this issue Sep 28, 2023 · 2 comments
Closed
1 task done

infinitime/infinitime-build:latest fails to build #1868

JosuGZ opened this issue Sep 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@JosuGZ
Copy link

JosuGZ commented Sep 28, 2023

Verification

  • I searched for similar bug reports (including closed issues) and found none was relevant.

What happened?

Building with the docker image fails

Reproduction steps

After cloning main:

docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime/infinitime-build:v2 /opt/build.sh pinetime-app

I get the following error:

Traceback (most recent call last):
  File "/sources/src/resources/generate-img.py", line 56, in <module>
    main()
  File "/sources/src/resources/generate-img.py", line 51, in main
    subprocess.check_call(line)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/sources/node_modules/.bin/lv_img_conv', '/sources/src/resources/images/navigation1.png', '--force', '--output-file', 'navigation1.bin', '--color-format', 'CF_INDEXED_1_BIT', '--output-format', 'bin', '--binary-format', 'ARGB8565_RBSWAP']' returned non-zero exit status 243.
gmake[3]: *** [src/resources/CMakeFiles/GenerateResources.dir/build.make:73: src/resources/CMakeFiles/GenerateResources] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:686: src/resources/CMakeFiles/GenerateResources.dir/all] Error 2
gmake[2]: *** Waiting for unfinished jobs...

Version

Latest commit on main.

@JosuGZ JosuGZ added the bug Something isn't working label Sep 28, 2023
@FintasticMan
Copy link
Member

Duplicate of #1859. Will be fixed by either #1863 or #1764.

@FintasticMan FintasticMan closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
@JosuGZ
Copy link
Author

JosuGZ commented Sep 29, 2023

The package-lock.json should help a lot preventing problems when new images are created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants