Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1742413 > unrolled thread
| Started by | Julien Grall <julien.grall@arm.com> |
|---|---|
| First post | 2017-09-30 02:00 +0200 |
| Last post | 2017-10-02 13:30 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
Fail to build Linux with O= in master Julien Grall <julien.grall@arm.com> - 2017-09-30 02:00 +0200
Re: Fail to build Linux with O= in master Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-30 02:40 +0200
Re: Fail to build Linux with O= in master Julien Grall <julien.grall@arm.com> - 2017-10-02 13:30 +0200
| From | Julien Grall <julien.grall@arm.com> |
|---|---|
| Date | 2017-09-30 02:00 +0200 |
| Subject | Fail to build Linux with O= in master |
| Message-ID | <uvdmi-4zz-1@gated-at.bofh.it> |
Hello, I have tried to build the latest master and got the following error: 42sh> make O=~/works/linux-build/aarch64-4k -C ~/works/linux make: Entering directory '/home/julgra01/works/linux' Makefile:135: *** failed to create output directory "~/works/linux-build/aarch64-4k". Stop. make: Leaving directory '/home/julgra01/works/linux' The bisector found the commit 8e9b466 "kbuild: use $(abspath ...) instead of $(shell cd ... && /bin/pwd)". Looking at the code, it seems that it is because the code is now using $(realpath ...). Indeed when I replace ~ by $HOME the kernel is now built. I am not a Makefile expert, so I would appreciate if anyone could suggest a patch for this. Regards, -- Julien Grall
[toc] | [next] | [standalone]
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Date | 2017-09-30 02:40 +0200 |
| Message-ID | <uvdZ0-53Y-17@gated-at.bofh.it> |
| In reply to | #1742413 |
2017-09-30 8:59 GMT+09:00 Julien Grall <julien.grall@arm.com>: > Hello, > > I have tried to build the latest master and got the following error: > > 42sh> make O=~/works/linux-build/aarch64-4k -C ~/works/linux > make: Entering directory '/home/julgra01/works/linux' > Makefile:135: *** failed to create output directory "~/works/linux-build/aarch64-4k". Stop. > make: Leaving directory '/home/julgra01/works/linux' > > The bisector found the commit 8e9b466 "kbuild: use $(abspath ...) > instead of $(shell cd ... && /bin/pwd)". > > Looking at the code, it seems that it is because the code is > now using $(realpath ...). Indeed when I replace ~ by $HOME > the kernel is now built. > > I am not a Makefile expert, so I would appreciate if anyone > could suggest a patch for this. > Thanks for the report. Which shell are you using? I use bash and I have no problem. If I try dash, indeed, it fails. I will take a look. -- Best Regards Masahiro Yamada
[toc] | [prev] | [next] | [standalone]
| From | Julien Grall <julien.grall@arm.com> |
|---|---|
| Date | 2017-10-02 13:30 +0200 |
| Message-ID | <uw759-6FT-19@gated-at.bofh.it> |
| In reply to | #1742416 |
Hello, On 30/09/17 01:37, Masahiro Yamada wrote: > 2017-09-30 8:59 GMT+09:00 Julien Grall <julien.grall@arm.com>: >> Hello, >> >> I have tried to build the latest master and got the following error: >> >> 42sh> make O=~/works/linux-build/aarch64-4k -C ~/works/linux >> make: Entering directory '/home/julgra01/works/linux' >> Makefile:135: *** failed to create output directory "~/works/linux-build/aarch64-4k". Stop. >> make: Leaving directory '/home/julgra01/works/linux' >> >> The bisector found the commit 8e9b466 "kbuild: use $(abspath ...) >> instead of $(shell cd ... && /bin/pwd)". >> >> Looking at the code, it seems that it is because the code is >> now using $(realpath ...). Indeed when I replace ~ by $HOME >> the kernel is now built. >> >> I am not a Makefile expert, so I would appreciate if anyone >> could suggest a patch for this. >> > > Thanks for the report. > > Which shell are you using? I am using dash. > > I use bash and I have no problem. > If I try dash, indeed, it fails. > > I will take a look. Thank you! Cheers, -- Julien Grall
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web