On 27/09/2017 8:19 PM, Maurizio Cimadamore wrote:
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.
As in a repo top-level folder I assume?
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).
Did a configuration exist when you ran it? The output seems odd. If I
run with a config present the first thing I see is:
Building target 'default (product-bundles test-bundles docs-bundles)' in
configuration 'linux-x64-open-debug'
and if no config then:
Error: No configurations found for /export/users/dh198349/valhalla-master.
Please run 'bash configure' to create a configuration.
Anything odd set in your environment?
David
Maurizio
David
Maurizio