permission issues when running make

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Sep 27 10:19:22 UTC 2017



On 27/09/17 10:51, David Holmes wrote:
> On 27/09/2017 7:46 PM, Maurizio Cimadamore wrote:
>> Hi,
>> I sometimes encounter this (consolidated repo only):
>>
>> $ make
>> /usr/bin/tee: /bin/mkdir: /build.logcannot create directory 
>> ‘/make-support’: Permission denied: Permission denied
>>
>> /usr/bin/tee: /build.log: Permission denied
>> Building target 'default (exploded-image)' in configuration 
>> 'linux-x86_64-normal-server-release'
>> /w/lt/amber/dev/make/Init.gmk:291: recipe for target 'main' failed
>> make[1]: *** [main] Error 1
>>
>>
>> This goes away if I do a full configure.
>>
>> Why is the build attempting to create folders into '/' ?
>
> That suggests an empty variable is being found.
>
> Where are you running make from?
jdk toplevel folder.

After running

sh configure ...

and repeating same command, the issue goes away.

The last time I got this I brought the repo over (rsaync) form another 
machine (which I used to do all the time even before, but never caused 
such issues).

Maurizio
>
> David
>
>> Maurizio
>>




More information about the build-dev mailing list