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

Problem with docker-build.sh using clean all #30

Closed
kajaswat opened this issue Oct 26, 2020 · 1 comment · Fixed by #32
Closed

Problem with docker-build.sh using clean all #30

kajaswat opened this issue Oct 26, 2020 · 1 comment · Fixed by #32
Assignees

Comments

@kajaswat
Copy link
Member

tmpfs works fine when building without ports, eg:
TARGET=ia32-generic ./docker-build.sh clean core fs project image

when building with clean all, eg:
TARGET=ia32-generic ./docker-build.sh clean all

I got:

  Using /src/phoenix-rtos-ports/busybox/busybox-1.27.2/ as source for busybox
  GEN     /src/_build/ia32-generic/busybox/Makefile
  HOSTCC  scripts/basic/fixdep
/bin/sh: 1: scripts/basic/fixdep: Permission denied
make[2]: *** [scripts/Makefile.host:104: scripts/basic/fixdep] Error 126
make[1]: *** [/src/phoenix-rtos-ports/busybox/busybox-1.27.2//Makefile:357: scripts_basic] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [/src/phoenix-rtos-ports/busybox/busybox-1.27.2//Makefile:519: include/autoconf.h] Error 2

Skipping:
TMPFS_OVERLAY=("--tmpfs" "/src/_build")
in docker-build.sh does the work but sets me back to 'painfully slow'.

@nalajcie
Copy link
Member

I was able to reproduce the issue on linux. It turns out that tmpfs shares are mounted by default with noexec attribute which prevented to execute some host tool needed for busybox compilation.

Waiting for all the checks to pass before merging to master.

nalajcie added a commit that referenced this issue Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants