[Swan-dev] error "make check UPDATE=1"

Antony Antony antony at phenome.org
Mon Jul 27 10:25:07 EEST 2015


On Thu, Jul 23, 2015 at 03:17:36AM -0400, Paul Wouters wrote:
> On Thu, 23 Jul 2015, D. Hugh Redelmeier wrote:
> 
> >| cd . && bison -g --verbose -v -d ../../../lib/libipsecconf/$(basename ../../../lib/libipsecconf/parser.y)
> >| cd . && sed -i 's/if YYENABLE_NLS/if defined YYENABLE_NLS \&\& YYENABLE_NLS/g' parser.tab.c
> >| sed: couldn't open temporary file ./sedQsryD3: Permission denied
> >
> >| make[3]: Leaving directory `/source/OBJ.linux.x86_64/lib/libipsecconf'
> >
> >It looks as if sed is trying to create a temp file in
> >	/source/OBJ.linux.x86_64/lib/libipsecconf
> >Or perhaps reopening that file (less likely)
> >
> >Why would that fail?
> >
> >It seems unlikely that a file with the same name was created by another
> >run since the suffix of the tempfile name is supposed to be randomized.
> >
> >sed -i could reasonably want to create the updated file in the current
> >directory and once it succeeds, delete parser.tab.c and rename the
> >temp file parser.tab.c
> >
> >Perhaps you could try to replicate this by hand to figure out why it
> >is going wrong.
> 
> We ran it by hand on the same machine and it works.
> 
> The tmp file created has mode 0000000, so I'm thinking perhaps something
> with Antony's setup and umask?

build at blueswan:~/libreswan (master *)$ umask -S
u=rwx,g=rwx,o=rx
build at blueswan:~/libreswan (master *)$ umask
0002
build at blueswan:~/libreswan (master *)$

and when inside the vm

[root at east source]# umask -S
u=rwx,g=rx,o=rx
[root at east source]# umask
0022
[root at east

looks likes an issue due to P9
what mask 
inside vm /source 
drwxrwxr-x. 16 1000 1000   4096 Jul 27 03:20 . 


what do you have where it works?

-antony


More information about the Swan-dev mailing list