Re: Problem on building NSS with Windows

2016-08-20 Thread John Jiang
Hi Julien,
Thanks for your info!

2016-08-21 6:49 GMT+08:00 Julien Pierre :

> This is an issue with the shell's inability to run "pwd.exe".
> It may be either a built-in shell, or a separately configured shell.
> What is the value of the SHELL environment variable, if any ?
>

$ echo $SHELL
/bin/sh


>
> See
> https://www.gnu.org/software/make/manual/make.html#Choosing-the-Shell
> for more details.
>
> "shell pwd" is what's used in the NSS build within coreconf to find the
> absolute path for source files - ie. this is the change that was made 10
> years ago.
>
> quickder.c is the first source file to be compiled in NSS, which I
> originally authored.
>
> Julien
>
> - Original Message -
> From: john.sha.ji...@gmail.com
> To: dev-tech-crypto@lists.mozilla.org
> Sent: Saturday, August 20, 2016 6:58:02 AM GMT -08:00 US/Canada Pacific
> Subject: Re: Problem on building NSS with Windows
>
> 2016-08-20 20:25 GMT+08:00 Manuel Dejonghe :
>
> > On Sat, Aug 20, 2016 at 4:00 AM, John Jiang 
> > wrote:
> > > I checked the full logs. Many "execvp: pwd: Permission denied" in the
> > logs,
> > > like the below,
> > > ...
> > > make[1]: Leaving directory
> > > `/d/security/nss/nss-latest/nspr/WIN954.0_x86_64_64_DBG.OBJ'
> > > cd coreconf; make export
> > > make[1]: execvp: pwd: Permission denied
> > > make[1]: Entering directory `/d/security/nss/nss-latest/nss/coreconf'
> > > cd nsinstall; make export
> > > make[2]: execvp: pwd: Permission denied
> > > make[2]: Entering directory
> > > `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> > > make[2]: Nothing to be done for `export'.
> > > make[2]: Leaving directory
> > > `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> > > cd nsinstall; make libs
> > > ...
> > >
> > > Does it impact the building?
> >
> > Most certainly it does.
> > "pwd" is a command with which the build system could find out where
> > (in which directory) it is sitting. As long as that fails, I would not
> > be amazed that files are being searched/built in the wrong directory.
> >
> I'm really confused by this issue.
> If run "pwd" by manual in that command prompt, I didn't get any error or
> warning.
> It did work well.
>
>
> > ~manuel
> > --
> > dev-tech-crypto mailing list
> > dev-tech-crypto@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-tech-crypto
> >
> --
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
> --
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


Re: Problem on building NSS with Windows

2016-08-20 Thread Julien Pierre
This is an issue with the shell's inability to run "pwd.exe". 
It may be either a built-in shell, or a separately configured shell.
What is the value of the SHELL environment variable, if any ?

See
https://www.gnu.org/software/make/manual/make.html#Choosing-the-Shell
for more details.

"shell pwd" is what's used in the NSS build within coreconf to find the 
absolute path for source files - ie. this is the change that was made 10 years 
ago.

quickder.c is the first source file to be compiled in NSS, which I originally 
authored.

Julien

- Original Message -
From: john.sha.ji...@gmail.com
To: dev-tech-crypto@lists.mozilla.org
Sent: Saturday, August 20, 2016 6:58:02 AM GMT -08:00 US/Canada Pacific
Subject: Re: Problem on building NSS with Windows

2016-08-20 20:25 GMT+08:00 Manuel Dejonghe :

> On Sat, Aug 20, 2016 at 4:00 AM, John Jiang 
> wrote:
> > I checked the full logs. Many "execvp: pwd: Permission denied" in the
> logs,
> > like the below,
> > ...
> > make[1]: Leaving directory
> > `/d/security/nss/nss-latest/nspr/WIN954.0_x86_64_64_DBG.OBJ'
> > cd coreconf; make export
> > make[1]: execvp: pwd: Permission denied
> > make[1]: Entering directory `/d/security/nss/nss-latest/nss/coreconf'
> > cd nsinstall; make export
> > make[2]: execvp: pwd: Permission denied
> > make[2]: Entering directory
> > `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> > make[2]: Nothing to be done for `export'.
> > make[2]: Leaving directory
> > `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> > cd nsinstall; make libs
> > ...
> >
> > Does it impact the building?
>
> Most certainly it does.
> "pwd" is a command with which the build system could find out where
> (in which directory) it is sitting. As long as that fails, I would not
> be amazed that files are being searched/built in the wrong directory.
>
I'm really confused by this issue.
If run "pwd" by manual in that command prompt, I didn't get any error or
warning.
It did work well.


> ~manuel
> --
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


Re: Problem on building NSS with Windows

2016-08-20 Thread John Jiang
2016-08-20 20:25 GMT+08:00 Manuel Dejonghe :

> On Sat, Aug 20, 2016 at 4:00 AM, John Jiang 
> wrote:
> > I checked the full logs. Many "execvp: pwd: Permission denied" in the
> logs,
> > like the below,
> > ...
> > make[1]: Leaving directory
> > `/d/security/nss/nss-latest/nspr/WIN954.0_x86_64_64_DBG.OBJ'
> > cd coreconf; make export
> > make[1]: execvp: pwd: Permission denied
> > make[1]: Entering directory `/d/security/nss/nss-latest/nss/coreconf'
> > cd nsinstall; make export
> > make[2]: execvp: pwd: Permission denied
> > make[2]: Entering directory
> > `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> > make[2]: Nothing to be done for `export'.
> > make[2]: Leaving directory
> > `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> > cd nsinstall; make libs
> > ...
> >
> > Does it impact the building?
>
> Most certainly it does.
> "pwd" is a command with which the build system could find out where
> (in which directory) it is sitting. As long as that fails, I would not
> be amazed that files are being searched/built in the wrong directory.
>
I'm really confused by this issue.
If run "pwd" by manual in that command prompt, I didn't get any error or
warning.
It did work well.


> ~manuel
> --
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


Re: Problem on building NSS with Windows

2016-08-20 Thread Manuel Dejonghe
On Sat, Aug 20, 2016 at 4:00 AM, John Jiang  wrote:
> I checked the full logs. Many "execvp: pwd: Permission denied" in the logs,
> like the below,
> ...
> make[1]: Leaving directory
> `/d/security/nss/nss-latest/nspr/WIN954.0_x86_64_64_DBG.OBJ'
> cd coreconf; make export
> make[1]: execvp: pwd: Permission denied
> make[1]: Entering directory `/d/security/nss/nss-latest/nss/coreconf'
> cd nsinstall; make export
> make[2]: execvp: pwd: Permission denied
> make[2]: Entering directory
> `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> make[2]: Nothing to be done for `export'.
> make[2]: Leaving directory
> `/d/security/nss/nss-latest/nss/coreconf/nsinstall'
> cd nsinstall; make libs
> ...
>
> Does it impact the building?

Most certainly it does.
"pwd" is a command with which the build system could find out where
(in which directory) it is sitting. As long as that fails, I would not
be amazed that files are being searched/built in the wrong directory.
~manuel
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto