Skip to content

[BUG] Make: sim:quickjs fails to build #15712

@simbit18

Description

@simbit18

Description / Steps to reproduce the issue

./tools/configure.sh -l sim:quickjs
make -j

sim:quickjs Cmake is ok while Make fails to build with this Error:

LN: platform/board to /github/workspace/sources/apps/platform/dummy
Downloading quickjs-2020-11-08.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
6 734k 6 49152 0 0 37885 0 0:00:19 0:00:01 0:00:18 37867
100 734k 100 734k 0 0 412k 0 0:00:01 0:00:01 --:--:-- 412k
Unpacking quickjs-2020-11-08.tar.xz to quickjs
patching file quickjs-libc.c
Hunk #1 succeeded at 3558 (offset -137 lines).
Hunk #2 succeeded at 3573 with fuzz 2 (offset -137 lines).
Hunk #3 FAILED at 3743.
1 out of 3 hunks FAILED -- saving rejects to file quickjs-libc.c.rej
patching file CMakeLists.txt
patching file qjsc.cmake
make[3]: *** [Makefile:74: quickjs] Error 1
make[2]: *** [Makefile:57: /github/workspace/sources/apps/interpreters/quickjs_context] Error 2
make[1]: *** [Makefile:187: context] Error 2
make: *** [tools/Unix.mk:458: /github/workspace/sources/apps/.context] Error 2

Testing with NuttX Docker image (ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest) and jobs Cmake and Make

https://github.com/simbit18/nuttx_test_pr/actions/runs/13029942215/job/36346890425#logs

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu at GitHub Actions

NuttX Version

master

Issue Architecture

[Arch: simulator]

Issue Area

[Area: Build System]

Host information

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions