Mantis - gcc3core
Viewing Issue Advanced Details
1622 packaging trivial always 2006-06-03 15:27 2013-03-24 10:50
carlsonj  
pfelecan  
normal  
closed  
won't fix  
none    
none  
0001622: CSWgcc3core misdelivers f-type file via postinstall
CSWgcc3core delivers this file (in its postinstall):

/var/sadm/install/logs/CSWgcc3core-20060205135859
The problem is that the postinstall script sets the contents of the file (via \'echo\') *after* it does the installf. It needs to set the contents first, or close the shell\'s redirected stdout before doing those echos (and probably before doing installf).

(It also doesn\'t deliver a space file, so perhaps it should just not deliver this file via packaging.)

exec >> ${logFile} 2>&1

installf ${PKGINST} \"${logFile}\"
[...]
installf -f ${PKGINST}

echo \"\"
echo \"System headers fixed successfully.\"
echo \"\"
echo \"Don\'t forget: whenever your system headers change run the mkheaders script!\"
# pkgchk -n -p /var/sadm/install/logs/CSWgcc3core-20060205135859
ERROR: /var/sadm/install/logs/CSWgcc3core-20060205135859
    modtime <02/05/06 01:58:59 PM> expected <02/05/06 01:59:15 PM> actual
    file size <0> expected <113> actual
    file cksum <0> expected <10531> actual
# cat /var/sadm/install/logs/CSWgcc3core-20060205135859

System headers fixed successfully.

Don\'t forget: whenever your system headers change run the mkheaders script!
#
Issue History
2011-11-03 15:03 dam Project enscript => gcc3core
2011-12-04 12:06 pfelecan Status new => assigned
2011-12-04 12:06 pfelecan Assigned To => pfelecan
2013-03-24 10:50 pfelecan Note Added: 0010301
2013-03-24 10:50 pfelecan Status assigned => closed
2013-03-24 10:50 pfelecan Resolution open => won't fix

Notes
(0003464)
carlsonj   
2006-06-03 16:41   
mantis helpfully put this in the wrong \'product\' for me; should be \'gcc3core\'.
(0010301)
pfelecan   
2013-03-24 10:50   
not in the catalog any more