On 05/ 7/10 01:20 AM, Amrita Sadhukhan wrote:
> Hi,
> I was trying to run a nightly and build IPS repositories.
> I ran $ env - /ws/onnv-clone/onbld/bin/nightly -n developer & with 
> nightly options : "-anFdptCDlmpr".

Note the options "D" and "F," which mean "do a DEBUG build" and "do NOT
do a non-DEBUG build," respectively.

> But I cannot see my IPS repositories under archives/sparc/. I also tried 

That's because your repositories are created in $PKGARCHIVE, which for
developer.sh should be $CODEMGR_WS/packages/....

> doing  :cd $CODEMGR_WS/usr/src/pkg; dmake install; dmake check.

You need to use "bldenv <env file>" before doing an interactive build.

To summarize:
- I suspect your packages are there, in the correct place
- you're looking for a -nd proto area because you skipped bldenv
- you don't have a -nd proto area because you used -F

--Mark

> But, it gives the following error :
> 
> bash-4.0$ dmake install
> Initializing repo.redist
> Initializing repo.extra
> train --> 1 job
> train --> 2 jobs
> train --> Job output
> Generating dependencies for BRCMbnx.mog
> pkgdepend: The proto directory 
> /builds/as228680/prtconf/onnv-3/proto/root_sparc-nd could not be found.
> Usage:
>         pkgdepend [options] command [cmd_options] [operands]
> 
> Subcommands:
>         pkgdepend generate [-DIkMm] manifest proto_dir
>         pkgdepend [options] resolve [-dMos] manifest ...
> 
> Options:
>         -R dir
>         --help or -?
> Environment:
>         PKG_IMAGE
> *** Error code 2
> The following command caused the error:
> if [ ! -f packages.sparc/BRCMbnx.nodepend ]; then \
>         pkgdepend generate -m -D 'PLATFORM=sun4u'  -D 'PLATFORM=sun4v'  
> -D 'ISALIST=sparcv9'  -D 'ISALIST=sparc' packages.sparc/BRCMbnx.mog \
>                 /builds/as228680/prtconf/onnv-3/proto/root_sparc-nd > 
> packages.sparc/BRCMbnx.dep; \
> else \
>         /usr/bin/cp -f packages.sparc/BRCMbnx.mog 
> packages.sparc/BRCMbnx.dep; \
> fi
> dmake: Fatal error: Command failed for target `packages.sparc/BRCMbnx.dep'
> Current working directory /builds/as228680/prtconf/onnv-3/usr/src/pkg
> Waiting for 1 job to finish
> train --> Job output
> Generating dependencies for BRCMbnxe.mog
> pkgdepend: The proto directory 
> /builds/as228680/prtconf/onnv-3/proto/root_sparc-nd could not be found.
> Usage:
>         pkgdepend [options] command [cmd_options] [operands]
> 
> Subcommands:
>         pkgdepend generate [-DIkMm] manifest proto_dir
>         pkgdepend [options] resolve [-dMos] manifest ...
> 
> Options:
>         -R dir
>         --help or -?
> Environment:
>         PKG_IMAGE
> *** Error code 2
> The following command caused the error:
> if [ ! -f packages.sparc/BRCMbnxe.nodepend ]; then \
>         pkgdepend generate -m -D 'PLATFORM=sun4u'  -D 'PLATFORM=sun4v'  
> -D 'ISALIST=sparcv9'  -D 'ISALIST=sparc' packages.sparc/BRCMbnxe.mog \
>                 /builds/as228680/prtconf/onnv-3/proto/root_sparc-nd > 
> packages.sparc/BRCMbnxe.dep; \
> else \
>         /usr/bin/cp -f packages.sparc/BRCMbnxe.mog 
> packages.sparc/BRCMbnxe.dep; \
> fi
> dmake: Warning: Command failed for target `packages.sparc/BRCMbnxe.dep'
> Current working directory /builds/as228680/prtconf/onnv-3/usr/src/pkg
> 
> I can see in proto the directory root_sparc is there, but not root_sparc_nd.
> 
> Can you please suggest how to make the IPS repositories then? Can you 
> please direct me to the appropriate alias, if this is not the correct 
> alias to ask?
> 
> Thanks,
> Amrita
> 

_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to