mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Fail to build Linux with O= in master
@ 2017-09-29 23:59 Julien Grall
  2017-09-30  0:37 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Grall @ 2017-09-29 23:59 UTC (permalink / raw)
  To: yamada.masahiro; +Cc: mmarek, linux-kbuild, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fail to build Linux with O= in master
  2017-09-29 23:59 Fail to build Linux with O= in master Julien Grall
@ 2017-09-30  0:37 ` Masahiro Yamada
  2017-10-02 11:20   ` Julien Grall
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2017-09-30  0:37 UTC (permalink / raw)
  To: Julien Grall; +Cc: Michal Marek, Linux Kbuild mailing list, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fail to build Linux with O= in master
  2017-09-30  0:37 ` Masahiro Yamada
@ 2017-10-02 11:20   ` Julien Grall
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Grall @ 2017-10-02 11:20 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Michal Marek, Linux Kbuild mailing list, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-02 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29 23:59 Fail to build Linux with O= in master Julien Grall
2017-09-30  0:37 ` Masahiro Yamada
2017-10-02 11:20   ` Julien Grall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®