OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002719 [gcc3core] packaging major always 2007-12-28 07:35 2009-07-24 11:20
Reporter ihsan View Status public  
Assigned To pfelecan
Priority normal Resolution unable to reproduce  
Status closed  
Summary 0002719: postinstall script fails
Description ## Executing postinstall script.
*** NOTICE ***
Fixing the system headers
for a detailed log see /var/sadm/install/logs/CSWgcc3core-20071228132053
Don\'t forget: whenever your system headers change run the mkheaders script!
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <CSWgcc3core> failed.
ERROR: could not add CSWgcc3core.

-----------------------------------------------------------

ihsan@cnd-35:~$ cat /var/sadm/install/logs/CSWgcc3core-20071228132053
chown: X11: No such file or directory
postinstall: anomaly : cannot change ownership for include directory!

-----------------------------------------------------------

Additional Information hsan@cnd-35:~$ cat /etc/release
                       Solaris 10 8/07 s10s_u4wos_12b SPARC
           Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 16 August 2007
Tags No tags attached.
Attached Files

- Relationships
duplicate of 0002810closedpfelecan postinstall script does not complete successfully 

-  Notes
(0005027)
pfelecan (manager)
2007-12-28 15:51

What are the installed clusters? What interests me especially is the presence of X11 headers.
(0005028)
ihsan (developer)
2007-12-28 16:04

I\'ve instaled from the jumpstart server SUNWCXall, so actually everything should be installed.
(0005029)
pfelecan (manager)
2007-12-28 16:44

And what gets running the mkheaders script by hand? Maybe a verbose output could be useful --- bash -x /opt/csw/gcc3/bin/mkheaders
(0005030)
ihsan (developer)
2007-12-29 03:32

That seems to work:

root@cnd-35:~# exit
# bash -x /opt/csw/gcc3/bin/mkheaders
+ target=sparc-sun-solaris2.8
+ target_noncanonical=sparc-sun-solaris2.8
+ version=3.4.5
+ VERBOSE=0
+ \'[\' x = x-v \']\'
+ export VERBOSE
+ \'[\' x = x--help \']\'
+ \'[\' x = x--version \']\'
+ \'[\' x \'!=\' x \']\'
+ prefix=/opt/csw/gcc3
+ local_prefix=/opt/csw
+ exec_prefix=/opt/csw/gcc3
+ libdir=/opt/csw/gcc3/lib
+ libexecdir=/opt/csw/gcc3/libexec
+ libsubdir=/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5
+ libexecsubdir=/opt/csw/gcc3/libexec/gcc/sparc-sun-solaris2.8/3.4.5
+ build_tooldir=/opt/csw/gcc3/sparc-sun-solaris2.8
+ local_includedir=/opt/csw/include
+ includedir=/opt/csw/gcc3/include
+ itoolsdir=/opt/csw/gcc3/libexec/gcc/sparc-sun-solaris2.8/3.4.5/install-tools
+ itoolsdatadir=/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools
+ incdir=/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include
+ . /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/mkheaders.conf
++ SYSTEM_HEADER_DIR=/usr/include
++ OTHER_FIXINCLUDES_DIRS=
++ FIXPROTO_DEFINES=
++ STMP_FIXPROTO=
++ STMP_FIXINC=stmp-fixinc
+ cd /opt/csw/gcc3/libexec/gcc/sparc-sun-solaris2.8/3.4.5/install-tools
+ rm -rf /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/README /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/X11 /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/evolution-1.4 /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/firefox /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/float.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/floatingpoint.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/iso /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/iso646.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/limits.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/math.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/netinet /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/root /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/rpc /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/stdarg.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/stdbool.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/stddef.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/stdio.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/sys /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/syslimits.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/unwind.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/varargs.h
+ \'[\' xstmp-fixinc \'!=\' x \']\'
+ TARGET_MACHINE=sparc-sun-solaris2.8
+ target_canonical=sparc-sun-solaris2.8
+ /sbin/sh ./fixinc.sh /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include /usr/include
+ rm -f /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/syslimits.h
+ \'[\' -f /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/limits.h \']\'
+ mv /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/limits.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/syslimits.h
+ cp /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/README /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/float.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/iso646.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/limits.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/stdarg.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/stdbool.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/stddef.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/unwind.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/install-tools/include/varargs.h /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include
+ \'[\' x \'!=\' x \']\'
(0005031)
pfelecan (manager)
2007-12-29 07:01

Alright. I don\'t understand what happened. Without a confirmation in a fresh install context I\'m tempted to close this report as \"non confirmed\" even if I agree that there was an issue.
(0005032)
ihsan (developer)
2007-12-29 09:40

Indeed, very weird.

Ok, close this report.
(0005033)
pfelecan (manager)
2007-12-29 14:41

Cannot confirm.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker