[Buildroot] Analysis of build results for 2016-08-08

Yann E. MORIN yann.morin.1998 at free.fr
Mon Sep 5 09:15:57 UTC 2016


Julien, All,

On 2016-09-05 10:14 +0200, Arnout Vandecappelle spake thusly:
> On 03-09-16 17:05, Julien Boibessot wrote:
> > On 26/08/2016 00:37, Arnout Vandecappelle wrote:
> [snip]
> >>  Looking at the source of edje_cc, it's mkstemp() that fails. Do you have TMPDIR
> >> or XDG_RUNTIME_DIR pointing to some location that is not writable or doesn't exist?
> > 
> > XDG_RUNTIME_DIR is indeed pointing to a directory that is not writable
> > for user launching the build.
> > export XDG_RUNTIME_DIR=/tmp fixes the host-efl build.
> > Where should I set this envt variable ?
> > 
> > (Build is launched through ssh+su on my build server)
> 
>  I guess you should unset XDG_RUNTIME_DIR somewhere in that script :-)

Most probably, use 'su -', instead of just 'su', so that the environment
from the calling user is reset.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list