<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting error while building a depot file on HP-UX IA64 11.31 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304590#M688945</link>
    <description>It isn't obvious where the error is in checkinstall.  You'll need to add "-x" to the  #!/sbin/sh line.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;shall i do make clean and then make the depots again?&lt;BR /&gt;&lt;BR /&gt;To fix the os_release, yes.</description>
    <pubDate>Wed, 12 Nov 2008 06:26:09 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-11-12T06:26:09Z</dc:date>
    <item>
      <title>Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304573#M688928</link>
      <description>Hi All,&lt;BR /&gt;I wanted to make depot file for one of my software releases. I am getting the below error:&lt;BR /&gt;&lt;BR /&gt;# make hpux-ia64&lt;BR /&gt;        (cd lib;     make -f Makefile.ia64)&lt;BR /&gt;Archiving libpwplus.a ...&lt;BR /&gt;        ar cru libpwplus.a cfckpw.o  cfgrules.o  getrpw.o  hashpw.o  load.o  log.o  test.o  testfnc.o  util.o&lt;BR /&gt;ar: libpwplus.a not in archive format&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea on what this can be?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance and with regards,&lt;BR /&gt;Pravin</description>
      <pubDate>Wed, 12 Nov 2008 04:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304573#M688928</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T04:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building an archive lib on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304574#M688929</link>
      <description>&lt;P&gt;(I see no depots here, just an archive lib.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ar: libpwplus.a not in archive format&lt;BR /&gt;&lt;BR /&gt;You need to remove this file and start fresh.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304574#M688929</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-06T07:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304575#M688930</link>
      <description>Hi Denis,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;You mean i delete libpwplus.a file and put it back?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 04:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304575#M688930</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T04:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building an archive lib on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304576#M688931</link>
      <description>&lt;P&gt;&amp;gt;You mean I delete libpwplus.a file&lt;BR /&gt;&lt;BR /&gt;Yes, remove it and then make.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304576#M688931</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-06T07:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building an archive lib on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304577#M688932</link>
      <description>&lt;!-- !*# --&gt;&lt;P&gt;In fact your archive lib make rule should have that rm there:&lt;BR /&gt;libpwplus.a: cfckpw.o ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -f $@&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ar cru $@ cfckpw.o ...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:00:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304577#M688932</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-06T07:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304578#M688933</link>
      <description>Thanks Dennis. &lt;BR /&gt;&lt;BR /&gt;make hpux-ia64 works now :)&lt;BR /&gt;&lt;BR /&gt;But after that when i get to do &lt;BR /&gt;&lt;BR /&gt;&amp;gt; make package.HPUXB1122&lt;BR /&gt;&lt;BR /&gt;it throws below error:&lt;BR /&gt;&lt;BR /&gt;       * Software selections:&lt;BR /&gt;             *&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       * Beginning Selection Phase.&lt;BR /&gt;       * Reading the Product Specification File (PSF)&lt;BR /&gt;         "swpackage_ia64.psf".&lt;BR /&gt;", at line 21.lue defined for the keyword "&lt;BR /&gt;", at line 22.lue defined for the keyword "vendor&lt;BR /&gt;ERROR:   Incomplete definition for the Product Specification File (PSF)&lt;BR /&gt;         "swpackage_ia64.psf", beginning at line 21.  The following&lt;BR /&gt;         attributes are not defined:&lt;BR /&gt;                products         the products contained in the PSF&lt;BR /&gt;         The attribute(s) must be defined before the parsing can&lt;BR /&gt;         continue.&lt;BR /&gt;&lt;BR /&gt;=======  11/12/08 17:59:07 EST  END swpackage SESSION&lt;BR /&gt;&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea what can this be....</description>
      <pubDate>Wed, 12 Nov 2008 04:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304578#M688933</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T04:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304579#M688934</link>
      <description>Oh.. I just saw.. that had ^M characters.. Removed it.. working i suppose.. yet to test...</description>
      <pubDate>Wed, 12 Nov 2008 05:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304579#M688934</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304580#M688935</link>
      <description>Something new now...&lt;BR /&gt;&lt;BR /&gt;The depot file is made successfully. But when I try to install it, it gives below:&lt;BR /&gt;&lt;BR /&gt;# swinstall -s /var/pwplus-4.0.hpux-ia64.depot  PWplus&lt;BR /&gt;&lt;BR /&gt;=======  11/12/08 18:19:07 EST  BEGIN swinstall SESSION&lt;BR /&gt;         (non-interactive) (jobid=rx26-154-0079)&lt;BR /&gt;&lt;BR /&gt;       * Session started for user "root@rx26-154".&lt;BR /&gt;&lt;BR /&gt;       * Beginning Selection&lt;BR /&gt;       * Target connection succeeded for "rx26-154:/".&lt;BR /&gt;ERROR:   Could not apply the software selection "PWplus" because there&lt;BR /&gt;         are no product variations that are compatible with the&lt;BR /&gt;         destination host(s).&lt;BR /&gt;       * Software selection failed for&lt;BR /&gt;         "rx26-154:/var/pwplus-4.0.hpux-ia64.depot".&lt;BR /&gt;ERROR:   No software has been selected.&lt;BR /&gt;ERROR:   Cannot continue the "swinstall" task.&lt;BR /&gt;       * Selection had errors.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 05:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304580#M688935</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304581#M688936</link>
      <description>Can this be because I made this depot file for 11.23 I suppose and trying to install it on 11.31.&lt;BR /&gt;&lt;BR /&gt;But, as long as it is IA 64 this should work?</description>
      <pubDate>Wed, 12 Nov 2008 05:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304581#M688936</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304582#M688937</link>
      <description>&amp;gt;Can this be because I made this depot file for 11.23 I suppose and trying to install it on 11.31?&lt;BR /&gt;&lt;BR /&gt;Very possibly.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;as long as it is IPF this should work?&lt;BR /&gt;&lt;BR /&gt;If you are doing swpackage, you should package it so it works on 11.23 and 11.31.&lt;BR /&gt;&lt;BR /&gt;What does this show for your depot?&lt;BR /&gt;swlist -l fileset -a software_spec -a architecture -a machine_type \&lt;BR /&gt;-a os_release -s /var/pwplus-4.0.hpux-ia64.depot</description>
      <pubDate>Wed, 12 Nov 2008 05:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304582#M688937</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-12T05:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304583#M688938</link>
      <description># swlist -l fileset -a software_spec -a architecture -a machine_type \&lt;BR /&gt;&amp;gt; -a os_release -s /var/pwplus-4.0.hpux-ia64.depot&lt;BR /&gt;# Initializing...&lt;BR /&gt;# Contacting target "rx26-154"...&lt;BR /&gt;#&lt;BR /&gt;# Target:  rx26-154:/var/pwplus-4.0.hpux-ia64.depot&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# PWplus                PWplus,r=4.0.r.0,a=HP-UX_B.11.22_ia64 HP-UX_B.11.22_ia64 *              ?.11.2*&lt;BR /&gt;  PWplus.PWPLUS         PWplus.PWPLUS,r=4.0.r.0,a=HP-UX_B.11.22_ia64,fr=4.0.r.0,fa=HP-UX_B.11.22_ia64 HP-UX_B.11.22_ia64 *   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How can I make depots for both 11.23 and 11.31?</description>
      <pubDate>Wed, 12 Nov 2008 05:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304583#M688938</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304584#M688939</link>
      <description>I did upload the package on 11.23 machine to check..&lt;BR /&gt;&lt;BR /&gt;Initial phase passed but analysis phase didnt.. output as below:&lt;BR /&gt;&lt;BR /&gt;# swinstall -s /cvsroot/pwplus-4.0.hpux-ia64.depot PWplus&lt;BR /&gt;&lt;BR /&gt;=======  11/11/08 21:45:07 MST  BEGIN swinstall SESSION&lt;BR /&gt;         (non-interactive) (jobid=cs-rx261-0329)&lt;BR /&gt;&lt;BR /&gt;       * Session started for user "root@cs-rx261".&lt;BR /&gt;&lt;BR /&gt;       * Beginning Selection&lt;BR /&gt;       * Target connection succeeded for "cs-rx261:/".&lt;BR /&gt;       * Source:                 /cvsroot/pwplus-4.0.hpux-ia64.depot&lt;BR /&gt;       * Targets:                cs-rx261:/&lt;BR /&gt;       * Software selections:&lt;BR /&gt;             PWplus.PWPLUS,r=4.0.r.0,a=HP-UX_B.11.22_ia64,fr=4.0.r.0,fa=HP-UX_B.&lt;BR /&gt;11.22_ia64&lt;BR /&gt;       * Selection succeeded.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       * Beginning Analysis and Execution&lt;BR /&gt;       * Session selections have been saved in the file&lt;BR /&gt;         "/.sw/sessions/swinstall.last".&lt;BR /&gt;ERROR:   "cs-rx261:/":  1 check scripts failed.&lt;BR /&gt;       * The analysis phase failed for "cs-rx261:/".&lt;BR /&gt;       * Analysis and Execution had errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE:    More information may be found in the agent logfile using the&lt;BR /&gt;         command "swjob -a log cs-rx261-0329 @ cs-rx261:/".&lt;BR /&gt;&lt;BR /&gt;=======  11/11/08 21:45:13 MST  END swinstall SESSION (non-interactive)&lt;BR /&gt;         (jobid=cs-rx261-0329)&lt;BR /&gt;&lt;BR /&gt;# swjob -a log cs-rx261-0329 @ cs-rx261:/&lt;BR /&gt;=======  11/11/08 21:45:07 MST  BEGIN install AGENT SESSION (pid=10319)&lt;BR /&gt;         (jobid=cs-rx261-0329)&lt;BR /&gt;&lt;BR /&gt;       * Agent session started for user&lt;BR /&gt;         "root@cs-rx261.digitalindiasw.net". (pid=10319)&lt;BR /&gt;&lt;BR /&gt;       * Beginning Analysis Phase.&lt;BR /&gt;       * Source:&lt;BR /&gt;         cs-rx261.digitalindiasw.net:/cvsroot/pwplus-4.0.hpux-ia64.depot&lt;BR /&gt;&lt;BR /&gt;       * Target:           cs-rx261:/&lt;BR /&gt;       * Target logfile:   cs-rx261:/var/adm/sw/swagent.log&lt;BR /&gt;       * Reading source for product information.&lt;BR /&gt;       * Reading source for file information.&lt;BR /&gt;ERROR:   Cannot execute&lt;BR /&gt;         "/var/tmp/BAAa10319/catalog/PWplus/PWPLUS/checkinstall".&lt;BR /&gt;         Command or script output (if any):&lt;BR /&gt;         No such file or directory (2).&lt;BR /&gt;ERROR:   The "checkinstall" script for "PWplus.PWPLUS" failed (exit&lt;BR /&gt;         code "1"). The script location was&lt;BR /&gt;         "/var/tmp/BAAa10319/catalog/PWplus/PWPLUS/checkinstall".&lt;BR /&gt;       * This script had errors and the execution of this fileset&lt;BR /&gt;         cannot proceed until the problem is fixed.  Check the above&lt;BR /&gt;         output from the script for further details.&lt;BR /&gt;       * Executing preDSA command.&lt;BR /&gt;&lt;BR /&gt;       * Summary of Analysis Phase:&lt;BR /&gt;ERROR:       Exclude       PWplus.PWPLUS,r=4.0.r.0&lt;BR /&gt;ERROR:   1 of 1 filesets had Errors.&lt;BR /&gt;ERROR:   The Analysis Phase had errors.  See the above output for&lt;BR /&gt;         details.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=======  11/11/08 21:45:13 MST  END install AGENT SESSION (Cancelled)&lt;BR /&gt;         (pid=10319) (jobid=cs-rx261-0329)&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 05:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304584#M688939</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304585#M688940</link>
      <description>&amp;gt;How can I make depots for both 11.23 and 11.31?&lt;BR /&gt;&lt;BR /&gt;Well, if you don't care about 11.22 or 11.41, you can just change ?.11.2* to:&lt;BR /&gt;B.11.23|B.11.31&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 05:35:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304585#M688940</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-12T05:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304586#M688941</link>
      <description>You mean I execute the below command?&lt;BR /&gt;&lt;BR /&gt;make package.HPUXB11.23|B11.31</description>
      <pubDate>Wed, 12 Nov 2008 05:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304586#M688941</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304587#M688942</link>
      <description>&amp;gt;You mean I execute the below command?&lt;BR /&gt;&lt;BR /&gt;I have no clue of the connection of that command and the os_release entry in the PSF file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ERROR: Cannot execute&lt;BR /&gt;"/var/tmp/BAAa10319/catalog/PWplus/PWPLUS/checkinstall".&lt;BR /&gt;&lt;BR /&gt;Have you supplied checkinstall with your depot?</description>
      <pubDate>Wed, 12 Nov 2008 05:44:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304587#M688942</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-12T05:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304588#M688943</link>
      <description>Yes I have...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# pwd&lt;BR /&gt;/opt/pwplus/packaging/PWPLUS&lt;BR /&gt;[rx26-154]/opt/pwplus/packaging/PWPLUS&lt;BR /&gt;# cat checkinstall&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;##############################################################################&lt;BR /&gt;# $Id: //pwplus/main/src/packaging/ia64/PWPLUS/checkinstall#1 $&lt;BR /&gt;#&lt;BR /&gt;# Description:  Checkinstall script for PWPLUS fileset.&lt;BR /&gt;#&lt;BR /&gt;# OS-Release:   HP-UX 11.2x&lt;BR /&gt;#&lt;BR /&gt;# (C) Copyright 1999-2003, Hewlett-Packard, all rights reserved.&lt;BR /&gt;##############################################################################&lt;BR /&gt;&lt;BR /&gt;PRODUCT_DIR=${SW_LOCATION%/}                    # Product location&lt;BR /&gt;UTILITIES=/usr/lbin/sw/control_utils            # SD utilities&lt;BR /&gt;&lt;BR /&gt;UX_CORE_FILESET="OS-Core.UX-CORE"               # UX CORE fileset&lt;BR /&gt;PASSWD_CMD=/usr/bin/passwd                      # passwd command location&lt;BR /&gt;PASSWD_CMD_FACT=${PASSWD_CMD}.prepwplus         # Factory passwd command&lt;BR /&gt;&lt;BR /&gt;##############################################################################&lt;BR /&gt;# Function area&lt;BR /&gt;##############################################################################&lt;BR /&gt;#&lt;BR /&gt;# CheckFileIntegrity():&lt;BR /&gt;#&lt;BR /&gt;# Check passwd command integrity (size, checksum)&lt;BR /&gt;#&lt;BR /&gt;CheckFileIntegrity ()&lt;BR /&gt;{&lt;BR /&gt; typeset PasswdCmd=${1:-missing}&lt;BR /&gt; typeset ReturnValue=0                  # Anticipate success&lt;BR /&gt;&lt;BR /&gt;                                        # Get original filename of hard-linked file&lt;BR /&gt; PasswdCmdsrc=$(swlist -lfile -atype -alink_source  $UX_CORE_FILESET |&lt;BR /&gt;                awk '$1 == "'$PasswdCmd'" {if ($2 == "h" &amp;amp;&amp;amp; $3 != "") print $3&lt;BR /&gt;                                           else print $1 }')&lt;BR /&gt;&lt;BR /&gt; if [[ -n $PasswdCmdSrc ]]; then&lt;BR /&gt;                                        # Get original file size and checksum&lt;BR /&gt;    SizeOrig=$(swlist -lfile -asize $UX_CORE_FILESET |&lt;BR /&gt;               awk '$1 == "'$PasswdCmdSrc'" {print $2}')&lt;BR /&gt;&lt;BR /&gt;    CheckSumOrig=$(swlist -lfile -acksum $UX_CORE_FILESET |&lt;BR /&gt;                   awk '$1 == "'$PasswdCmdSrc'" {print $2}')&lt;BR /&gt;&lt;BR /&gt;                                        # Get current file size and checksum&lt;BR /&gt;    Size=$(cksum $PasswdCmd     2&amp;gt;/dev/null | awk '{print $2}')&lt;BR /&gt;    CheckSum=$(cksum $PasswdCmd 2&amp;gt;/dev/null | awk '{print $1}')&lt;BR /&gt;&lt;BR /&gt;                                        # Check for passwd command&lt;BR /&gt;    if [[ ! -f $PasswdCmd ]]; then&lt;BR /&gt;       echo "ERROR:   $PasswdCmd does not exist."&lt;BR /&gt;       ReturnValue=1&lt;BR /&gt;    fi&lt;BR /&gt;                                        # Check file size&lt;BR /&gt;    if [[ $Size != $SizeOrig ]]; then&lt;BR /&gt;       echo "ERROR:   $PasswdCmd should have size \"$SizeOrig\""&lt;BR /&gt;       echo "         but the actual size is \"$Size\"."&lt;BR /&gt;       ReturnValue=1&lt;BR /&gt;    fi&lt;BR /&gt;                                        # Check file checksum&lt;BR /&gt;    if [[ $CheckSum != $CheckSumOrig ]]; then&lt;BR /&gt;       echo "ERROR:   $PasswdCmd should have checksum \"$CheckSumOrig\""&lt;BR /&gt;       echo "         but the actual checksum is \"$CheckSum\"."&lt;BR /&gt;       ReturnValue=1&lt;BR /&gt;    fi&lt;BR /&gt; else&lt;BR /&gt;    echo "NOTE:    $PasswdCmd integrity cannot be checked because not"&lt;BR /&gt;    echo "         registered in IPD database."&lt;BR /&gt;    ReturnValue=255&lt;BR /&gt; fi&lt;BR /&gt;&lt;BR /&gt; return $ReturnValue&lt;BR /&gt;}&lt;BR /&gt;# end CheckFileIntegrity&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# CheckPasswdCmd():&lt;BR /&gt;#&lt;BR /&gt;# Check passwd command for integrity (size, checksum, permissions)&lt;BR /&gt;#&lt;BR /&gt;CheckPasswdCmd ()&lt;BR /&gt;{&lt;BR /&gt; typeset ReturnValue=0                  # Anticipate success&lt;BR /&gt;&lt;BR /&gt;                                        # Get current root suid passwd command&lt;BR /&gt; Suid0Cmd=$(find $PASSWD_CMD -perm -4000 -user root 2&amp;gt;/dev/null)&lt;BR /&gt;&lt;BR /&gt;                                        # Check for root suid passwd command&lt;BR /&gt; if [[ $Suid0Cmd != $PASSWD_CMD ]]; then&lt;BR /&gt;    echo "ERROR:   $PASSWD_CMD should be owned by root and have the suid bit on."&lt;BR /&gt;    ReturnValue=1&lt;BR /&gt; fi&lt;BR /&gt;&lt;BR /&gt;                                        # Check integrity of the passwd and&lt;BR /&gt;                                        # eventually passwd.prepwplus commands&lt;BR /&gt; CheckFileIntegrity $PASSWD_CMD&lt;BR /&gt; RC=$?&lt;BR /&gt; if [[ $RC = 255 ]]; then&lt;BR /&gt;    CheckFileIntegrity $PASSWD_CMD_FACT&lt;BR /&gt;    RC=$?&lt;BR /&gt; fi&lt;BR /&gt; [[ $RC = 1 ]] &amp;amp;&amp;amp; ReturnValue=1&lt;BR /&gt;&lt;BR /&gt;                                        # Final error message&lt;BR /&gt; if [[ $ReturnValue != 0 ]]; then&lt;BR /&gt;    echo "ERROR:   $PASSWD_CMD has been altered.  You should consider"&lt;BR /&gt;    echo "         re-installing the \"$UX_CORE_FILESET\" fileset first."&lt;BR /&gt; fi&lt;BR /&gt;&lt;BR /&gt; return $ReturnValue&lt;BR /&gt;}&lt;BR /&gt;# end CheckPasswdCmd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;##############################################################################&lt;BR /&gt;# MAIN&lt;BR /&gt;##############################################################################&lt;BR /&gt;&lt;BR /&gt;ExitValue=0                             # Anticipate success&lt;BR /&gt;umask 022                               # Set reasonable umask&lt;BR /&gt;&lt;BR /&gt;                                        # Source SD utilities&lt;BR /&gt;if [[ -f $UTILITIES ]]; then&lt;BR /&gt;   . $UTILITIES&lt;BR /&gt;else&lt;BR /&gt;   echo "ERROR:   Unable to find $UTILITIES"&lt;BR /&gt;   exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;                                        # Check HP-UX revision&lt;BR /&gt;if [[ $(uname -r) != ?.11.* ]]; then&lt;BR /&gt;   echo "ERROR:   PWplus is not supported on $(uname -sr)."&lt;BR /&gt;   exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;                                        # Check passwd command for integrity&lt;BR /&gt;CheckPasswdCmd&lt;BR /&gt;ExitValue=$?&lt;BR /&gt;&lt;BR /&gt;exit $ExitValue&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 05:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304588#M688943</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304589#M688944</link>
      <description>shall i do make clean and then make the depots again?</description>
      <pubDate>Wed, 12 Nov 2008 05:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304589#M688944</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T05:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304590#M688945</link>
      <description>It isn't obvious where the error is in checkinstall.  You'll need to add "-x" to the  #!/sbin/sh line.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;shall i do make clean and then make the depots again?&lt;BR /&gt;&lt;BR /&gt;To fix the os_release, yes.</description>
      <pubDate>Wed, 12 Nov 2008 06:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304590#M688945</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-12T06:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304591#M688946</link>
      <description>why do we need to add "-x"</description>
      <pubDate>Wed, 12 Nov 2008 06:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304591#M688946</guid>
      <dc:creator>Praving5</dc:creator>
      <dc:date>2008-11-12T06:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while building a depot file on HP-UX IA64 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304592#M688947</link>
      <description>This will give you more information about error during script execution.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 12 Nov 2008 06:42:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-error-while-building-a-depot-file-on-hp-ux-ia64-11-31/m-p/4304592#M688947</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-11-12T06:42:51Z</dc:date>
    </item>
  </channel>
</rss>

