Don't know if this is your case but is /mnt the ISO file? It would be read-only. Run mount /mnt and ensure kernel is building on a R/W filesystem. -Daryl ----- Reply message ----- From: "Wawrzek Niewodniczanski" <main@wawrzek.name> To: "crux" <crux@lists.crux.nu> Subject: Problem in building iso image Date: Wed, Aug 28, 2019 12:45 I try to build an iso image from release 3.5 branch and get following error. What's wrong? bash-4.4# make kernel make -C kernel/linux-4.19.61 mrproper make[1]: Entering directory '/mnt/kernel/linux-4.19.61' make[2]: *** Documentation/Kbuild: Is a directory. Stop. make[1]: *** [Makefile:1316: _clean_Documentation] Error 2 make[1]: Leaving directory '/mnt/kernel/linux-4.19.61' make: *** [Makefile:98: kernel/linux-4.19.61/arch/x86/boot/bzImage] Error 2 Wawrzek PS. Is it correct that master points on Crux 3.4 release? -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124 _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
On Wed, 28 Aug 2019 at 21:16, wyatt@prairieturtle.ca <wyatt@prairieturtle.ca> wrote:
bash-4.4# make kernel make -C kernel/linux-4.19.61 mrproper make[1]: Entering directory '/mnt/kernel/linux-4.19.61' make[2]: *** Documentation/Kbuild: Is a directory. Stop.
[...]
Don't know if this is your case but is /mnt the ISO file? It would be read-only. Run mount /mnt and ensure kernel is building on a R/W filesystem.
-Daryl
Good suggestion. I was using the Crux docker image on a MacOSX and mount shows: osxfs on /mnt type fuse.osxfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,max_read=1048576) I guess that's the problem. Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
On Thu, 29 Aug 2019 at 09:26, Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
On Wed, 28 Aug 2019 at 21:16, wyatt@prairieturtle.ca <wyatt@prairieturtle.ca> wrote:
bash-4.4# make kernel make -C kernel/linux-4.19.61 mrproper make[1]: Entering directory '/mnt/kernel/linux-4.19.61' make[2]: *** Documentation/Kbuild: Is a directory. Stop.
[...]
I was using the Crux docker image on a MacOSX and mount shows:
osxfs on /mnt type fuse.osxfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,max_read=1048576)
I guess that's the problem.
Looks like this problem: https://unrouted.io/2016/08/09/docker-osx-linux-kernel-building/ "The moral of this story is to not try and build kernels on case insensitive filesystems." What interesting it's ok to run make mproper directly on Mac, so the problem are fuse.osxfs settings. Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
participants (2)
-
Wawrzek Niewodniczanski
-
wyatt@prairieturtle.ca