OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001622 [gcc3core] packaging trivial always 2006-06-03 15:27 2013-03-24 10:50
Reporter carlsonj View Status public  
Assigned To pfelecan
Priority normal Resolution won't fix  
Status closed  
Summary 0001622: CSWgcc3core misdelivers f-type file via postinstall
Description 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!\"
Additional Information # 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!
#
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0003464)
carlsonj (reporter)
2006-06-03 16:41

mantis helpfully put this in the wrong \'product\' for me; should be \'gcc3core\'.
(0010301)
pfelecan (manager)
2013-03-24 10:50

not in the catalog any more


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker