Skip to content

build.sh: Enable debug in make#888

Closed
miczyg1 wants to merge 3 commits into
dasharo-25.12from
make_debug
Closed

build.sh: Enable debug in make#888
miczyg1 wants to merge 3 commits into
dasharo-25.12from
make_debug

Conversation

@miczyg1
Copy link
Copy Markdown
Contributor

@miczyg1 miczyg1 commented May 14, 2026

Upstream-Status: Inappropriate [temporary debug]

@miczyg1
Copy link
Copy Markdown
Contributor Author

miczyg1 commented May 14, 2026

My build log:

 Considering target file '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
  Looking for an implicit rule for '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
  No implicit rule found for '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
 Finished prerequisites of target file '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
 No need to remake target '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.

VS CI:

 Considering target file '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
  File '/home/coreboot/coreboot/util/kconfig/Makefile.mk' does not exist.
  Looking for an implicit rule for '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
  No implicit rule found for '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
 Finished prerequisites of target file '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
 Must remake target '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.
Makefile:112: /home/coreboot/coreboot/util/kconfig/Makefile.mk: Permission denied
make: *** No rule to make target '/home/coreboot/coreboot/util/kconfig/Makefile.mk'.  Stop.

Somehow inside the container, the '/home/coreboot/coreboot/util/kconfig/Makefile.mk' does not exist...

@miczyg1
Copy link
Copy Markdown
Contributor Author

miczyg1 commented May 14, 2026

So I went back to 6477ee1, where everything worked. ANd just the SDK change makes the build to fail, but only on CI. Locally it works...

Upstream-Status: Inappropriate [temporary debug]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
@miczyg1 miczyg1 force-pushed the make_debug branch 6 times, most recently from 8d7ca19 to a53b1c4 Compare May 14, 2026 10:19
Upstream-Status: Inappropriate [CI testing]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
@miczyg1
Copy link
Copy Markdown
Contributor Author

miczyg1 commented May 14, 2026

Okay there seem to be user id mismatch bewteen container and the outside of the contianer. GH runner has:

Running SDK with UID: 1001
uid=1001(runner) gid=1001(runner) groups=1001(runner),4(adm),100(users),118(docker),999(systemd-journal)

While user coreboot in the container has id 1000. So mounting coreboot git repo to /home/coreboot results in no permission to read /home/coreboot/coreboot ?

Upstream-Status: Inappropriate [CI testing]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
@miczyg1 miczyg1 closed this May 14, 2026
@miczyg1 miczyg1 deleted the make_debug branch May 14, 2026 11:03
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 this pull request may close these issues.

1 participant