[bug-notifications] [subversion 0004156]: Not all files in the .pkg datastream get installed??

Mantis Bug Tracker noreply at opencsw.org
Sat Jan 16 13:50:05 CET 2010


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=4156 
====================================================================== 
Reported By:                jcflack
Assigned To:                
====================================================================== 
Project:                    subversion
Issue ID:                   4156
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2010-01-14 22:35 CET
Last Modified:              2010-01-16 13:50 CET
====================================================================== 
Summary:                    Not all files in the .pkg datastream get installed??
Description: 
This is an odd one.  I'm on Solaris 10 5/09.  I installed the
subversion-1.6.6,REV=2009.11.14-SunOS5.8-i386-CSW.pkg.gz package
and the file
share/doc/subversion/tools/client-side/change-svn-wc-format.py
did not get installed. No error message was produced. Its name
was not in the list of filenames output during installation. Its
name IS IN the pkgmap. But pkgchk completes successfully and never
complains about the file being missing.

The file IS PRESENT in the second cpio archive making up the
.pkg file.  In fact, I have installed it by hand now, just by
uncompressing the .pkg.gz file, splitting apart the two cpio
archives with dd, and using cpio to extract the file.  Nothing
wrong with the file.

Could something obscure be making the Solaris pkg tools just fail
to process that particular file?  this is shaking my faith in the
packaging system.
====================================================================== 

---------------------------------------------------------------------- 
 (0007266) skayser (administrator) - 2010-01-16 13:50
 http://www.opencsw.org/bugtrack/view.php?id=4156#c7266 
---------------------------------------------------------------------- 
Hi Chap,

I had another look at the subversion package and the issue is another (but
related) one. For the cswpycompile class action script to be run for the
relevant files, the package also needs to mention the cswpycompile class
within the pkginfo file (otherwise the files marked as cswpycompile will
simply be skipped upon installation). This isn't the case with the current
subversion package. 

$ grep ^CLASSES CSWsvn/pkginfo
CLASSES=none

OTOH the cswpycompile class is only intended to compile python libs. The
file you mentioned as well as all the other *.py files in the subversion
package (which all won't be installed) are all just scripts, so these have
been tagged with cswpycompile by mistake. We will update the subversion
package and let you know once it is available for testing. Thanks again for
the feedback.

Sebastian




More information about the bug-notifications mailing list