Hi Parinay,

nfsv4-test suite makefiles use command substitution macros, 
some examples are:

TESTROOT:sh=    echo ${TESTROOT:-"`pwd`"}
TARCH:sh=       /bin/uname -p
POUND_SIGN:sh=  echo \\043

The output you provided indicated that none of these macros
worked as expected. To reproduce this issue, you can try 
the following Makefile:

$ cat Makefile
var1=           hello world
var2:sh=        echo "hello world"

test1:
        @echo $(var1)

test2:
        @echo $(var2)

$ make test1
hello world
$ make test2
hello world

The output above is test result on my system. I believe if 
you run "make test2" on your system, it will output nothing. 

But I really have no idea what's wrong with your make command.
What shell are you using? What's the value of SHELL env variable?

Thanks,
Raymond

On 06/28/07, parinay wrote:
> Hi Raymond,
> 
> I am using make. though I have /usr/sfw/bin/gmake on the system as well.
> 
> regards
> parinay
> 
> 
> On 6/28/07, Raymond Xiong <Raymond.Xiong at sun.com> wrote:
> >
> >On 06/28/07, parinay wrote:
> >> Hi Raymond,
> >>
> >> I am running this from test suite's top level dir .i.e. nfs4-test , as
> >> mentioned in this URL
> >>
> >> http://opensolaris.org/os/community/nfs/nfstests/nfsv4-test-intro/
> >>
> >> -bash-3.00# pwd
> >> /parinay/usr/ontest/uts/fs/nfs/nfsv4-test
> >> -bash-3.00#
> >>
> >> Anything else I should check for ?
> >
> >Sorry for the confusion. I took a closer look at your log. My
> >guess was the following line in ${NFSV4TEST_HOME}/Makefile
> >wasn't interpreted correctly and thus TESTROOT was null.
> >
> >TESTROOT:sh=    echo ${TESTROOT:-"`pwd`"}
> >
> >Are you using /usr/bin/make or gmake?
> >
> >Thanks,
> >Raymond
> >
> >>
> >> thanks
> >> Parinay
> >>
> >>
> >> On 6/28/07, Raymond Xiong <Raymond.Xiong at sun.com> wrote:
> >> >
> >> >Hi Parinay,
> >> >
> >> >From the output you provided, you ran make command under
> >> >/parinay/usr/ontest/uts/fs/nfs/nfsv4-test/tests directory.
> >> >That caused make failed to include $(TESTROOT)/Makefile.master
> >> >file(because TESTROOT was unset) on line 40 and thus failed.
> >> >
> >> >You need to run make command in the test suite's top level
> >> >directory.
> >> >
> >> >Regards,
> >> >Raymond
> >> >
> >> >On 06/28/07, parinay wrote:
> >> >> Hi,
> >> >> I am failing to compile NFS4 test suite on solaris 10. I am getting
> >> >> following message when I run 'make install __GNUC=""';
> >> >>
> >> >> Makefile:58: warning: overriding commands for target `/exe.'
> >> >> Makefile.master:94: warning: ignoring old commands for target `/exe.'
> >> >> if [ -d tests ]; then \
> >> >>                (cd tests; pwd; \
> >> >>                make  TESTROOT= \
> >> >>                        MAKE64= __GNUC= __SOS10= );\
> >> >>        fi
> >> >> /parinay/usr/ontest/uts/fs/nfs/nfsv4-test/tests
> >> >> make[1]: Entering directory
> >> >> `/parinay/usr/ontest/uts/fs/nfs/nfsv4-test/tests'
> >> >> Makefile:40: /Makefile.master: No such file or directory
> >> >> Makefile:40: /Makefile.master: No such file or directory
> >> >> Makefile:45: warning: overriding commands for target `utils'
> >> >> Makefile:45: warning: ignoring old commands for target `utils'
> >> >> Makefile:45: warning: overriding commands for target `acl'
> >> >> Makefile:45: warning: ignoring old commands for target `acl'
> >> >> Makefile:45: warning: overriding commands for target `basic_ops'
> >> >> Makefile:45: warning: ignoring old commands for target `basic_ops'
> >> >> Makefile:45: warning: overriding commands for target `ctests'
> >> >> Makefile:45: warning: ignoring old commands for target `ctests'
> >> >> Makefile:45: warning: overriding commands for target `delegation'
> >> >> Makefile:45: warning: ignoring old commands for target `delegation'
> >> >> Makefile:45: warning: overriding commands for target `named_attrs'
> >> >> Makefile:45: warning: ignoring old commands for target `named_attrs'
> >> >> Makefile:45: warning: overriding commands for target `num_attrs'
> >> >> Makefile:45: warning: ignoring old commands for target `num_attrs'
> >> >> Makefile:45: warning: overriding commands for target `other_tests'
> >> >> Makefile:45: warning: ignoring old commands for target `other_tests'
> >> >> Makefile:45: warning: overriding commands for target `recovery'
> >> >> Makefile:45: warning: ignoring old commands for target `recovery'
> >> >> Makefile:45: warning: overriding commands for target `srv_namespc'
> >> >> Makefile:45: warning: ignoring old commands for target `srv_namespc'
> >> >> Makefile:45: warning: overriding commands for target `stress_nfs4'
> >> >> Makefile:45: warning: ignoring old commands for target `stress_nfs4'
> >> >> make[1]: *** No rule to make target `/Makefile.master'.  Stop.
> >> >> make[1]: Leaving directory
> >> >`/parinay/usr/ontest/uts/fs/nfs/nfsv4-test/tests'
> >> >> make: *** [tests] Error 2
> >> >> -bash-3.00# Makefile:58: warning: overriding commands for target
> >> >> -bash-3.00#
> >> >>
> >> >> -bash-3.00# uname -a
> >> >> SunOS SUSHSO-03 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-280R
> >> >> -bash-3.00#
> >> >>
> >> >> I have all the necessary binaries in place ( make/gcc/tcl/tk ), still
> >I
> >> >am
> >> >> not getting what is wrong .
> >> >>
> >> >> Any help in this will be great.
> >> >>
> >> >> thanks
> >> >> Parinay
> >> >> --
> >> >> easy is right
> >> >> begin right and you're easy
> >> >> continue easy and you're right
> >> >> the right way to go easy is to forget the right way
> >> >> and forget that the going is easy....
> >> >> _______________________________________________
> >> >> nfs-discuss mailing list
> >> >> nfs-discuss at opensolaris.org
> >> >
> >>
> >>
> >>
> >> --
> >> easy is right
> >> begin right and you're easy
> >> continue easy and you're right
> >> the right way to go easy is to forget the right way
> >> and forget that the going is easy....
> >
> >--
> >Regards,
> >Raymond
> >
> 
> 
> 
> -- 
> easy is right
> begin right and you're easy
> continue easy and you're right
> the right way to go easy is to forget the right way
> and forget that the going is easy....

-- 
Regards,
Raymond

Reply via email to