Operating System - HP-UX
1848430 Members
5118 Online
104027 Solutions
New Discussion

failed to apply PHNE_33159

 
T.J. Yang
Frequent Advisor

failed to apply PHNE_33159

I got an compilation error like this.

> echo Compiling network.c...
> Compiling network.c...
> cc -D_XOPEN_SOURCE_EXTENDED -D_INCLUDE_HPUX_SOURCE
> -I/opt/local/gnutls10/ include -I/opt/local/libgcrypt12/include -I/opt/local/libtasn02/include -I/opt/
> moto/libgpgerror10/include +O2 -Ae -z +Onofltacc +ESlit +DAportable
> +Oentrysched +Odataprefetch +Onolimit -I/opt/local/jpeg/include
> +-I/opt/local/
> zlib11/include -I/opt/local/libpng12/include -I/opt/local/libtiff35/include -I..
> -c network.c
> cpp: "/usr/include/sys/stdsyms.h", line 37: warning 2001: Redefinition
> of macro _INCLUDE_HPUX_SOURCE.
> cc: "/usr/include/net/if6.h", line 77: error 1574: Unknown size for
> "iflru_addr".

Advice I go is to apply pathch for ARPA stuff.

Following is the patched derived from PHNE_33159.

root@myhp11> swjob -a log myhp11-0481 @ myhp11:/
======= 04/03/06 14:08:55 CDT BEGIN install AGENT SESSION (pid=14130)
(jobid=myhp11-0481)

* Agent session started for user "root@myhp11". (pid=14130)

* Beginning Analysis Phase.
* Source: myhp11:/tmp/t/depot
* Target: myhp11:/
* Target logfile: myhp11:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/" is estimated to increase
by 7700 Kbytes.
This will leave 1780306 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/stand" is estimated to
increase by 2536 Kbytes.
This will leave 67999 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "//var" is estimated to
increase by 13983 Kbytes.
This will leave 189280 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 32 of 32 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 32
* Files: 202
* Kbytes: 8385
* Installing bundle "BUNDLE,r=B.11.11" .
NOTE: Saving the current system file at "/stand/system" to
"/stand/system.prev"
NOTE: The template file has been extracted from "/stand/vmunix"
It has been placed in "/stand/system" where it will be used
to build a new kernel.
* Installing fileset "PHKL_25652.CORE2-KRN,r=1.0" (1 of 32).
* Installing fileset "PHKL_27096.CORE2-KRN,r=1.0" (2 of 32).
* Installing fileset "PHKL_28122.CORE2-KRN,r=1.0" (3 of 32).
* Installing fileset "PHKL_29696.CORE2-KRN,r=1.0" (4 of 32).
* Installing fileset "PHKL_29704.CORE2-KRN,r=1.0" (5 of 32).
* Installing fileset "PHKL_30034.CORE2-KRN,r=1.0" (6 of 32).
* Installing fileset "PHKL_30035.CORE2-KRN,r=1.0" (7 of 32).
* Installing fileset "PHKL_30373.CORE2-KRN,r=1.0" (8 of 32).
* Installing fileset "PHKL_30516.CORE2-KRN,r=1.0" (9 of 32).
* Installing fileset "PHKL_30516.KERN2-RUN,r=1.0" (10 of 32).
* Installing fileset "PHKL_31993.CORE2-KRN,r=1.0" (11 of 32).
* Installing fileset "PHKL_32061.CORE2-KRN,r=1.0" (12 of 32).
* Installing fileset "PHKL_33408.CORE2-KRN,r=1.0" (13 of 32).
* Installing fileset "PHNE_33159.C-INC,r=1.0" (14 of 32).
* Installing fileset "PHNE_33159.CORE-KRN,r=1.0" (15 of 32).
* Installing fileset "PHNE_33159.CORE2-KRN,r=1.0" (16 of 32).
* Installing fileset "PHNE_33159.NET-KRN,r=1.0" (17 of 32).
* Installing fileset "PHNE_33159.NET-PRG,r=1.0" (18 of 32).
* Installing fileset "PHNE_33159.NET-RUN,r=1.0" (19 of 32).
* File "/usr/lib/libnm.1" could not be removed. It was renamed
and added to the cleanup file "/var/adm/sw/cleanupfile".
* Installing fileset "PHNE_33159.NET-RUN-64,r=1.0" (20 of 32).
* Installing fileset "PHNE_33159.NET2-KRN,r=1.0" (21 of 32).
* Installing fileset "PHNE_33159.NMS2-KRN,r=1.0" (22 of 32).
* Installing fileset "PHNE_33159.NW-ENG-A-MAN,r=1.0" (23 of 32).
* Installing fileset "PHNE_33159.SYS-ADMIN,r=1.0" (24 of 32).
* Installing fileset "PHNE_33729.CORE2-KRN,r=1.0" (25 of 32).
* Installing fileset "PHNE_33729.STREAMS-32ALIB,r=1.0" (26 of
32).
* Installing fileset "PHNE_33729.STREAMS-64ALIB,r=1.0" (27 of
32).
* Installing fileset "PHNE_33729.STREAMS-64SLIB,r=1.0" (28 of
32).
* Installing fileset "PHNE_33729.STREAMS-KRN,r=1.0" (29 of 32).
* Installing fileset "PHNE_33729.STREAMS-MIN,r=1.0" (30 of 32).
* Installing fileset "PHNE_33729.STREAMS-RUN,r=1.0" (31 of 32).
* Installing fileset "PHNE_33729.STREAMS2-KRN,r=1.0" (32 of 32).
NOTE: Building a new kernel based on template file "/stand/system"
Generating module: krm...
Generating module: skge...
Compiling /stand/build/conf.c...
Loading the kernel...
ld: Unsatisfied symbol "fss_find_any" in file /usr/conf/lib/libpset.a[pm_pset_swtch_epncf.o]
ld: Unsatisfied symbol "fss_maxgrp" in file /usr/conf/lib/libpset.a[pm_pset_balance_epncf.o]
ld: Unsatisfied symbol "fss_debt_toggle" in file /usr/conf/lib/libpset.a[pm_pset_balance_epncf.o]
3 errors.
*** Error exit code 1

Stop.
make failure.
ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild
the kernel, has failed. Because kernel-related filesets were
installed, this command must be executed by "swinstall",
without failures, before the load can continue. Check the
above output for details about the failure.
NOTE: The Install Phase has suspended. Check the above output for
reasons.



======= 04/03/06 14:10:41 CDT END install AGENT SESSION (Aborted)
(pid=14130) (jobid=myhp11-0481)
root@myhp11>


I am lost here.

Thanks for your pointer

tj
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: failed to apply PHNE_33159

PHNE_33159 has many dependencies. Did you install them or , by any chance, did you disable the enforce_dependencies swinstall option (which is "on" by default)?
If it ain't broke, I can fix that.
T.J. Yang
Frequent Advisor

Re: failed to apply PHNE_33159


Looks like my enforce_dependencies is false by default.


root@myhp11> swinstall -x autoreboot=true -x enforce_dependencies=true -s /tmp/t/depot \*

root@myhp11> swlist -l product |grep PHNE_33159
PHNE_33159 1.0 cumulative ARPA Transport patch

Thanks for the pointer.